, we need to ensure the JSX
- // whitespace coalescing rules don't eat the whitespace. This means
- // wrapping newlines and sequences of two or more spaces in variables.
@@ -43,12 +41,9 @@
- if (text.indexOf('\n') > -1) {
- }
- }
-- _this.output += text;
+- this.output += text;
- };
- }
-- return HTMLtoJSX;
--}());
-+class HTMLtoJSX {
+ output;
+ level;
+ _inPreTag;
@@ -82,21 +77,19 @@
+ }
+ this.output += text;
+ };
-+}
+ }
exports.HTMLtoJSX = HTMLtoJSX;
;
- /**
+@@= skipped -39, +40 lines =@@
* Handles parsing of inline styles
*/
--var StyleParser = /** @class */ (function () {
-- function StyleParser() {
-- var _this = this;
+ class StyleParser {
+- constructor() {
- this.styles = {};
-- this.toJSXString = function () {
-- for (var key in _this.styles) {
-- if (!_this.styles.hasOwnProperty(key)) {
+- this.toJSXString = () => {
+- for (var key in this.styles) {
+- if (!this.styles.hasOwnProperty(key)) {
- }
-+class StyleParser {
+ styles = {};
+ toJSXString = () => {
+ for (var key in this.styles) {
@@ -104,9 +97,7 @@
}
- };
- }
-- return StyleParser;
--}());
+ }
+ };
-+}
+ }
exports.StyleParser = StyleParser;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/controlFlowPropertyInitializer.js.diff b/testdata/baselines/reference/submodule/compiler/controlFlowPropertyInitializer.js.diff
index f71a427e71..b6175fb191 100644
--- a/testdata/baselines/reference/submodule/compiler/controlFlowPropertyInitializer.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/controlFlowPropertyInitializer.js.diff
@@ -1,17 +1,11 @@
--- old.controlFlowPropertyInitializer.js
+++ new.controlFlowPropertyInitializer.js
-@@= skipped -10, +10 lines =@@
-
- //// [controlFlowPropertyInitializer.js]
+@@= skipped -12, +12 lines =@@
// Repro from #8967
--var LANG = "Turbo Pascal";
--var BestLanguage = /** @class */ (function () {
-- function BestLanguage() {
+ const LANG = "Turbo Pascal";
+ class BestLanguage {
+- constructor() {
- this.name = LANG;
- }
-- return BestLanguage;
--}());
-+const LANG = "Turbo Pascal";
-+class BestLanguage {
+ name = LANG;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/controlFlowSelfReferentialLoop.js.diff b/testdata/baselines/reference/submodule/compiler/controlFlowSelfReferentialLoop.js.diff
index 406fc12a2e..4015bfc679 100644
--- a/testdata/baselines/reference/submodule/compiler/controlFlowSelfReferentialLoop.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/controlFlowSelfReferentialLoop.js.diff
@@ -9,20 +9,4 @@
+// Repro from #12319
function md5(string) {
function FF(a, b, c, d, x, s, ac) {
- return 0;
-@@= skipped -106, +106 lines =@@
- return {};
- }
- ;
--(function () {
-- var id = 'a';
-+(() => {
-+ let id = 'a';
- while (1) {
-- var data = getObject(id);
-- var message = data.message;
-+ const data = getObject(id);
-+ const message = data.message;
- id = message.id;
- }
- })();
\ No newline at end of file
+ return 0;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/controlFlowWithIncompleteTypes.js.diff b/testdata/baselines/reference/submodule/compiler/controlFlowWithIncompleteTypes.js.diff
index 93f1135af2..6e1c290db9 100644
--- a/testdata/baselines/reference/submodule/compiler/controlFlowWithIncompleteTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/controlFlowWithIncompleteTypes.js.diff
@@ -6,17 +6,5 @@
//// [controlFlowWithIncompleteTypes.js]
-// Repro from #11000
function foo1() {
-- var x = 0;
-+ let x = 0;
- while (cond) {
- if (typeof x === "string") {
- x = x.slice();
-@@= skipped -13, +12 lines =@@
- }
- }
- function foo2() {
-- var x = 0;
-+ let x = 0;
- while (cond) {
- if (typeof x === "number") {
- x = "abc";
\ No newline at end of file
+ let x = 0;
+ while (cond) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/convertClassExpressionToFunctionFromObjectProperty1.js.diff b/testdata/baselines/reference/submodule/compiler/convertClassExpressionToFunctionFromObjectProperty1.js.diff
deleted file mode 100644
index 86ec6b4f23..0000000000
--- a/testdata/baselines/reference/submodule/compiler/convertClassExpressionToFunctionFromObjectProperty1.js.diff
+++ /dev/null
@@ -1,634 +0,0 @@
---- old.convertClassExpressionToFunctionFromObjectProperty1.js
-+++ new.convertClassExpressionToFunctionFromObjectProperty1.js
-@@= skipped -242, +242 lines =@@
-
-
- //// [convertClassExpressionToFunctionFromObjectProperty1.js]
--var foo = {};
-+const foo = {};
- // properties
--foo.x = /** @class */ (function () {
-- function x() {
-- }
-- return x;
--}());
--foo.y = /** @class */ (function () {
-- function y() {
-- }
-- return y;
--}());
-+foo.x = class {
-+ constructor() { }
-+};
-+foo.y = class {
-+ constructor() { }
-+};
- // keywords
--foo.break = /** @class */ (function () {
-- function break_1() {
-- }
-- return break_1;
--}());
--foo.case = /** @class */ (function () {
-- function case_1() {
-- }
-- return case_1;
--}());
--foo.catch = /** @class */ (function () {
-- function catch_1() {
-- }
-- return catch_1;
--}());
--foo.class = /** @class */ (function () {
-- function class_1() {
-- }
-- return class_1;
--}());
--foo.const = /** @class */ (function () {
-- function const_1() {
-- }
-- return const_1;
--}());
--foo.continue = /** @class */ (function () {
-- function continue_1() {
-- }
-- return continue_1;
--}());
--foo.debugger = /** @class */ (function () {
-- function debugger_1() {
-- }
-- return debugger_1;
--}());
--foo.default = /** @class */ (function () {
-- function default_1() {
-- }
-- return default_1;
--}());
--foo.delete = /** @class */ (function () {
-- function delete_1() {
-- }
-- return delete_1;
--}());
--foo.do = /** @class */ (function () {
-- function do_1() {
-- }
-- return do_1;
--}());
--foo.else = /** @class */ (function () {
-- function else_1() {
-- }
-- return else_1;
--}());
--foo.enum = /** @class */ (function () {
-- function enum_1() {
-- }
-- return enum_1;
--}());
--foo.export = /** @class */ (function () {
-- function export_1() {
-- }
-- return export_1;
--}());
--foo.extends = /** @class */ (function () {
-- function extends_1() {
-- }
-- return extends_1;
--}());
--foo.false = /** @class */ (function () {
-- function false_1() {
-- }
-- return false_1;
--}());
--foo.finally = /** @class */ (function () {
-- function finally_1() {
-- }
-- return finally_1;
--}());
--foo.for = /** @class */ (function () {
-- function for_1() {
-- }
-- return for_1;
--}());
--foo.function = /** @class */ (function () {
-- function function_1() {
-- }
-- return function_1;
--}());
--foo.if = /** @class */ (function () {
-- function if_1() {
-- }
-- return if_1;
--}());
--foo.import = /** @class */ (function () {
-- function import_1() {
-- }
-- return import_1;
--}());
--foo.in = /** @class */ (function () {
-- function in_1() {
-- }
-- return in_1;
--}());
--foo.instanceof = /** @class */ (function () {
-- function instanceof_1() {
-- }
-- return instanceof_1;
--}());
--foo.new = /** @class */ (function () {
-- function new_1() {
-- }
-- return new_1;
--}());
--foo.null = /** @class */ (function () {
-- function null_1() {
-- }
-- return null_1;
--}());
--foo.return = /** @class */ (function () {
-- function return_1() {
-- }
-- return return_1;
--}());
--foo.super = /** @class */ (function () {
-- function super_1() {
-- }
-- return super_1;
--}());
--foo.switch = /** @class */ (function () {
-- function switch_1() {
-- }
-- return switch_1;
--}());
--foo.this = /** @class */ (function () {
-- function this_1() {
-- }
-- return this_1;
--}());
--foo.throw = /** @class */ (function () {
-- function throw_1() {
-- }
-- return throw_1;
--}());
--foo.true = /** @class */ (function () {
-- function true_1() {
-- }
-- return true_1;
--}());
--foo.try = /** @class */ (function () {
-- function try_1() {
-- }
-- return try_1;
--}());
--foo.typeof = /** @class */ (function () {
-- function typeof_1() {
-- }
-- return typeof_1;
--}());
--foo.var = /** @class */ (function () {
-- function var_1() {
-- }
-- return var_1;
--}());
--foo.void = /** @class */ (function () {
-- function void_1() {
-- }
-- return void_1;
--}());
--foo.while = /** @class */ (function () {
-- function while_1() {
-- }
-- return while_1;
--}());
--foo.with = /** @class */ (function () {
-- function with_1() {
-- }
-- return with_1;
--}());
--foo.implements = /** @class */ (function () {
-- function implements_1() {
-- }
-- return implements_1;
--}());
--foo.interface = /** @class */ (function () {
-- function interface_1() {
-- }
-- return interface_1;
--}());
--foo.let = /** @class */ (function () {
-- function let_1() {
-- }
-- return let_1;
--}());
--foo.package = /** @class */ (function () {
-- function package_1() {
-- }
-- return package_1;
--}());
--foo.private = /** @class */ (function () {
-- function private_1() {
-- }
-- return private_1;
--}());
--foo.protected = /** @class */ (function () {
-- function protected_1() {
-- }
-- return protected_1;
--}());
--foo.public = /** @class */ (function () {
-- function public_1() {
-- }
-- return public_1;
--}());
--foo.static = /** @class */ (function () {
-- function static_1() {
-- }
-- return static_1;
--}());
--foo.yield = /** @class */ (function () {
-- function yield_1() {
-- }
-- return yield_1;
--}());
--foo.abstract = /** @class */ (function () {
-- function abstract() {
-- }
-- return abstract;
--}());
--foo.as = /** @class */ (function () {
-- function as() {
-- }
-- return as;
--}());
--foo.asserts = /** @class */ (function () {
-- function asserts() {
-- }
-- return asserts;
--}());
--foo.any = /** @class */ (function () {
-- function any() {
-- }
-- return any;
--}());
--foo.async = /** @class */ (function () {
-- function async() {
-- }
-- return async;
--}());
--foo.await = /** @class */ (function () {
-- function await() {
-- }
-- return await;
--}());
--foo.boolean = /** @class */ (function () {
-- function boolean() {
-- }
-- return boolean;
--}());
--foo.constructor = /** @class */ (function () {
-- function constructor() {
-- }
-- return constructor;
--}());
--foo.declare = /** @class */ (function () {
-- function declare() {
-- }
-- return declare;
--}());
--foo.get = /** @class */ (function () {
-- function get() {
-- }
-- return get;
--}());
--foo.infer = /** @class */ (function () {
-- function infer() {
-- }
-- return infer;
--}());
--foo.is = /** @class */ (function () {
-- function is() {
-- }
-- return is;
--}());
--foo.keyof = /** @class */ (function () {
-- function keyof() {
-- }
-- return keyof;
--}());
--foo.module = /** @class */ (function () {
-- function module() {
-- }
-- return module;
--}());
--foo.namespace = /** @class */ (function () {
-- function namespace() {
-- }
-- return namespace;
--}());
--foo.never = /** @class */ (function () {
-- function never() {
-- }
-- return never;
--}());
--foo.readonly = /** @class */ (function () {
-- function readonly() {
-- }
-- return readonly;
--}());
--foo.require = /** @class */ (function () {
-- function require() {
-- }
-- return require;
--}());
--foo.number = /** @class */ (function () {
-- function number() {
-- }
-- return number;
--}());
--foo.object = /** @class */ (function () {
-- function object() {
-- }
-- return object;
--}());
--foo.set = /** @class */ (function () {
-- function set() {
-- }
-- return set;
--}());
--foo.string = /** @class */ (function () {
-- function string() {
-- }
-- return string;
--}());
--foo.symbol = /** @class */ (function () {
-- function symbol() {
-- }
-- return symbol;
--}());
--foo.type = /** @class */ (function () {
-- function type() {
-- }
-- return type;
--}());
--foo.undefined = /** @class */ (function () {
-- function undefined() {
-- }
-- return undefined;
--}());
--foo.unique = /** @class */ (function () {
-- function unique() {
-- }
-- return unique;
--}());
--foo.unknown = /** @class */ (function () {
-- function unknown() {
-- }
-- return unknown;
--}());
--foo.from = /** @class */ (function () {
-- function from() {
-- }
-- return from;
--}());
--foo.global = /** @class */ (function () {
-- function global() {
-- }
-- return global;
--}());
--foo.bigint = /** @class */ (function () {
-- function bigint() {
-- }
-- return bigint;
--}());
--foo.of = /** @class */ (function () {
-- function of() {
-- }
-- return of;
--}());
-+foo.break = class {
-+ constructor() { }
-+};
-+foo.case = class {
-+ constructor() { }
-+};
-+foo.catch = class {
-+ constructor() { }
-+};
-+foo.class = class {
-+ constructor() { }
-+};
-+foo.const = class {
-+ constructor() { }
-+};
-+foo.continue = class {
-+ constructor() { }
-+};
-+foo.debugger = class {
-+ constructor() { }
-+};
-+foo.default = class {
-+ constructor() { }
-+};
-+foo.delete = class {
-+ constructor() { }
-+};
-+foo.do = class {
-+ constructor() { }
-+};
-+foo.else = class {
-+ constructor() { }
-+};
-+foo.enum = class {
-+ constructor() { }
-+};
-+foo.export = class {
-+ constructor() { }
-+};
-+foo.extends = class {
-+ constructor() { }
-+};
-+foo.false = class {
-+ constructor() { }
-+};
-+foo.finally = class {
-+ constructor() { }
-+};
-+foo.for = class {
-+ constructor() { }
-+};
-+foo.function = class {
-+ constructor() { }
-+};
-+foo.if = class {
-+ constructor() { }
-+};
-+foo.import = class {
-+ constructor() { }
-+};
-+foo.in = class {
-+ constructor() { }
-+};
-+foo.instanceof = class {
-+ constructor() { }
-+};
-+foo.new = class {
-+ constructor() { }
-+};
-+foo.null = class {
-+ constructor() { }
-+};
-+foo.return = class {
-+ constructor() { }
-+};
-+foo.super = class {
-+ constructor() { }
-+};
-+foo.switch = class {
-+ constructor() { }
-+};
-+foo.this = class {
-+ constructor() { }
-+};
-+foo.throw = class {
-+ constructor() { }
-+};
-+foo.true = class {
-+ constructor() { }
-+};
-+foo.try = class {
-+ constructor() { }
-+};
-+foo.typeof = class {
-+ constructor() { }
-+};
-+foo.var = class {
-+ constructor() { }
-+};
-+foo.void = class {
-+ constructor() { }
-+};
-+foo.while = class {
-+ constructor() { }
-+};
-+foo.with = class {
-+ constructor() { }
-+};
-+foo.implements = class {
-+ constructor() { }
-+};
-+foo.interface = class {
-+ constructor() { }
-+};
-+foo.let = class {
-+ constructor() { }
-+};
-+foo.package = class {
-+ constructor() { }
-+};
-+foo.private = class {
-+ constructor() { }
-+};
-+foo.protected = class {
-+ constructor() { }
-+};
-+foo.public = class {
-+ constructor() { }
-+};
-+foo.static = class {
-+ constructor() { }
-+};
-+foo.yield = class {
-+ constructor() { }
-+};
-+foo.abstract = class {
-+ constructor() { }
-+};
-+foo.as = class {
-+ constructor() { }
-+};
-+foo.asserts = class {
-+ constructor() { }
-+};
-+foo.any = class {
-+ constructor() { }
-+};
-+foo.async = class {
-+ constructor() { }
-+};
-+foo.await = class {
-+ constructor() { }
-+};
-+foo.boolean = class {
-+ constructor() { }
-+};
-+foo.constructor = class {
-+ constructor() { }
-+};
-+foo.declare = class {
-+ constructor() { }
-+};
-+foo.get = class {
-+ constructor() { }
-+};
-+foo.infer = class {
-+ constructor() { }
-+};
-+foo.is = class {
-+ constructor() { }
-+};
-+foo.keyof = class {
-+ constructor() { }
-+};
-+foo.module = class {
-+ constructor() { }
-+};
-+foo.namespace = class {
-+ constructor() { }
-+};
-+foo.never = class {
-+ constructor() { }
-+};
-+foo.readonly = class {
-+ constructor() { }
-+};
-+foo.require = class {
-+ constructor() { }
-+};
-+foo.number = class {
-+ constructor() { }
-+};
-+foo.object = class {
-+ constructor() { }
-+};
-+foo.set = class {
-+ constructor() { }
-+};
-+foo.string = class {
-+ constructor() { }
-+};
-+foo.symbol = class {
-+ constructor() { }
-+};
-+foo.type = class {
-+ constructor() { }
-+};
-+foo.undefined = class {
-+ constructor() { }
-+};
-+foo.unique = class {
-+ constructor() { }
-+};
-+foo.unknown = class {
-+ constructor() { }
-+};
-+foo.from = class {
-+ constructor() { }
-+};
-+foo.global = class {
-+ constructor() { }
-+};
-+foo.bigint = class {
-+ constructor() { }
-+};
-+foo.of = class {
-+ constructor() { }
-+};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/convertClassExpressionToFunctionFromObjectProperty2.js.diff b/testdata/baselines/reference/submodule/compiler/convertClassExpressionToFunctionFromObjectProperty2.js.diff
deleted file mode 100644
index d4fca2a339..0000000000
--- a/testdata/baselines/reference/submodule/compiler/convertClassExpressionToFunctionFromObjectProperty2.js.diff
+++ /dev/null
@@ -1,632 +0,0 @@
---- old.convertClassExpressionToFunctionFromObjectProperty2.js
-+++ new.convertClassExpressionToFunctionFromObjectProperty2.js
-@@= skipped -242, +242 lines =@@
-
- //// [convertClassExpressionToFunctionFromObjectProperty2.js]
- ({
-- x: /** @class */ (function () {
-- function x() {
-- }
-- return x;
-- }()),
-- y: /** @class */ (function () {
-- function y() {
-- }
-- return y;
-- }()),
-+ x: class {
-+ constructor() { }
-+ },
-+ y: class {
-+ constructor() { }
-+ },
- // keywords
-- break: /** @class */ (function () {
-- function break_1() {
-- }
-- return break_1;
-- }()),
-- case: /** @class */ (function () {
-- function case_1() {
-- }
-- return case_1;
-- }()),
-- catch: /** @class */ (function () {
-- function catch_1() {
-- }
-- return catch_1;
-- }()),
-- class: /** @class */ (function () {
-- function class_1() {
-- }
-- return class_1;
-- }()),
-- const: /** @class */ (function () {
-- function const_1() {
-- }
-- return const_1;
-- }()),
-- continue: /** @class */ (function () {
-- function continue_1() {
-- }
-- return continue_1;
-- }()),
-- debugger: /** @class */ (function () {
-- function debugger_1() {
-- }
-- return debugger_1;
-- }()),
-- default: /** @class */ (function () {
-- function default_1() {
-- }
-- return default_1;
-- }()),
-- delete: /** @class */ (function () {
-- function delete_1() {
-- }
-- return delete_1;
-- }()),
-- do: /** @class */ (function () {
-- function do_1() {
-- }
-- return do_1;
-- }()),
-- else: /** @class */ (function () {
-- function else_1() {
-- }
-- return else_1;
-- }()),
-- enum: /** @class */ (function () {
-- function enum_1() {
-- }
-- return enum_1;
-- }()),
-- export: /** @class */ (function () {
-- function export_1() {
-- }
-- return export_1;
-- }()),
-- extends: /** @class */ (function () {
-- function extends_1() {
-- }
-- return extends_1;
-- }()),
-- false: /** @class */ (function () {
-- function false_1() {
-- }
-- return false_1;
-- }()),
-- finally: /** @class */ (function () {
-- function finally_1() {
-- }
-- return finally_1;
-- }()),
-- for: /** @class */ (function () {
-- function for_1() {
-- }
-- return for_1;
-- }()),
-- function: /** @class */ (function () {
-- function function_1() {
-- }
-- return function_1;
-- }()),
-- if: /** @class */ (function () {
-- function if_1() {
-- }
-- return if_1;
-- }()),
-- import: /** @class */ (function () {
-- function import_1() {
-- }
-- return import_1;
-- }()),
-- in: /** @class */ (function () {
-- function in_1() {
-- }
-- return in_1;
-- }()),
-- instanceof: /** @class */ (function () {
-- function instanceof_1() {
-- }
-- return instanceof_1;
-- }()),
-- new: /** @class */ (function () {
-- function new_1() {
-- }
-- return new_1;
-- }()),
-- null: /** @class */ (function () {
-- function null_1() {
-- }
-- return null_1;
-- }()),
-- return: /** @class */ (function () {
-- function return_1() {
-- }
-- return return_1;
-- }()),
-- super: /** @class */ (function () {
-- function super_1() {
-- }
-- return super_1;
-- }()),
-- switch: /** @class */ (function () {
-- function switch_1() {
-- }
-- return switch_1;
-- }()),
-- this: /** @class */ (function () {
-- function this_1() {
-- }
-- return this_1;
-- }()),
-- throw: /** @class */ (function () {
-- function throw_1() {
-- }
-- return throw_1;
-- }()),
-- true: /** @class */ (function () {
-- function true_1() {
-- }
-- return true_1;
-- }()),
-- try: /** @class */ (function () {
-- function try_1() {
-- }
-- return try_1;
-- }()),
-- typeof: /** @class */ (function () {
-- function typeof_1() {
-- }
-- return typeof_1;
-- }()),
-- var: /** @class */ (function () {
-- function var_1() {
-- }
-- return var_1;
-- }()),
-- void: /** @class */ (function () {
-- function void_1() {
-- }
-- return void_1;
-- }()),
-- while: /** @class */ (function () {
-- function while_1() {
-- }
-- return while_1;
-- }()),
-- with: /** @class */ (function () {
-- function with_1() {
-- }
-- return with_1;
-- }()),
-- implements: /** @class */ (function () {
-- function implements_1() {
-- }
-- return implements_1;
-- }()),
-- interface: /** @class */ (function () {
-- function interface_1() {
-- }
-- return interface_1;
-- }()),
-- let: /** @class */ (function () {
-- function let_1() {
-- }
-- return let_1;
-- }()),
-- package: /** @class */ (function () {
-- function package_1() {
-- }
-- return package_1;
-- }()),
-- private: /** @class */ (function () {
-- function private_1() {
-- }
-- return private_1;
-- }()),
-- protected: /** @class */ (function () {
-- function protected_1() {
-- }
-- return protected_1;
-- }()),
-- public: /** @class */ (function () {
-- function public_1() {
-- }
-- return public_1;
-- }()),
-- static: /** @class */ (function () {
-- function static_1() {
-- }
-- return static_1;
-- }()),
-- yield: /** @class */ (function () {
-- function yield_1() {
-- }
-- return yield_1;
-- }()),
-- abstract: /** @class */ (function () {
-- function abstract() {
-- }
-- return abstract;
-- }()),
-- as: /** @class */ (function () {
-- function as() {
-- }
-- return as;
-- }()),
-- asserts: /** @class */ (function () {
-- function asserts() {
-- }
-- return asserts;
-- }()),
-- any: /** @class */ (function () {
-- function any() {
-- }
-- return any;
-- }()),
-- async: /** @class */ (function () {
-- function async() {
-- }
-- return async;
-- }()),
-- await: /** @class */ (function () {
-- function await() {
-- }
-- return await;
-- }()),
-- boolean: /** @class */ (function () {
-- function boolean() {
-- }
-- return boolean;
-- }()),
-- constructor: /** @class */ (function () {
-- function constructor() {
-- }
-- return constructor;
-- }()),
-- declare: /** @class */ (function () {
-- function declare() {
-- }
-- return declare;
-- }()),
-- get: /** @class */ (function () {
-- function get() {
-- }
-- return get;
-- }()),
-- infer: /** @class */ (function () {
-- function infer() {
-- }
-- return infer;
-- }()),
-- is: /** @class */ (function () {
-- function is() {
-- }
-- return is;
-- }()),
-- keyof: /** @class */ (function () {
-- function keyof() {
-- }
-- return keyof;
-- }()),
-- module: /** @class */ (function () {
-- function module() {
-- }
-- return module;
-- }()),
-- namespace: /** @class */ (function () {
-- function namespace() {
-- }
-- return namespace;
-- }()),
-- never: /** @class */ (function () {
-- function never() {
-- }
-- return never;
-- }()),
-- readonly: /** @class */ (function () {
-- function readonly() {
-- }
-- return readonly;
-- }()),
-- require: /** @class */ (function () {
-- function require() {
-- }
-- return require;
-- }()),
-- number: /** @class */ (function () {
-- function number() {
-- }
-- return number;
-- }()),
-- object: /** @class */ (function () {
-- function object() {
-- }
-- return object;
-- }()),
-- set: /** @class */ (function () {
-- function set() {
-- }
-- return set;
-- }()),
-- string: /** @class */ (function () {
-- function string() {
-- }
-- return string;
-- }()),
-- symbol: /** @class */ (function () {
-- function symbol() {
-- }
-- return symbol;
-- }()),
-- type: /** @class */ (function () {
-- function type() {
-- }
-- return type;
-- }()),
-- undefined: /** @class */ (function () {
-- function undefined() {
-- }
-- return undefined;
-- }()),
-- unique: /** @class */ (function () {
-- function unique() {
-- }
-- return unique;
-- }()),
-- unknown: /** @class */ (function () {
-- function unknown() {
-- }
-- return unknown;
-- }()),
-- from: /** @class */ (function () {
-- function from() {
-- }
-- return from;
-- }()),
-- global: /** @class */ (function () {
-- function global() {
-- }
-- return global;
-- }()),
-- bigint: /** @class */ (function () {
-- function bigint() {
-- }
-- return bigint;
-- }()),
-- of: /** @class */ (function () {
-- function of() {
-- }
-- return of;
-- }())
-+ break: class {
-+ constructor() { }
-+ },
-+ case: class {
-+ constructor() { }
-+ },
-+ catch: class {
-+ constructor() { }
-+ },
-+ class: class {
-+ constructor() { }
-+ },
-+ const: class {
-+ constructor() { }
-+ },
-+ continue: class {
-+ constructor() { }
-+ },
-+ debugger: class {
-+ constructor() { }
-+ },
-+ default: class {
-+ constructor() { }
-+ },
-+ delete: class {
-+ constructor() { }
-+ },
-+ do: class {
-+ constructor() { }
-+ },
-+ else: class {
-+ constructor() { }
-+ },
-+ enum: class {
-+ constructor() { }
-+ },
-+ export: class {
-+ constructor() { }
-+ },
-+ extends: class {
-+ constructor() { }
-+ },
-+ false: class {
-+ constructor() { }
-+ },
-+ finally: class {
-+ constructor() { }
-+ },
-+ for: class {
-+ constructor() { }
-+ },
-+ function: class {
-+ constructor() { }
-+ },
-+ if: class {
-+ constructor() { }
-+ },
-+ import: class {
-+ constructor() { }
-+ },
-+ in: class {
-+ constructor() { }
-+ },
-+ instanceof: class {
-+ constructor() { }
-+ },
-+ new: class {
-+ constructor() { }
-+ },
-+ null: class {
-+ constructor() { }
-+ },
-+ return: class {
-+ constructor() { }
-+ },
-+ super: class {
-+ constructor() { }
-+ },
-+ switch: class {
-+ constructor() { }
-+ },
-+ this: class {
-+ constructor() { }
-+ },
-+ throw: class {
-+ constructor() { }
-+ },
-+ true: class {
-+ constructor() { }
-+ },
-+ try: class {
-+ constructor() { }
-+ },
-+ typeof: class {
-+ constructor() { }
-+ },
-+ var: class {
-+ constructor() { }
-+ },
-+ void: class {
-+ constructor() { }
-+ },
-+ while: class {
-+ constructor() { }
-+ },
-+ with: class {
-+ constructor() { }
-+ },
-+ implements: class {
-+ constructor() { }
-+ },
-+ interface: class {
-+ constructor() { }
-+ },
-+ let: class {
-+ constructor() { }
-+ },
-+ package: class {
-+ constructor() { }
-+ },
-+ private: class {
-+ constructor() { }
-+ },
-+ protected: class {
-+ constructor() { }
-+ },
-+ public: class {
-+ constructor() { }
-+ },
-+ static: class {
-+ constructor() { }
-+ },
-+ yield: class {
-+ constructor() { }
-+ },
-+ abstract: class {
-+ constructor() { }
-+ },
-+ as: class {
-+ constructor() { }
-+ },
-+ asserts: class {
-+ constructor() { }
-+ },
-+ any: class {
-+ constructor() { }
-+ },
-+ async: class {
-+ constructor() { }
-+ },
-+ await: class {
-+ constructor() { }
-+ },
-+ boolean: class {
-+ constructor() { }
-+ },
-+ constructor: class {
-+ constructor() { }
-+ },
-+ declare: class {
-+ constructor() { }
-+ },
-+ get: class {
-+ constructor() { }
-+ },
-+ infer: class {
-+ constructor() { }
-+ },
-+ is: class {
-+ constructor() { }
-+ },
-+ keyof: class {
-+ constructor() { }
-+ },
-+ module: class {
-+ constructor() { }
-+ },
-+ namespace: class {
-+ constructor() { }
-+ },
-+ never: class {
-+ constructor() { }
-+ },
-+ readonly: class {
-+ constructor() { }
-+ },
-+ require: class {
-+ constructor() { }
-+ },
-+ number: class {
-+ constructor() { }
-+ },
-+ object: class {
-+ constructor() { }
-+ },
-+ set: class {
-+ constructor() { }
-+ },
-+ string: class {
-+ constructor() { }
-+ },
-+ symbol: class {
-+ constructor() { }
-+ },
-+ type: class {
-+ constructor() { }
-+ },
-+ undefined: class {
-+ constructor() { }
-+ },
-+ unique: class {
-+ constructor() { }
-+ },
-+ unknown: class {
-+ constructor() { }
-+ },
-+ from: class {
-+ constructor() { }
-+ },
-+ global: class {
-+ constructor() { }
-+ },
-+ bigint: class {
-+ constructor() { }
-+ },
-+ of: class {
-+ constructor() { }
-+ }
- });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/convertKeywordsYes.js.diff b/testdata/baselines/reference/submodule/compiler/convertKeywordsYes.js.diff
index d8b143a4dd..54277f9377 100644
--- a/testdata/baselines/reference/submodule/compiler/convertKeywordsYes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/convertKeywordsYes.js.diff
@@ -1,11 +1,10 @@
--- old.convertKeywordsYes.js
+++ new.convertKeywordsYes.js
-@@= skipped -383, +383 lines =@@
- while: 0,
+@@= skipped -384, +384 lines =@@
with: 0,
};
--var bigClass = /** @class */ (function () {
-- function bigClass() {
+ class bigClass {
+- constructor() {
- this["constructor"] = 0;
- this.any = 0;
- this.boolean = 0;
@@ -61,9 +60,6 @@
- this.while = 0;
- this.with = 0;
- }
-- return bigClass;
--}());
-+class bigClass {
+ "constructor" = 0;
+ any = 0;
+ boolean = 0;
@@ -118,110 +114,6 @@
+ void = 0;
+ while = 0;
+ with = 0;
-+}
+ }
var bigEnum;
- (function (bigEnum) {
- bigEnum[bigEnum["constructor"] = 0] = "constructor";
-@@= skipped -118, +115 lines =@@
- })(bigEnum || (bigEnum = {}));
- var bigModule;
- (function (bigModule) {
-- var constructor = /** @class */ (function () {
-- function constructor() {
-- }
-- return constructor;
-- }());
-- var implements = /** @class */ (function () {
-- function implements_1() {
-- }
-- return implements_1;
-- }());
-- var interface = /** @class */ (function () {
-- function interface_1() {
-- }
-- return interface_1;
-- }());
-- var let = /** @class */ (function () {
-- function let_1() {
-- }
-- return let_1;
-- }());
-- var module = /** @class */ (function () {
-- function module() {
-- }
-- return module;
-- }());
-- var package = /** @class */ (function () {
-- function package_1() {
-- }
-- return package_1;
-- }());
-- var private = /** @class */ (function () {
-- function private_1() {
-- }
-- return private_1;
-- }());
-- var protected = /** @class */ (function () {
-- function protected_1() {
-- }
-- return protected_1;
-- }());
-- var public = /** @class */ (function () {
-- function public_1() {
-- }
-- return public_1;
-- }());
-- var set = /** @class */ (function () {
-- function set() {
-- }
-- return set;
-- }());
-- var static = /** @class */ (function () {
-- function static_1() {
-- }
-- return static_1;
-- }());
-- var get = /** @class */ (function () {
-- function get() {
-- }
-- return get;
-- }());
-- var yield = /** @class */ (function () {
-- function yield_1() {
-- }
-- return yield_1;
-- }());
-- var declare = /** @class */ (function () {
-- function declare() {
-- }
-- return declare;
-- }());
-+ class constructor {
-+ }
-+ class implements {
-+ }
-+ class interface {
-+ }
-+ class let {
-+ }
-+ class module {
-+ }
-+ class package {
-+ }
-+ class private {
-+ }
-+ class protected {
-+ }
-+ class public {
-+ }
-+ class set {
-+ }
-+ class static {
-+ }
-+ class get {
-+ }
-+ class yield {
-+ }
-+ class declare {
-+ }
- })(bigModule || (bigModule = {}));
\ No newline at end of file
+ (function (bigEnum) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/correctOrderOfPromiseMethod.js.diff b/testdata/baselines/reference/submodule/compiler/correctOrderOfPromiseMethod.js.diff
index 282987b271..73b4602ef2 100644
--- a/testdata/baselines/reference/submodule/compiler/correctOrderOfPromiseMethod.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/correctOrderOfPromiseMethod.js.diff
@@ -13,31 +13,21 @@
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+-function countEverything() {
+- return __awaiter(this, void 0, void 0, function* () {
+- const providerA = () => __awaiter(this, void 0, void 0, function* () { return []; });
+- const providerB = () => __awaiter(this, void 0, void 0, function* () { return []; });
+- const [resultA, resultB] = yield Promise.all([
+- providerA(),
+- providerB(),
+- ]);
+- const dataA = resultA;
+- const dataB = resultB;
+- if (dataA && dataB) {
+- return dataA.length + dataB.length;
+- }
+- return 0;
+- });
+async function countEverything() {
+ const providerA = async () => { return []; };
+ const providerB = async () => { return []; };
@@ -49,38 +39,8 @@
+ const dataB = resultB;
+ if (dataA && dataB) {
+ return dataA.length + dataB.length;
- }
--};
--function countEverything() {
-- return __awaiter(this, void 0, void 0, function () {
-- var providerA, providerB, _a, resultA, resultB, dataA, dataB;
-- var _this = this;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- providerA = function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
-- return [2 /*return*/, []];
-- }); }); };
-- providerB = function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
-- return [2 /*return*/, []];
-- }); }); };
-- return [4 /*yield*/, Promise.all([
-- providerA(),
-- providerB(),
-- ])];
-- case 1:
-- _a = _b.sent(), resultA = _a[0], resultB = _a[1];
-- dataA = resultA;
-- dataB = resultB;
-- if (dataA && dataB) {
-- return [2 /*return*/, dataA.length + dataB.length];
-- }
-- return [2 /*return*/, 0];
-- }
-- });
-- });
++ }
+ return 0;
}
// #31179
--var expected = Promise.all(undefined);
-+const expected = Promise.all(undefined);
\ No newline at end of file
+ const expected = Promise.all(undefined);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/correlatedUnions.js.diff b/testdata/baselines/reference/submodule/compiler/correlatedUnions.js.diff
index b55c2c22ca..4caee878bc 100644
--- a/testdata/baselines/reference/submodule/compiler/correlatedUnions.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/correlatedUnions.js.diff
@@ -9,165 +9,7 @@
function processRecord(rec) {
rec.f(rec.v);
}
- processRecord(r1);
- processRecord(r2);
--processRecord({ kind: 'n', v: 42, f: function (v) { return v.toExponential(); } });
-+processRecord({ kind: 'n', v: 42, f: v => v.toExponential() });
- function renderTextField(props) { }
- function renderSelectField(props) { }
--var renderFuncs = {
-+const renderFuncs = {
- text: renderTextField,
- select: renderSelectField,
- };
- function renderField(field) {
-- var renderFn = renderFuncs[field.type];
-+ const renderFn = renderFuncs[field.type];
- renderFn(field.data);
- }
--var handlers = {
-- foo: function (s) { return s.length; },
-- bar: function (n) { return n.toFixed(2); }
-+const handlers = {
-+ foo: s => s.length,
-+ bar: n => n.toFixed(2)
- };
--var data = [
-+const data = [
- { type: 'foo', data: 'abc' },
- { type: 'foo', data: 'def' },
- { type: 'bar', data: 42 },
- ];
- function process(data) {
-- data.forEach(function (block) {
-+ data.forEach(block => {
- if (block.type in handlers) {
- handlers[block.type](block.data);
- }
-@@= skipped -36, +34 lines =@@
- }
- process(data);
- process([{ type: 'foo', data: 'abc' }]);
--function call(_a) {
-- var letter = _a.letter, caller = _a.caller;
-+function call({ letter, caller }) {
- caller(letter);
- }
- call(xx);
- function processEvents(events) {
-- var _loop_1 = function (event_1) {
-- document.addEventListener(event_1.name, function (ev) { return event_1.callback(ev); }, { once: event_1.once });
-- };
-- for (var _i = 0, events_1 = events; _i < events_1.length; _i++) {
-- var event_1 = events_1[_i];
-- _loop_1(event_1);
-+ for (const event of events) {
-+ document.addEventListener(event.name, (ev) => event.callback(ev), { once: event.once });
- }
- }
--function createEventListener(_a) {
-- var name = _a.name, _b = _a.once, once = _b === void 0 ? false : _b, callback = _a.callback;
-- return { name: name, once: once, callback: callback };
-+function createEventListener({ name, once = false, callback }) {
-+ return { name, once, callback };
- }
--var clickEvent = createEventListener({
-+const clickEvent = createEventListener({
- name: "click",
-- callback: function (ev) { return console.log(ev); },
-+ callback: ev => console.log(ev),
- });
--var scrollEvent = createEventListener({
-+const scrollEvent = createEventListener({
- name: "scroll",
-- callback: function (ev) { return console.log(ev); },
-+ callback: ev => console.log(ev),
- });
- processEvents([clickEvent, scrollEvent]);
- processEvents([
-- { name: "click", callback: function (ev) { return console.log(ev); } },
-- { name: "scroll", callback: function (ev) { return console.log(ev); } },
-+ { name: "click", callback: ev => console.log(ev) },
-+ { name: "scroll", callback: ev => console.log(ev) },
- ]);
- // --------
- function ff1() {
-- var funs = {
-- sum: function (a, b) { return a + b; },
-- concat: function (a, b, c) { return a + b + c; }
-+ const funs = {
-+ sum: (a, b) => a + b,
-+ concat: (a, b, c) => a + b + c
- };
-- function apply(funKey) {
-- var args = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- args[_i - 1] = arguments[_i];
-- }
-- var fn = funs[funKey];
-- fn.apply(void 0, args);
-+ function apply(funKey, ...args) {
-+ const fn = funs[funKey];
-+ fn(...args);
- }
-- var x1 = apply('sum', 1, 2);
-- var x2 = apply('concat', 'str1', 'str2', 'str3');
-+ const x1 = apply('sum', 1, 2);
-+ const x2 = apply('concat', 'str1', 'str2', 'str3');
- }
- function f1(funcs, key, arg) {
- funcs[key](arg);
- }
- function f2(funcs, key, arg) {
-- var func = funcs[key]; // Type Funcs[K]
-+ const func = funcs[key]; // Type Funcs[K]
- func(arg);
- }
- function f3(funcs, key, arg) {
-- var func = funcs[key];
-+ const func = funcs[key];
- func(arg);
- }
- function f4(x, y) {
- x = y;
- }
--var ref = {
-+const ref = {
- someKey: { name: "" },
- someOtherKey: { name: 42 }
- };
- function func(k) {
-- var myObj = ref[k];
-+ const myObj = ref[k];
- if (myObj) {
- return myObj.name;
- }
-- var myObj2 = ref[k];
-+ const myObj2 = ref[k];
- if (myObj2) {
- return myObj2.name;
- }
-@@= skipped -80, +70 lines =@@
- function foo(prop, f) {
- bar(f[prop]);
- }
--var ALL_BARS = [{ name: 'a' }, { name: 'b' }];
--var BAR_LOOKUP = makeCompleteLookupMapping(ALL_BARS, 'name');
--var getStringAndNumberFromOriginalAndMapped = function (original, mappedFromOriginal, key, nestedKey) {
-+const ALL_BARS = [{ name: 'a' }, { name: 'b' }];
-+const BAR_LOOKUP = makeCompleteLookupMapping(ALL_BARS, 'name');
-+const getStringAndNumberFromOriginalAndMapped = (original, mappedFromOriginal, key, nestedKey) => {
- return [original[key][nestedKey], mappedFromOriginal[key][nestedKey]];
- };
- function getConfigOrDefault(userConfig, key, defaultValue) {
-- var userValue = userConfig[key];
-- var assertedCheck = userValue ? userValue : defaultValue;
-+ const userValue = userConfig[key];
-+ const assertedCheck = userValue ? userValue : defaultValue;
- return assertedCheck;
- }
- function getValueConcrete(o, k) {
-@@= skipped -16, +16 lines =@@
+@@= skipped -122, +120 lines =@@
//// [correlatedUnions.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/covariance1.js.diff b/testdata/baselines/reference/submodule/compiler/covariance1.js.diff
index 73205e1ffb..7127e8cc70 100644
--- a/testdata/baselines/reference/submodule/compiler/covariance1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/covariance1.js.diff
@@ -1,19 +1,10 @@
--- old.covariance1.js
+++ new.covariance1.js
-@@= skipped -21, +21 lines =@@
- //// [covariance1.js]
+@@= skipped -22, +22 lines =@@
var M;
(function (M) {
-- var XX = /** @class */ (function () {
-- function XX(m1) {
-+ class XX {
+ class XX {
+ m1;
-+ constructor(m1) {
+ constructor(m1) {
this.m1 = m1;
- }
-- return XX;
-- }());
-+ }
- M.XX = XX;
- function f(y) { }
- M.f = f;
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/crashInEmitTokenWithComment.js.diff b/testdata/baselines/reference/submodule/compiler/crashInEmitTokenWithComment.js.diff
deleted file mode 100644
index efa1cd0e11..0000000000
--- a/testdata/baselines/reference/submodule/compiler/crashInEmitTokenWithComment.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.crashInEmitTokenWithComment.js
-+++ new.crashInEmitTokenWithComment.js
-@@= skipped -8, +8 lines =@@
-
- //// [crashInEmitTokenWithComment.js]
- // GH#32358
--var fn = function (param) { return undefined; };
--var foo = { bar: 'a' };
--fn(function (_a) {
-- var _b = foo.bar, c = _a[_b];
-- return undefined;
--});
-+const fn = (param) => undefined;
-+const foo = { bar: 'a' };
-+fn(({ [foo.bar]: c }) => undefined);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/crashInGetTextOfComputedPropertyName.js.diff b/testdata/baselines/reference/submodule/compiler/crashInGetTextOfComputedPropertyName.js.diff
deleted file mode 100644
index b8854a1bfa..0000000000
--- a/testdata/baselines/reference/submodule/compiler/crashInGetTextOfComputedPropertyName.js.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- old.crashInGetTextOfComputedPropertyName.js
-+++ new.crashInGetTextOfComputedPropertyName.js
-@@= skipped -34, +34 lines =@@
- //// [crashInGetTextOfComputedPropertyName.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var itemId = 'some-id';
-+const itemId = 'some-id';
- // --- test on first level ---
--var items = {};
--var _a = items, _b = itemId, itemOk1 = _a[_b];
-+const items = {};
-+const { [itemId]: itemOk1 } = items;
- typeof itemOk1; // pass
--var objWithItems = { items: {} };
--var itemOk2 = objWithItems.items[itemId];
-+const objWithItems = { items: {} };
-+const itemOk2 = objWithItems.items[itemId];
- typeof itemOk2; // pass
--var _c = objWithItems, _d = _c.items /*happens when default value is provided*/, _e = _d === void 0 ? {} : _d /*happens when default value is provided*/, _f = itemId, itemWithTSError = _e[_f];
-+const { items: { [itemId]: itemWithTSError } = {} /*happens when default value is provided*/ } = objWithItems;
- // in order to re-produce the error, uncomment next line:
- typeof itemWithTSError; // :(
- // will result in:
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/crashInResolveInterface.js.diff b/testdata/baselines/reference/submodule/compiler/crashInResolveInterface.js.diff
deleted file mode 100644
index 7277b00ae5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/crashInResolveInterface.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.crashInResolveInterface.js
-+++ new.crashInResolveInterface.js
-@@= skipped -19, +19 lines =@@
-
- //// [file1.js]
- var q1;
--var x = q1.each(function (x) { return c.log(x); });
-+var x = q1.each(x => c.log(x));
- //// [file2.js]
- ///
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/crashInresolveReturnStatement.js.diff b/testdata/baselines/reference/submodule/compiler/crashInresolveReturnStatement.js.diff
deleted file mode 100644
index 975372bce3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/crashInresolveReturnStatement.js.diff
+++ /dev/null
@@ -1,43 +0,0 @@
---- old.crashInresolveReturnStatement.js
-+++ new.crashInresolveReturnStatement.js
-@@= skipped -20, +20 lines =@@
-
-
- //// [crashInresolveReturnStatement.js]
--var WorkItemToolbar = /** @class */ (function () {
-- function WorkItemToolbar() {
-- }
-- WorkItemToolbar.prototype.onToolbarItemClick = function () {
-+class WorkItemToolbar {
-+ onToolbarItemClick() {
- WITDialogs.createCopyOfWorkItem();
-- };
-- return WorkItemToolbar;
--}());
--var CreateCopyOfWorkItemDialog = /** @class */ (function () {
-- function CreateCopyOfWorkItemDialog() {
- }
-- CreateCopyOfWorkItemDialog.prototype.getDialogResult = function () {
-+}
-+class CreateCopyOfWorkItemDialog {
-+ getDialogResult() {
- return null;
-- };
-- return CreateCopyOfWorkItemDialog;
--}());
-+ }
-+}
- function createWorkItemDialog(dialogType) {
- }
--var WITDialogs = /** @class */ (function () {
-- function WITDialogs() {
-- }
-- WITDialogs.createCopyOfWorkItem = function () {
-+class WITDialogs {
-+ static createCopyOfWorkItem() {
- createWorkItemDialog(CreateCopyOfWorkItemDialog);
-- };
-- return WITDialogs;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/crashInsourcePropertyIsRelatableToTargetProperty.js.diff b/testdata/baselines/reference/submodule/compiler/crashInsourcePropertyIsRelatableToTargetProperty.js.diff
index b8a8a0754d..db310f0560 100644
--- a/testdata/baselines/reference/submodule/compiler/crashInsourcePropertyIsRelatableToTargetProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/crashInsourcePropertyIsRelatableToTargetProperty.js.diff
@@ -1,42 +1,13 @@
--- old.crashInsourcePropertyIsRelatableToTargetProperty.js
+++ new.crashInsourcePropertyIsRelatableToTargetProperty.js
-@@= skipped -12, +12 lines =@@
-
+@@= skipped -13, +13 lines =@@
//// [crashInsourcePropertyIsRelatableToTargetProperty.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.x = 1;
- }
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return D;
--}(C));
-+class C {
+ x = 1;
-+}
-+class D extends C {
-+}
- function foo(x, items) {
- return null;
+ }
+ class D extends C {
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/crashIntypeCheckInvocationExpression.js.diff b/testdata/baselines/reference/submodule/compiler/crashIntypeCheckInvocationExpression.js.diff
index b6f9de7848..abc14ae3ab 100644
--- a/testdata/baselines/reference/submodule/compiler/crashIntypeCheckInvocationExpression.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/crashIntypeCheckInvocationExpression.js.diff
@@ -12,7 +12,7 @@
- function doCompile(fileset, moduleType) {
- return undefined;
- }
-- exports.compileServer = task(function () {
+- exports.compileServer = task(() => {
- var folder = path.join(), fileset = nake.fileSetSync(folder);
- return doCompile(fileset, moduleType);
- });
diff --git a/testdata/baselines/reference/submodule/compiler/crashIntypeCheckObjectCreationExpression.js.diff b/testdata/baselines/reference/submodule/compiler/crashIntypeCheckObjectCreationExpression.js.diff
index dfd2d508d6..7b623875d4 100644
--- a/testdata/baselines/reference/submodule/compiler/crashIntypeCheckObjectCreationExpression.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/crashIntypeCheckObjectCreationExpression.js.diff
@@ -8,16 +8,13 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.BuildWorkspaceService = void 0;
-- var BuildWorkspaceService = /** @class */ (function () {
-- function BuildWorkspaceService() {
-- }
-- BuildWorkspaceService.prototype.injectRequestService = function (service) {
+- class BuildWorkspaceService {
+- injectRequestService(service) {
- this.injectBuildService(new X(service));
-- };
-- BuildWorkspaceService.prototype.injectBuildService = function (service) {
-- };
-- return BuildWorkspaceService;
-- }());
+- }
+- injectBuildService(service) {
+- }
+- }
- exports.BuildWorkspaceService = BuildWorkspaceService;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/crashOnMethodSignatures.js.diff b/testdata/baselines/reference/submodule/compiler/crashOnMethodSignatures.js.diff
deleted file mode 100644
index fb9d26ff30..0000000000
--- a/testdata/baselines/reference/submodule/compiler/crashOnMethodSignatures.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.crashOnMethodSignatures.js
-+++ new.crashOnMethodSignatures.js
-@@= skipped -6, +6 lines =@@
-
-
- //// [crashOnMethodSignatures.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/crashRegressionTest.js.diff b/testdata/baselines/reference/submodule/compiler/crashRegressionTest.js.diff
index 54e6ef871d..30ca59df4b 100644
--- a/testdata/baselines/reference/submodule/compiler/crashRegressionTest.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/crashRegressionTest.js.diff
@@ -11,32 +11,22 @@
+ let TemplateEngine;
(function (TemplateEngine) {
"use strict";
-- var StringTemplate = /** @class */ (function () {
-- function StringTemplate(templateStorage) {
+ "use strict";
-+ class StringTemplate {
+ class StringTemplate {
+ _templateStorage;
-+ constructor(templateStorage) {
+ constructor(templateStorage) {
this._templateStorage = templateStorage;
}
-- StringTemplate.prototype.text = function (value) {
-+ text(value) {
- this._templateStorage.templateSources[this._name] = value;
-- };
-- return StringTemplate;
-- }());
-- var TemplateStorage = /** @class */ (function () {
-- function TemplateStorage() {
+@@= skipped -14, +16 lines =@@
+ }
+ }
+ class TemplateStorage {
+- constructor() {
- this.templateSources = {};
- this.templateData = {};
- }
-- return TemplateStorage;
-- }());
-+ }
-+ class TemplateStorage {
+- }
+ templateSources = {};
+ templateData = {};
-+ }
+ }
TemplateEngine.TemplateStorage = TemplateStorage;
- })(TemplateEngine = Util.TemplateEngine || (Util.TemplateEngine = {}));
- })(Util = MsPortal.Util || (MsPortal.Util = {}));
\ No newline at end of file
+ })(TemplateEngine = Util.TemplateEngine || (Util.TemplateEngine = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/createArray.js.diff b/testdata/baselines/reference/submodule/compiler/createArray.js.diff
deleted file mode 100644
index d7005cfd57..0000000000
--- a/testdata/baselines/reference/submodule/compiler/createArray.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.createArray.js
-+++ new.createArray.js
-@@= skipped -18, +18 lines =@@
-
- //// [createArray.js]
- var na = new number[];
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
- new C[];
- var ba = new boolean[];
- var sa = new string[];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileAccessors.js.diff b/testdata/baselines/reference/submodule/compiler/declFileAccessors.js.diff
index 5a6351a01c..528dc22ad7 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileAccessors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileAccessors.js.diff
@@ -1,266 +1,6 @@
--- old.declFileAccessors.js
+++ new.declFileAccessors.js
-@@= skipped -104, +104 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.c1 = void 0;
- /** This is comment for c1*/
--var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- Object.defineProperty(c1.prototype, "p3", {
-- /** getter property*/
-- get: function () {
-- return 10;
-- },
-- /** setter property*/
-- set: function (/** this is value*/ value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c1.prototype, "pp3", {
-- /** private getter property*/
-- get: function () {
-- return 10;
-- },
-- /** private setter property*/
-- set: function (/** this is value*/ value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c1, "s3", {
-- /** static getter property*/
-- get: function () {
-- return 10;
-- },
-- /** setter property*/
-- set: function (/** this is value*/ value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c1.prototype, "nc_p3", {
-- get: function () {
-- return 10;
-- },
-- set: function (value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c1.prototype, "nc_pp3", {
-- get: function () {
-- return 10;
-- },
-- set: function (value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c1, "nc_s3", {
-- get: function () {
-- return "";
-- },
-- set: function (value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c1.prototype, "onlyGetter", {
-- // Only getter property
-- get: function () {
-- return 10;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c1.prototype, "onlySetter", {
-- // Only setter property
-- set: function (value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return c1;
--}());
-+class c1 {
-+ /** getter property*/
-+ get p3() {
-+ return 10;
-+ }
-+ /** setter property*/
-+ set p3(/** this is value*/ value) {
-+ }
-+ /** private getter property*/
-+ get pp3() {
-+ return 10;
-+ }
-+ /** private setter property*/
-+ set pp3(/** this is value*/ value) {
-+ }
-+ /** static getter property*/
-+ static get s3() {
-+ return 10;
-+ }
-+ /** setter property*/
-+ static set s3(/** this is value*/ value) {
-+ }
-+ get nc_p3() {
-+ return 10;
-+ }
-+ set nc_p3(value) {
-+ }
-+ get nc_pp3() {
-+ return 10;
-+ }
-+ set nc_pp3(value) {
-+ }
-+ static get nc_s3() {
-+ return "";
-+ }
-+ static set nc_s3(value) {
-+ }
-+ // Only getter property
-+ get onlyGetter() {
-+ return 10;
-+ }
-+ // Only setter property
-+ set onlySetter(value) {
-+ }
-+}
- exports.c1 = c1;
- //// [declFileAccessors_1.js]
- /** This is comment for c2 - the global class*/
--var c2 = /** @class */ (function () {
-- function c2() {
-- }
-- Object.defineProperty(c2.prototype, "p3", {
-- /** getter property*/
-- get: function () {
-- return 10;
-- },
-- /** setter property*/
-- set: function (/** this is value*/ value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c2.prototype, "pp3", {
-- /** private getter property*/
-- get: function () {
-- return 10;
-- },
-- /** private setter property*/
-- set: function (/** this is value*/ value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c2, "s3", {
-- /** static getter property*/
-- get: function () {
-- return 10;
-- },
-- /** setter property*/
-- set: function (/** this is value*/ value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c2.prototype, "nc_p3", {
-- get: function () {
-- return 10;
-- },
-- set: function (value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c2.prototype, "nc_pp3", {
-- get: function () {
-- return 10;
-- },
-- set: function (value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c2, "nc_s3", {
-- get: function () {
-- return "";
-- },
-- set: function (value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c2.prototype, "onlyGetter", {
-- // Only getter property
-- get: function () {
-- return 10;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c2.prototype, "onlySetter", {
-- // Only setter property
-- set: function (value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return c2;
--}());
-+class c2 {
-+ /** getter property*/
-+ get p3() {
-+ return 10;
-+ }
-+ /** setter property*/
-+ set p3(/** this is value*/ value) {
-+ }
-+ /** private getter property*/
-+ get pp3() {
-+ return 10;
-+ }
-+ /** private setter property*/
-+ set pp3(/** this is value*/ value) {
-+ }
-+ /** static getter property*/
-+ static get s3() {
-+ return 10;
-+ }
-+ /** setter property*/
-+ static set s3(/** this is value*/ value) {
-+ }
-+ get nc_p3() {
-+ return 10;
-+ }
-+ set nc_p3(value) {
-+ }
-+ get nc_pp3() {
-+ return 10;
-+ }
-+ set nc_pp3(value) {
-+ }
-+ static get nc_s3() {
-+ return "";
-+ }
-+ static set nc_s3(value) {
-+ }
-+ // Only getter property
-+ get onlyGetter() {
-+ return 10;
-+ }
-+ // Only setter property
-+ set onlySetter(value) {
-+ }
-+}
-
-
- //// [declFileAccessors_0.d.ts]
-@@= skipped -186, +116 lines =@@
+@@= skipped -220, +220 lines =@@
private set nc_pp3(value);
static get nc_s3(): string;
static set nc_s3(value: string);
diff --git a/testdata/baselines/reference/submodule/compiler/declFileAliasUseBeforeDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/declFileAliasUseBeforeDeclaration.js.diff
deleted file mode 100644
index ce04db935b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileAliasUseBeforeDeclaration.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.declFileAliasUseBeforeDeclaration.js
-+++ new.declFileAliasUseBeforeDeclaration.js
-@@= skipped -10, +10 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Foo = void 0;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- exports.Foo = Foo;
- //// [declFileAliasUseBeforeDeclaration_test.js]
- "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileClassExtendsNull.js.diff b/testdata/baselines/reference/submodule/compiler/declFileClassExtendsNull.js.diff
deleted file mode 100644
index 79ba7e372c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileClassExtendsNull.js.diff
+++ /dev/null
@@ -1,32 +0,0 @@
---- old.declFileClassExtendsNull.js
-+++ new.declFileClassExtendsNull.js
-@@= skipped -4, +4 lines =@@
- }
-
- //// [declFileClassExtendsNull.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var ExtendsNull = /** @class */ (function (_super) {
-- __extends(ExtendsNull, _super);
-- function ExtendsNull() {
-- }
-- return ExtendsNull;
--}(null));
-+class ExtendsNull extends null {
-+}
-
-
- //// [declFileClassExtendsNull.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileClassWithIndexSignature.js.diff b/testdata/baselines/reference/submodule/compiler/declFileClassWithIndexSignature.js.diff
deleted file mode 100644
index e50a1a4aac..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileClassWithIndexSignature.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.declFileClassWithIndexSignature.js
-+++ new.declFileClassWithIndexSignature.js
-@@= skipped -5, +5 lines =@@
- }
-
- //// [declFileClassWithIndexSignature.js]
--var BlockIntrinsics = /** @class */ (function () {
-- function BlockIntrinsics() {
-- }
-- return BlockIntrinsics;
--}());
-+class BlockIntrinsics {
-+}
-
-
- //// [declFileClassWithIndexSignature.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileClassWithStaticMethodReturningConstructor.js.diff b/testdata/baselines/reference/submodule/compiler/declFileClassWithStaticMethodReturningConstructor.js.diff
deleted file mode 100644
index 66d5e3d1bb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileClassWithStaticMethodReturningConstructor.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.declFileClassWithStaticMethodReturningConstructor.js
-+++ new.declFileClassWithStaticMethodReturningConstructor.js
-@@= skipped -10, +10 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Enhancement = void 0;
--var Enhancement = /** @class */ (function () {
-- function Enhancement() {
-- }
-- Enhancement.getType = function () {
-+class Enhancement {
-+ static getType() {
- return this;
-- };
-- return Enhancement;
--}());
-+ }
-+}
- exports.Enhancement = Enhancement;
-
diff --git a/testdata/baselines/reference/submodule/compiler/declFileConstructors.js.diff b/testdata/baselines/reference/submodule/compiler/declFileConstructors.js.diff
index 0a0e5e5915..319013060e 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileConstructors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileConstructors.js.diff
@@ -1,193 +1,57 @@
--- old.declFileConstructors.js
+++ new.declFileConstructors.js
-@@= skipped -99, +99 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.ConstructorWithParameterInitializer = exports.ConstructorWithOptionalParameterProperty = exports.ConstructorWithPrivateParameterProperty = exports.ConstructorWithPublicParameterProperty = exports.ConstructorWithOverloads = exports.ConstructorWithRestParamters = exports.ConstructorWithParameters = exports.SimpleConstructor = void 0;
--var SimpleConstructor = /** @class */ (function () {
-+class SimpleConstructor {
- /** This comment should appear for foo*/
-- function SimpleConstructor() {
-+ constructor() {
- }
-- return SimpleConstructor;
--}());
-+}
- exports.SimpleConstructor = SimpleConstructor;
--var ConstructorWithParameters = /** @class */ (function () {
-+class ConstructorWithParameters {
- /** This is comment for function signature*/
-- function ConstructorWithParameters(/** this is comment about a*/ a,
-+ constructor(/** this is comment about a*/ a,
- /** this is comment for b*/
- b) {
- var d = a;
- }
-- return ConstructorWithParameters;
--}());
-+}
- exports.ConstructorWithParameters = ConstructorWithParameters;
--var ConstructorWithRestParamters = /** @class */ (function () {
-- function ConstructorWithRestParamters(a) {
-- var rests = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rests[_i - 1] = arguments[_i];
-- }
-+class ConstructorWithRestParamters {
-+ constructor(a, ...rests) {
- return a + rests.join("");
- }
-- return ConstructorWithRestParamters;
--}());
-+}
- exports.ConstructorWithRestParamters = ConstructorWithRestParamters;
--var ConstructorWithOverloads = /** @class */ (function () {
-- function ConstructorWithOverloads(a) {
-+class ConstructorWithOverloads {
-+ constructor(a) {
- }
-- return ConstructorWithOverloads;
--}());
-+}
+@@= skipped -126, +126 lines =@@
+ }
exports.ConstructorWithOverloads = ConstructorWithOverloads;
--var ConstructorWithPublicParameterProperty = /** @class */ (function () {
-- function ConstructorWithPublicParameterProperty(x) {
-+class ConstructorWithPublicParameterProperty {
+ class ConstructorWithPublicParameterProperty {
+ x;
-+ constructor(x) {
+ constructor(x) {
this.x = x;
}
-- return ConstructorWithPublicParameterProperty;
--}());
-+}
+ }
exports.ConstructorWithPublicParameterProperty = ConstructorWithPublicParameterProperty;
--var ConstructorWithPrivateParameterProperty = /** @class */ (function () {
-- function ConstructorWithPrivateParameterProperty(x) {
-+class ConstructorWithPrivateParameterProperty {
+ class ConstructorWithPrivateParameterProperty {
+ x;
-+ constructor(x) {
+ constructor(x) {
this.x = x;
}
-- return ConstructorWithPrivateParameterProperty;
--}());
-+}
+ }
exports.ConstructorWithPrivateParameterProperty = ConstructorWithPrivateParameterProperty;
--var ConstructorWithOptionalParameterProperty = /** @class */ (function () {
-- function ConstructorWithOptionalParameterProperty(x) {
-+class ConstructorWithOptionalParameterProperty {
+ class ConstructorWithOptionalParameterProperty {
+ x;
-+ constructor(x) {
+ constructor(x) {
this.x = x;
}
-- return ConstructorWithOptionalParameterProperty;
--}());
-+}
+ }
exports.ConstructorWithOptionalParameterProperty = ConstructorWithOptionalParameterProperty;
--var ConstructorWithParameterInitializer = /** @class */ (function () {
-- function ConstructorWithParameterInitializer(x) {
-- if (x === void 0) { x = "hello"; }
-+class ConstructorWithParameterInitializer {
+ class ConstructorWithParameterInitializer {
+ x;
-+ constructor(x = "hello") {
+ constructor(x = "hello") {
this.x = x;
}
-- return ConstructorWithParameterInitializer;
--}());
-+}
- exports.ConstructorWithParameterInitializer = ConstructorWithParameterInitializer;
- //// [declFileConstructors_1.js]
--var GlobalSimpleConstructor = /** @class */ (function () {
-+class GlobalSimpleConstructor {
- /** This comment should appear for foo*/
-- function GlobalSimpleConstructor() {
-+ constructor() {
+@@= skipped -47, +51 lines =@@
}
-- return GlobalSimpleConstructor;
--}());
--var GlobalConstructorWithParameters = /** @class */ (function () {
-+}
-+class GlobalConstructorWithParameters {
- /** This is comment for function signature*/
-- function GlobalConstructorWithParameters(/** this is comment about a*/ a,
-+ constructor(/** this is comment about a*/ a,
- /** this is comment for b*/
- b) {
- var d = a;
- }
-- return GlobalConstructorWithParameters;
--}());
--var GlobalConstructorWithRestParamters = /** @class */ (function () {
-- function GlobalConstructorWithRestParamters(a) {
-- var rests = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rests[_i - 1] = arguments[_i];
-- }
-+}
-+class GlobalConstructorWithRestParamters {
-+ constructor(a, ...rests) {
- return a + rests.join("");
- }
-- return GlobalConstructorWithRestParamters;
--}());
--var GlobalConstructorWithOverloads = /** @class */ (function () {
-- function GlobalConstructorWithOverloads(a) {
-- }
-- return GlobalConstructorWithOverloads;
--}());
--var GlobalConstructorWithPublicParameterProperty = /** @class */ (function () {
-- function GlobalConstructorWithPublicParameterProperty(x) {
-- this.x = x;
-- }
-- return GlobalConstructorWithPublicParameterProperty;
--}());
--var GlobalConstructorWithPrivateParameterProperty = /** @class */ (function () {
-- function GlobalConstructorWithPrivateParameterProperty(x) {
-- this.x = x;
-- }
-- return GlobalConstructorWithPrivateParameterProperty;
--}());
--var GlobalConstructorWithOptionalParameterProperty = /** @class */ (function () {
-- function GlobalConstructorWithOptionalParameterProperty(x) {
-- this.x = x;
-- }
-- return GlobalConstructorWithOptionalParameterProperty;
--}());
--var GlobalConstructorWithParameterInitializer = /** @class */ (function () {
-- function GlobalConstructorWithParameterInitializer(x) {
-- if (x === void 0) { x = "hello"; }
-- this.x = x;
-- }
-- return GlobalConstructorWithParameterInitializer;
--}());
-+}
-+class GlobalConstructorWithOverloads {
-+ constructor(a) {
-+ }
-+}
-+class GlobalConstructorWithPublicParameterProperty {
+ }
+ class GlobalConstructorWithPublicParameterProperty {
+ x;
-+ constructor(x) {
-+ this.x = x;
-+ }
-+}
-+class GlobalConstructorWithPrivateParameterProperty {
+ constructor(x) {
+ this.x = x;
+ }
+ }
+ class GlobalConstructorWithPrivateParameterProperty {
+ x;
-+ constructor(x) {
-+ this.x = x;
-+ }
-+}
-+class GlobalConstructorWithOptionalParameterProperty {
+ constructor(x) {
+ this.x = x;
+ }
+ }
+ class GlobalConstructorWithOptionalParameterProperty {
+ x;
-+ constructor(x) {
-+ this.x = x;
-+ }
-+}
-+class GlobalConstructorWithParameterInitializer {
+ constructor(x) {
+ this.x = x;
+ }
+ }
+ class GlobalConstructorWithParameterInitializer {
+ x;
-+ constructor(x = "hello") {
-+ this.x = x;
-+ }
-+}
-
-
- //// [declFileConstructors_0.d.ts]
\ No newline at end of file
+ constructor(x = "hello") {
+ this.x = x;
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileExportImportChain.js.diff b/testdata/baselines/reference/submodule/compiler/declFileExportImportChain.js.diff
index ed2354403f..401b983c75 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileExportImportChain.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileExportImportChain.js.diff
@@ -9,13 +9,10 @@
- "use strict";
- var m1;
- (function (m1) {
-- var m2;
+- let m2;
- (function (m2) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
+- class c1 {
+- }
- m2.c1 = c1;
- })(m2 = m1.m2 || (m1.m2 = {}));
- })(m1 || (m1 = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/declFileExportImportChain2.js.diff b/testdata/baselines/reference/submodule/compiler/declFileExportImportChain2.js.diff
index ed2bed88be..a11463f3b2 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileExportImportChain2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileExportImportChain2.js.diff
@@ -9,13 +9,10 @@
- "use strict";
- var m1;
- (function (m1) {
-- var m2;
+- let m2;
- (function (m2) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
+- class c1 {
+- }
- m2.c1 = c1;
- })(m2 = m1.m2 || (m1.m2 = {}));
- })(m1 || (m1 = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/declFileForClassWithMultipleBaseClasses.js.diff b/testdata/baselines/reference/submodule/compiler/declFileForClassWithMultipleBaseClasses.js.diff
deleted file mode 100644
index 00c7111330..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileForClassWithMultipleBaseClasses.js.diff
+++ /dev/null
@@ -1,42 +0,0 @@
---- old.declFileForClassWithMultipleBaseClasses.js
-+++ new.declFileForClassWithMultipleBaseClasses.js
-@@= skipped -28, +28 lines =@@
- }
-
- //// [declFileForClassWithMultipleBaseClasses.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.foo = function () { };
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- B.prototype.bar = function () { };
-- return B;
--}());
--var D = /** @class */ (function () {
-- function D() {
-- }
-- D.prototype.baz = function () { };
-- D.prototype.bat = function () { };
-- D.prototype.foo = function () { };
-- D.prototype.bar = function () { };
-- return D;
--}());
-+class A {
-+ foo() { }
-+}
-+class B {
-+ bar() { }
-+}
-+class D {
-+ baz() { }
-+ bat() { }
-+ foo() { }
-+ bar() { }
-+}
-
-
- //// [declFileForClassWithMultipleBaseClasses.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileForClassWithPrivateOverloadedFunction.js.diff b/testdata/baselines/reference/submodule/compiler/declFileForClassWithPrivateOverloadedFunction.js.diff
deleted file mode 100644
index 6be70d73dd..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileForClassWithPrivateOverloadedFunction.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.declFileForClassWithPrivateOverloadedFunction.js
-+++ new.declFileForClassWithPrivateOverloadedFunction.js
-@@= skipped -7, +7 lines =@@
- }
-
- //// [declFileForClassWithPrivateOverloadedFunction.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.foo = function (x) { };
-- return C;
--}());
-+class C {
-+ foo(x) { }
-+}
-
-
- //// [declFileForClassWithPrivateOverloadedFunction.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileForFunctionTypeAsTypeParameter.js.diff b/testdata/baselines/reference/submodule/compiler/declFileForFunctionTypeAsTypeParameter.js.diff
deleted file mode 100644
index 40dba1585c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileForFunctionTypeAsTypeParameter.js.diff
+++ /dev/null
@@ -1,40 +0,0 @@
---- old.declFileForFunctionTypeAsTypeParameter.js
-+++ new.declFileForFunctionTypeAsTypeParameter.js
-@@= skipped -10, +10 lines =@@
-
-
- //// [declFileForFunctionTypeAsTypeParameter.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var X = /** @class */ (function () {
-- function X() {
-- }
-- return X;
--}());
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(X));
-+class X {
-+}
-+class C extends X {
-+}
-
-
- //// [declFileForFunctionTypeAsTypeParameter.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileForTypeParameters.js.diff b/testdata/baselines/reference/submodule/compiler/declFileForTypeParameters.js.diff
index 0338de8031..e8f8a807e2 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileForTypeParameters.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileForTypeParameters.js.diff
@@ -1,22 +1,10 @@
--- old.declFileForTypeParameters.js
+++ new.declFileForTypeParameters.js
-@@= skipped -8, +8 lines =@@
- }
+@@= skipped -9, +9 lines =@@
//// [declFileForTypeParameters.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.foo = function (a) {
-+class C {
+ class C {
+ x;
-+ foo(a) {
+ foo(a) {
return this.x;
-- };
-- return C;
--}());
-+ }
-+}
-
-
- //// [declFileForTypeParameters.d.ts]
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileFunctions.js.diff b/testdata/baselines/reference/submodule/compiler/declFileFunctions.js.diff
deleted file mode 100644
index 68eba1e7eb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileFunctions.js.diff
+++ /dev/null
@@ -1,54 +0,0 @@
---- old.declFileFunctions.js
-+++ new.declFileFunctions.js
-@@= skipped -96, +96 lines =@@
- b) {
- var d = a;
- }
--function fooWithRestParameters(a) {
-- var rests = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rests[_i - 1] = arguments[_i];
-- }
-+function fooWithRestParameters(a, ...rests) {
- return a + rests.join("");
- }
- function fooWithOverloads(a) {
-@@= skipped -22, +18 lines =@@
- function fooWithTypeTypePredicateAndGeneric(a) {
- return true;
- }
--function fooWithTypeTypePredicateAndRestParam(a) {
-- var rest = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rest[_i - 1] = arguments[_i];
-- }
-+function fooWithTypeTypePredicateAndRestParam(a, ...rest) {
- return true;
- }
- /** This comment should appear for nonExportedFoo*/
-@@= skipped -16, +12 lines =@@
- b) {
- var d = a;
- }
--function nonExportedFooWithRestParameters(a) {
-- var rests = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rests[_i - 1] = arguments[_i];
-- }
-+function nonExportedFooWithRestParameters(a, ...rests) {
- return a + rests.join("");
- }
- function nonExportedFooWithOverloads(a) {
-@@= skipped -20, +16 lines =@@
- b) {
- var d = a;
- }
--function globalfooWithRestParameters(a) {
-- var rests = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rests[_i - 1] = arguments[_i];
-- }
-+function globalfooWithRestParameters(a, ...rests) {
- return a + rests.join("");
- }
- function globalfooWithOverloads(a) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileGenericClassWithGenericExtendedClass.js.diff b/testdata/baselines/reference/submodule/compiler/declFileGenericClassWithGenericExtendedClass.js.diff
index 45173e1770..ce38028e08 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileGenericClassWithGenericExtendedClass.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileGenericClassWithGenericExtendedClass.js.diff
@@ -1,48 +1,9 @@
--- old.declFileGenericClassWithGenericExtendedClass.js
+++ new.declFileGenericClassWithGenericExtendedClass.js
-@@= skipped -14, +14 lines =@@
-
-
- //// [declFileGenericClassWithGenericExtendedClass.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Base = /** @class */ (function () {
-- function Base() {
-- }
-- return Base;
--}());
--var Derived = /** @class */ (function (_super) {
-- __extends(Derived, _super);
-- function Derived() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Derived;
--}(Base));
--var Baz = /** @class */ (function () {
-- function Baz() {
-- }
-- return Baz;
--}());
-+class Base {
-+}
-+class Derived extends Base {
-+}
-+class Baz {
+@@= skipped -19, +19 lines =@@
+ class Derived extends Base {
+ }
+ class Baz {
+ derived;
-+}
-
+ }
- //// [declFileGenericClassWithGenericExtendedClass.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileGenericType.js.diff b/testdata/baselines/reference/submodule/compiler/declFileGenericType.js.diff
index 4430f0cab2..5af8f004ce 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileGenericType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileGenericType.js.diff
@@ -1,76 +1,10 @@
--- old.declFileGenericType.js
+++ new.declFileGenericType.js
-@@= skipped -42, +42 lines =@@
-
- //// [declFileGenericType.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.j = exports.h = exports.g = exports.x = exports.e = exports.d = exports.c = exports.b = exports.a = exports.C = void 0;
- exports.f = f;
- var C;
- (function (C) {
-- var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
-- }());
-+ class A {
-+ }
- C.A = A;
-- var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
-- }());
-+ class B {
-+ }
- C.B = B;
- function F(x) { return null; }
- C.F = F;
-@@= skipped -44, +23 lines =@@
- C.F5 = F5;
+@@= skipped -66, +66 lines =@@
function F6(x) { return null; }
C.F6 = F6;
-- var D = /** @class */ (function () {
-- function D(val) {
-+ class D {
+ class D {
+ val;
-+ constructor(val) {
+ constructor(val) {
this.val = val;
- }
-- return D;
-- }());
-+ }
- C.D = D;
- })(C || (exports.C = C = {}));
- exports.b = C.F;
-@@= skipped -15, +15 lines =@@
- exports.x = (new C.D(new C.A())).val;
- function f() { }
- exports.g = C.F5();
--var h = /** @class */ (function (_super) {
-- __extends(h, _super);
-- function h() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return h;
--}(C.A));
-+class h extends C.A {
-+}
- exports.h = h;
- exports.j = C.F6;
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileGenericType2.js.diff b/testdata/baselines/reference/submodule/compiler/declFileGenericType2.js.diff
index b9736fe4e3..b8361a9497 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileGenericType2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileGenericType2.js.diff
@@ -1,24 +1,6 @@
--- old.declFileGenericType2.js
+++ new.declFileGenericType2.js
-@@= skipped -43, +43 lines =@@
-
-
- //// [declFileGenericType2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
+@@= skipped -46, +46 lines =@@
// Module
var templa;
(function (templa) {
@@ -28,20 +10,9 @@
- var mvc;
+ let mvc;
(function (mvc) {
-- var AbstractElementController = /** @class */ (function (_super) {
-- __extends(AbstractElementController, _super);
-- function AbstractElementController() {
-- return _super.call(this) || this;
-+ class AbstractElementController extends templa.mvc.AbstractController {
-+ constructor() {
-+ super();
- }
-- return AbstractElementController;
-- }(templa.mvc.AbstractController));
-+ }
- mvc.AbstractElementController = AbstractElementController;
- })(mvc = dom.mvc || (dom.mvc = {}));
- })(dom = templa.dom || (templa.dom = {}));
+ class AbstractElementController extends templa.mvc.AbstractController {
+ constructor() {
+@@= skipped -15, +15 lines =@@
})(templa || (templa = {}));
// Module
(function (templa) {
@@ -54,25 +25,12 @@
- var composite;
+ let composite;
(function (composite) {
-- var AbstractCompositeElementController = /** @class */ (function (_super) {
-- __extends(AbstractCompositeElementController, _super);
-- function AbstractCompositeElementController() {
-- var _this = _super.call(this) || this;
-- _this._controllers = [];
-- return _this;
-+ class AbstractCompositeElementController extends templa.dom.mvc.AbstractElementController {
+ class AbstractCompositeElementController extends templa.dom.mvc.AbstractElementController {
+ _controllers;
-+ constructor() {
-+ super();
-+ this._controllers = [];
- }
-- return AbstractCompositeElementController;
-- }(templa.dom.mvc.AbstractElementController));
-+ }
- composite.AbstractCompositeElementController = AbstractCompositeElementController;
- })(composite = mvc.composite || (mvc.composite = {}));
- })(mvc = dom.mvc || (dom.mvc = {}));
-@@= skipped -79, +60 lines =@@
+ constructor() {
+ super();
+ this._controllers = [];
+@@= skipped -41, +42 lines =@@
interface IElementController extends templa.mvc.IController {
}
}
diff --git a/testdata/baselines/reference/submodule/compiler/declFileImportChainInExportAssignment.js.diff b/testdata/baselines/reference/submodule/compiler/declFileImportChainInExportAssignment.js.diff
index 416c2ec783..4a8556727c 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileImportChainInExportAssignment.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileImportChainInExportAssignment.js.diff
@@ -1,19 +1,6 @@
--- old.declFileImportChainInExportAssignment.js
+++ new.declFileImportChainInExportAssignment.js
-@@= skipped -14, +14 lines =@@
- "use strict";
- var m;
- (function (m) {
-- var c;
-+ let c;
- (function (c_1) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
+@@= skipped -21, +21 lines =@@
c_1.c = c;
})(c = m.c || (m.c = {}));
})(m || (m = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/declFileImportedTypeUseInTypeArgPosition.js.diff b/testdata/baselines/reference/submodule/compiler/declFileImportedTypeUseInTypeArgPosition.js.diff
deleted file mode 100644
index f01e229cf2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileImportedTypeUseInTypeArgPosition.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.declFileImportedTypeUseInTypeArgPosition.js
-+++ new.declFileImportedTypeUseInTypeArgPosition.js
-@@= skipped -15, +15 lines =@@
-
-
- //// [declFileImportedTypeUseInTypeArgPosition.js]
--var List = /** @class */ (function () {
-- function List() {
-- }
-- return List;
--}());
-+class List {
-+}
-
-
- //// [declFileImportedTypeUseInTypeArgPosition.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileInternalAliases.js.diff b/testdata/baselines/reference/submodule/compiler/declFileInternalAliases.js.diff
index 34ea529a6c..6ae186e710 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileInternalAliases.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileInternalAliases.js.diff
@@ -1,20 +1,6 @@
--- old.declFileInternalAliases.js
+++ new.declFileInternalAliases.js
-@@= skipped -16, +16 lines =@@
- //// [declFileInternalAliases.js]
- var m;
- (function (m) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- m.c = c;
- })(m || (m = {}));
- var m1;
-@@= skipped -26, +23 lines =@@
+@@= skipped -39, +39 lines =@@
}
declare namespace m1 {
import x = m.c;
diff --git a/testdata/baselines/reference/submodule/compiler/declFileMethods.js.diff b/testdata/baselines/reference/submodule/compiler/declFileMethods.js.diff
deleted file mode 100644
index e4e17c1645..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileMethods.js.diff
+++ /dev/null
@@ -1,241 +0,0 @@
---- old.declFileMethods.js
-+++ new.declFileMethods.js
-@@= skipped -192, +192 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.c1 = void 0;
--var c1 = /** @class */ (function () {
-- function c1() {
-- }
-+class c1 {
- /** This comment should appear for foo*/
-- c1.prototype.foo = function () {
-- };
-+ foo() {
-+ }
- /** This is comment for function signature*/
-- c1.prototype.fooWithParameters = function (/** this is comment about a*/ a,
-+ fooWithParameters(/** this is comment about a*/ a,
- /** this is comment for b*/
- b) {
- var d = a;
-- };
-- c1.prototype.fooWithRestParameters = function (a) {
-- var rests = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rests[_i - 1] = arguments[_i];
-- }
-+ }
-+ fooWithRestParameters(a, ...rests) {
- return a + rests.join("");
-- };
-- c1.prototype.fooWithOverloads = function (a) {
-+ }
-+ fooWithOverloads(a) {
- return a;
-- };
-+ }
- /** This comment should appear for privateFoo*/
-- c1.prototype.privateFoo = function () {
-- };
-+ privateFoo() {
-+ }
- /** This is comment for function signature*/
-- c1.prototype.privateFooWithParameters = function (/** this is comment about a*/ a,
-+ privateFooWithParameters(/** this is comment about a*/ a,
- /** this is comment for b*/
- b) {
- var d = a;
-- };
-- c1.prototype.privateFooWithRestParameters = function (a) {
-- var rests = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rests[_i - 1] = arguments[_i];
-- }
-+ }
-+ privateFooWithRestParameters(a, ...rests) {
- return a + rests.join("");
-- };
-- c1.prototype.privateFooWithOverloads = function (a) {
-+ }
-+ privateFooWithOverloads(a) {
- return a;
-- };
-+ }
- /** This comment should appear for static foo*/
-- c1.staticFoo = function () {
-- };
-+ static staticFoo() {
-+ }
- /** This is comment for function signature*/
-- c1.staticFooWithParameters = function (/** this is comment about a*/ a,
-+ static staticFooWithParameters(/** this is comment about a*/ a,
- /** this is comment for b*/
- b) {
- var d = a;
-- };
-- c1.staticFooWithRestParameters = function (a) {
-- var rests = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rests[_i - 1] = arguments[_i];
-- }
-+ }
-+ static staticFooWithRestParameters(a, ...rests) {
- return a + rests.join("");
-- };
-- c1.staticFooWithOverloads = function (a) {
-+ }
-+ static staticFooWithOverloads(a) {
- return a;
-- };
-+ }
- /** This comment should appear for privateStaticFoo*/
-- c1.privateStaticFoo = function () {
-- };
-+ static privateStaticFoo() {
-+ }
- /** This is comment for function signature*/
-- c1.privateStaticFooWithParameters = function (/** this is comment about a*/ a,
-+ static privateStaticFooWithParameters(/** this is comment about a*/ a,
- /** this is comment for b*/
- b) {
- var d = a;
-- };
-- c1.privateStaticFooWithRestParameters = function (a) {
-- var rests = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rests[_i - 1] = arguments[_i];
-- }
-+ }
-+ static privateStaticFooWithRestParameters(a, ...rests) {
- return a + rests.join("");
-- };
-- c1.privateStaticFooWithOverloads = function (a) {
-+ }
-+ static privateStaticFooWithOverloads(a) {
- return a;
-- };
-- return c1;
--}());
-+ }
-+}
- exports.c1 = c1;
- //// [declFileMethods_1.js]
--var c2 = /** @class */ (function () {
-- function c2() {
-- }
-+class c2 {
- /** This comment should appear for foo*/
-- c2.prototype.foo = function () {
-- };
-+ foo() {
-+ }
- /** This is comment for function signature*/
-- c2.prototype.fooWithParameters = function (/** this is comment about a*/ a,
-+ fooWithParameters(/** this is comment about a*/ a,
- /** this is comment for b*/
- b) {
- var d = a;
-- };
-- c2.prototype.fooWithRestParameters = function (a) {
-- var rests = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rests[_i - 1] = arguments[_i];
-- }
-+ }
-+ fooWithRestParameters(a, ...rests) {
- return a + rests.join("");
-- };
-- c2.prototype.fooWithOverloads = function (a) {
-+ }
-+ fooWithOverloads(a) {
- return a;
-- };
-+ }
- /** This comment should appear for privateFoo*/
-- c2.prototype.privateFoo = function () {
-- };
-+ privateFoo() {
-+ }
- /** This is comment for function signature*/
-- c2.prototype.privateFooWithParameters = function (/** this is comment about a*/ a,
-+ privateFooWithParameters(/** this is comment about a*/ a,
- /** this is comment for b*/
- b) {
- var d = a;
-- };
-- c2.prototype.privateFooWithRestParameters = function (a) {
-- var rests = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rests[_i - 1] = arguments[_i];
-- }
-+ }
-+ privateFooWithRestParameters(a, ...rests) {
- return a + rests.join("");
-- };
-- c2.prototype.privateFooWithOverloads = function (a) {
-+ }
-+ privateFooWithOverloads(a) {
- return a;
-- };
-+ }
- /** This comment should appear for static foo*/
-- c2.staticFoo = function () {
-- };
-+ static staticFoo() {
-+ }
- /** This is comment for function signature*/
-- c2.staticFooWithParameters = function (/** this is comment about a*/ a,
-+ static staticFooWithParameters(/** this is comment about a*/ a,
- /** this is comment for b*/
- b) {
- var d = a;
-- };
-- c2.staticFooWithRestParameters = function (a) {
-- var rests = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rests[_i - 1] = arguments[_i];
-- }
-+ }
-+ static staticFooWithRestParameters(a, ...rests) {
- return a + rests.join("");
-- };
-- c2.staticFooWithOverloads = function (a) {
-+ }
-+ static staticFooWithOverloads(a) {
- return a;
-- };
-+ }
- /** This comment should appear for privateStaticFoo*/
-- c2.privateStaticFoo = function () {
-- };
-+ static privateStaticFoo() {
-+ }
- /** This is comment for function signature*/
-- c2.privateStaticFooWithParameters = function (/** this is comment about a*/ a,
-+ static privateStaticFooWithParameters(/** this is comment about a*/ a,
- /** this is comment for b*/
- b) {
- var d = a;
-- };
-- c2.privateStaticFooWithRestParameters = function (a) {
-- var rests = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rests[_i - 1] = arguments[_i];
-- }
-+ }
-+ static privateStaticFooWithRestParameters(a, ...rests) {
- return a + rests.join("");
-- };
-- c2.privateStaticFooWithOverloads = function (a) {
-+ }
-+ static privateStaticFooWithOverloads(a) {
- return a;
-- };
-- return c2;
--}());
-+ }
-+}
-
-
- //// [declFileMethods_0.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileModuleAssignmentInObjectLiteralProperty.js.diff b/testdata/baselines/reference/submodule/compiler/declFileModuleAssignmentInObjectLiteralProperty.js.diff
deleted file mode 100644
index da1ad74bb7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileModuleAssignmentInObjectLiteralProperty.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.declFileModuleAssignmentInObjectLiteralProperty.js
-+++ new.declFileModuleAssignmentInObjectLiteralProperty.js
-@@= skipped -12, +12 lines =@@
- //// [declFileModuleAssignmentInObjectLiteralProperty.js]
- var m1;
- (function (m1) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- m1.c = c;
- })(m1 || (m1 = {}));
- var d = {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileModuleContinuation.js.diff b/testdata/baselines/reference/submodule/compiler/declFileModuleContinuation.js.diff
index ec69d73ecf..0180c73d9b 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileModuleContinuation.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileModuleContinuation.js.diff
@@ -10,13 +10,5 @@
- var C;
+ let C;
(function (C) {
-- var W = /** @class */ (function () {
-- function W() {
-- }
-- return W;
-- }());
-+ class W {
-+ }
- C.W = W;
- })(C = B.C || (B.C = {}));
- })(B = A.B || (A.B = {}));
\ No newline at end of file
+ class W {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileModuleWithPropertyOfTypeModule.js.diff b/testdata/baselines/reference/submodule/compiler/declFileModuleWithPropertyOfTypeModule.js.diff
deleted file mode 100644
index 0c56557599..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileModuleWithPropertyOfTypeModule.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.declFileModuleWithPropertyOfTypeModule.js
-+++ new.declFileModuleWithPropertyOfTypeModule.js
-@@= skipped -10, +10 lines =@@
- //// [declFileModuleWithPropertyOfTypeModule.js]
- var m;
- (function (m) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- m.c = c;
- m.a = m;
- })(m || (m = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFilePrivateMethodOverloads.js.diff b/testdata/baselines/reference/submodule/compiler/declFilePrivateMethodOverloads.js.diff
deleted file mode 100644
index 336be73c0c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFilePrivateMethodOverloads.js.diff
+++ /dev/null
@@ -1,28 +0,0 @@
---- old.declFilePrivateMethodOverloads.js
-+++ new.declFilePrivateMethodOverloads.js
-@@= skipped -24, +24 lines =@@
- }
-
- //// [declFilePrivateMethodOverloads.js]
--var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- c1.prototype._forEachBindingContext = function (context, fn) {
-- // Function here
-- };
-- c1.prototype.overloadWithArityDifference = function (context) {
-- // Function here
-- };
-- return c1;
--}());
-+class c1 {
-+ _forEachBindingContext(context, fn) {
-+ // Function here
-+ }
-+ overloadWithArityDifference(context) {
-+ // Function here
-+ }
-+}
-
-
- //// [declFilePrivateMethodOverloads.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFilePrivateStatic.js.diff b/testdata/baselines/reference/submodule/compiler/declFilePrivateStatic.js.diff
index 721ab2df37..3a10a0258f 100644
--- a/testdata/baselines/reference/submodule/compiler/declFilePrivateStatic.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFilePrivateStatic.js.diff
@@ -4,35 +4,19 @@
}
//// [declFilePrivateStatic.js]
--var C = /** @class */ (function () {
-- function C() {
+-let C = (() => {
+- class C {
+- static a() { }
+- static b() { }
+- static get c() { return 1; }
+- static get d() { return 1; }
+- static set e(v) { }
+- static set f(v) { }
- }
-- C.a = function () { };
-- C.b = function () { };
-- Object.defineProperty(C, "c", {
-- get: function () { return 1; },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C, "d", {
-- get: function () { return 1; },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C, "e", {
-- set: function (v) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C, "f", {
-- set: function (v) { },
-- enumerable: false,
-- configurable: true
-- });
- C.x = 1;
- C.y = 1;
- return C;
--}());
+-})();
+class C {
+ static x = 1;
+ static y = 1;
diff --git a/testdata/baselines/reference/submodule/compiler/declFileRegressionTests.js.diff b/testdata/baselines/reference/submodule/compiler/declFileRegressionTests.js.diff
index cdc79e1bda..8904cd8559 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileRegressionTests.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileRegressionTests.js.diff
@@ -1,11 +1,6 @@
--- old.declFileRegressionTests.js
+++ new.declFileRegressionTests.js
-@@= skipped -9, +9 lines =@@
- //// [declFileRegressionTests.js]
- // 'null' not converted to 'any' in d.ts
- // function types not piped through correctly
--var n = { w: null, x: '', y: function () { }, z: 32 };
-+var n = { w: null, x: '', y: () => { }, z: 32 };
+@@= skipped -13, +13 lines =@@
//// [declFileRegressionTests.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declFileRestParametersOfFunctionAndFunctionType.js.diff b/testdata/baselines/reference/submodule/compiler/declFileRestParametersOfFunctionAndFunctionType.js.diff
deleted file mode 100644
index 07cddb2f7e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileRestParametersOfFunctionAndFunctionType.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.declFileRestParametersOfFunctionAndFunctionType.js
-+++ new.declFileRestParametersOfFunctionAndFunctionType.js
-@@= skipped -11, +11 lines =@@
-
-
- //// [declFileRestParametersOfFunctionAndFunctionType.js]
--function f1() {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
-- }
--}
-+function f1(...args) { }
- function f2(x) { }
- function f3(x) { }
- function f4() { }
- function f5() { }
--var f6 = function () { return [10]; };
-+var f6 = () => { return [10]; };
-
-
- //// [declFileRestParametersOfFunctionAndFunctionType.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationArrayType.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationArrayType.js.diff
index 9709f3cc4c..591b91a171 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationArrayType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationArrayType.js.diff
@@ -1,59 +1,6 @@
--- old.declFileTypeAnnotationArrayType.js
+++ new.declFileTypeAnnotationArrayType.js
-@@= skipped -52, +52 lines =@@
- }
-
- //// [declFileTypeAnnotationArrayType.js]
--var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
--}());
-+class c {
-+}
- var m;
- (function (m) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- m.c = c;
-- var g = /** @class */ (function () {
-- function g() {
-- }
-- return g;
-- }());
-+ class g {
-+ }
- m.g = g;
- })(m || (m = {}));
--var g = /** @class */ (function () {
-- function g() {
-- }
-- return g;
--}());
-+class g {
-+}
- // Just the name
- function foo() {
- return [new c()];
-@@= skipped -55, +43 lines =@@
- }
- // Array of function types
- function foo9() {
-- return [function () { return new c(); }];
-+ return [() => new c()];
- }
- function foo10() {
-- return [function () { return new c(); }];
-+ return [() => new c()];
- }
-
-
-@@= skipped -18, +18 lines =@@
+@@= skipped -113, +113 lines =@@
}
declare class g {
}
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationParenType.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationParenType.js.diff
index 079bee8a57..e7f4b1ba0d 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationParenType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationParenType.js.diff
@@ -1,25 +1,10 @@
--- old.declFileTypeAnnotationParenType.js
+++ new.declFileTypeAnnotationParenType.js
-@@= skipped -11, +11 lines =@@
- var l = (() => new c()) || "";
+@@= skipped -12, +12 lines =@@
//// [declFileTypeAnnotationParenType.js]
--var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
--}());
--var x = [function () { return new c(); }];
--var y = [function () { return new c(); }];
--var k = (function () { return new c(); }) || "";
--var l = (function () { return new c(); }) || "";
-+class c {
+ class c {
+ p;
-+}
-+var x = [() => new c()];
-+var y = [() => new c()];
-+var k = (() => new c()) || "";
-+var l = (() => new c()) || "";
-
-
- //// [declFileTypeAnnotationParenType.d.ts]
\ No newline at end of file
+ }
+ var x = [() => new c()];
+ var y = [() => new c()];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTupleType.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTupleType.js.diff
index 90fcb2b81c..0080dfeb2e 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTupleType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTupleType.js.diff
@@ -1,51 +1,6 @@
--- old.declFileTypeAnnotationTupleType.js
+++ new.declFileTypeAnnotationTupleType.js
-@@= skipped -19, +19 lines =@@
- var y = x;
-
- //// [declFileTypeAnnotationTupleType.js]
--var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
--}());
-+class c {
-+}
- var m;
- (function (m) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- m.c = c;
-- var g = /** @class */ (function () {
-- function g() {
-- }
-- return g;
-- }());
-+ class g {
-+ }
- m.g = g;
- })(m || (m = {}));
--var g = /** @class */ (function () {
-- function g() {
-- }
-- return g;
--}());
-+class g {
-+}
- // Just the name
- var k = [new c(), new m.c()];
- var l = k;
--var x = [new g(), new m.g(), function () { return new c(); }];
-+var x = [new g(), new m.g(), () => new c()];
- var y = x;
-
-
-@@= skipped -43, +31 lines =@@
+@@= skipped -50, +50 lines =@@
}
declare class g {
}
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeAlias.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeAlias.js.diff
deleted file mode 100644
index b5e6c87ae5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeAlias.js.diff
+++ /dev/null
@@ -1,41 +0,0 @@
---- old.declFileTypeAnnotationTypeAlias.js
-+++ new.declFileTypeAnnotationTypeAlias.js
-@@= skipped -34, +34 lines =@@
- //// [declFileTypeAnnotationTypeAlias.js]
- var M;
- (function (M) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- M.c = c;
-- var m;
-+ let m;
- (function (m) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- m.c = c;
- })(m = M.m || (M.m = {}));
- })(M || (M = {}));
- (function (M) {
-- var N;
-+ let N;
- (function (N) {
-- var Window = /** @class */ (function () {
-- function Window() {
-- }
-- return Window;
-- }());
-+ class Window {
-+ }
- N.Window = Window;
- })(N = M.N || (M.N = {}));
- })(M || (M = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeLiteral.js.diff
index b887e1e641..854e225b8f 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeLiteral.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeLiteral.js.diff
@@ -1,36 +1,6 @@
--- old.declFileTypeAnnotationTypeLiteral.js
+++ new.declFileTypeAnnotationTypeLiteral.js
-@@= skipped -40, +40 lines =@@
- var z: new (a: string) => m.c;
-
- //// [declFileTypeAnnotationTypeLiteral.js]
--var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
--}());
--var g = /** @class */ (function () {
-- function g() {
-- }
-- return g;
--}());
-+class c {
-+}
-+class g {
-+}
- var m;
- (function (m) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- m.c = c;
- })(m || (m = {}));
- // Object literal with everything
-@@= skipped -36, +27 lines =@@
+@@= skipped -67, +67 lines =@@
class c {
}
}
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeQuery.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeQuery.js.diff
index d935307e23..21e11db8be 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeQuery.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeQuery.js.diff
@@ -1,46 +1,6 @@
--- old.declFileTypeAnnotationTypeQuery.js
+++ new.declFileTypeAnnotationTypeQuery.js
-@@= skipped -44, +44 lines =@@
- }
-
- //// [declFileTypeAnnotationTypeQuery.js]
--var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
--}());
-+class c {
-+}
- var m;
- (function (m) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- m.c = c;
-- var g = /** @class */ (function () {
-- function g() {
-- }
-- return g;
-- }());
-+ class g {
-+ }
- m.g = g;
- })(m || (m = {}));
--var g = /** @class */ (function () {
-- function g() {
-- }
-- return g;
--}());
-+class g {
-+}
- // Just the name
- function foo() {
- return c;
-@@= skipped -66, +54 lines =@@
+@@= skipped -98, +98 lines =@@
}
declare class g {
}
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeReference.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeReference.js.diff
index 91cf98c2d6..6889f13a07 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeReference.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationTypeReference.js.diff
@@ -1,46 +1,6 @@
--- old.declFileTypeAnnotationTypeReference.js
+++ new.declFileTypeAnnotationTypeReference.js
-@@= skipped -44, +44 lines =@@
- }
-
- //// [declFileTypeAnnotationTypeReference.js]
--var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
--}());
-+class c {
-+}
- var m;
- (function (m) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- m.c = c;
-- var g = /** @class */ (function () {
-- function g() {
-- }
-- return g;
-- }());
-+ class g {
-+ }
- m.g = g;
- })(m || (m = {}));
--var g = /** @class */ (function () {
-- function g() {
-- }
-- return g;
--}());
-+class g {
-+}
- // Just the name
- function foo() {
- return new c();
-@@= skipped -66, +54 lines =@@
+@@= skipped -98, +98 lines =@@
}
declare class g {
}
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationUnionType.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationUnionType.js.diff
index 6495a1777a..93c2fbcd18 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationUnionType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationUnionType.js.diff
@@ -1,57 +1,28 @@
--- old.declFileTypeAnnotationUnionType.js
+++ new.declFileTypeAnnotationUnionType.js
-@@= skipped -23, +23 lines =@@
- var y = new g() || new m.g() || (() => new c());
+@@= skipped -24, +24 lines =@@
//// [declFileTypeAnnotationUnionType.js]
--var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
--}());
-+class c {
+ class c {
+ p;
-+}
+ }
var m;
(function (m) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
+ class c {
+ q;
-+ }
+ }
m.c = c;
-- var g = /** @class */ (function () {
-- function g() {
-- }
-- return g;
-- }());
-+ class g {
+ class g {
+ r;
-+ }
+ }
m.g = g;
})(m || (m = {}));
--var g = /** @class */ (function () {
-- function g() {
-- }
-- return g;
--}());
-+class g {
+ class g {
+ s;
-+}
+ }
// Just the name
var k = new c() || new m.c();
- var l = new c() || new m.c();
--var x = new g() || new m.g() || (function () { return new c(); });
--var y = new g() || new m.g() || (function () { return new c(); });
-+var x = new g() || new m.g() || (() => new c());
-+var y = new g() || new m.g() || (() => new c());
-
-
- //// [declFileTypeAnnotationUnionType.d.ts]
-@@= skipped -47, +39 lines =@@
+@@= skipped -34, +38 lines =@@
declare class g {
private s;
}
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorAccessors.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorAccessors.js.diff
index ff69420dbe..4a1c92754b 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorAccessors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorAccessors.js.diff
@@ -1,245 +1,6 @@
--- old.declFileTypeAnnotationVisibilityErrorAccessors.js
+++ new.declFileTypeAnnotationVisibilityErrorAccessors.js
-@@= skipped -103, +103 lines =@@
- //// [declFileTypeAnnotationVisibilityErrorAccessors.js]
- var m;
- (function (m) {
-- var private1 = /** @class */ (function () {
-- function private1() {
-- }
-- return private1;
-- }());
-- var public1 = /** @class */ (function () {
-- function public1() {
-- }
-- return public1;
-- }());
-+ class private1 {
-+ }
-+ class public1 {
-+ }
- m.public1 = public1;
-- var m2;
-+ let m2;
- (function (m2) {
-- var public2 = /** @class */ (function () {
-- function public2() {
-- }
-- return public2;
-- }());
-+ class public2 {
-+ }
- m2.public2 = public2;
- })(m2 || (m2 = {}));
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- Object.defineProperty(c.prototype, "foo1", {
-- // getter with annotation
-- get: function () {
-- return;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c.prototype, "foo2", {
-- // getter without annotation
-- get: function () {
-- return new private1();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c.prototype, "foo3", {
-- // setter with annotation
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c.prototype, "foo4", {
-- // Both - getter without annotation, setter with annotation
-- get: function () {
-- return new private1();
-- },
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c.prototype, "foo5", {
-- // Both - with annotation
-- get: function () {
-- return;
-- },
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c.prototype, "foo11", {
-- // getter with annotation
-- get: function () {
-- return;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c.prototype, "foo12", {
-- // getter without annotation
-- get: function () {
-- return new public1();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c.prototype, "foo13", {
-- // setter with annotation
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c.prototype, "foo14", {
-- // Both - getter without annotation, setter with annotation
-- get: function () {
-- return new public1();
-- },
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c.prototype, "foo15", {
-- // Both - with annotation
-- get: function () {
-- return;
-- },
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c.prototype, "foo111", {
-- // getter with annotation
-- get: function () {
-- return;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c.prototype, "foo112", {
-- // getter without annotation
-- get: function () {
-- return new m2.public2();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c.prototype, "foo113", {
-- // setter with annotation
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c.prototype, "foo114", {
-- // Both - getter without annotation, setter with annotation
-- get: function () {
-- return new m2.public2();
-- },
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(c.prototype, "foo115", {
-- // Both - with annotation
-- get: function () {
-- return;
-- },
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return c;
-- }());
-+ class c {
-+ // getter with annotation
-+ get foo1() {
-+ return;
-+ }
-+ // getter without annotation
-+ get foo2() {
-+ return new private1();
-+ }
-+ // setter with annotation
-+ set foo3(param) {
-+ }
-+ // Both - getter without annotation, setter with annotation
-+ get foo4() {
-+ return new private1();
-+ }
-+ set foo4(param) {
-+ }
-+ // Both - with annotation
-+ get foo5() {
-+ return;
-+ }
-+ set foo5(param) {
-+ }
-+ // getter with annotation
-+ get foo11() {
-+ return;
-+ }
-+ // getter without annotation
-+ get foo12() {
-+ return new public1();
-+ }
-+ // setter with annotation
-+ set foo13(param) {
-+ }
-+ // Both - getter without annotation, setter with annotation
-+ get foo14() {
-+ return new public1();
-+ }
-+ set foo14(param) {
-+ }
-+ // Both - with annotation
-+ get foo15() {
-+ return;
-+ }
-+ set foo15(param) {
-+ }
-+ // getter with annotation
-+ get foo111() {
-+ return;
-+ }
-+ // getter without annotation
-+ get foo112() {
-+ return new m2.public2();
-+ }
-+ // setter with annotation
-+ set foo113(param) {
-+ }
-+ // Both - getter without annotation, setter with annotation
-+ get foo114() {
-+ return new m2.public2();
-+ }
-+ set foo114(param) {
-+ }
-+ // Both - with annotation
-+ get foo115() {
-+ return;
-+ }
-+ set foo115(param) {
-+ }
-+ }
- m.c = c;
- })(m || (m = {}));
-
-@@= skipped -169, +97 lines =@@
+@@= skipped -200, +200 lines =@@
}
}
export class c {
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorParameterOfFunction.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorParameterOfFunction.js.diff
deleted file mode 100644
index 6239ceb95b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorParameterOfFunction.js.diff
+++ /dev/null
@@ -1,77 +0,0 @@
---- old.declFileTypeAnnotationVisibilityErrorParameterOfFunction.js
-+++ new.declFileTypeAnnotationVisibilityErrorParameterOfFunction.js
-@@= skipped -48, +48 lines =@@
- //// [declFileTypeAnnotationVisibilityErrorParameterOfFunction.js]
- var m;
- (function (m) {
-- var private1 = /** @class */ (function () {
-- function private1() {
-- }
-- return private1;
-- }());
-- var public1 = /** @class */ (function () {
-- function public1() {
-- }
-- return public1;
-- }());
-+ class private1 {
-+ }
-+ class public1 {
-+ }
- m.public1 = public1;
- // Directly using names from this module
- function foo1(param) {
- }
-- function foo2(param) {
-- if (param === void 0) { param = new private1(); }
-+ function foo2(param = new private1()) {
- }
- function foo3(param) {
- }
- m.foo3 = foo3;
-- function foo4(param) {
-- if (param === void 0) { param = new private1(); }
-+ function foo4(param = new private1()) {
- }
- m.foo4 = foo4;
- function foo11(param) {
- }
-- function foo12(param) {
-- if (param === void 0) { param = new public1(); }
-+ function foo12(param = new public1()) {
- }
- function foo13(param) {
- }
- m.foo13 = foo13;
-- function foo14(param) {
-- if (param === void 0) { param = new public1(); }
-+ function foo14(param = new public1()) {
- }
- m.foo14 = foo14;
-- var m2;
-+ let m2;
- (function (m2) {
-- var public2 = /** @class */ (function () {
-- function public2() {
-- }
-- return public2;
-- }());
-+ class public2 {
-+ }
- m2.public2 = public2;
- })(m2 || (m2 = {}));
- function foo111(param) {
- }
-- function foo112(param) {
-- if (param === void 0) { param = new m2.public2(); }
-+ function foo112(param = new m2.public2()) {
- }
- function foo113(param) {
- }
- m.foo113 = foo113;
-- function foo114(param) {
-- if (param === void 0) { param = new m2.public2(); }
-+ function foo114(param = new m2.public2()) {
- }
- m.foo114 = foo114;
- })(m || (m = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.js.diff
deleted file mode 100644
index e2576da246..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.js.diff
+++ /dev/null
@@ -1,40 +0,0 @@
---- old.declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.js
-+++ new.declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.js
-@@= skipped -60, +60 lines =@@
- //// [declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.js]
- var m;
- (function (m) {
-- var private1 = /** @class */ (function () {
-- function private1() {
-- }
-- return private1;
-- }());
-- var public1 = /** @class */ (function () {
-- function public1() {
-- }
-- return public1;
-- }());
-+ class private1 {
-+ }
-+ class public1 {
-+ }
- m.public1 = public1;
- // Directly using names from this module
- function foo1() {
-@@= skipped -40, +34 lines =@@
- return new public1();
- }
- m.foo14 = foo14;
-- var m2;
-+ let m2;
- (function (m2) {
-- var public2 = /** @class */ (function () {
-- function public2() {
-- }
-- return public2;
-- }());
-+ class public2 {
-+ }
- m2.public2 = public2;
- })(m2 || (m2 = {}));
- function foo111() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorTypeAlias.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorTypeAlias.js.diff
index b68f39e135..2b2bc3ea7f 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorTypeAlias.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorTypeAlias.js.diff
@@ -1,67 +1,6 @@
--- old.declFileTypeAnnotationVisibilityErrorTypeAlias.js
+++ new.declFileTypeAnnotationVisibilityErrorTypeAlias.js
-@@= skipped -44, +44 lines =@@
- //// [declFileTypeAnnotationVisibilityErrorTypeAlias.js]
- var M;
- (function (M) {
-- var N;
-+ let N;
- (function (N) {
-- var Window = /** @class */ (function () {
-- function Window() {
-- }
-- return Window;
-- }());
-+ class Window {
-+ }
- N.Window = Window;
- })(N = M.N || (M.N = {}));
- })(M || (M = {}));
- var M1;
- (function (M1) {
-- var N;
-+ let N;
- (function (N) {
-- var Window = /** @class */ (function () {
-- function Window() {
-- }
-- return Window;
-- }());
-+ class Window {
-+ }
- N.Window = Window;
- })(N = M1.N || (M1.N = {}));
- })(M1 || (M1 = {}));
- var M2;
- (function (M2) {
-- var private1 = /** @class */ (function () {
-- function private1() {
-- }
-- return private1;
-- }());
-- var public1 = /** @class */ (function () {
-- function public1() {
-- }
-- return public1;
-- }());
-- var m3;
-+ class private1 {
-+ }
-+ class public1 {
-+ }
-+ let m3;
- (function (m3) {
-- var public1 = /** @class */ (function () {
-- function public1() {
-- }
-- return public1;
-- }());
-+ class public1 {
-+ }
- m3.public1 = public1;
- })(m3 || (m3 = {}));
- })(M2 || (M2 = {}));
-@@= skipped -55, +40 lines =@@
+@@= skipped -84, +84 lines =@@
export namespace N {
class Window {
}
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorTypeLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorTypeLiteral.js.diff
index 89219bbc6f..62702874b8 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorTypeLiteral.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorTypeLiteral.js.diff
@@ -1,37 +1,6 @@
--- old.declFileTypeAnnotationVisibilityErrorTypeLiteral.js
+++ new.declFileTypeAnnotationVisibilityErrorTypeLiteral.js
-@@= skipped -37, +37 lines =@@
- //// [declFileTypeAnnotationVisibilityErrorTypeLiteral.js]
- var m;
- (function (m) {
-- var private1 = /** @class */ (function () {
-- function private1() {
-- }
-- return private1;
-- }());
-- var m2;
-+ class private1 {
-+ }
-+ let m2;
- (function (m2) {
-- var public1 = /** @class */ (function () {
-- function public1() {
-- }
-- return public1;
-- }());
-+ class public1 {
-+ }
- m2.public1 = public1;
- })(m2 || (m2 = {}));
- m.x2 = {
- x: new private1(),
- y: new m2.public1(),
-- method: function () {
-+ method() {
- return new private1();
- }
- };
-@@= skipped -56, +50 lines =@@
+@@= skipped -87, +87 lines =@@
y: m2.public1;
method(): private1;
};
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorVariableDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorVariableDeclaration.js.diff
deleted file mode 100644
index 4247fb3f16..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeAnnotationVisibilityErrorVariableDeclaration.js.diff
+++ /dev/null
@@ -1,40 +0,0 @@
---- old.declFileTypeAnnotationVisibilityErrorVariableDeclaration.js
-+++ new.declFileTypeAnnotationVisibilityErrorVariableDeclaration.js
-@@= skipped -36, +36 lines =@@
- //// [declFileTypeAnnotationVisibilityErrorVariableDeclaration.js]
- var m;
- (function (m) {
-- var private1 = /** @class */ (function () {
-- function private1() {
-- }
-- return private1;
-- }());
-- var public1 = /** @class */ (function () {
-- function public1() {
-- }
-- return public1;
-- }());
-+ class private1 {
-+ }
-+ class public1 {
-+ }
- m.public1 = public1;
- // Directly using names from this module
- var x;
-@@= skipped -18, +12 lines =@@
- var x2;
- var y2 = new public1();
- m.l2 = new public1();
-- var m2;
-+ let m2;
- (function (m2) {
-- var public2 = /** @class */ (function () {
-- function public2() {
-- }
-- return public2;
-- }());
-+ class public2 {
-+ }
- m2.public2 = public2;
- })(m2 || (m2 = {}));
- var x3;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeofClass.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeofClass.js.diff
index 877981e008..c88b48dc66 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeofClass.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileTypeofClass.js.diff
@@ -1,29 +1,13 @@
--- old.declFileTypeofClass.js
+++ new.declFileTypeofClass.js
-@@= skipped -17, +17 lines =@@
-
+@@= skipped -18, +18 lines =@@
//// [declFileTypeofClass.js]
--var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
--}());
-+class c {
+ class c {
+ static x;
+ static y;
+ x3;
+ y3;
-+}
+ }
var x;
- var y = c;
- var z;
--var genericC = /** @class */ (function () {
-- function genericC() {
-- }
-- return genericC;
--}());
-+class genericC {
-+}
- var genericX = genericC;
-
+ var y = c;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeofFunction.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeofFunction.js.diff
index 010fbd0f22..609212f55b 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeofFunction.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileTypeofFunction.js.diff
@@ -1,15 +1,6 @@
--- old.declFileTypeofFunction.js
+++ new.declFileTypeofFunction.js
-@@= skipped -48, +48 lines =@@
- var foo3 = function () {
- return foo3;
- };
--var x = function () {
-+var x = () => {
- return x;
- };
- function foo5(x) {
-@@= skipped -21, +21 lines =@@
+@@= skipped -69, +69 lines =@@
declare function foo(): typeof foo;
declare var foo1: typeof foo;
declare var foo2: typeof foo;
diff --git a/testdata/baselines/reference/submodule/compiler/declFileTypeofInAnonymousType.js.diff b/testdata/baselines/reference/submodule/compiler/declFileTypeofInAnonymousType.js.diff
deleted file mode 100644
index bbc98600f8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declFileTypeofInAnonymousType.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.declFileTypeofInAnonymousType.js
-+++ new.declFileTypeofInAnonymousType.js
-@@= skipped -25, +25 lines =@@
- //// [declFileTypeofInAnonymousType.js]
- var m1;
- (function (m1) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- m1.c = c;
-- var e;
-+ let e;
- (function (e) {
- e[e["weekday"] = 0] = "weekday";
- e[e["weekend"] = 1] = "weekend";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileWithClassNameConflictingWithClassReferredByExtendsClause.js.diff b/testdata/baselines/reference/submodule/compiler/declFileWithClassNameConflictingWithClassReferredByExtendsClause.js.diff
index 5c76efdd78..18caf0a383 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileWithClassNameConflictingWithClassReferredByExtendsClause.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileWithClassNameConflictingWithClassReferredByExtendsClause.js.diff
@@ -1,24 +1,7 @@
--- old.declFileWithClassNameConflictingWithClassReferredByExtendsClause.js
+++ new.declFileWithClassNameConflictingWithClassReferredByExtendsClause.js
-@@= skipped -21, +21 lines =@@
-
-
+@@= skipped -23, +23 lines =@@
//// [declFileWithClassNameConflictingWithClassReferredByExtendsClause.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
var X;
(function (X) {
- var Y;
@@ -27,16 +10,9 @@
- var base;
+ let base;
(function (base) {
-- var W = /** @class */ (function (_super) {
-- __extends(W, _super);
-- function W() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return W;
-- }(A.B.Base.W));
-+ class W extends A.B.Base.W {
+ class W extends A.B.Base.W {
+ name;
-+ }
+ }
base.W = W;
})(base = Y.base || (Y.base = {}));
})(Y = X.Y || (X.Y = {}));
@@ -51,16 +27,8 @@
- var Z;
+ let Z;
(function (Z) {
-- var W = /** @class */ (function (_super) {
-- __extends(W, _super);
-- function W() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return W;
-- }(X.Y.base.W));
-+ class W extends X.Y.base.W {
+ class W extends X.Y.base.W {
+ value;
-+ }
+ }
Z.W = W;
- })(Z = base.Z || (base.Z = {}));
- })(base = Y.base || (Y.base = {}));
\ No newline at end of file
+ })(Z = base.Z || (base.Z = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileWithExtendsClauseThatHasItsContainerNameConflict.js.diff b/testdata/baselines/reference/submodule/compiler/declFileWithExtendsClauseThatHasItsContainerNameConflict.js.diff
index 11171af194..fbd9e70973 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileWithExtendsClauseThatHasItsContainerNameConflict.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileWithExtendsClauseThatHasItsContainerNameConflict.js.diff
@@ -1,37 +1,15 @@
--- old.declFileWithExtendsClauseThatHasItsContainerNameConflict.js
+++ new.declFileWithExtendsClauseThatHasItsContainerNameConflict.js
-@@= skipped -19, +19 lines =@@
- }
-
+@@= skipped -21, +21 lines =@@
//// [declFileWithExtendsClauseThatHasItsContainerNameConflict.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
var A;
(function (A) {
- var B;
+ let B;
(function (B) {
-- var EventManager = /** @class */ (function () {
-- function EventManager() {
-- }
-- return EventManager;
-- }());
-+ class EventManager {
+ class EventManager {
+ id;
-+ }
+ }
B.EventManager = EventManager;
})(B = A.B || (A.B = {}));
})(A || (A = {}));
@@ -42,16 +20,9 @@
- var C;
+ let C;
(function (C) {
-- var ContextMenu = /** @class */ (function (_super) {
-- __extends(ContextMenu, _super);
-- function ContextMenu() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return ContextMenu;
-- }(B.EventManager));
+- class ContextMenu extends B.EventManager {
+ class ContextMenu extends EventManager {
+ name;
-+ }
+ }
C.ContextMenu = ContextMenu;
- })(C = B.C || (B.C = {}));
- })(B = A.B || (A.B = {}));
\ No newline at end of file
+ })(C = B.C || (B.C = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileWithInternalModuleNameConflictsInExtendsClause1.js.diff b/testdata/baselines/reference/submodule/compiler/declFileWithInternalModuleNameConflictsInExtendsClause1.js.diff
index c779147f2e..4a83580ae4 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileWithInternalModuleNameConflictsInExtendsClause1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileWithInternalModuleNameConflictsInExtendsClause1.js.diff
@@ -13,13 +13,5 @@
- var C;
+ let C;
(function (C) {
-- var W = /** @class */ (function () {
-- function W() {
-- }
-- return W;
-- }());
-+ class W {
-+ }
- C.W = W;
- })(C = B.C || (B.C = {}));
- })(B = A.B || (A.B = {}));
\ No newline at end of file
+ class W {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileWithInternalModuleNameConflictsInExtendsClause2.js.diff b/testdata/baselines/reference/submodule/compiler/declFileWithInternalModuleNameConflictsInExtendsClause2.js.diff
index b17e73da36..9a2d8588b7 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileWithInternalModuleNameConflictsInExtendsClause2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileWithInternalModuleNameConflictsInExtendsClause2.js.diff
@@ -13,13 +13,5 @@
- var C;
+ let C;
(function (C) {
-- var W = /** @class */ (function () {
-- function W() {
-- }
-- return W;
-- }());
-+ class W {
-+ }
- C.W = W;
- })(C = B.C || (B.C = {}));
- })(B = A.B || (A.B = {}));
\ No newline at end of file
+ class W {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declFileWithInternalModuleNameConflictsInExtendsClause3.js.diff b/testdata/baselines/reference/submodule/compiler/declFileWithInternalModuleNameConflictsInExtendsClause3.js.diff
index e7ce203f70..bc4ffc528e 100644
--- a/testdata/baselines/reference/submodule/compiler/declFileWithInternalModuleNameConflictsInExtendsClause3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declFileWithInternalModuleNameConflictsInExtendsClause3.js.diff
@@ -13,13 +13,5 @@
- var C;
+ let C;
(function (C) {
-- var W = /** @class */ (function () {
-- function W() {
-- }
-- return W;
-- }());
-+ class W {
-+ }
- C.W = W;
- })(C = B.C || (B.C = {}));
- })(B = A.B || (A.B = {}));
\ No newline at end of file
+ class W {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declInput-2.js.diff b/testdata/baselines/reference/submodule/compiler/declInput-2.js.diff
index a17f32c4bc..0c34c22e3f 100644
--- a/testdata/baselines/reference/submodule/compiler/declInput-2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declInput-2.js.diff
@@ -1,36 +1,9 @@
--- old.declInput-2.js
+++ new.declInput-2.js
-@@= skipped -25, +25 lines =@@
- //// [declInput-2.js]
- var M;
- (function (M) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-- var E = /** @class */ (function () {
-- function E() {
-- }
-- return E;
-- }());
-+ class C {
-+ }
-+ class E {
-+ }
+@@= skipped -31, +31 lines =@@
+ }
M.E = E;
-- var D = /** @class */ (function () {
-- function D() {
-- }
-- D.prototype.m232 = function () { return null; };
-- D.prototype.m242 = function () { return null; };
-- D.prototype.m252 = function () { return null; }; // don't generate
-- D.prototype.m26 = function (i) { };
-- D.prototype.m262 = function (i) { };
-- D.prototype.m3 = function () { return new C(); };
-- return D;
-- }());
-+ class D {
+ class D {
+ c; // don't generate
+ m1;
+ m2;
@@ -38,17 +11,10 @@
+ m23;
+ m24;
+ m25; // don't generate
-+ m232() { return null; }
-+ m242() { return null; }
-+ m252() { return null; } // don't generate
-+ m26(i) { }
-+ m262(i) { }
-+ m3() { return new C(); }
-+ }
- M.D = D;
- })(M || (M = {}));
-
-@@= skipped -37, +35 lines =@@
+ m232() { return null; }
+ m242() { return null; }
+ m252() { return null; } // don't generate
+@@= skipped -22, +29 lines =@@
interface I2 {
}
export class D {
diff --git a/testdata/baselines/reference/submodule/compiler/declInput.js.diff b/testdata/baselines/reference/submodule/compiler/declInput.js.diff
deleted file mode 100644
index ccb67ae7bd..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declInput.js.diff
+++ /dev/null
@@ -1,27 +0,0 @@
---- old.declInput.js
-+++ new.declInput.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [declInput.js]
--var bar = /** @class */ (function () {
-- function bar() {
-- }
-- bar.prototype.f = function () { return ''; };
-- bar.prototype.g = function () { return { a: null, b: undefined, c: void 4 }; };
-- bar.prototype.h = function (x, y, z) {
-- if (x === void 0) { x = 4; }
-- if (y === void 0) { y = null; }
-- if (z === void 0) { z = ''; }
-- x++;
-- };
-- return bar;
--}());
-+class bar {
-+ f() { return ''; }
-+ g() { return { a: null, b: undefined, c: void 4 }; }
-+ h(x = 4, y = null, z = '') { x++; }
-+}
-
-
- //// [declInput.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declInput3.js.diff b/testdata/baselines/reference/submodule/compiler/declInput3.js.diff
deleted file mode 100644
index b40b90cd5b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declInput3.js.diff
+++ /dev/null
@@ -1,27 +0,0 @@
---- old.declInput3.js
-+++ new.declInput3.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [declInput3.js]
--var bar = /** @class */ (function () {
-- function bar() {
-- }
-- bar.prototype.f = function () { return ''; };
-- bar.prototype.g = function () { return { a: null, b: undefined, c: void 4 }; };
-- bar.prototype.h = function (x, y, z) {
-- if (x === void 0) { x = 4; }
-- if (y === void 0) { y = null; }
-- if (z === void 0) { z = ''; }
-- x++;
-- };
-- return bar;
--}());
-+class bar {
-+ f() { return ''; }
-+ g() { return { a: null, b: undefined, c: void 4 }; }
-+ h(x = 4, y = null, z = '') { x++; }
-+}
-
-
- //// [declInput3.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declInput4.js.diff b/testdata/baselines/reference/submodule/compiler/declInput4.js.diff
index c25e991072..97a15b3f71 100644
--- a/testdata/baselines/reference/submodule/compiler/declInput4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declInput4.js.diff
@@ -1,40 +1,13 @@
--- old.declInput4.js
+++ new.declInput4.js
-@@= skipped -19, +19 lines =@@
- //// [declInput4.js]
- var M;
- (function (M) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-- var E = /** @class */ (function () {
-- function E() {
-- }
-- return E;
-- }());
-+ class C {
-+ }
-+ class E {
-+ }
+@@= skipped -25, +25 lines =@@
+ }
M.E = E;
-- var D = /** @class */ (function () {
-- function D() {
-- }
-- D.prototype.m232 = function () { return null; };
-- D.prototype.m242 = function () { return null; };
-- D.prototype.m26 = function (i) { };
-- return D;
-- }());
-+ class D {
+ class D {
+ m1;
+ m2;
+ m23;
+ m24;
-+ m232() { return null; }
-+ m242() { return null; }
-+ m26(i) { }
-+ }
- M.D = D;
- })(M || (M = {}));
+ m232() { return null; }
+ m242() { return null; }
+ m26(i) { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitAliasExportStar.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitAliasExportStar.js.diff
deleted file mode 100644
index e0689bd91a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitAliasExportStar.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.declarationEmitAliasExportStar.js
-+++ new.declarationEmitAliasExportStar.js
-@@= skipped -33, +33 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.thing2 = void 0;
--var thing2 = function (param) { return null; };
-+const thing2 = (param) => null;
- exports.thing2 = thing2;
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitAliasFromIndirectFile.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitAliasFromIndirectFile.js.diff
deleted file mode 100644
index b1770d23af..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitAliasFromIndirectFile.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.declarationEmitAliasFromIndirectFile.js
-+++ new.declarationEmitAliasFromIndirectFile.js
-@@= skipped -29, +29 lines =@@
- //// [app.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var fp = { l10ns: {} };
-+const fp = { l10ns: {} };
- exports.default = fp.l10ns;
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitAliasInlineing.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitAliasInlineing.js.diff
index a8e73bf368..4e8d8abc1b 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitAliasInlineing.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitAliasInlineing.js.diff
@@ -1,20 +1,6 @@
--- old.declarationEmitAliasInlineing.js
+++ new.declarationEmitAliasInlineing.js
-@@= skipped -33, +33 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.fn = void 0;
--var fn = function (v, p, key, p2) { };
-+const fn = (v, p, key, p2) => { };
- exports.fn = fn;
- //// [aExp.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.fnExp = void 0;
--var fnExp = function (v, p, key, p2) { };
-+const fnExp = (v, p, key, p2) => { };
- exports.fnExp = fnExp;
- //// [b.js]
+@@= skipped -45, +45 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fExp = exports.f = void 0;
@@ -25,7 +11,7 @@
exports.f = a_1.fn;
exports.fExp = aExp_1.fnExp;
-@@= skipped -23, +23 lines =@@
+@@= skipped -11, +11 lines =@@
prop: string;
prop2: string;
};
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitAnyComputedPropertyInClass.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitAnyComputedPropertyInClass.js.diff
index b0ee6b4527..3d15f16ec7 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitAnyComputedPropertyInClass.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitAnyComputedPropertyInClass.js.diff
@@ -5,18 +5,11 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.C = void 0;
-var abcdefgh_1 = require("abcdefgh");
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype[abcdefgh_1.default.someKey] = function () { };
+const abcdefgh_1 = require("abcdefgh");
-+class C {
-+ [abcdefgh_1.default.someKey]() { }
+ class C {
+ [abcdefgh_1.default.someKey]() { }
;
-- return C;
--}());
-+}
- exports.C = C;
+@@= skipped -9, +9 lines =@@
//// [main.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitArrowFunctionNoRenaming.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitArrowFunctionNoRenaming.js.diff
index 3970a82d67..f93a15d7d2 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitArrowFunctionNoRenaming.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitArrowFunctionNoRenaming.js.diff
@@ -4,14 +4,10 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toBoundedInteger = void 0;
--var toBoundedInteger = function (bounds) {
-- return function (n) {
-- // Implementation doesn't matter here
-- return ({});
-- };
--};
+-const toBoundedInteger = (bounds) => (n) =>
+const toBoundedInteger = (bounds) => (n) => (
-+// Implementation doesn't matter here
+ // Implementation doesn't matter here
+-({});
+({}));
exports.toBoundedInteger = toBoundedInteger;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitBindingPatternWithReservedWord.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitBindingPatternWithReservedWord.js.diff
deleted file mode 100644
index cf293bad19..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitBindingPatternWithReservedWord.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.declarationEmitBindingPatternWithReservedWord.js
-+++ new.declarationEmitBindingPatternWithReservedWord.js
-@@= skipped -28, +28 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.getLocales = void 0;
--var getLocales = function (_a) {
-- var app = _a.app, name = _a.name, defaultLocalesConfig = _a.default, _b = _a.config, userLocalesConfig = _b === void 0 ? {} : _b;
-+const getLocales = ({ app, name, default: defaultLocalesConfig, config: userLocalesConfig = {}, }) => {
- return defaultLocalesConfig;
- };
- exports.getLocales = getLocales;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitBindingPatterns.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitBindingPatterns.js.diff
deleted file mode 100644
index 0d2fca96bd..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitBindingPatterns.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.declarationEmitBindingPatterns.js
-+++ new.declarationEmitBindingPatterns.js
-@@= skipped -7, +7 lines =@@
- }
-
- //// [declarationEmitBindingPatterns.js]
--var k = function (_a) {
-- var _b = _a.x, z = _b === void 0 ? 'y' : _b;
--};
-+const k = ({ x: z = 'y' }) => { };
- var a;
--function f(_a, _b, _c) {
-- _a = a;
-- _b = a;
-- var _d = _c === void 0 ? a : _c, _e = _d.p, _f = _e === void 0 ? a : _e, _g = _f;
-+function f({} = a, [] = a, { p: {} = a } = a) {
- }
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitClassInherritsAny.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitClassInherritsAny.js.diff
deleted file mode 100644
index 375bff0966..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitClassInherritsAny.js.diff
+++ /dev/null
@@ -1,41 +0,0 @@
---- old.declarationEmitClassInherritsAny.js
-+++ new.declarationEmitClassInherritsAny.js
-@@= skipped -5, +5 lines =@@
-
- //// [declarationEmitClassInherritsAny.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Foo = void 0;
--var anyThing = /** @class */ (function () {
-- function class_1() {
-- }
-- return class_1;
--}());
--var Foo = /** @class */ (function (_super) {
-- __extends(Foo, _super);
-- function Foo() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Foo;
--}(anyThing));
-+const anyThing = class {
-+};
-+class Foo extends anyThing {
-+}
- exports.Foo = Foo;
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitClassMemberNameConflict.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitClassMemberNameConflict.js.diff
index ec8ae52c31..9e2cee3c0a 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitClassMemberNameConflict.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitClassMemberNameConflict.js.diff
@@ -1,83 +1,14 @@
--- old.declarationEmitClassMemberNameConflict.js
+++ new.declarationEmitClassMemberNameConflict.js
-@@= skipped -40, +40 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.C4 = exports.C3 = exports.C2 = exports.C1 = void 0;
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- C1.prototype.C1 = function () { }; // has to be the same as the class name
-- C1.prototype.bar = function () {
-+class C1 {
-+ C1() { } // has to be the same as the class name
-+ bar() {
- return function (t) {
- };
-- };
-- return C1;
--}());
-+ }
-+}
+@@= skipped -49, +49 lines =@@
+ }
exports.C1 = C1;
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- C2.prototype.bar = function () {
-+class C2 {
+ class C2 {
+ C2; // has to be the same as the class name
-+ bar() {
- return function (t) {
- };
-- };
-- return C2;
--}());
-+ }
-+}
- exports.C2 = C2;
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- Object.defineProperty(C3.prototype, "C3", {
-- get: function () { return 0; } // has to be the same as the class name
-- ,
-- enumerable: false,
-- configurable: true
-- });
-- C3.prototype.bar = function () {
-+class C3 {
-+ get C3() { return 0; } // has to be the same as the class name
-+ bar() {
- return function (t) {
- };
-- };
-- return C3;
--}());
-+ }
-+}
- exports.C3 = C3;
--var C4 = /** @class */ (function () {
-- function C4() {
-- }
-- Object.defineProperty(C4.prototype, "C4", {
-- set: function (v) { } // has to be the same as the class name
-- ,
-- enumerable: false,
-- configurable: true
-- });
-- C4.prototype.bar = function () {
-+class C4 {
-+ set C4(v) { } // has to be the same as the class name
-+ bar() {
+ bar() {
return function (t) {
};
-- };
-- return C4;
--}());
-+ }
-+}
- exports.C4 = C4;
-
+@@= skipped -26, +27 lines =@@
//// [declarationEmitClassMemberNameConflict.d.ts]
export declare class C1 {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitClassMemberNameConflict2.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitClassMemberNameConflict2.js.diff
index f6cba80732..f6b9e10626 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitClassMemberNameConflict2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitClassMemberNameConflict2.js.diff
@@ -1,20 +1,10 @@
--- old.declarationEmitClassMemberNameConflict2.js
+++ new.declarationEmitClassMemberNameConflict2.js
-@@= skipped -22, +22 lines =@@
- }
-
- //// [declarationEmitClassMemberNameConflict2.js]
--var Bar = 'bar';
-+const Bar = 'bar';
- var Hello;
- (function (Hello) {
- Hello[Hello["World"] = 0] = "World";
-@@= skipped -9, +9 lines =@@
- (function (Hello1) {
+@@= skipped -32, +32 lines =@@
Hello1[Hello1["World1"] = 0] = "World1";
})(Hello1 || (Hello1 = {}));
--var Foo = /** @class */ (function () {
-- function Foo() {
+ class Foo {
+- constructor() {
- // Same names + string => OK
- this.Bar = Bar;
- // Same names + enum => OK
@@ -22,20 +12,16 @@
- // Different names + enum => OK
- this.Hello2 = Hello1;
- }
-- return Foo;
--}());
-+class Foo {
+ // Same names + string => OK
+ Bar = Bar;
+ // Same names + enum => OK
+ Hello = Hello;
+ // Different names + enum => OK
+ Hello2 = Hello1;
-+}
+ }
- //// [declarationEmitClassMemberNameConflict2.d.ts]
-@@= skipped -22, +19 lines =@@
+@@= skipped -20, +18 lines =@@
World1 = 0
}
declare class Foo {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitClassMixinLocalClassDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitClassMixinLocalClassDeclaration.js.diff
index 173e2f6250..a38ca9abd2 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitClassMixinLocalClassDeclaration.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitClassMixinLocalClassDeclaration.js.diff
@@ -1,57 +1,14 @@
--- old.declarationEmitClassMixinLocalClassDeclaration.js
+++ new.declarationEmitClassMixinLocalClassDeclaration.js
-@@= skipped -27, +27 lines =@@
-
- //// [declarationEmitClassMixinLocalClassDeclaration.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.XmlElement2 = exports.Base = exports.Mixin = void 0;
- exports.Mixin = null;
--var Base = /** @class */ (function () {
-- function Base() {
-- }
-- return Base;
--}());
-+class Base {
-+}
+@@= skipped -35, +35 lines =@@
exports.Base = Base;
--var XmlElement2 = /** @class */ (function (_super) {
-- __extends(XmlElement2, _super);
-- function XmlElement2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-+class XmlElement2 extends (0, exports.Mixin)([Base], (base) => {
-+ class XmlElement2 extends base {
+ class XmlElement2 extends (0, exports.Mixin)([Base], (base) => {
+ class XmlElement2 extends base {
+- constructor() {
+- super(...arguments);
+- this.num = 0;
+- }
+ num = 0;
}
return XmlElement2;
--}((0, exports.Mixin)([Base], function (base) {
-- var XmlElement2 = /** @class */ (function (_super) {
-- __extends(XmlElement2, _super);
-- function XmlElement2() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this.num = 0;
-- return _this;
-- }
-- return XmlElement2;
-- }(base));
-- return XmlElement2;
--})));
-+}) {
-+}
- exports.XmlElement2 = XmlElement2;
-
+ }) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitClassPrivateConstructor.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitClassPrivateConstructor.js.diff
index b3c8e49d4d..032569b442 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitClassPrivateConstructor.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitClassPrivateConstructor.js.diff
@@ -1,53 +1,27 @@
--- old.declarationEmitClassPrivateConstructor.js
+++ new.declarationEmitClassPrivateConstructor.js
-@@= skipped -23, +23 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.ExportedClass4 = exports.ExportedClass3 = exports.ExportedClass2 = exports.ExportedClass1 = void 0;
--var ExportedClass1 = /** @class */ (function () {
-- function ExportedClass1(data) {
-- }
-- return ExportedClass1;
--}());
-+class ExportedClass1 {
-+ constructor(data) { }
-+}
+@@= skipped -28, +28 lines =@@
+ }
exports.ExportedClass1 = ExportedClass1;
--var ExportedClass2 = /** @class */ (function () {
-- function ExportedClass2(data) {
-+class ExportedClass2 {
+ class ExportedClass2 {
+ data;
-+ constructor(data) {
+ constructor(data) {
this.data = data;
}
-- return ExportedClass2;
--}());
-+}
+ }
exports.ExportedClass2 = ExportedClass2;
--var ExportedClass3 = /** @class */ (function () {
-- function ExportedClass3(data, n) {
-+class ExportedClass3 {
+ class ExportedClass3 {
+ data;
+ n;
-+ constructor(data, n) {
+ constructor(data, n) {
this.data = data;
this.n = n;
- }
-- return ExportedClass3;
--}());
-+}
+@@= skipped -13, +16 lines =@@
+ }
exports.ExportedClass3 = ExportedClass3;
--var ExportedClass4 = /** @class */ (function () {
-- function ExportedClass4(data, n) {
-+class ExportedClass4 {
+ class ExportedClass4 {
+ data;
+ n;
-+ constructor(data, n) {
+ constructor(data, n) {
this.data = data;
- this.n = n;
- }
-- return ExportedClass4;
--}());
-+}
- exports.ExportedClass4 = ExportedClass4;
-
+ this.n = n;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitClassPrivateConstructor2.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitClassPrivateConstructor2.js.diff
index 4bb8ddab5b..ee4c17ba8b 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitClassPrivateConstructor2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitClassPrivateConstructor2.js.diff
@@ -1,27 +1,10 @@
--- old.declarationEmitClassPrivateConstructor2.js
+++ new.declarationEmitClassPrivateConstructor2.js
-@@= skipped -16, +16 lines =@@
- "use strict";
+@@= skipped -17, +17 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExportedClass2 = exports.ExportedClass1 = void 0;
--var ExportedClass1 = /** @class */ (function () {
-- function ExportedClass1(data) {
-+class ExportedClass1 {
+ class ExportedClass1 {
+ data;
-+ constructor(data) {
+ constructor(data) {
this.data = data;
- }
-- return ExportedClass1;
--}());
-+}
- exports.ExportedClass1 = ExportedClass1;
--var ExportedClass2 = /** @class */ (function () {
-- function ExportedClass2(data) {
-- }
-- return ExportedClass2;
--}());
-+class ExportedClass2 {
-+ constructor(data) { }
-+}
- exports.ExportedClass2 = ExportedClass2;
-
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNameCausesImportToBePainted.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNameCausesImportToBePainted.js.diff
index 2a4cebe4b8..8133ac4d0b 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNameCausesImportToBePainted.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNameCausesImportToBePainted.js.diff
@@ -1,23 +1,11 @@
--- old.declarationEmitComputedNameCausesImportToBePainted.js
+++ new.declarationEmitComputedNameCausesImportToBePainted.js
-@@= skipped -20, +20 lines =@@
- exports.Key = Symbol();
- //// [index.js]
+@@= skipped -22, +22 lines =@@
"use strict";
--var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.withContext = exports.context = void 0;
-var context_1 = require("./context");
--exports.context = (_a = {},
-- _a[context_1.Key] = 'bar',
-- _a);
--var withContext = function (_a) {
-- var _b = context_1.Key, value = _a[_b];
-- return value;
+const context_1 = require("./context");
-+exports.context = {
-+ [context_1.Key]: 'bar',
- };
-+const withContext = ({ [context_1.Key]: value }) => value;
- exports.withContext = withContext;
-
+ exports.context = {
+ [context_1.Key]: 'bar',
+ };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNameConstEnumAlias.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNameConstEnumAlias.js.diff
index 5fda078763..74e921c071 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNameConstEnumAlias.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNameConstEnumAlias.js.diff
@@ -1,19 +1,11 @@
--- old.declarationEmitComputedNameConstEnumAlias.js
+++ new.declarationEmitComputedNameConstEnumAlias.js
-@@= skipped -23, +23 lines =@@
- exports.default = EnumExample;
+@@= skipped -24, +24 lines =@@
//// [index.js]
"use strict";
--var _a;
Object.defineProperty(exports, "__esModule", { value: true });
-var EnumExample_1 = require("./EnumExample");
--exports.default = (_a = {},
-- _a[EnumExample_1.default.TEST] = {},
-- _a);
+const EnumExample_1 = require("./EnumExample");
-+exports.default = {
-+ [EnumExample_1.default.TEST]: {},
-+};
-
-
- //// [EnumExample.d.ts]
\ No newline at end of file
+ exports.default = {
+ [EnumExample_1.default.TEST]: {},
+ };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNameWithQuestionToken.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNameWithQuestionToken.js.diff
index 2d08faa4b9..601c50ed08 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNameWithQuestionToken.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNameWithQuestionToken.js.diff
@@ -1,27 +1,6 @@
--- old.declarationEmitComputedNameWithQuestionToken.js
+++ new.declarationEmitComputedNameWithQuestionToken.js
-@@= skipped -15, +15 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.a = exports.WithData = exports.dataSomething = void 0;
--exports.dataSomething = "data-".concat(something);
--var WithData = /** @class */ (function () {
-- function WithData() {
-- }
-- WithData.prototype[exports.dataSomething] = function () {
-+exports.dataSomething = `data-${something}`;
-+class WithData {
-+ [exports.dataSomething]() {
- return "something";
-- };
-- return WithData;
--}());
-+ }
-+}
- exports.WithData = WithData;
- exports.a = (new WithData())["ahahahaahah"]();
-
-@@= skipped -16, +13 lines =@@
+@@= skipped -28, +28 lines =@@
//// [declarationEmitComputedNameWithQuestionToken.d.ts]
export declare const dataSomething: `data-${string}`;
export declare class WithData {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNamesInaccessible.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNamesInaccessible.js.diff
deleted file mode 100644
index 582dada825..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitComputedNamesInaccessible.js.diff
+++ /dev/null
@@ -1,41 +0,0 @@
---- old.declarationEmitComputedNamesInaccessible.js
-+++ new.declarationEmitComputedNamesInaccessible.js
-@@= skipped -25, +25 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.f1 = f1;
- function f1() {
-- var localClassFieldName = Math.random() > 0.5 ? "g1" : "g2";
-- var localOtherField = localClassFieldName === "g1" ? "g2" : "g1";
-- var localStaticField = Math.random() > 0.5 ? "s1" : "s2";
-- return /** @class */ (function () {
-- function ParameterizedHolder() {
-- }
-- ParameterizedHolder.prototype[localClassFieldName] = function () {
-+ const localClassFieldName = Math.random() > 0.5 ? "g1" : "g2";
-+ const localOtherField = localClassFieldName === "g1" ? "g2" : "g1";
-+ const localStaticField = Math.random() > 0.5 ? "s1" : "s2";
-+ return class ParameterizedHolder {
-+ [localClassFieldName]() {
- return "value";
-- };
-- ParameterizedHolder.prototype[localOtherField] = function () {
-+ }
-+ [localOtherField]() {
- return 42;
-- };
-- ParameterizedHolder[localStaticField] = function () {
-+ }
-+ static [localStaticField]() {
- return { static: true };
-- };
-- ParameterizedHolder[localStaticField] = function () {
-+ }
-+ static [localStaticField]() {
- return { static: "sometimes" };
-- };
-- return ParameterizedHolder;
-- }());
-+ }
-+ };
- }
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitConstantNoWidening.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitConstantNoWidening.js.diff
index dfa9c3ff97..75b30bdff7 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitConstantNoWidening.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitConstantNoWidening.js.diff
@@ -1,21 +1,17 @@
--- old.declarationEmitConstantNoWidening.js
+++ new.declarationEmitConstantNoWidening.js
-@@= skipped -10, +10 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -11, +11 lines =@@
exports.Bar = exports.FOO = void 0;
exports.FOO = 'FOO';
--var Bar = /** @class */ (function () {
-- function Bar() {
+ class Bar {
+- constructor() {
- this.type = exports.FOO; // Should be widening literal "FOO" - so either `typeof "FOO"` or = "FOO"
- }
-- return Bar;
--}());
-+class Bar {
+ type = exports.FOO; // Should be widening literal "FOO" - so either `typeof "FOO"` or = "FOO"
-+}
+ }
exports.Bar = Bar;
-
+@@= skipped -10, +8 lines =@@
//// [declarationEmitConstantNoWidening.d.ts]
export declare const FOO = "FOO";
export declare class Bar {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDefaultExportWithStaticAssignment.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDefaultExportWithStaticAssignment.js.diff
index f95589f768..ff4abd456f 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDefaultExportWithStaticAssignment.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDefaultExportWithStaticAssignment.js.diff
@@ -1,18 +1,6 @@
--- old.declarationEmitDefaultExportWithStaticAssignment.js
+++ new.declarationEmitDefaultExportWithStaticAssignment.js
-@@= skipped -35, +35 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Foo = void 0;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- exports.Foo = Foo;
- //// [index1.js]
+@@= skipped -42, +42 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = Example;
@@ -21,7 +9,7 @@
function Example() { }
Example.Foo = foo_1.Foo;
//// [index2.js]
-@@= skipped -18, +15 lines =@@
+@@= skipped -8, +8 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Foo = void 0;
exports.default = Example;
@@ -30,21 +18,7 @@
Object.defineProperty(exports, "Foo", { enumerable: true, get: function () { return foo_1.Foo; } });
function Example() { }
Example.Foo = foo_1.Foo;
-@@= skipped -9, +9 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Bar = void 0;
- exports.default = Example;
--var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- return Bar;
--}());
-+class Bar {
-+}
- exports.Bar = Bar;
- function Example() { }
- Example.Bar = Bar;
-@@= skipped -25, +22 lines =@@
+@@= skipped -31, +31 lines =@@
export declare class Foo {
}
//// [index1.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring1.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring1.js.diff
deleted file mode 100644
index 99bad8ae5d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring1.js.diff
+++ /dev/null
@@ -1,25 +0,0 @@
---- old.declarationEmitDestructuring1.js
-+++ new.declarationEmitDestructuring1.js
-@@= skipped -7, +7 lines =@@
-
-
- //// [declarationEmitDestructuring1.js]
--function foo(_a) {
-- var a = _a[0], b = _a[1], c = _a[2];
--}
--function far(_a) {
-- var a = _a[0], b = _a[1][0], c = _a[2][0][0];
--}
--function bar(_a) {
-- var a1 = _a.a1, b1 = _a.b1, c1 = _a.c1;
--}
--function baz(_a) {
-- var a2 = _a.a2, _b = _a.b2, b1 = _b.b1, c1 = _b.c1;
--}
-+function foo([a, b, c]) { }
-+function far([a, [b], [[c]]]) { }
-+function bar({ a1, b1, c1 }) { }
-+function baz({ a2, b2: { b1, c1 } }) { }
-
-
- //// [declarationEmitDestructuring1.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring2.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring2.js.diff
deleted file mode 100644
index e3b34f579f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring2.js.diff
+++ /dev/null
@@ -1,25 +0,0 @@
---- old.declarationEmitDestructuring2.js
-+++ new.declarationEmitDestructuring2.js
-@@= skipped -6, +6 lines =@@
- function h1([a, [b], [[c]], {x = 10, y = [1, 2, 3], z: {a1, b1}}]){ }
-
- //// [declarationEmitDestructuring2.js]
--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];
--}
--function g(_a) {
-- var _b = _a === void 0 ? [1, 2, 3, 4] : _a, a = _b[0], b = _b[1], c = _b[2], d = _b[3];
--}
--function h(_a) {
-- var a = _a[0], b = _a[1][0], c = _a[2][0][0], _b = _a[3], _c = _b.x, x = _c === void 0 ? 10 : _c, _d = _b.y, a = _d[0], b = _d[1], c = _d[2], _e = _b.z, a1 = _e.a1, b1 = _e.b1;
--}
--function h1(_a) {
-- var a = _a[0], b = _a[1][0], c = _a[2][0][0], _b = _a[3], _c = _b.x, x = _c === void 0 ? 10 : _c, _d = _b.y, y = _d === void 0 ? [1, 2, 3] : _d, _e = _b.z, a1 = _e.a1, b1 = _e.b1;
--}
-+function f({ x = 10, y: [a, b, c, d] = [1, 2, 3, 4] } = { x: 10, y: [2, 4, 6, 8] }) { }
-+function g([a, b, c, d] = [1, 2, 3, 4]) { }
-+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.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring3.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring3.js.diff
deleted file mode 100644
index bbdaf5a375..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring3.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.declarationEmitDestructuring3.js
-+++ new.declarationEmitDestructuring3.js
-@@= skipped -6, +6 lines =@@
-
-
- //// [declarationEmitDestructuring3.js]
--function bar(_a) {
-- var x = _a[0], z = _a[1], w = _a.slice(2);
--}
--function foo(_a) {
-- var _b = _a === void 0 ? [1, "string", true] : _a, x = _b[0], y = _b.slice(1);
--}
-+function bar([x, z, ...w]) { }
-+function foo([x, ...y] = [1, "string", true]) { }
-
-
- //// [declarationEmitDestructuring3.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring4.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring4.js.diff
index 27fcfe0c98..85c5e3a8c7 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring4.js.diff
@@ -1,25 +1,6 @@
--- old.declarationEmitDestructuring4.js
+++ new.declarationEmitDestructuring4.js
-@@= skipped -16, +16 lines =@@
- // For an array binding pattern with empty elements,
- // we will not make any modification and will emit
- // the similar binding pattern users' have written
--function baz(_a) { }
--function baz1(_a) {
-- _a = [1, 2, 3];
--}
--function baz2(_a) {
-- var _b = _a === void 0 ? [[1, 2, 3]] : _a, _c = _b[0];
--}
--function baz3(_a) { }
--function baz4(_a) {
-- _a = { x: 10 };
--}
-+function baz([]) { }
-+function baz1([] = [1, 2, 3]) { }
-+function baz2([[]] = [[1, 2, 3]]) { }
-+function baz3({}) { }
-+function baz4({} = { x: 10 }) { }
+@@= skipped -24, +24 lines =@@
//// [declarationEmitDestructuring4.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring5.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring5.js.diff
index e9e2d2b600..2199400a79 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuring5.js.diff
@@ -1,29 +1,6 @@
--- old.declarationEmitDestructuring5.js
+++ new.declarationEmitDestructuring5.js
-@@= skipped -7, +7 lines =@@
- function bar2([,,z, , , ]) { }
-
- //// [declarationEmitDestructuring5.js]
--function baz(_a) {
-- var z = _a[1];
--}
--function foo(_a) {
-- var b = _a[1];
--}
--function bar(_a) {
-- var z = _a[0];
--}
--function bar1(_a) {
-- var _b = _a === void 0 ? [1, 3, 4, 6, 7] : _a, z = _b[0];
--}
--function bar2(_a) {
-- var z = _a[2];
--}
-+function baz([, z, ,]) { }
-+function foo([, b,]) { }
-+function bar([z, , ,]) { }
-+function bar1([z, , ,] = [1, 3, 4, 6, 7]) { }
-+function bar2([, , z, , ,]) { }
+@@= skipped -15, +15 lines =@@
//// [declarationEmitDestructuring5.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern1.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern1.js.diff
index efa7370625..eac446ea45 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern1.js.diff
@@ -1,22 +1,6 @@
--- old.declarationEmitDestructuringArrayPattern1.js
+++ new.declarationEmitDestructuringArrayPattern1.js
-@@= skipped -10, +10 lines =@@
- var [x3, y3, z3] = a; // emit x3, y3, z3
-
- //// [declarationEmitDestructuringArrayPattern1.js]
--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
--var _c = [0, 1, 2], z1 = _c[2]; // emit z1: number
-+var [] = [1, "hello"]; // Dont emit anything
-+var [x] = [1, "hello"]; // emit x: number
-+var [x1, y1] = [1, "hello"]; // emit x1: number, y1: string
-+var [, , z1] = [0, 1, 2]; // emit z1: number
- var a = [1, "hello"];
--var x2 = a[0]; // emit x2: number | string
--var x3 = a[0], y3 = a[1], z3 = a[2]; // emit x3, y3, z3
-+var [x2] = a; // emit x2: number | string
-+var [x3, y3, z3] = a; // emit x3, y3, z3
+@@= skipped -20, +20 lines =@@
//// [declarationEmitDestructuringArrayPattern1.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern2.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern2.js.diff
index c5c85de00b..1c0dba350d 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern2.js.diff
@@ -1,21 +1,6 @@
--- old.declarationEmitDestructuringArrayPattern2.js
+++ new.declarationEmitDestructuringArrayPattern2.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [declarationEmitDestructuringArrayPattern2.js]
--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];
--var _g = [1, ["hello", { x12: 5, y12: true }]], a2 = _g[0], _h = _g[1], _j = _h === void 0 ? ["abc", { x12: 10, y12: false }] : _h, b2 = _j[0], _k = _j[1], x12 = _k.x12, c2 = _k.y12;
--var _l = [1, "hello"], x13 = _l[0], y13 = _l[1];
--var _m = [[x13, y13], { x: x13, y: y13 }], a3 = _m[0], b3 = _m[1];
-+var [x10, [y10, [z10]]] = [1, ["hello", [true]]];
-+var [x11 = 0, y11 = ""] = [1, "hello"];
-+var [a11, b11, c11] = [];
-+var [a2, [b2, { x12, y12: c2 }] = ["abc", { x12: 10, y12: false }]] = [1, ["hello", { x12: 5, y12: true }]];
-+var [x13, y13] = [1, "hello"];
-+var [a3, b3] = [[x13, y13], { x: x13, y: y13 }];
+@@= skipped -21, +21 lines =@@
//// [declarationEmitDestructuringArrayPattern2.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern4.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern4.js.diff
index bc47dddce2..4d1bfba2c1 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern4.js.diff
@@ -1,25 +1,6 @@
--- old.declarationEmitDestructuringArrayPattern4.js
+++ new.declarationEmitDestructuringArrayPattern4.js
-@@= skipped -11, +11 lines =@@
- var [x19, y19, z19, ...a13] = [1, "hello", true];
-
- //// [declarationEmitDestructuringArrayPattern4.js]
--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);
--var _c = [1, 2, 3], x16 = _c[0], y16 = _c[1], z16 = _c[2], a8 = _c.slice(3);
--var a9 = [1, "hello", true].slice(0);
--var _d = [1, "hello", true], x17 = _d[0], a10 = _d.slice(1);
--var _e = [1, "hello", true], x18 = _e[0], y18 = _e[1], a12 = _e.slice(2);
--var _f = [1, "hello", true], x19 = _f[0], y19 = _f[1], z19 = _f[2], a13 = _f.slice(3);
-+var [...a5] = [1, 2, 3];
-+var [x14, ...a6] = [1, 2, 3];
-+var [x15, y15, ...a7] = [1, 2, 3];
-+var [x16, y16, z16, ...a8] = [1, 2, 3];
-+var [...a9] = [1, "hello", true];
-+var [x17, ...a10] = [1, "hello", true];
-+var [x18, y18, ...a12] = [1, "hello", true];
-+var [x19, y19, z19, ...a13] = [1, "hello", true];
+@@= skipped -22, +22 lines =@@
//// [declarationEmitDestructuringArrayPattern4.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern5.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern5.js.diff
index 5e35588852..54abe0e3a2 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringArrayPattern5.js.diff
@@ -1,15 +1,6 @@
--- old.declarationEmitDestructuringArrayPattern5.js
+++ new.declarationEmitDestructuringArrayPattern5.js
-@@= skipped -5, +5 lines =@@
- var [, , [, b, ]] = [3,5,[0, 1]];
-
- //// [declarationEmitDestructuringArrayPattern5.js]
--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];
-+var [, , z] = [1, 2, 4];
-+var [, a, ,] = [3, 4, 5];
-+var [, , [, b,]] = [3, 5, [0, 1]];
+@@= skipped -11, +11 lines =@@
//// [declarationEmitDestructuringArrayPattern5.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringObjectLiteralPattern.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringObjectLiteralPattern.js.diff
index 04a592bc73..037facda57 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringObjectLiteralPattern.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringObjectLiteralPattern.js.diff
@@ -1,34 +1,7 @@
--- old.declarationEmitDestructuringObjectLiteralPattern.js
+++ new.declarationEmitDestructuringObjectLiteralPattern.js
-@@= skipped -23, +23 lines =@@
- }
-
- //// [declarationEmitDestructuringObjectLiteralPattern.js]
--var _a = { x: 5, y: "hello" };
--var x4 = { x4: 5, y4: "hello" }.x4;
--var y5 = { x5: 5, y5: "hello" }.y5;
--var _b = { x6: 5, y6: "hello" }, x6 = _b.x6, y6 = _b.y6;
--var a1 = { x7: 5, y7: "hello" }.x7;
--var b1 = { x8: 5, y8: "hello" }.y8;
--var _c = { x9: 5, y9: "hello" }, a2 = _c.x9, b2 = _c.y9;
--var _d = { a: 1, b: { a: "hello", b: { a: true } } }, x11 = _d.a, _e = _d.b, y11 = _e.a, z11 = _e.b.a;
-+var {} = { x: 5, y: "hello" };
-+var { x4 } = { x4: 5, y4: "hello" };
-+var { y5 } = { x5: 5, y5: "hello" };
-+var { x6, y6 } = { x6: 5, y6: "hello" };
-+var { x7: a1 } = { x7: 5, y7: "hello" };
-+var { y8: b1 } = { x8: 5, y8: "hello" };
-+var { x9: a2, y9: b2 } = { x9: 5, y9: "hello" };
-+var { a: x11, b: { a: y11, b: { a: z11 } } } = { a: 1, b: { a: "hello", b: { a: true } } };
- function f15() {
- var a4 = "hello";
- var b4 = 1;
- var c4 = true;
-- return { a4: a4, b4: b4, c4: c4 };
-+ return { a4, b4, c4 };
- }
--var _f = f15(), a4 = _f.a4, b4 = _f.b4, c4 = _f.c4;
-+var { a4, b4, c4 } = f15();
+@@= skipped -40, +40 lines =@@
+ var { a4, b4, c4 } = f15();
var m;
(function (m) {
- var _a;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringObjectLiteralPattern1.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringObjectLiteralPattern1.js.diff
index 672af00b20..4e48e9cfaa 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringObjectLiteralPattern1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringObjectLiteralPattern1.js.diff
@@ -1,23 +1,6 @@
--- old.declarationEmitDestructuringObjectLiteralPattern1.js
+++ new.declarationEmitDestructuringObjectLiteralPattern1.js
-@@= skipped -9, +9 lines =@@
- var { x9: a2, y9: b2 } = { x9: 5, y9: "hello" };
-
- //// [declarationEmitDestructuringObjectLiteralPattern1.js]
--var _a = { x: 5, y: "hello" };
--var x4 = { x4: 5, y4: "hello" }.x4;
--var y5 = { x5: 5, y5: "hello" }.y5;
--var _b = { x6: 5, y6: "hello" }, x6 = _b.x6, y6 = _b.y6;
--var a1 = { x7: 5, y7: "hello" }.x7;
--var b1 = { x8: 5, y8: "hello" }.y8;
--var _c = { x9: 5, y9: "hello" }, a2 = _c.x9, b2 = _c.y9;
-+var {} = { x: 5, y: "hello" };
-+var { x4 } = { x4: 5, y4: "hello" };
-+var { y5 } = { x5: 5, y5: "hello" };
-+var { x6, y6 } = { x6: 5, y6: "hello" };
-+var { x7: a1 } = { x7: 5, y7: "hello" };
-+var { y8: b1 } = { x8: 5, y8: "hello" };
-+var { x9: a2, y9: b2 } = { x9: 5, y9: "hello" };
+@@= skipped -19, +19 lines =@@
//// [declarationEmitDestructuringObjectLiteralPattern1.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringObjectLiteralPattern2.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringObjectLiteralPattern2.js.diff
index b7a7a450b9..3cbf71bba1 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringObjectLiteralPattern2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringObjectLiteralPattern2.js.diff
@@ -1,20 +1,7 @@
--- old.declarationEmitDestructuringObjectLiteralPattern2.js
+++ new.declarationEmitDestructuringObjectLiteralPattern2.js
-@@= skipped -15, +15 lines =@@
- }
-
- //// [declarationEmitDestructuringObjectLiteralPattern2.js]
--var _a = { a: 1, b: { a: "hello", b: { a: true } } }, x11 = _a.a, _b = _a.b, y11 = _b.a, z11 = _b.b.a;
-+var { a: x11, b: { a: y11, b: { a: z11 } } } = { a: 1, b: { a: "hello", b: { a: true } } };
- function f15() {
- var a4 = "hello";
- var b4 = 1;
- var c4 = true;
-- return { a4: a4, b4: b4, c4: c4 };
-+ return { a4, b4, c4 };
- }
--var _c = f15(), a4 = _c.a4, b4 = _c.b4, c4 = _c.c4;
-+var { a4, b4, c4 } = f15();
+@@= skipped -25, +25 lines =@@
+ var { a4, b4, c4 } = f15();
var m;
(function (m) {
- var _a;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringOptionalBindingParametersInOverloads.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringOptionalBindingParametersInOverloads.js.diff
deleted file mode 100644
index 61181a5698..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringOptionalBindingParametersInOverloads.js.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- old.declarationEmitDestructuringOptionalBindingParametersInOverloads.js
-+++ new.declarationEmitDestructuringOptionalBindingParametersInOverloads.js
-@@= skipped -10, +10 lines =@@
- }
-
- //// [declarationEmitDestructuringOptionalBindingParametersInOverloads.js]
--function foo() {
-- var rest = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- rest[_i] = arguments[_i];
-- }
-+function foo(...rest) {
- }
--function foo2() {
-- var rest = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- rest[_i] = arguments[_i];
-- }
-+function foo2(...rest) {
- }
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringParameterProperties.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringParameterProperties.js.diff
index 5cb55c42e4..e315a6b433 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringParameterProperties.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringParameterProperties.js.diff
@@ -1,40 +1,6 @@
--- old.declarationEmitDestructuringParameterProperties.js
+++ new.declarationEmitDestructuringParameterProperties.js
-@@= skipped -18, +18 lines =@@
- }
-
- //// [declarationEmitDestructuringParameterProperties.js]
--var C1 = /** @class */ (function () {
-- function C1(_a) {
-- var x = _a[0], y = _a[1], z = _a[2];
-- }
-- return C1;
--}());
--var C2 = /** @class */ (function () {
-- function C2(_a) {
-- var x = _a[0], y = _a[1], z = _a[2];
-- }
-- return C2;
--}());
--var C3 = /** @class */ (function () {
-- function C3(_a) {
-- var x = _a.x, y = _a.y, z = _a.z;
-- }
-- return C3;
--}());
-+class C1 {
-+ constructor([x, y, z]) {
-+ }
-+}
-+class C2 {
-+ constructor([x, y, z]) {
-+ }
-+}
-+class C3 {
-+ constructor({ x, y, z }) {
-+ }
-+}
-
+@@= skipped -34, +34 lines =@@
//// [declarationEmitDestructuringParameterProperties.d.ts]
declare class C1 {
@@ -51,7 +17,7 @@
constructor([x, y, z]: TupleType1);
}
type ObjType1 = {
-@@= skipped -40, +28 lines =@@
+@@= skipped -18, +12 lines =@@
z: boolean;
};
declare class C3 {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringPrivacyError.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringPrivacyError.js.diff
index 825975a040..68f4c2549b 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringPrivacyError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringPrivacyError.js.diff
@@ -5,14 +5,9 @@
var m;
(function (m) {
- var _a;
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
+ class c {
+ }
- _a = [10, new c(), 30], m.x = _a[0], m.y = _a[1], m.z = _a[2];
-+ class c {
-+ }
+ [m.x, m.y, m.z] = [10, new c(), 30];
})(m || (m = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringWithOptionalBindingParameters.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringWithOptionalBindingParameters.js.diff
deleted file mode 100644
index e9f6b11cd5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDestructuringWithOptionalBindingParameters.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.declarationEmitDestructuringWithOptionalBindingParameters.js
-+++ new.declarationEmitDestructuringWithOptionalBindingParameters.js
-@@= skipped -6, +6 lines =@@
- }
-
- //// [declarationEmitDestructuringWithOptionalBindingParameters.js]
--function foo(_a) {
-- var x = _a[0], y = _a[1], z = _a[2];
-+function foo([x, y, z]) {
- }
--function foo1(_a) {
-- var x = _a.x, y = _a.y, z = _a.z;
-+function foo1({ x, y, z }) {
- }
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDetachedComment1.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDetachedComment1.js.diff
index bae56431c6..2f6a3385f6 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDetachedComment1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDetachedComment1.js.diff
@@ -1,44 +1,6 @@
--- old.declarationEmitDetachedComment1.js
+++ new.declarationEmitDetachedComment1.js
-@@= skipped -35, +35 lines =@@
- /**
- * Hello class
- */
--var Hello = /** @class */ (function () {
-- function Hello() {
-- }
-- return Hello;
--}());
-+class Hello {
-+}
- //// [test2.js]
- /* A comment at the top of the file. */
- /**
- * Hi class
- */
--var Hi = /** @class */ (function () {
-- function Hi() {
-- }
-- return Hi;
--}());
-+class Hi {
-+}
- //// [test3.js]
- // A one-line comment at the top of the file.
- /**
- * Hola class
- */
--var Hola = /** @class */ (function () {
-- function Hola() {
-- }
-- return Hola;
--}());
-+class Hola {
-+}
-
-
- //// [test1.d.ts]
-@@= skipped -35, +26 lines =@@
+@@= skipped -61, +61 lines =@@
declare class Hello {
}
//// [test2.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDetachedComment2.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDetachedComment2.js.diff
index 2e80d0fd90..702fedbaa6 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDetachedComment2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDetachedComment2.js.diff
@@ -5,29 +5,10 @@
//// [test1.js]
-/*! Copyright 2015 MyCompany Inc. */
--var Hello = (function () {
-- function Hello() {
-- }
-- return Hello;
--}());
-+class Hello {
-+}
+ class Hello {
+ }
//// [test2.js]
--var Hi = (function () {
-- function Hi() {
-- }
-- return Hi;
--}());
-+class Hi {
-+}
- //// [test3.js]
--var Hola = (function () {
-- function Hola() {
-- }
-- return Hola;
--}());
-+class Hola {
-+}
+@@= skipped -12, +11 lines =@@
//// [test1.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitDistributiveConditionalWithInfer.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitDistributiveConditionalWithInfer.js.diff
index ca1f2623b4..d4149d87a3 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitDistributiveConditionalWithInfer.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitDistributiveConditionalWithInfer.js.diff
@@ -1,12 +1,6 @@
--- old.declarationEmitDistributiveConditionalWithInfer.js
+++ new.declarationEmitDistributiveConditionalWithInfer.js
-@@= skipped -11, +11 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.fun = void 0;
- // This function's type is changed on declaration
--var fun = function (subFun) { };
-+const fun = (subFun) => { };
- exports.fun = fun;
+@@= skipped -16, +16 lines =@@
//// [declarationEmitDistributiveConditionalWithInfer.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitEnumReadonlyProperty.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitEnumReadonlyProperty.js.diff
index 13e07eab20..1f78ab5775 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitEnumReadonlyProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitEnumReadonlyProperty.js.diff
@@ -1,24 +1,17 @@
--- old.declarationEmitEnumReadonlyProperty.js
+++ new.declarationEmitEnumReadonlyProperty.js
-@@= skipped -17, +17 lines =@@
- E["A"] = "a";
+@@= skipped -18, +18 lines =@@
E["B"] = "b";
})(E || (E = {}));
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.type = E.A;
- }
-- return C;
--}());
--var x = new C().type;
-+class C {
+ type = E.A;
-+}
-+let x = new C().type;
-
+ }
+ let x = new C().type;
- //// [declarationEmitEnumReadonlyProperty.d.ts]
-@@= skipped -15, +12 lines =@@
+@@= skipped -13, +11 lines =@@
B = "b"
}
declare class C {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitEnumReferenceViaImportEquals.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitEnumReferenceViaImportEquals.js.diff
index 7a854cdeb8..fb4b2e41db 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitEnumReferenceViaImportEquals.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitEnumReferenceViaImportEquals.js.diff
@@ -6,22 +6,16 @@
exports.Test = void 0;
-var translation_1 = require("./translation");
-var TranslationKeyEnum = translation_1.Translation.TranslationKeyEnum;
--var Test = /** @class */ (function () {
-- function Test() {
++const translation_1 = require("./translation");
+ class Test {
+- constructor() {
- this.TranslationKeyEnum = TranslationKeyEnum;
- }
-- Test.prototype.print = function () {
-+const translation_1 = require("./translation");
-+class Test {
+ TranslationKeyEnum = TranslationKeyEnum;
-+ print() {
+ print() {
console.log(TranslationKeyEnum.Translation1);
-- };
-- return Test;
--}());
-+ }
-+}
- exports.Test = Test;
+ }
+@@= skipped -14, +11 lines =@@
//// [index.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitExactOptionalPropertyTypesNodeNotReused(exactoptionalpropertytypes=false).js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitExactOptionalPropertyTypesNodeNotReused(exactoptionalpropertytypes=false).js.diff
deleted file mode 100644
index 290e55f34e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitExactOptionalPropertyTypesNodeNotReused(exactoptionalpropertytypes=false).js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.declarationEmitExactOptionalPropertyTypesNodeNotReused(exactoptionalpropertytypes=false).js
-+++ new.declarationEmitExactOptionalPropertyTypesNodeNotReused(exactoptionalpropertytypes=false).js
-@@= skipped -25, +25 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.baddts = void 0;
--var foo = function () { return function (x) { return null; }; };
-+const foo = () => (x) => null;
- exports.baddts = foo();
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitExactOptionalPropertyTypesNodeNotReused(exactoptionalpropertytypes=true).js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitExactOptionalPropertyTypesNodeNotReused(exactoptionalpropertytypes=true).js.diff
deleted file mode 100644
index d4275e2ac4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitExactOptionalPropertyTypesNodeNotReused(exactoptionalpropertytypes=true).js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.declarationEmitExactOptionalPropertyTypesNodeNotReused(exactoptionalpropertytypes=true).js
-+++ new.declarationEmitExactOptionalPropertyTypesNodeNotReused(exactoptionalpropertytypes=true).js
-@@= skipped -25, +25 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.baddts = void 0;
--var foo = function () { return function (x) { return null; }; };
-+const foo = () => (x) => null;
- exports.baddts = foo();
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitExpandoWithGenericConstraint.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitExpandoWithGenericConstraint.js.diff
index c78ad0fcd5..6b591946c6 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitExpandoWithGenericConstraint.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitExpandoWithGenericConstraint.js.diff
@@ -1,21 +1,6 @@
--- old.declarationEmitExpandoWithGenericConstraint.js
+++ new.declarationEmitExpandoWithGenericConstraint.js
-@@= skipped -19, +19 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Rect = exports.Point = void 0;
--var Point = function (x, y) { return ({ x: x, y: y }); };
-+const Point = (x, y) => ({ x, y });
- exports.Point = Point;
--var Rect = function (a, b) { return ({ a: a, b: b }); };
-+const Rect = (a, b) => ({ a, b });
- exports.Rect = Rect;
--exports.Point.zero = function () { return (0, exports.Point)(0, 0); };
-+exports.Point.zero = () => (0, exports.Point)(0, 0);
-
-
- //// [declarationEmitExpandoWithGenericConstraint.d.ts]
-@@= skipped -18, +18 lines =@@
+@@= skipped -37, +37 lines =@@
}
export declare const Point: {
(x: number, y: number): Point;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitExportAliasVisibiilityMarking.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitExportAliasVisibiilityMarking.js.diff
index db314eb025..ef7750cdf7 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitExportAliasVisibiilityMarking.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitExportAliasVisibiilityMarking.js.diff
@@ -1,16 +1,10 @@
--- old.declarationEmitExportAliasVisibiilityMarking.js
+++ new.declarationEmitExportAliasVisibiilityMarking.js
-@@= skipped -19, +19 lines =@@
- //// [Card.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--exports.default = (function (suit, rank) { return ({ suit: suit, rank: rank }); });
-+exports.default = (suit, rank) => ({ suit, rank });
- //// [index.js]
+@@= skipped -24, +24 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.lazyCard = void 0;
--var lazyCard = function () { return Promise.resolve().then(function () { return require('./Card'); }).then(function (a) { return a.default; }); };
+-let lazyCard = () => Promise.resolve().then(function () { return require('./Card'); }).then(a => a.default);
+let lazyCard = () => Promise.resolve().then(() => require('./Card')).then(a => a.default);
exports.lazyCard = lazyCard;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitExportDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitExportDeclaration.js.diff
index fb3b57953b..9446b6ee50 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitExportDeclaration.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitExportDeclaration.js.diff
@@ -8,8 +8,4 @@
+const utils_1 = require("./utils");
Object.defineProperty(exports, "bar", { enumerable: true, get: function () { return utils_1.bar; } });
(0, utils_1.foo)();
--var obj;
-+let obj;
-
-
- //// [utils.d.ts]
\ No newline at end of file
+ let obj;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends.js.diff
index 43bc138211..9835c0f5cf 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends.js.diff
@@ -1,45 +1,14 @@
--- old.declarationEmitExpressionInExtends.js
+++ new.declarationEmitExpressionInExtends.js
-@@= skipped -15, +15 lines =@@
- q.s;
-
+@@= skipped -17, +17 lines =@@
//// [declarationEmitExpressionInExtends.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
var x;
--var Q = /** @class */ (function () {
-- function Q() {
-- }
-- return Q;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(x));
-+class Q {
+ class Q {
+ s;
-+}
-+class B extends x {
-+}
- var q;
- q.s;
-
+ }
+ class B extends x {
+ }
+@@= skipped -9, +10 lines =@@
//// [declarationEmitExpressionInExtends.d.ts]
declare var x: {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends2.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends2.js.diff
index 80aa9c515d..072daee101 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends2.js.diff
@@ -1,45 +1,11 @@
--- old.declarationEmitExpressionInExtends2.js
+++ new.declarationEmitExpressionInExtends2.js
-@@= skipped -13, +13 lines =@@
- }
+@@= skipped -14, +14 lines =@@
//// [declarationEmitExpressionInExtends2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ x;
+ y;
-+}
- function getClass(c) {
- return C;
}
--var MyClass = /** @class */ (function (_super) {
-- __extends(MyClass, _super);
-- function MyClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return MyClass;
--}(getClass(2)));
-+class MyClass extends getClass(2) {
-+}
-
-
- //// [declarationEmitExpressionInExtends2.d.ts]
\ No newline at end of file
+ function getClass(c) {
+ return C;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends3.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends3.js.diff
index 2a7d9d7099..1163f7d4b5 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends3.js.diff
@@ -1,88 +1,15 @@
--- old.declarationEmitExpressionInExtends3.js
+++ new.declarationEmitExpressionInExtends3.js
-@@= skipped -45, +45 lines =@@
-
- //// [declarationEmitExpressionInExtends3.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
+@@= skipped -48, +48 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyClass4 = exports.MyClass3 = exports.MyClass2 = exports.MyClass = exports.ExportedClass = void 0;
--var ExportedClass = /** @class */ (function () {
-- function ExportedClass() {
-- }
-- return ExportedClass;
--}());
-+class ExportedClass {
+ class ExportedClass {
+ x;
-+}
+ }
exports.ExportedClass = ExportedClass;
--var LocalClass = /** @class */ (function () {
-- function LocalClass() {
-- }
-- return LocalClass;
--}());
-+class LocalClass {
+ class LocalClass {
+ x;
+ y;
-+}
- function getLocalClass(c) {
- return LocalClass;
}
- function getExportedClass(c) {
- return ExportedClass;
- }
--var MyClass = /** @class */ (function (_super) {
-- __extends(MyClass, _super);
-- function MyClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return MyClass;
--}(getLocalClass(undefined)));
-+class MyClass extends getLocalClass(undefined) {
-+}
- exports.MyClass = MyClass;
--var MyClass2 = /** @class */ (function (_super) {
-- __extends(MyClass2, _super);
-- function MyClass2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return MyClass2;
--}(getExportedClass(undefined)));
-+class MyClass2 extends getExportedClass(undefined) {
-+}
- exports.MyClass2 = MyClass2;
--var MyClass3 = /** @class */ (function (_super) {
-- __extends(MyClass3, _super);
-- function MyClass3() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return MyClass3;
--}(getExportedClass(undefined)));
-+class MyClass3 extends getExportedClass(undefined) {
-+}
- exports.MyClass3 = MyClass3;
--var MyClass4 = /** @class */ (function (_super) {
-- __extends(MyClass4, _super);
-- function MyClass4() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return MyClass4;
--}(getExportedClass(undefined)));
-+class MyClass4 extends getExportedClass(undefined) {
-+}
- exports.MyClass4 = MyClass4;
-
+ function getLocalClass(c) {
+ return LocalClass;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends4.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends4.js.diff
deleted file mode 100644
index 8c46a6cd69..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends4.js.diff
+++ /dev/null
@@ -1,61 +0,0 @@
---- old.declarationEmitExpressionInExtends4.js
-+++ new.declarationEmitExpressionInExtends4.js
-@@= skipped -18, +18 lines =@@
- }
-
- //// [declarationEmitExpressionInExtends4.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- function getSomething() {
-- return /** @class */ (function () {
-- function D() {
-- }
-- return D;
-- }());
--}
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(getSomething()));
--var C2 = /** @class */ (function (_super) {
-- __extends(C2, _super);
-- function C2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C2;
--}(SomeUndefinedFunction()));
--var C3 = /** @class */ (function (_super) {
-- __extends(C3, _super);
-- function C3() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C3;
--}(SomeUndefinedFunction));
-+ return class D {
-+ };
-+}
-+class C extends getSomething() {
-+}
-+class C2 extends SomeUndefinedFunction() {
-+}
-+class C3 extends SomeUndefinedFunction {
-+}
-
-
- //// [declarationEmitExpressionInExtends4.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends5.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends5.js.diff
deleted file mode 100644
index e811a77293..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends5.js.diff
+++ /dev/null
@@ -1,43 +0,0 @@
---- old.declarationEmitExpressionInExtends5.js
-+++ new.declarationEmitExpressionInExtends5.js
-@@= skipped -22, +22 lines =@@
-
-
- //// [declarationEmitExpressionInExtends5.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var Test;
- (function (Test) {
-- var SomeClass = /** @class */ (function () {
-- function SomeClass() {
-- }
-- return SomeClass;
-- }());
-+ class SomeClass {
-+ }
- Test.SomeClass = SomeClass;
-- var Derived = /** @class */ (function (_super) {
-- __extends(Derived, _super);
-- function Derived() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Derived;
-- }(getClass()));
-+ class Derived extends getClass() {
-+ }
- Test.Derived = Derived;
- function getClass() {
- return SomeClass;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends7.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends7.js.diff
deleted file mode 100644
index 226b0181c5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitExpressionInExtends7.js.diff
+++ /dev/null
@@ -1,33 +0,0 @@
---- old.declarationEmitExpressionInExtends7.js
-+++ new.declarationEmitExpressionInExtends7.js
-@@= skipped -5, +5 lines =@@
-
- //// [declarationEmitExpressionInExtends7.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
--var default_1 = /** @class */ (function (_super) {
-- __extends(default_1, _super);
-- function default_1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return default_1;
--}(SomeUndefinedFunction));
-+class default_1 extends SomeUndefinedFunction {
-+}
- exports.default = default_1;
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitForDefaultExportClassExtendingExpression01.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitForDefaultExportClassExtendingExpression01.js.diff
index 5e32da7cf6..41b6e90078 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitForDefaultExportClassExtendingExpression01.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitForDefaultExportClassExtendingExpression01.js.diff
@@ -1,48 +1,6 @@
--- old.declarationEmitForDefaultExportClassExtendingExpression01.js
+++ new.declarationEmitForDefaultExportClassExtendingExpression01.js
-@@= skipped -23, +23 lines =@@
-
- //// [declarationEmitForDefaultExportClassExtendingExpression01.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.getGreeting = function () {
-+class A {
-+ getGreeting() {
- return 'hello';
-- };
-- return A;
--}());
--var getGreeterBase = function () { return A; };
--var default_1 = /** @class */ (function (_super) {
-- __extends(default_1, _super);
-- function default_1() {
-- return _super !== null && _super.apply(this, arguments) || this;
- }
-- return default_1;
--}(getGreeterBase()));
-+}
-+const getGreeterBase = () => A;
-+class default_1 extends getGreeterBase() {
-+}
- exports.default = default_1;
+@@= skipped -36, +36 lines =@@
//// [declarationEmitForDefaultExportClassExtendingExpression01.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitForModuleImportingModuleAugmentationRetainsImport.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitForModuleImportingModuleAugmentationRetainsImport.js.diff
index 04146677ac..8558457051 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitForModuleImportingModuleAugmentationRetainsImport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitForModuleImportingModuleAugmentationRetainsImport.js.diff
@@ -5,24 +5,11 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.ParentThing = void 0;
-var child1_1 = require("./child1"); // this import should still exist in some form in the output, since it augments this module
--var ParentThing = /** @class */ (function () {
-- function ParentThing() {
-- }
-- return ParentThing;
--}());
+const child1_1 = require("./child1"); // this import should still exist in some form in the output, since it augments this module
-+class ParentThing {
-+}
- exports.ParentThing = ParentThing;
- (0, child1_1.child1)(ParentThing.prototype);
- //// [child1.js]
-@@= skipped -13, +10 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.child1 = child1;
- function child1(prototype) {
-- prototype.add = function (a, b) { return a + b; };
-+ prototype.add = (a, b) => a + b;
+ class ParentThing {
}
+ exports.ParentThing = ParentThing;
+@@= skipped -15, +15 lines =@@
//// [parent.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitGenericTypeParamerSerialization.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitGenericTypeParamerSerialization.js.diff
deleted file mode 100644
index 0ef748b9a3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitGenericTypeParamerSerialization.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.declarationEmitGenericTypeParamerSerialization.js
-+++ new.declarationEmitGenericTypeParamerSerialization.js
-@@= skipped -16, +16 lines =@@
- exports.w = void 0;
- function wrapper(value) {
- return {
-- m: function () { return value; },
-+ m() { return value; },
- get g() { return value; },
- };
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitGenericTypeParamerSerialization2.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitGenericTypeParamerSerialization2.js.diff
index 95c04e9076..acebc36bc2 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitGenericTypeParamerSerialization2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitGenericTypeParamerSerialization2.js.diff
@@ -1,15 +1,6 @@
--- old.declarationEmitGenericTypeParamerSerialization2.js
+++ new.declarationEmitGenericTypeParamerSerialization2.js
-@@= skipped -41, +41 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.v = exports.x = void 0;
--exports.x = (function () { return null; })();
-+exports.x = (() => null)();
- function makeV() {
- return null;
- }
-@@= skipped -24, +24 lines =@@
+@@= skipped -65, +65 lines =@@
fnField: (p: number) => number;
writeOnlyProperty: number;
property: number;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitHasTypesRefOnNamespaceUse.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitHasTypesRefOnNamespaceUse.js.diff
deleted file mode 100644
index 885f6c1925..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitHasTypesRefOnNamespaceUse.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.declarationEmitHasTypesRefOnNamespaceUse.js
-+++ new.declarationEmitHasTypesRefOnNamespaceUse.js
-@@= skipped -13, +13 lines =@@
-
-
- //// [index.js]
--var Src = /** @class */ (function () {
-- function Src() {
-- }
-- return Src;
--}());
-+class Src {
-+}
-
-
- //// [index.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitImportInExportAssignmentModule.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitImportInExportAssignmentModule.js.diff
index fb666928eb..68535f85e9 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitImportInExportAssignmentModule.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitImportInExportAssignmentModule.js.diff
@@ -1,19 +1,7 @@
--- old.declarationEmitImportInExportAssignmentModule.js
+++ new.declarationEmitImportInExportAssignmentModule.js
-@@= skipped -14, +14 lines =@@
- "use strict";
- var m;
- (function (m) {
-- var c;
-+ let c;
- (function (c_1) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
+@@= skipped -20, +20 lines =@@
+ }
c_1.c = c;
})(c = m.c || (m.c = {}));
+ var x = c;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitIndexTypeArray.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitIndexTypeArray.js.diff
deleted file mode 100644
index 36b8f6cff5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitIndexTypeArray.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.declarationEmitIndexTypeArray.js
-+++ new.declarationEmitIndexTypeArray.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [declarationEmitIndexTypeArray.js]
--function doSomethingWithKeys() {
-- var keys = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- keys[_i] = arguments[_i];
-- }
--}
--var utilityFunctions = {
-- doSomethingWithKeys: doSomethingWithKeys
-+function doSomethingWithKeys(...keys) { }
-+const utilityFunctions = {
-+ doSomethingWithKeys
- };
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias1.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias1.js.diff
deleted file mode 100644
index a8389244e5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias1.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.declarationEmitInferredTypeAlias1.js
-+++ new.declarationEmitInferredTypeAlias1.js
-@@= skipped -14, +14 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- {
-- var obj = true;
-+ let obj = true;
- }
- //// [1.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.v = void 0;
--var v = "str" || true;
-+let v = "str" || true;
- exports.v = v;
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias2.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias2.js.diff
deleted file mode 100644
index 8d3b06c7dc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias2.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.declarationEmitInferredTypeAlias2.js
-+++ new.declarationEmitInferredTypeAlias2.js
-@@= skipped -17, +17 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- {
-- var obj = true;
-+ let obj = true;
- }
- //// [1.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.v = void 0;
- exports.bar = bar;
--var v = "str" || true;
-+let v = "str" || true;
- exports.v = v;
- function bar() {
- return v;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias3.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias3.js.diff
deleted file mode 100644
index ad4d11ee07..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias3.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.declarationEmitInferredTypeAlias3.js
-+++ new.declarationEmitInferredTypeAlias3.js
-@@= skipped -14, +14 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- {
-- var obj = true;
-+ let obj = true;
- }
- //// [1.js]
- "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias5.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias5.js.diff
index 9502632b1d..067a2bad3b 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias5.js.diff
@@ -1,21 +1,6 @@
--- old.declarationEmitInferredTypeAlias5.js
+++ new.declarationEmitInferredTypeAlias5.js
-@@= skipped -12, +12 lines =@@
- //// [0.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var obj = true;
-+let obj = true;
- //// [1.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.v = void 0;
- //let v2: Z.Data;
--var v = "str" || true;
-+let v = "str" || true;
- exports.v = v;
-
-
+@@= skipped -25, +25 lines =@@
//// [0.d.ts]
export type Data = string | boolean;
//// [1.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias6.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias6.js.diff
deleted file mode 100644
index 377c610e30..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias6.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.declarationEmitInferredTypeAlias6.js
-+++ new.declarationEmitInferredTypeAlias6.js
-@@= skipped -14, +14 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- {
-- var obj = true;
-+ let obj = true;
- }
- //// [1.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.v = void 0;
--var v = "str" || true;
-+let v = "str" || true;
- exports.v = v;
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias7.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias7.js.diff
deleted file mode 100644
index 4d854d20be..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitInferredTypeAlias7.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.declarationEmitInferredTypeAlias7.js
-+++ new.declarationEmitInferredTypeAlias7.js
-@@= skipped -10, +10 lines =@@
- //// [0.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var obj = true;
-+let obj = true;
- //// [1.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.v = void 0;
--var v = "str" || true;
-+let v = "str" || true;
- exports.v = v;
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitInferredUndefinedPropFromFunctionInArray.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitInferredUndefinedPropFromFunctionInArray.js.diff
index cdfaf9f90e..282c829556 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitInferredUndefinedPropFromFunctionInArray.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitInferredUndefinedPropFromFunctionInArray.js.diff
@@ -7,9 +7,8 @@
-// repro from https://github.com/microsoft/TypeScript/issues/53914
Object.defineProperty(exports, "__esModule", { value: true });
exports.b = void 0;
--exports.b = [{ foo: 0, m: function () { } }, { bar: 1 }];
+// repro from https://github.com/microsoft/TypeScript/issues/53914
-+exports.b = [{ foo: 0, m() { } }, { bar: 1 }];
+ exports.b = [{ foo: 0, m() { } }, { bar: 1 }];
//// [declarationEmitInferredUndefinedPropFromFunctionInArray.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitInlinedDistributiveConditional.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitInlinedDistributiveConditional.js.diff
index 70e07293e0..031e16f39a 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitInlinedDistributiveConditional.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitInlinedDistributiveConditional.js.diff
@@ -5,27 +5,20 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.dropPrivateProps2 = exports.dropPrivateProps1 = void 0;
-var internal_1 = require("./internal");
--var dropPrivateProps1 = function (obj) { return (0, internal_1.excludePrivateKeys1)(obj); };
+const internal_1 = require("./internal");
-+const dropPrivateProps1 = (obj) => (0, internal_1.excludePrivateKeys1)(obj);
+ const dropPrivateProps1 = (obj) => (0, internal_1.excludePrivateKeys1)(obj);
exports.dropPrivateProps1 = dropPrivateProps1;
--var dropPrivateProps2 = function (obj) { return (0, internal_1.excludePrivateKeys2)(obj); };
-+const dropPrivateProps2 = (obj) => (0, internal_1.excludePrivateKeys2)(obj);
- exports.dropPrivateProps2 = dropPrivateProps2;
+ const dropPrivateProps2 = (obj) => (0, internal_1.excludePrivateKeys2)(obj);
+@@= skipped -8, +8 lines =@@
//// [test.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var api_1 = require("./api");
--var a = (0, api_1.dropPrivateProps1)({ foo: 42, _bar: 'secret' }); // type is {foo: number}
+const api_1 = require("./api");
-+const a = (0, api_1.dropPrivateProps1)({ foo: 42, _bar: 'secret' }); // type is {foo: number}
+ const a = (0, api_1.dropPrivateProps1)({ foo: 42, _bar: 'secret' }); // type is {foo: number}
//a._bar // error: _bar does not exist <===== as expected
--var b = (0, api_1.dropPrivateProps2)({ foo: 42, _bar: 'secret' }); // type is {foo: number, _bar: string}
-+const b = (0, api_1.dropPrivateProps2)({ foo: 42, _bar: 'secret' }); // type is {foo: number, _bar: string}
- //b._bar // no error, type of b._bar is string <===== NOT expected
-
-
-@@= skipped -30, +30 lines =@@
+ const b = (0, api_1.dropPrivateProps2)({ foo: 42, _bar: 'secret' }); // type is {foo: number, _bar: string}
+@@= skipped -22, +22 lines =@@
export declare const dropPrivateProps2: (obj: Obj) => { [K in keyof Obj extends infer T ? T extends keyof Obj ? T extends `_${string}` ? never : T : never : never]: Obj[K]; };
//// [test.d.ts]
export {};
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.js.diff
deleted file mode 100644
index 0785bbfa98..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.declarationEmitInterfaceWithNonEntityNameExpressionHeritage.js
-+++ new.declarationEmitInterfaceWithNonEntityNameExpressionHeritage.js
-@@= skipped -4, +4 lines =@@
- interface Class extends (typeof A) { }
-
- //// [declarationEmitInterfaceWithNonEntityNameExpressionHeritage.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
-
-
- //// [declarationEmitInterfaceWithNonEntityNameExpressionHeritage.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitIsolatedDeclarationErrorNotEmittedForNonEmittedFile.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitIsolatedDeclarationErrorNotEmittedForNonEmittedFile.js.diff
index a0725837e8..acd616e574 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitIsolatedDeclarationErrorNotEmittedForNonEmittedFile.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitIsolatedDeclarationErrorNotEmittedForNonEmittedFile.js.diff
@@ -5,9 +5,8 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.publicProcedure = exports.router = exports.middleware = void 0;
-var server_1 = require("@trpc/server");
--var trpc = server_1.initTRPC.create();
+const server_1 = require("@trpc/server");
-+const trpc = server_1.initTRPC.create();
+ const trpc = server_1.initTRPC.create();
exports.middleware = trpc.middleware;
exports.router = trpc.router;
exports.publicProcedure = trpc.procedure;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitKeywordDestructuring.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitKeywordDestructuring.js.diff
index 5356166c77..56d5c810ff 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitKeywordDestructuring.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitKeywordDestructuring.js.diff
@@ -16,23 +16,23 @@
- return t;
-};
-function f1(_a) {
-- var _enum = _a.enum, rest = __rest(_a, ["enum"]);
+- var { enum: _enum } = _a, rest = __rest(_a, ["enum"]);
- return rest;
-}
-function f2(_a) {
-- var _function = _a.function, rest = __rest(_a, ["function"]);
+- var { function: _function } = _a, rest = __rest(_a, ["function"]);
- return rest;
-}
-function f3(_a) {
-- var _abstract = _a.abstract, rest = __rest(_a, ["abstract"]);
+- var { abstract: _abstract } = _a, rest = __rest(_a, ["abstract"]);
- return rest;
-}
-function f4(_a) {
-- var _async = _a.async, rest = __rest(_a, ["async"]);
+- var { async: _async } = _a, rest = __rest(_a, ["async"]);
- return rest;
-}
-function f5(_a) {
-- var _await = _a.await, rest = __rest(_a, ["await"]);
+- var { await: _await } = _a, rest = __rest(_a, ["await"]);
+function f1({ enum: _enum, ...rest }) {
+ return rest;
+}
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitLocalClassDeclarationMixin.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitLocalClassDeclarationMixin.js.diff
index 43b0d60c54..dd23dec817 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitLocalClassDeclarationMixin.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitLocalClassDeclarationMixin.js.diff
@@ -1,87 +1,38 @@
--- old.declarationEmitLocalClassDeclarationMixin.js
+++ new.declarationEmitLocalClassDeclarationMixin.js
-@@= skipped -33, +33 lines =@@
-
- //// [declarationEmitLocalClassDeclarationMixin.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -37, +37 lines =@@
exports.FilteredThing = exports.Mixed = exports.Unmixed = void 0;
function mixin(Base) {
-- var PrivateMixed = /** @class */ (function (_super) {
-- __extends(PrivateMixed, _super);
-- function PrivateMixed() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this.bar = 2;
-- return _this;
+ class PrivateMixed extends Base {
+- constructor() {
+- super(...arguments);
+- this.bar = 2;
- }
-- return PrivateMixed;
-- }(Base));
-+ class PrivateMixed extends Base {
+ bar = 2;
-+ }
+ }
return PrivateMixed;
}
--var Unmixed = /** @class */ (function () {
-- function Unmixed() {
+ class Unmixed {
+- constructor() {
- this.foo = 1;
- }
-- return Unmixed;
--}());
-+class Unmixed {
+ foo = 1;
-+}
+ }
exports.Unmixed = Unmixed;
exports.Mixed = mixin(Unmixed);
function Filter(ctor) {
-- var FilterMixin = /** @class */ (function (_super) {
-- __extends(FilterMixin, _super);
-- function FilterMixin() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
+ class FilterMixin extends ctor {
+- constructor() {
+- super(...arguments);
- // other concrete methods, fields, constructor
-- _this.thing = 12;
-- return _this;
+- this.thing = 12;
- }
-- return FilterMixin;
-- }(ctor));
-+ class FilterMixin extends ctor {
+ // other concrete methods, fields, constructor
+ thing = 12;
-+ }
+ }
return FilterMixin;
}
--var FilteredThing = /** @class */ (function (_super) {
-- __extends(FilteredThing, _super);
-- function FilteredThing() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- FilteredThing.prototype.match = function (path) {
-+class FilteredThing extends Filter(Unmixed) {
-+ match(path) {
- return false;
-- };
-- return FilteredThing;
--}(Filter(Unmixed)));
-+ }
-+}
- exports.FilteredThing = FilteredThing;
-
-
-@@= skipped -74, +39 lines =@@
+@@= skipped -43, +35 lines =@@
} & typeof Unmixed;
declare const FilteredThing_base: (abstract new (...args: any[]) => {
match(path: string): boolean;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitLocalClassHasRequiredDeclare.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitLocalClassHasRequiredDeclare.js.diff
index 7886ce309c..e5e32cc2f0 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitLocalClassHasRequiredDeclare.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitLocalClassHasRequiredDeclare.js.diff
@@ -1,32 +1,18 @@
--- old.declarationEmitLocalClassHasRequiredDeclare.js
+++ new.declarationEmitLocalClassHasRequiredDeclare.js
-@@= skipped -20, +20 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -22, +22 lines =@@
exports.Y = exports.A = void 0;
--var X = /** @class */ (function () {
-- function X() {
-- }
-- return X;
--}());
--var A = /** @class */ (function () {
-- function A() {
+ class X {
+ }
+-let A = (() => {
+- class A {
- }
- A.X = X;
- return A;
--}());
-+class X {
-+}
+-})();
+class A {
+ static X = X;
+}
exports.A = A;
--var Y = /** @class */ (function () {
-- function Y() {
-- }
-- return Y;
--}());
-+class Y {
-+}
- exports.Y = Y;
-
+ class Y {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitMappedTypeDistributivityPreservesConstraints.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitMappedTypeDistributivityPreservesConstraints.js.diff
index 536b558af0..490de14436 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitMappedTypeDistributivityPreservesConstraints.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitMappedTypeDistributivityPreservesConstraints.js.diff
@@ -1,11 +1,6 @@
--- old.declarationEmitMappedTypeDistributivityPreservesConstraints.js
+++ new.declarationEmitMappedTypeDistributivityPreservesConstraints.js
-@@= skipped -22, +22 lines =@@
- function fn(sliceIndex) {
- return null;
- }
--exports.default = { fn: fn };
-+exports.default = { fn };
+@@= skipped -26, +26 lines =@@
//// [reexport.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
@@ -14,7 +9,7 @@
exports.default = { test: types_1.default };
-@@= skipped -27, +27 lines =@@
+@@= skipped -23, +23 lines =@@
declare const _default: {
test: {
fn: arg)({ '0': 0 }); // Original prop uses string syntax
-
+@@= skipped -11, +11 lines =@@
//// [declarationEmitMappedTypePropertyFromNumericStringKey.d.ts]
export declare const f: {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitMixinPrivateProtected.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitMixinPrivateProtected.js.diff
index 2fb070c5df..241fa752fa 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitMixinPrivateProtected.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitMixinPrivateProtected.js.diff
@@ -1,104 +1,8 @@
--- old.declarationEmitMixinPrivateProtected.js
+++ new.declarationEmitMixinPrivateProtected.js
-@@= skipped -35, +35 lines =@@
-
- //// [first.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Monitor = void 0;
--var DisposableMixin = /** @class */ (function () {
-- function class_1() {
-- }
-- class_1.prototype._onDispose = function () {
-+const DisposableMixin = class {
-+ _onDispose() {
- this._assertIsStripped();
-- };
-- class_1.prototype._assertIsStripped = function () {
-- };
-- return class_1;
--}());
-+ }
-+ _assertIsStripped() {
-+ }
-+};
- // No error, but definition is wrong.
- exports.default = mix(DisposableMixin);
--var Monitor = /** @class */ (function (_super) {
-- __extends(Monitor, _super);
-- function Monitor() {
-- return _super !== null && _super.apply(this, arguments) || this;
-+class Monitor extends mix(DisposableMixin) {
-+ _onDispose() {
+@@= skipped -66, +66 lines =@@
}
-- Monitor.prototype._onDispose = function () {
-- };
-- return Monitor;
--}(mix(DisposableMixin)));
-+}
- exports.Monitor = Monitor;
- //// [another.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
--var DisposableMixin = /** @class */ (function () {
-- function class_1() {
-- }
-- class_1.prototype._onDispose = function () {
-+const DisposableMixin = class {
-+ _onDispose() {
- this._assertIsStripped();
-- };
-- class_1.prototype._assertIsStripped = function () {
-- };
-- return class_1;
--}());
--var default_1 = /** @class */ (function (_super) {
-- __extends(default_1, _super);
-- function default_1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- default_1.prototype._onDispose = function () {
-- };
-- return default_1;
--}(mix(DisposableMixin)));
-+ }
-+ _assertIsStripped() {
-+ }
-+};
-+class default_1 extends mix(DisposableMixin) {
-+ _onDispose() {
-+ }
-+}
+ }
exports.default = default_1;
+
+
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitMultipleComputedNamesSameDomain.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitMultipleComputedNamesSameDomain.js.diff
index 855f5d4ca6..595c7bbd25 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitMultipleComputedNamesSameDomain.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitMultipleComputedNamesSameDomain.js.diff
@@ -7,17 +7,14 @@
-var _a, _b;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Test = void 0;
--var Test = /** @class */ (function () {
-- function Test() {
+ class Test {
+- constructor() {
- this[_a] = 10;
- this[_b] = 10;
- }
-- return Test;
--}());
-+class Test {
+ [x] = 10;
+ [y] = 10;
-+}
+ }
exports.Test = Test;
-_a = x, _b = y;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitNameConflicts.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitNameConflicts.js.diff
index 5513fbf571..74a77abef8 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitNameConflicts.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitNameConflicts.js.diff
@@ -1,20 +1,6 @@
--- old.declarationEmitNameConflicts.js
+++ new.declarationEmitNameConflicts.js
-@@= skipped -52, +52 lines =@@
- "use strict";
- var f;
- (function (f) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- f.c = c;
- })(f || (f = {}));
- module.exports = f;
-@@= skipped -12, +9 lines =@@
+@@= skipped -61, +61 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.M = void 0;
@@ -23,21 +9,7 @@
var M;
(function (M) {
function f() { }
- M.f = f;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- M.C = C;
-- var N;
-+ let N;
- (function (N) {
- function g() { }
- N.g = g;
-@@= skipped -23, +20 lines =@@
+@@= skipped -20, +20 lines =@@
M.d = im;
})(M || (exports.M = M = {}));
(function (M) {
@@ -46,20 +18,7 @@
(function (P) {
function f() { }
P.f = f;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- P.C = C;
-- var N;
-+ let N;
- (function (N) {
- function g() { }
- N.g = g;
-@@= skipped -25, +22 lines =@@
+@@= skipped -22, +22 lines =@@
})(P = M.P || (M.P = {}));
})(M || (exports.M = M = {}));
(function (M) {
@@ -68,20 +27,7 @@
(function (Q) {
function f() { }
Q.f = f;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- Q.C = C;
-- var N;
-+ let N;
- (function (N) {
- function g() { }
- N.g = g;
-@@= skipped -52, +49 lines =@@
+@@= skipped -49, +49 lines =@@
}
}
export import im = M.P.f;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitNameConflicts2.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitNameConflicts2.js.diff
index 778e381809..86975c88c3 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitNameConflicts2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitNameConflicts2.js.diff
@@ -12,23 +12,7 @@
(function (base) {
function f() { }
base.f = f;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- base.C = C;
-- var M;
-+ let M;
- (function (M) {
- })(M = base.M || (base.M = {}));
-- var E;
-+ let E;
- (function (E) {
- })(E = base.E || (base.E = {}));
- })(base = Y.base || (Y.base = {}));
+@@= skipped -19, +19 lines =@@
})(Y = X.Y || (X.Y = {}));
})(X || (X = {}));
(function (X) {
@@ -43,7 +27,7 @@
(function (Z) {
Z.f = X.Y.base.f; // Should be base.f
Z.C = X.Y.base.C; // Should be base.C
-@@= skipped -50, +47 lines =@@
+@@= skipped -28, +28 lines =@@
}
}
declare namespace X.Y.base.Z {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitNameConflicts3.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitNameConflicts3.js.diff
index 1152c555a9..18425df32e 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitNameConflicts3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitNameConflicts3.js.diff
@@ -1,75 +1,15 @@
--- old.declarationEmitNameConflicts3.js
+++ new.declarationEmitNameConflicts3.js
-@@= skipped -28, +28 lines =@@
- }
-
- //// [declarationEmitNameConflicts3.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var M;
- (function (M) {
-- var D;
-+ let D;
- (function (D) {
- function f() { }
- D.f = f;
- })(D = M.D || (M.D = {}));
-- var C;
-+ let C;
- (function (C) {
- function f() { }
- C.f = f;
- })(C = M.C || (M.C = {}));
-- var E;
-+ let E;
- (function (E) {
- function f() { }
- E.f = f;
+@@= skipped -47, +47 lines =@@
})(E = M.E || (M.E = {}));
})(M || (M = {}));
(function (M) {
- var P;
+ let P;
(function (P) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- C.f = function () { };
-- return C;
-- }());
-+ class C {
-+ static f() { }
-+ }
- P.C = C;
-- var E = /** @class */ (function (_super) {
-- __extends(E, _super);
-- function E() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return E;
-- }(C));
-+ class E extends C {
-+ }
- P.E = E;
-- var D;
-+ let D;
- (function (D) {
- D[D["f"] = 0] = "f";
- })(D = P.D || (P.D = {}));
-@@= skipped -85, +62 lines =@@
+ class C {
+ static f() { }
+@@= skipped -43, +43 lines =@@
enum D {
f = 0
}
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitNestedGenerics.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitNestedGenerics.js.diff
index 578ab6f98d..464bae7869 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitNestedGenerics.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitNestedGenerics.js.diff
@@ -1,18 +1,6 @@
--- old.declarationEmitNestedGenerics.js
+++ new.declarationEmitNestedGenerics.js
-@@= skipped -12, +12 lines =@@
-
- //// [declarationEmitNestedGenerics.js]
- function f(p) {
-- var g = null;
-+ let g = null;
- return g;
- }
- function g(x) {
-- var y = null;
-+ let y = null;
- return y;
- }
+@@= skipped -22, +22 lines =@@
//// [declarationEmitNestedGenerics.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitNonExportedBindingPattern.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitNonExportedBindingPattern.js.diff
index 44b6b3238c..4a11b85f54 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitNonExportedBindingPattern.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitNonExportedBindingPattern.js.diff
@@ -1,18 +1,6 @@
--- old.declarationEmitNonExportedBindingPattern.js
+++ new.declarationEmitNonExportedBindingPattern.js
-@@= skipped -27, +27 lines =@@
- function getFoo() {
- return { foo: { test: 42 } };
- }
--var foo = getFoo().foo;
--var renamed = getFoo().foo;
-+const { foo } = getFoo();
-+const { foo: renamed } = getFoo();
- function getNested() {
- return { a: { b: { c: 'd' } } };
- }
--var c = getNested().a.b.c;
-+const { a: { b: { c } } } = getNested();
+@@= skipped -36, +36 lines =@@
//// [test.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitOfTypeofAliasedExport.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitOfTypeofAliasedExport.js.diff
index 42066c7613..dcd3d7f9df 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitOfTypeofAliasedExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitOfTypeofAliasedExport.js.diff
@@ -1,17 +1,6 @@
--- old.declarationEmitOfTypeofAliasedExport.js
+++ new.declarationEmitOfTypeofAliasedExport.js
-@@= skipped -12, +12 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.D = void 0;
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
- exports.D = C;
+@@= skipped -18, +18 lines =@@
//// [b.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitOptionalMethod.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitOptionalMethod.js.diff
index 62adb3cad8..be0420e6f4 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitOptionalMethod.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitOptionalMethod.js.diff
@@ -1,14 +1,6 @@
--- old.declarationEmitOptionalMethod.js
+++ new.declarationEmitOptionalMethod.js
-@@= skipped -12, +12 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Foo = void 0;
--var Foo = function (opts) { return ({}); };
-+const Foo = (opts) => ({});
- exports.Foo = Foo;
-
-
+@@= skipped -19, +19 lines =@@
//// [declarationEmitOptionalMethod.d.ts]
export declare const Foo: (opts: {
a?(): void;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitOverloadedPrivateInference.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitOverloadedPrivateInference.js.diff
index e0d10d5821..4f5feec929 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitOverloadedPrivateInference.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitOverloadedPrivateInference.js.diff
@@ -1,27 +1,21 @@
--- old.declarationEmitOverloadedPrivateInference.js
+++ new.declarationEmitOverloadedPrivateInference.js
-@@= skipped -32, +32 lines =@@
- function oneArg(input) {
+@@= skipped -33, +33 lines =@@
return null;
}
--var Wrapper = /** @class */ (function () {
-- function Wrapper() {
+ class Wrapper {
+- constructor() {
- this.Proxies = {
- Failure: this.proxy(noArgs, true),
- Success: this.proxy(oneArg),
- };
- }
-- Wrapper.prototype.proxy = function (fn) {
-+class Wrapper {
-+ proxy(fn) {
+ proxy(fn) {
return null;
-+ }
+ }
+ Proxies = {
+ Failure: this.proxy(noArgs, true),
+ Success: this.proxy(oneArg),
- };
-- return Wrapper;
--}());
-+}
++ };
+ }
exports.Wrapper = Wrapper;
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitParameterProperty.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitParameterProperty.js.diff
index 8d2ba5ca59..08fe2bf37a 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitParameterProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitParameterProperty.js.diff
@@ -1,21 +1,14 @@
--- old.declarationEmitParameterProperty.js
+++ new.declarationEmitParameterProperty.js
-@@= skipped -10, +10 lines =@@
- "use strict";
+@@= skipped -11, +11 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Foo = void 0;
--var Foo = /** @class */ (function () {
-- function Foo(bar) {
-+class Foo {
+ class Foo {
+ bar;
-+ constructor(bar) {
+ constructor(bar) {
this.bar = bar;
}
-- return Foo;
--}());
-+}
- exports.Foo = Foo;
-
+@@= skipped -9, +10 lines =@@
//// [declarationEmitParameterProperty.d.ts]
export declare class Foo {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitPreserveReferencedImports.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitPreserveReferencedImports.js.diff
index d5aeff23e7..83b706aaeb 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitPreserveReferencedImports.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitPreserveReferencedImports.js.diff
@@ -1,13 +1,6 @@
--- old.declarationEmitPreserveReferencedImports.js
+++ new.declarationEmitPreserveReferencedImports.js
-@@= skipped -20, +20 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.o = void 0;
--var o = function (o) { return function () { return null; }; };
-+const o = (o) => () => null;
- exports.o = o;
- //// [main.js]
+@@= skipped -26, +26 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.f = void 0;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitPreservesHasNoDefaultLibDirective.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitPreservesHasNoDefaultLibDirective.js.diff
index 752a0d4941..095e9856f5 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitPreservesHasNoDefaultLibDirective.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitPreservesHasNoDefaultLibDirective.js.diff
@@ -1,17 +1,11 @@
--- old.declarationEmitPreservesHasNoDefaultLibDirective.js
+++ new.declarationEmitPreservesHasNoDefaultLibDirective.js
-@@= skipped -16, +16 lines =@@
-
+@@= skipped -17, +17 lines =@@
//// [declarationEmitPreservesHasNoDefaultLibDirective.js]
///
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
+ class Foo {
+ public;
-+}
+ }
//// [declarationEmitPreservesHasNoDefaultLibDirective.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateAsync.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateAsync.js.diff
index f927b16875..eee3c30796 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateAsync.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateAsync.js.diff
@@ -12,51 +12,16 @@
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
--};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
-};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Foo = void 0;
--var Foo = /** @class */ (function () {
-- function Foo() {
-+class Foo {
+ class Foo {
+- baz() {
+- return __awaiter(this, void 0, void 0, function* () {
+- return;
+- });
+ async baz() {
+ return;
}
-- Foo.prototype.baz = function () {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- return [2 /*return*/];
-- });
-- });
-- };
-- return Foo;
--}());
-+}
- exports.Foo = Foo;
-
+ }
+ exports.Foo = Foo;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateNameCausesError.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateNameCausesError.js.diff
index c88d0dd13d..c54f870a17 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateNameCausesError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateNameCausesError.js.diff
@@ -1,40 +1,16 @@
--- old.declarationEmitPrivateNameCausesError.js
+++ new.declarationEmitPrivateNameCausesError.js
-@@= skipped -11, +11 lines =@@
-
- //// [file.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.ignoreExtraVariables = ignoreExtraVariables;
--var IGNORE_EXTRA_VARIABLES = Symbol(); //Notice how this is unexported
-+const IGNORE_EXTRA_VARIABLES = Symbol(); //Notice how this is unexported
+@@= skipped -16, +16 lines =@@
+ const IGNORE_EXTRA_VARIABLES = Symbol(); //Notice how this is unexported
//This is exported
function ignoreExtraVariables(ctor) {
- var _a, _b;
-- return _b = /** @class */ (function (_super) {
-- __extends(class_1, _super);
-- function class_1() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this[_a] = true; //An unexported constant is used
-- return _this;
+- return _b = class extends ctor {
+- constructor() {
+- super(...arguments);
+- this[_a] = true; //An unexported constant is used
- }
-- return class_1;
-- }(ctor)),
+- },
- _a = IGNORE_EXTRA_VARIABLES,
- _b;
+ return class extends ctor {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitPrivatePromiseLikeInterface.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitPrivatePromiseLikeInterface.js.diff
index 473312f056..5b69a547cd 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitPrivatePromiseLikeInterface.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitPrivatePromiseLikeInterface.js.diff
@@ -1,48 +1,38 @@
--- old.declarationEmitPrivatePromiseLikeInterface.js
+++ new.declarationEmitPrivatePromiseLikeInterface.js
-@@= skipped -35, +35 lines =@@
- "use strict";
+@@= skipped -36, +36 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpClient = void 0;
--var HttpClient = /** @class */ (function () {
-- function HttpClient() {
-- this.request = function () {
+ class HttpClient {
+- constructor() {
+- this.request = () => {
- return '';
- };
- }
-- return HttpClient;
--}());
-+class HttpClient {
+ request = () => {
+ return '';
+ };
-+}
+ }
exports.HttpClient = HttpClient;
//// [Api.js]
- "use strict";
+@@= skipped -12, +10 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Api = void 0;
--var Api = /** @class */ (function () {
-- function Api(http) {
-- var _this = this;
-+class Api {
+ class Api {
+ http;
-+ constructor(http) {
+ constructor(http) {
this.http = http;
-- this.abc1 = function () { return _this.http.request(); };
-- this.abc2 = function () { return _this.http.request(); };
-- this.abc3 = function () { return _this.http.request(); };
+- this.abc1 = () => this.http.request();
+- this.abc2 = () => this.http.request();
+- this.abc3 = () => this.http.request();
}
-- return Api;
--}());
+ abc1 = () => this.http.request();
+ abc2 = () => this.http.request();
+ abc3 = () => this.http.request();
-+}
+ }
exports.Api = Api;
-
-@@= skipped -36, +32 lines =@@
+@@= skipped -20, +21 lines =@@
error: E;
}
export declare class HttpClient {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateReadonlyLiterals.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateReadonlyLiterals.js.diff
index de69f46de6..9b324bfd28 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateReadonlyLiterals.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateReadonlyLiterals.js.diff
@@ -4,15 +4,17 @@
//// [declarationEmitPrivateReadonlyLiterals.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- this.B = "b";
-- this.D = 42;
+-let Foo = (() => {
+- class Foo {
+- constructor() {
+- this.B = "b";
+- this.D = 42;
+- }
- }
- Foo.A = "a";
- Foo.C = 42;
- return Foo;
--}());
+-})();
+class Foo {
+ static A = "a";
+ B = "b";
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateSymbolCausesVarDeclarationEmit2.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateSymbolCausesVarDeclarationEmit2.js.diff
index d6a663cc65..68223f05a7 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateSymbolCausesVarDeclarationEmit2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateSymbolCausesVarDeclarationEmit2.js.diff
@@ -8,54 +8,31 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.C = void 0;
-var a_1 = require("./a");
--var C = /** @class */ (function () {
-- function C() {
++const a_1 = require("./a");
+ class C {
+- constructor() {
- this[_a] = 1;
- }
-- return C;
--}());
-+const a_1 = require("./a");
-+class C {
+ [a_1.x] = 1;
-+}
+ }
exports.C = C;
-_a = a_1.x;
//// [c.js]
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
-var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.D = void 0;
-var a_1 = require("./a");
-var b_1 = require("./b");
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this[_a] = 12;
-- return _this;
-- }
-- return D;
--}(b_1.C));
+const a_1 = require("./a");
+const b_1 = require("./b");
-+class D extends b_1.C {
+ class D extends b_1.C {
+- constructor() {
+- super(...arguments);
+- this[_a] = 12;
+- }
+ [a_1.x] = 12;
-+}
+ }
exports.D = D;
-_a = a_1.x;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateSymbolCausesVarDeclarationToBeEmitted.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateSymbolCausesVarDeclarationToBeEmitted.js.diff
index 855a82c752..bd53485158 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateSymbolCausesVarDeclarationToBeEmitted.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitPrivateSymbolCausesVarDeclarationToBeEmitted.js.diff
@@ -1,18 +1,10 @@
--- old.declarationEmitPrivateSymbolCausesVarDeclarationToBeEmitted.js
+++ new.declarationEmitPrivateSymbolCausesVarDeclarationToBeEmitted.js
-@@= skipped -11, +11 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -13, +13 lines =@@
exports.User = void 0;
--var _data = Symbol('data');
--var User = /** @class */ (function () {
-- function User() {
-- }
-- return User;
--}());
-+const _data = Symbol('data');
-+class User {
+ const _data = Symbol('data');
+ class User {
+ [_data];
-+}
+ }
exports.User = User;
- ;
+ ;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitPropertyNumericStringKey.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitPropertyNumericStringKey.js.diff
index e41343e495..87d8ebc484 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitPropertyNumericStringKey.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitPropertyNumericStringKey.js.diff
@@ -1,24 +1,6 @@
--- old.declarationEmitPropertyNumericStringKey.js
+++ new.declarationEmitPropertyNumericStringKey.js
-@@= skipped -15, +15 lines =@@
-
- //// [declarationEmitPropertyNumericStringKey.js]
- // https://github.com/microsoft/TypeScript/issues/55292
--var _a, _b, _c;
--var STATUS = (_a = {},
-- _a["404"] = "not found",
-- _a);
--var hundredStr = "100";
--var obj = (_b = {}, _b[hundredStr] = "foo", _b);
--var hundredNum = 100;
--var obj2 = (_c = {}, _c[hundredNum] = "bar", _c);
-+const STATUS = {
-+ ["404"]: "not found",
-+};
-+const hundredStr = "100";
-+const obj = { [hundredStr]: "foo" };
-+const hundredNum = 100;
-+const obj2 = { [hundredNum]: "bar" };
+@@= skipped -25, +25 lines =@@
//// [declarationEmitPropertyNumericStringKey.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitProtectedMembers.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitProtectedMembers.js.diff
index d15ac66b41..a1c798d265 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitProtectedMembers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitProtectedMembers.js.diff
@@ -1,129 +1,38 @@
--- old.declarationEmitProtectedMembers.js
+++ new.declarationEmitProtectedMembers.js
-@@= skipped -51, +51 lines =@@
- }
-
+@@= skipped -53, +53 lines =@@
//// [declarationEmitProtectedMembers.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
// Class with protected members
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- C1.prototype.f = function () {
-+class C1 {
+ class C1 {
+ x;
-+ f() {
+ f() {
return this.x;
-- };
-- Object.defineProperty(C1.prototype, "accessor", {
-- get: function () { return 0; },
-- set: function (a) { },
-- enumerable: false,
-- configurable: true
-- });
-- C1.sf = function () {
-+ }
-+ set accessor(a) { }
-+ get accessor() { return 0; }
+ }
+ set accessor(a) { }
+ get accessor() { return 0; }
+ static sx;
-+ static sf() {
+ static sf() {
return this.sx;
-- };
-- Object.defineProperty(C1, "staticSetter", {
-- set: function (a) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C1, "staticGetter", {
-- get: function () { return 0; },
-- enumerable: false,
-- configurable: true
-- });
-- return C1;
--}());
-+ }
-+ static set staticSetter(a) { }
-+ static get staticGetter() { return 0; }
-+}
- // Derived class overriding protected members
--var C2 = /** @class */ (function (_super) {
-- __extends(C2, _super);
-- function C2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- C2.prototype.f = function () {
-- return _super.prototype.f.call(this) + this.x;
-- };
-- C2.sf = function () {
-- return _super.sf.call(this) + this.sx;
-- };
-- return C2;
--}(C1));
-+class C2 extends C1 {
-+ f() {
-+ return super.f() + this.x;
-+ }
-+ static sf() {
-+ return super.sf() + this.sx;
-+ }
-+}
+ }
+@@= skipped -22, +24 lines =@@
+ }
// Derived class making protected members public
--var C3 = /** @class */ (function (_super) {
-- __extends(C3, _super);
-- function C3() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- C3.prototype.f = function () {
-- return _super.prototype.f.call(this);
-- };
-- C3.sf = function () {
-- return _super.sf.call(this);
-- };
-- Object.defineProperty(C3, "staticGetter", {
-- get: function () { return 1; },
-- enumerable: false,
-- configurable: true
-- });
-- return C3;
--}(C2));
-+class C3 extends C2 {
+ class C3 extends C2 {
+ x;
+ static sx;
-+ f() {
-+ return super.f();
-+ }
-+ static sf() {
-+ return super.sf();
-+ }
-+ static get staticGetter() { return 1; }
-+}
+ f() {
+ return super.f();
+ }
+@@= skipped -10, +12 lines =@@
+ }
// Protected properties in constructors
--var C4 = /** @class */ (function () {
-- function C4(a, b) {
-+class C4 {
+ class C4 {
+ a;
+ b;
-+ constructor(a, b) {
+ constructor(a, b) {
this.a = a;
this.b = b;
- }
-- return C4;
--}());
-+}
+@@= skipped -8, +10 lines =@@
//// [declarationEmitProtectedMembers.d.ts]
@@ -131,7 +40,7 @@
declare class C1 {
protected x: number;
protected f(): number;
-@@= skipped -97, +59 lines =@@
+@@= skipped -10, +11 lines =@@
protected static set staticSetter(a: number);
protected static get staticGetter(): number;
}
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitReadonlyComputedProperty.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitReadonlyComputedProperty.js.diff
index 9ca25b2c50..7751afc7b5 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitReadonlyComputedProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitReadonlyComputedProperty.js.diff
@@ -1,16 +1,6 @@
--- old.declarationEmitReadonlyComputedProperty.js
+++ new.declarationEmitReadonlyComputedProperty.js
-@@= skipped -26, +26 lines =@@
- exports.createInstance = createInstance;
- exports.SYMBOL = Symbol();
- function createInstance() {
-- var _a;
-- return _a = {},
-- _a[exports.SYMBOL] = '',
-- _a;
-+ return {
-+ [exports.SYMBOL]: ''
-+ };
+@@= skipped -32, +32 lines =@@
}
//// [index.js]
"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitRecursiveConditionalAliasPreserved.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitRecursiveConditionalAliasPreserved.js.diff
index 6eb558128c..8e33ec8d96 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitRecursiveConditionalAliasPreserved.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitRecursiveConditionalAliasPreserved.js.diff
@@ -4,7 +4,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.power = void 0;
--var power = function (num, powerOf) { return (Math.pow(num, powerOf)); };
+-const power = (num, powerOf) => (Math.pow(num, powerOf));
+const power = (num, powerOf) => (num ** powerOf);
exports.power = power;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitRetainedAnnotationRetainsImportInOutput.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitRetainedAnnotationRetainsImportInOutput.js.diff
index ba706c147d..69daf85b04 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitRetainedAnnotationRetainsImportInOutput.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitRetainedAnnotationRetainsImportInOutput.js.diff
@@ -5,8 +5,6 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.run = void 0;
-var E = require("whatever");
--var run = function (i) { return E.something(i); };
+const E = require("whatever");
-+const run = (i) => E.something(i);
+ const run = (i) => E.something(i);
exports.run = run;
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitRetainsJsdocyComments.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitRetainsJsdocyComments.js.diff
index e2a02857b7..f34f7272b8 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitRetainsJsdocyComments.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitRetainsJsdocyComments.js.diff
@@ -13,40 +13,9 @@
/**
* comment1
* @param p
- */
--var foo = function (p) {
-+const foo = (p) => {
- return {
- /**
- * comment2
- * @param s
- */
-- bar: function (s) { },
-+ bar: (s) => { },
- /**
- * comment3
- * @param s
- */
-- bar2: function (s) { },
-+ bar2(s) { },
- };
- };
- exports.foo = foo;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-+class Foo {
- /**
- * comment4
- * @param s
- */
-- Foo.prototype.bar = function (s) {
-- };
-- return Foo;
--}());
-+ bar(s) {
-+ }
-+}
+@@= skipped -29, +33 lines =@@
+ }
+ }
exports.Foo = Foo;
-/**
-* comment5
@@ -60,7 +29,7 @@
//// [declarationEmitRetainsJsdocyComments.d.ts]
-@@= skipped -62, +64 lines =@@
+@@= skipped -30, +31 lines =@@
*/
bar(s: number): void;
}
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitScopeConsistency.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitScopeConsistency.js.diff
index e2abbc1471..3cf7d94e90 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitScopeConsistency.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitScopeConsistency.js.diff
@@ -1,13 +1,6 @@
--- old.declarationEmitScopeConsistency.js
+++ new.declarationEmitScopeConsistency.js
-@@= skipped -13, +13 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.f = void 0;
--var f = function (x) { return x; };
-+const f = (x) => x;
- exports.f = f;
- //// [b.js]
+@@= skipped -19, +19 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.g = void 0;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitScopeConsistency3.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitScopeConsistency3.js.diff
deleted file mode 100644
index f120f50c4c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitScopeConsistency3.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.declarationEmitScopeConsistency3.js
-+++ new.declarationEmitScopeConsistency3.js
-@@= skipped -10, +10 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.g = void 0;
--var g = function (v) {
-- var f = function (v) { return function () { return null; }; };
-- var r = f(null);
-+const g = (v) => {
-+ const f = (v) => () => null;
-+ const r = f(null);
- return r;
- };
- exports.g = g;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitShadowing.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitShadowing.js.diff
index 603cf44134..ceb4e07236 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitShadowing.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitShadowing.js.diff
@@ -1,26 +1,21 @@
--- old.declarationEmitShadowing.js
+++ new.declarationEmitShadowing.js
-@@= skipped -18, +18 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -19, +19 lines =@@
exports.A = void 0;
exports.needsRenameForShadowing = needsRenameForShadowing;
--var A = /** @class */ (function () {
-- function A() {
-- this.ShadowedButDoesNotRequireRenaming = function () {
+ class A {
+- constructor() {
+- this.ShadowedButDoesNotRequireRenaming = () => {
- return null;
- };
- }
-- return A;
--}());
-+class A {
+ ShadowedButDoesNotRequireRenaming = () => {
+ return null;
+ };
-+}
+ }
exports.A = A;
function needsRenameForShadowing() {
- return function O(t, t2) {
-@@= skipped -19, +16 lines =@@
+@@= skipped -17, +15 lines =@@
export declare class A {
readonly ShadowedButDoesNotRequireRenaming: () => T_1;
}
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitShadowingInferNotRenamed.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitShadowingInferNotRenamed.js.diff
index d7f549a677..064adb526c 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitShadowingInferNotRenamed.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitShadowingInferNotRenamed.js.diff
@@ -1,14 +1,6 @@
--- old.declarationEmitShadowingInferNotRenamed.js
+++ new.declarationEmitShadowingInferNotRenamed.js
-@@= skipped -26, +26 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.createClient = void 0;
--var createClient = function (clientDef) {
-+const createClient = (clientDef) => {
- return null;
- };
- exports.createClient = createClient;
+@@= skipped -33, +33 lines =@@
//// [declarationEmitShadowingInferNotRenamed.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitSimpleComputedNames1.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitSimpleComputedNames1.js.diff
index 4a96f44874..ef22d934a3 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitSimpleComputedNames1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitSimpleComputedNames1.js.diff
@@ -1,58 +1,6 @@
--- old.declarationEmitSimpleComputedNames1.js
+++ new.declarationEmitSimpleComputedNames1.js
-@@= skipped -34, +34 lines =@@
-
- //// [declarationEmitSimpleComputedNames1.js]
- "use strict";
--var _a;
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.instanceLookup = exports.staticLookup = exports.Holder = exports.conatainer = exports.fieldName = void 0;
- exports.fieldName = Math.random() > 0.5 ? "f1" : "f2";
--exports.conatainer = (_a = {},
-- _a[exports.fieldName] = function () {
-+exports.conatainer = {
-+ [exports.fieldName]() {
- return "result";
-- },
-- _a);
--var classFieldName = Math.random() > 0.5 ? "g1" : "g2";
--var otherField = classFieldName === "g1" ? "g2" : "g1";
--var staticField = Math.random() > 0.5 ? "s1" : "s2";
--var Holder = /** @class */ (function () {
-- function Holder() {
- }
-- Holder.prototype[classFieldName] = function () {
-+};
-+const classFieldName = Math.random() > 0.5 ? "g1" : "g2";
-+const otherField = classFieldName === "g1" ? "g2" : "g1";
-+const staticField = Math.random() > 0.5 ? "s1" : "s2";
-+class Holder {
-+ [classFieldName]() {
- return "value";
-- };
-- Holder.prototype[otherField] = function () {
-+ }
-+ [otherField]() {
- return 42;
-- };
-- Holder[staticField] = function () {
-+ }
-+ static [staticField]() {
- return { static: true };
-- };
-- Holder[staticField] = function () {
-+ }
-+ static [staticField]() {
- return { static: "sometimes" };
-- };
-- return Holder;
--}());
-+ }
-+}
- exports.Holder = Holder;
- /**
- * Could be `"prototype"`, so all static string indexers include the instance type
-@@= skipped -40, +36 lines =@@
+@@= skipped -70, +70 lines =@@
//// [declarationEmitSimpleComputedNames1.d.ts]
export declare const fieldName: string;
export declare const conatainer: {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitStringEnumUsedInNonlocalSpread.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitStringEnumUsedInNonlocalSpread.js.diff
index c8a482e38d..a7ef624b2c 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitStringEnumUsedInNonlocalSpread.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitStringEnumUsedInNonlocalSpread.js.diff
@@ -5,49 +5,25 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
+exports.A = exports.TestEnum = void 0;
+var TestEnum;
+(function (TestEnum) {
+ TestEnum["Test1"] = "123123";
+ TestEnum["Test2"] = "12312312312";
+})(TestEnum || (exports.TestEnum = TestEnum = {}));
-+class A {
-+ getA() {
-+ return {
+ class A {
+ getA() {
+ return {
+- ["123123" /* TestEnum.Test1 */]: '123',
+- ["12312312312" /* TestEnum.Test2 */]: '123',
+ [TestEnum.Test1]: '123',
+ [TestEnum.Test2]: '123',
-+ };
+ };
}
-- A.prototype.getA = function () {
-- var _a;
-- return _a = {},
-- _a["123123" /* TestEnum.Test1 */] = '123',
-- _a["12312312312" /* TestEnum.Test2 */] = '123',
-- _a;
-- };
-- return A;
--}());
-+}
+ }
exports.A = A;
//// [index.js]
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
-var __assign = (this && this.__assign) || function () {
- __assign = Object.assign || function(t) {
- for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -62,23 +38,14 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.B = void 0;
-var class_1 = require("./class");
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
+const class_1 = require("./class");
-+class B extends class_1.A {
-+ getA() {
+ class B extends class_1.A {
+ getA() {
+- return __assign(__assign({}, super.getA()), { a: '123' });
+ return {
+ ...super.getA(),
+ a: '123',
+ };
}
-- B.prototype.getA = function () {
-- return __assign(__assign({}, _super.prototype.getA.call(this)), { a: '123' });
-- };
-- return B;
--}(class_1.A));
-+}
- exports.B = B;
-
+ }
+ exports.B = B;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitTopLevelNodeFromCrossFile.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitTopLevelNodeFromCrossFile.js.diff
index 4f4d273b10..3ade3ca35d 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitTopLevelNodeFromCrossFile.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitTopLevelNodeFromCrossFile.js.diff
@@ -1,12 +1,6 @@
--- old.declarationEmitTopLevelNodeFromCrossFile.js
+++ new.declarationEmitTopLevelNodeFromCrossFile.js
-@@= skipped -19, +19 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.fn = void 0;
--exports.fn = { o: function (a) { } };
-+exports.fn = { o: (a) => { } };
- //// [b.js]
+@@= skipped -24, +24 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.x = exports.m = void 0;
@@ -15,7 +9,7 @@
exports.m = {
/**
* leading doc for prop
-@@= skipped -18, +18 lines =@@
+@@= skipped -13, +13 lines =@@
//// [a.d.ts]
export type X = string;
export declare const fn: {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitTupleRestSignatureLeadingVariadic.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitTupleRestSignatureLeadingVariadic.js.diff
deleted file mode 100644
index 5f3c0ca551..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitTupleRestSignatureLeadingVariadic.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.declarationEmitTupleRestSignatureLeadingVariadic.js
-+++ new.declarationEmitTupleRestSignatureLeadingVariadic.js
-@@= skipped -3, +3 lines =@@
- const f = (...args: [...TFirstArgs, TLastArg]): void => {};
-
- //// [declarationEmitTupleRestSignatureLeadingVariadic.js]
--var f = function () {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
-- }
--};
-+const f = (...args) => { };
-
-
- //// [declarationEmitTupleRestSignatureLeadingVariadic.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitTypeAliasWithTypeParameters1.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitTypeAliasWithTypeParameters1.js.diff
deleted file mode 100644
index c76a0d2a3b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitTypeAliasWithTypeParameters1.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.declarationEmitTypeAliasWithTypeParameters1.js
-+++ new.declarationEmitTypeAliasWithTypeParameters1.js
-@@= skipped -8, +8 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.y = void 0;
--var y = function (x) { return 1; };
-+const y = (x) => 1;
- exports.y = y;
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitTypeAliasWithTypeParameters2.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitTypeAliasWithTypeParameters2.js.diff
deleted file mode 100644
index 177c426876..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitTypeAliasWithTypeParameters2.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.declarationEmitTypeAliasWithTypeParameters2.js
-+++ new.declarationEmitTypeAliasWithTypeParameters2.js
-@@= skipped -9, +9 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.y = void 0;
--var y = function (x) { return 1; };
-+const y = (x) => 1;
- exports.y = y;
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitTypeParameterNameInOuterScope.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitTypeParameterNameInOuterScope.js.diff
deleted file mode 100644
index 2501ffa840..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitTypeParameterNameInOuterScope.js.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- old.declarationEmitTypeParameterNameInOuterScope.js
-+++ new.declarationEmitTypeParameterNameInOuterScope.js
-@@= skipped -16, +16 lines =@@
-
-
- //// [declarationEmitTypeParameterNameInOuterScope.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var a = function (x) { return x; };
-+class A {
-+}
-+var a = (x) => x;
- function a2(x) { return x; }
--var a3 = function (x) { return new A(); };
-+var a3 = (x) => new A();
- function a4(x) { return new A(); }
--var b = function (x) { return x; };
-+var b = (x) => x;
- function b2(x) { return x; }
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitTypeParameterNameReusedInOverloads.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitTypeParameterNameReusedInOverloads.js.diff
index df3c6a6604..385eef6075 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitTypeParameterNameReusedInOverloads.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitTypeParameterNameReusedInOverloads.js.diff
@@ -1,60 +1,22 @@
--- old.declarationEmitTypeParameterNameReusedInOverloads.js
+++ new.declarationEmitTypeParameterNameReusedInOverloads.js
-@@= skipped -18, +18 lines =@@
-
- //// [declarationEmitTypeParameterNameReusedInOverloads.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
+@@= skipped -21, +21 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Derived2 = exports.Derived = exports.Base = void 0;
--var Base = /** @class */ (function () {
-- function Base() {
-- }
-- return Base;
--}());
-+class Base {
+ class Base {
+ foo;
-+}
+ }
exports.Base = Base;
--var Derived = /** @class */ (function (_super) {
-- __extends(Derived, _super);
-- function Derived() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Derived;
--}(Base));
-+class Derived extends Base {
+ class Derived extends Base {
+ bar;
-+}
+ }
exports.Derived = Derived;
--var Derived2 = /** @class */ (function (_super) {
-- __extends(Derived2, _super);
-- function Derived2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Derived2;
--}(Derived));
-+class Derived2 extends Derived {
+ class Derived2 extends Derived {
+ baz;
-+}
+ }
exports.Derived2 = Derived2;
-
-@@= skipped -53, +28 lines =@@
+@@= skipped -22, +25 lines =@@
}
export type Foo = {
new (x: {
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitTypeParameterNameShadowedInternally.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitTypeParameterNameShadowedInternally.js.diff
deleted file mode 100644
index 33050dde48..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitTypeParameterNameShadowedInternally.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.declarationEmitTypeParameterNameShadowedInternally.js
-+++ new.declarationEmitTypeParameterNameShadowedInternally.js
-@@= skipped -10, +10 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.foo = void 0;
--var foo = function (x) {
-- var inner = function (y) { return [x, y]; };
-+const foo = (x) => {
-+ const inner = (y) => [x, y];
- return inner;
- };
- exports.foo = foo;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitTypeofDefaultExport.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitTypeofDefaultExport.js.diff
index 9b527ec068..dd076f5639 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitTypeofDefaultExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitTypeofDefaultExport.js.diff
@@ -1,18 +1,6 @@
--- old.declarationEmitTypeofDefaultExport.js
+++ new.declarationEmitTypeofDefaultExport.js
-@@= skipped -10, +10 lines =@@
- //// [a.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
- exports.default = C;
- ;
+@@= skipped -17, +17 lines =@@
//// [b.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitTypeofThisInClass.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitTypeofThisInClass.js.diff
index 12158c41d1..fd7f466383 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitTypeofThisInClass.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitTypeofThisInClass.js.diff
@@ -5,15 +5,10 @@
//// [declarationEmitTypeofThisInClass.js]
-"use strict";
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
+ class Foo {
+ foo;
+ bar; //Public property 'bar' of exported class has or is using private name 'this'.(4031)
-+}
+ }
//// [declarationEmitTypeofThisInClass.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitWithDefaultAsComputedName.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitWithDefaultAsComputedName.js.diff
index 8a5aabb246..c78674f754 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitWithDefaultAsComputedName.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitWithDefaultAsComputedName.js.diff
@@ -1,20 +1,11 @@
--- old.declarationEmitWithDefaultAsComputedName.js
+++ new.declarationEmitWithDefaultAsComputedName.js
-@@= skipped -24, +24 lines =@@
- });
- //// [main.js]
+@@= skipped -26, +26 lines =@@
"use strict";
--var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.obj = void 0;
-var other_1 = require("./other");
--exports.obj = (_a = {},
-- _a[other_1.default.name] = 1,
-- _a);
+const other_1 = require("./other");
-+exports.obj = {
-+ [other_1.default.name]: 1,
-+};
-
-
- //// [other.d.ts]
\ No newline at end of file
+ exports.obj = {
+ [other_1.default.name]: 1,
+ };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitWithDefaultAsComputedName2.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitWithDefaultAsComputedName2.js.diff
index 14c4e5ef0e..150c2f5a62 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitWithDefaultAsComputedName2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationEmitWithDefaultAsComputedName2.js.diff
@@ -1,20 +1,11 @@
--- old.declarationEmitWithDefaultAsComputedName2.js
+++ new.declarationEmitWithDefaultAsComputedName2.js
-@@= skipped -24, +24 lines =@@
- });
- //// [main.js]
+@@= skipped -26, +26 lines =@@
"use strict";
--var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.obj = void 0;
-var other2 = require("./other");
--exports.obj = (_a = {},
-- _a[other2.default.name] = 1,
-- _a);
+const other2 = require("./other");
-+exports.obj = {
-+ [other2.default.name]: 1
-+};
-
-
- //// [other.d.ts]
\ No newline at end of file
+ exports.obj = {
+ [other2.default.name]: 1
+ };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationEmitWithInvalidPackageJsonTypings.js.diff b/testdata/baselines/reference/submodule/compiler/declarationEmitWithInvalidPackageJsonTypings.js.diff
deleted file mode 100644
index 4848c55300..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationEmitWithInvalidPackageJsonTypings.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.declarationEmitWithInvalidPackageJsonTypings.js
-+++ new.declarationEmitWithInvalidPackageJsonTypings.js
-@@= skipped -30, +30 lines =@@
- exports.useCsvParser = void 0;
- exports.useRef = useRef;
- function useRef(current) {
-- return { current: current };
-+ return { current };
- }
--var useCsvParser = function () {
-- var parserRef = useRef(null);
-+const useCsvParser = () => {
-+ const parserRef = useRef(null);
- return parserRef;
- };
- exports.useCsvParser = useCsvParser;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationFileNoCrashOnExtraExportModifier.js.diff b/testdata/baselines/reference/submodule/compiler/declarationFileNoCrashOnExtraExportModifier.js.diff
index 356ac85d88..55a9cb6e9e 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationFileNoCrashOnExtraExportModifier.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationFileNoCrashOnExtraExportModifier.js.diff
@@ -1,15 +1,9 @@
--- old.declarationFileNoCrashOnExtraExportModifier.js
+++ new.declarationFileNoCrashOnExtraExportModifier.js
-@@= skipped -17, +17 lines =@@
- //// [input.js]
+@@= skipped -18, +18 lines =@@
"use strict";
exports.Sub = void 0;
--var Sub = /** @class */ (function () {
-- function Sub() {
-- }
-- return Sub;
--}());
-+class Sub {
+ class Sub {
+ instance;
-+}
+ }
module.exports = exports;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationFileOverwriteError.js.diff b/testdata/baselines/reference/submodule/compiler/declarationFileOverwriteError.js.diff
index 172bb6b2ce..8695a76199 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationFileOverwriteError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationFileOverwriteError.js.diff
@@ -1,16 +1,9 @@
--- old.declarationFileOverwriteError.js
+++ new.declarationFileOverwriteError.js
-@@= skipped -8, +8 lines =@@
- }
-
+@@= skipped -10, +10 lines =@@
//// [a.js]
--var d = /** @class */ (function () {
-- function d() {
-- }
-- return d;
--}());
-+class d {
-+}
+ class d {
+ }
+
+
+//// [a.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationFunctionTypeNonlocalShouldNotBeAnError.js.diff b/testdata/baselines/reference/submodule/compiler/declarationFunctionTypeNonlocalShouldNotBeAnError.js.diff
deleted file mode 100644
index e29f660aa8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationFunctionTypeNonlocalShouldNotBeAnError.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.declarationFunctionTypeNonlocalShouldNotBeAnError.js
-+++ new.declarationFunctionTypeNonlocalShouldNotBeAnError.js
-@@= skipped -14, +14 lines =@@
- (function (foo) {
- function bar() { }
- foo.obj = {
-- bar: bar
-+ bar
- };
- })(foo || (foo = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/declarationImportTypeAliasInferredAndEmittable.js.diff b/testdata/baselines/reference/submodule/compiler/declarationImportTypeAliasInferredAndEmittable.js.diff
index dbbe9d9b70..35e05ba873 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationImportTypeAliasInferredAndEmittable.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationImportTypeAliasInferredAndEmittable.js.diff
@@ -1,36 +1,22 @@
--- old.declarationImportTypeAliasInferredAndEmittable.js
+++ new.declarationImportTypeAliasInferredAndEmittable.js
-@@= skipped -21, +21 lines =@@
-
+@@= skipped -22, +22 lines =@@
//// [foo.js]
"use strict";
--var Conn = /** @class */ (function () {
-- function Conn() {
+ class Conn {
+- constructor() {
- this.item = 3;
- }
-- Conn.prototype.method = function () { };
-- return Conn;
--}());
-+class Conn {
+ constructor() { }
+ item = 3;
-+ method() { }
-+}
+ method() { }
+ }
module.exports = Conn;
- //// [usage.js]
- "use strict";
+@@= skipped -11, +10 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Wrap = void 0;
--var Wrap = /** @class */ (function () {
-- function Wrap(c) {
-- if (c === void 0) { c = x; }
-+class Wrap {
+ class Wrap {
+ connItem;
-+ constructor(c = x) {
+ constructor(c = x) {
this.connItem = c.item;
- }
-- return Wrap;
--}());
-+}
- exports.Wrap = Wrap;
-
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationMapsMultifile.js.diff b/testdata/baselines/reference/submodule/compiler/declarationMapsMultifile.js.diff
index abce8ac5d9..3bd4d3f673 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationMapsMultifile.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationMapsMultifile.js.diff
@@ -1,36 +1,11 @@
--- old.declarationMapsMultifile.js
+++ new.declarationMapsMultifile.js
-@@= skipped -22, +22 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Foo = void 0;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Foo.prototype.doThing = function (x) {
-+class Foo {
-+ doThing(x) {
- return { b: x.a };
-- };
-- Foo.make = function () {
-+ }
-+ static make() {
- return new Foo();
-- };
-- return Foo;
--}());
-+ }
-+}
- exports.Foo = Foo;
- //// [index.js]
+@@= skipped -35, +35 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Foo = exports.c = exports.x = void 0;
-var a_1 = require("./a");
+const a_1 = require("./a");
Object.defineProperty(exports, "Foo", { enumerable: true, get: function () { return a_1.Foo; } });
--var c = new a_1.Foo();
-+const c = new a_1.Foo();
- exports.c = c;
- c.doThing({ a: 42 });
- exports.x = c.doThing({ a: 12 });
\ No newline at end of file
+ const c = new a_1.Foo();
+ exports.c = c;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationMapsWithSourceMap.js.map.diff b/testdata/baselines/reference/submodule/compiler/declarationMapsWithSourceMap.js.map.diff
index ed0f6aa641..6830d6ed95 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationMapsWithSourceMap.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationMapsWithSourceMap.js.map.diff
@@ -2,8 +2,8 @@
+++ new.declarationMapsWithSourceMap.js.map
@@= skipped -0, +0 lines =@@
-//// [bundle.js.map]
--{"version":3,"file":"bundle.js","sourceRoot":"","sources":["a.ts","index.ts"],"names":[],"mappings":"AAAA;IAAA;IAOA,CAAC;IANG,qBAAO,GAAP,UAAQ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bygpOwogICAgfQp9,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/testdata/baselines/reference/submodule/compiler/declarationMapsWithSourceMap.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/declarationMapsWithSourceMap.sourcemap.txt.diff
index e811162263..bb443646ee 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationMapsWithSourceMap.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationMapsWithSourceMap.sourcemap.txt.diff
@@ -15,205 +15,101 @@
+emittedFile:a.js
sourceFile:a.ts
-------------------------------------------------------------------
-->>>var Foo = /** @class */ (function () {
--1 >
--2 >^^^^^^^^^^^^^^^^^^^^^->
--1 >
-+>>>class Foo {
-+1 >
-+2 >^^^^^^
-+3 > ^^^
-+4 > ^^^^^^^^->
-+1 >
-+2 >class
-+3 > Foo
- 1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
-----
-->>> function Foo() {
--1->^^^^
--2 > ^^->
--1->
--1->Emitted(2, 5) Source(1, 1) + SourceIndex(0)
-----
-->>> }
--1->^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1->class Foo {
-- > doThing(x: {a: number}) {
-- > return {b: x.a};
-- > }
-- > static make() {
-- > return new Foo();
-- > }
-- >
--2 > }
--1->Emitted(3, 5) Source(8, 1) + SourceIndex(0)
--2 >Emitted(3, 6) Source(8, 2) + SourceIndex(0)
-----
-->>> Foo.prototype.doThing = function (x) {
--1->^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^
--5 > ^
--1->
-+2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0)
-+3 >Emitted(1, 10) Source(1, 10) + SourceIndex(0)
-+---
-+>>> doThing(x) {
-+1->^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^
+ >>>class Foo {
+@@= skipped -24, +24 lines =@@
+ 2 > ^^^^^^^
+ 3 > ^
+ 4 > ^
+-5 > ^^^^^^^^^^^^^^->
+5 > ^^
+6 > ^^^^^^^^^^^^->
-+1-> {
-+ >
+ 1-> {
+ >
2 > doThing
--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)
-+3 > (
-+4 > x: {a: number}
+ 3 > (
+ 4 > x: {a: number}
+5 > )
-+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, 14) Source(2, 27) + SourceIndex(0)
+ 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, 14) Source(2, 27) + SourceIndex(0)
+5 >Emitted(2, 16) Source(2, 29) + SourceIndex(0)
---
>>> return { b: x.a };
--1 >^^^^^^^^
-+1->^^^^^^^^
- 2 > ^^^^^^^
- 3 > ^^
- 4 > ^
-@@= skipped -63, +49 lines =@@
+ 1->^^^^^^^^
+@@= skipped -22, +25 lines =@@
8 > ^
9 > ^^
10> ^
--1 >) {
+-1->) {
+1->{
>
2 > return
3 > {
-@@= skipped -11, +11 lines =@@
- 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(3, 9) Source(3, 9) + SourceIndex(0)
-+2 >Emitted(3, 16) Source(3, 16) + SourceIndex(0)
-+3 >Emitted(3, 18) Source(3, 17) + SourceIndex(0)
-+4 >Emitted(3, 19) Source(3, 18) + SourceIndex(0)
-+5 >Emitted(3, 21) Source(3, 20) + SourceIndex(0)
-+6 >Emitted(3, 22) Source(3, 21) + SourceIndex(0)
-+7 >Emitted(3, 23) Source(3, 22) + SourceIndex(0)
-+8 >Emitted(3, 24) Source(3, 23) + SourceIndex(0)
-+9 >Emitted(3, 26) Source(3, 24) + SourceIndex(0)
-+10>Emitted(3, 27) Source(3, 25) + SourceIndex(0)
- ---
-->>> };
-+>>> }
- 1 >^^^^
+@@= skipped -27, +27 lines =@@
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^->
+ 3 > ^^^^^^^^^^^^^^^->
1 >
- >
-2 > }
--1 >Emitted(6, 5) Source(4, 5) + SourceIndex(0)
--2 >Emitted(6, 6) Source(4, 6) + SourceIndex(0)
+-1 >Emitted(4, 5) Source(4, 5) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(4, 5) Source(3, 25) + SourceIndex(0)
-+2 >Emitted(4, 6) Source(4, 6) + SourceIndex(0)
+ 2 >Emitted(4, 6) Source(4, 6) + SourceIndex(0)
---
-->>> Foo.make = function () {
-+>>> static make() {
- 1->^^^^
--2 > ^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^^->
-+2 > ^^^^^^
-+3 > ^
-+4 > ^^^^
+ >>> static make() {
+@@= skipped -10, +10 lines =@@
+ 2 > ^^^^^^
+ 3 > ^
+ 4 > ^^^^
+-5 > ^^^^^^^^^^^->
+5 > ^^^
+6 > ^^^^^^^^->
1->
-- > 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)
-+ >
-+2 > static
-+3 >
-+4 > make
+ >
+ 2 > static
+ 3 >
+ 4 > make
+5 > ()
-+1->Emitted(5, 5) Source(5, 5) + SourceIndex(0)
-+2 >Emitted(5, 11) Source(5, 11) + SourceIndex(0)
-+3 >Emitted(5, 12) Source(5, 12) + SourceIndex(0)
-+4 >Emitted(5, 16) Source(5, 16) + SourceIndex(0)
+ 1->Emitted(5, 5) Source(5, 5) + SourceIndex(0)
+ 2 >Emitted(5, 11) Source(5, 11) + SourceIndex(0)
+ 3 >Emitted(5, 12) Source(5, 12) + SourceIndex(0)
+ 4 >Emitted(5, 16) Source(5, 16) + SourceIndex(0)
+5 >Emitted(5, 19) Source(5, 19) + SourceIndex(0)
---
>>> return new Foo();
1->^^^^^^^^
-@@= skipped -41, +47 lines =@@
+@@= skipped -18, +21 lines =@@
4 > ^^^
5 > ^^
6 > ^
--1->static make() {
+-1->() {
+1->{
>
2 > return
3 > new
- 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(6, 9) Source(6, 9) + SourceIndex(0)
-+2 >Emitted(6, 16) Source(6, 16) + SourceIndex(0)
-+3 >Emitted(6, 20) Source(6, 20) + SourceIndex(0)
-+4 >Emitted(6, 23) Source(6, 23) + SourceIndex(0)
-+5 >Emitted(6, 25) Source(6, 25) + SourceIndex(0)
-+6 >Emitted(6, 26) Source(6, 26) + SourceIndex(0)
- ---
-->>> };
-+>>> }
+@@= skipped -18, +18 lines =@@
1 >^^^^
2 > ^
--3 > ^^^^^^^^^^^->
--1 >
-+1 >
+ 1 >
+- >
+-2 > }
+-1 >Emitted(7, 5) Source(7, 5) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(7, 5) Source(6, 26) + SourceIndex(0)
-+2 >Emitted(7, 6) Source(7, 6) + SourceIndex(0)
-+---
-+>>>}
-+1 >^
+ 2 >Emitted(7, 6) Source(7, 6) + SourceIndex(0)
+ ---
+ >>>}
+ 1 >^
+-2 > ^^^^^^^^^^^^^^^^^^^^->
+-1 >
+- >}
+-1 >Emitted(8, 2) Source(8, 2) + SourceIndex(0)
+----
+--------------------------------------------------------------------
+-emittedFile:bundle.js
+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+1 >
+ >}
@@ -248,12 +144,7 @@
+5 > ^^
+6 > ^^^^->
+1 > {
- >
--2 > }
--1 >Emitted(9, 5) Source(7, 5) + SourceIndex(0)
--2 >Emitted(9, 6) Source(7, 6) + SourceIndex(0)
-----
-->>> return Foo;
++ >
+2 > doThing
+3 > (
+4 > x
@@ -297,40 +188,12 @@
+1->Emitted(6, 7) Source(4, 6) + SourceIndex(0)
+---
+>>> static make(): Foo;
- 1->^^^^
--2 > ^^^^^^^^^^
++1->^^^^
+2 > ^^^^^^
+3 > ^
+4 > ^^^^
+5 > ^^^^^^^^
- 1->
-- >
--2 > }
--1->Emitted(10, 5) Source(8, 1) + SourceIndex(0)
--2 >Emitted(10, 15) Source(8, 2) + SourceIndex(0)
-----
-->>>}());
--1 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^->
--1 >
--2 >}
--3 >
--4 > class Foo {
-- > doThing(x: {a: number}) {
-- > return {b: x.a};
-- > }
-- > static make() {
-- > 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->
+ >
+2 > static
+3 >
@@ -357,54 +220,37 @@
+sourceRoot:
+sources: index.ts
+===================================================================
- -------------------------------------------------------------------
--emittedFile:bundle.js
++-------------------------------------------------------------------
+emittedFile:index.js
sourceFile:index.ts
-------------------------------------------------------------------
-->>>var c = new Foo();
--1->
--2 >^^^^
--3 > ^
--4 > ^^^
--5 > ^^^^
--6 > ^^^
--7 > ^^
--8 > ^
--9 > ^^^^->
+ >>>const c = new Foo();
-1->
-+>>>const c = new Foo();
+1 >
-+2 >^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^^^^
-+6 > ^^^
-+7 > ^^
-+8 > ^
-+9 > ^^->
+ 2 >^^^^^^
+ 3 > ^
+ 4 > ^^^
+@@= skipped -26, +131 lines =@@
+ 7 > ^^
+ 8 > ^
+ 9 > ^^->
+-1->
+1 >
2 >const
--3 > c
--4 > =
--5 > new
--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)
-+3 > c
-+4 > =
-+5 > new
-+6 > Foo
-+7 > ()
-+8 > ;
+ 3 > c
+ 4 > =
+@@= skipped -8, +8 lines =@@
+ 6 > Foo
+ 7 > ()
+ 8 > ;
+-1->Emitted(9, 1) Source(1, 1) + SourceIndex(1)
+-2 >Emitted(9, 7) Source(1, 7) + SourceIndex(1)
+-3 >Emitted(9, 8) Source(1, 8) + SourceIndex(1)
+-4 >Emitted(9, 11) Source(1, 11) + SourceIndex(1)
+-5 >Emitted(9, 15) Source(1, 15) + SourceIndex(1)
+-6 >Emitted(9, 18) Source(1, 18) + SourceIndex(1)
+-7 >Emitted(9, 20) Source(1, 20) + SourceIndex(1)
+-8 >Emitted(9, 21) Source(1, 21) + SourceIndex(1)
+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)
@@ -416,22 +262,22 @@
---
>>>c.doThing({ a: 42 });
1->
-@@= skipped -113, +193 lines =@@
+@@= skipped -36, +36 lines =@@
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(10, 1) Source(2, 1) + SourceIndex(1)
+-2 >Emitted(10, 2) Source(2, 2) + SourceIndex(1)
+-3 >Emitted(10, 3) Source(2, 3) + SourceIndex(1)
+-4 >Emitted(10, 10) Source(2, 10) + SourceIndex(1)
+-5 >Emitted(10, 11) Source(2, 11) + SourceIndex(1)
+-6 >Emitted(10, 13) Source(2, 12) + SourceIndex(1)
+-7 >Emitted(10, 14) Source(2, 13) + SourceIndex(1)
+-8 >Emitted(10, 16) Source(2, 15) + SourceIndex(1)
+-9 >Emitted(10, 18) Source(2, 17) + SourceIndex(1)
+-10>Emitted(10, 20) Source(2, 18) + SourceIndex(1)
+-11>Emitted(10, 21) Source(2, 19) + SourceIndex(1)
+-12>Emitted(10, 22) Source(2, 20) + SourceIndex(1)
+1->Emitted(2, 1) Source(2, 1) + SourceIndex(0)
+2 >Emitted(2, 2) Source(2, 2) + SourceIndex(0)
+3 >Emitted(2, 3) Source(2, 3) + SourceIndex(0)
@@ -445,11 +291,8 @@
+11>Emitted(2, 21) Source(2, 19) + SourceIndex(0)
+12>Emitted(2, 22) Source(2, 20) + SourceIndex(0)
---
-->>>var x = c.doThing({ a: 12 });
-+>>>let x = c.doThing({ a: 12 });
+ >>>let x = c.doThing({ a: 12 });
1->
- 2 >^^^^
- 3 > ^
@@= skipped -29, +29 lines =@@
13> ^^
14> ^
@@ -463,21 +306,21 @@
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(11, 1) Source(4, 1) + SourceIndex(1)
+-2 >Emitted(11, 5) Source(4, 5) + SourceIndex(1)
+-3 >Emitted(11, 6) Source(4, 6) + SourceIndex(1)
+-4 >Emitted(11, 9) Source(4, 9) + SourceIndex(1)
+-5 >Emitted(11, 10) Source(4, 10) + SourceIndex(1)
+-6 >Emitted(11, 11) Source(4, 11) + SourceIndex(1)
+-7 >Emitted(11, 18) Source(4, 18) + SourceIndex(1)
+-8 >Emitted(11, 19) Source(4, 19) + SourceIndex(1)
+-9 >Emitted(11, 21) Source(4, 20) + SourceIndex(1)
+-10>Emitted(11, 22) Source(4, 21) + SourceIndex(1)
+-11>Emitted(11, 24) Source(4, 23) + SourceIndex(1)
+-12>Emitted(11, 26) Source(4, 25) + SourceIndex(1)
+-13>Emitted(11, 28) Source(4, 26) + SourceIndex(1)
+-14>Emitted(11, 29) Source(4, 27) + SourceIndex(1)
+-15>Emitted(11, 30) Source(4, 28) + SourceIndex(1)
+1->Emitted(3, 1) Source(4, 1) + SourceIndex(0)
+2 >Emitted(3, 5) Source(4, 5) + SourceIndex(0)
+3 >Emitted(3, 6) Source(4, 6) + SourceIndex(0)
diff --git a/testdata/baselines/reference/submodule/compiler/declarationMerging1.js.diff b/testdata/baselines/reference/submodule/compiler/declarationMerging1.js.diff
index 2274be0562..4c0a4ae19d 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationMerging1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationMerging1.js.diff
@@ -1,17 +1,10 @@
--- old.declarationMerging1.js
+++ new.declarationMerging1.js
-@@= skipped -11, +11 lines =@@
- }
+@@= skipped -12, +12 lines =@@
//// [file1.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.getF = function () { return this._f; };
-- return A;
--}());
-+class A {
+ class A {
+ _f;
-+ getF() { return this._f; }
-+}
+ getF() { return this._f; }
+ }
//// [file2.js]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationMerging2.js.diff b/testdata/baselines/reference/submodule/compiler/declarationMerging2.js.diff
index d43a8451a8..44f378b620 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationMerging2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationMerging2.js.diff
@@ -8,12 +8,9 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
-- var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.getF = function () { return this._f; };
-- return A;
-- }());
+- class A {
+- getF() { return this._f; }
+- }
- exports.A = A;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/declarationNoDanglingGenerics.js.diff b/testdata/baselines/reference/submodule/compiler/declarationNoDanglingGenerics.js.diff
index 87affcb6ae..ab998bb17c 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationNoDanglingGenerics.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationNoDanglingGenerics.js.diff
@@ -1,62 +1,27 @@
--- old.declarationNoDanglingGenerics.js
+++ new.declarationNoDanglingGenerics.js
-@@= skipped -35, +35 lines =@@
-
- //// [declarationNoDanglingGenerics.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.CKind = exports.BKind = exports.AKind = void 0;
--var kindCache = {};
-+const kindCache = {};
- function register(kind) {
- if (kindCache[kind]) {
-- throw new Error("Class with kind \"".concat(kind, "\" is already registered."));
-+ throw new Error(`Class with kind "${kind}" is already registered.`);
- }
+@@= skipped -45, +45 lines =@@
kindCache[kind] = true;
}
function ClassFactory(kind) {
- var _a;
register(kind);
-- return _a = /** @class */ (function () {
-- function class_1() {
+- return _a = class {
+- constructor() {
- this.kind = kind;
- }
-- return class_1;
-- }()),
+- },
- _a.THE_KIND = kind,
- _a;
-}
--var Kinds = /** @class */ (function () {
-- function Kinds() {
+-let Kinds = (() => {
+- class Kinds {
- }
- Kinds.A = "A";
- Kinds.B = "B";
- Kinds.C = "C";
- return Kinds;
--}());
--var AKind = /** @class */ (function (_super) {
-- __extends(AKind, _super);
-- function AKind() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return AKind;
--}(ClassFactory(Kinds.A)));
+-})();
+ return class {
+ static THE_KIND = kind;
+ kind = kind;
@@ -67,27 +32,6 @@
+ static B = "B";
+ static C = "C";
+}
-+class AKind extends ClassFactory(Kinds.A) {
-+}
- exports.AKind = AKind;
--var BKind = /** @class */ (function (_super) {
-- __extends(BKind, _super);
-- function BKind() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return BKind;
--}(ClassFactory(Kinds.B)));
-+class BKind extends ClassFactory(Kinds.B) {
-+}
- exports.BKind = BKind;
--var CKind = /** @class */ (function (_super) {
-- __extends(CKind, _super);
-- function CKind() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return CKind;
--}(ClassFactory(Kinds.C)));
-+class CKind extends ClassFactory(Kinds.C) {
-+}
- exports.CKind = CKind;
-
+ class AKind extends ClassFactory(Kinds.A) {
+ }
+ exports.AKind = AKind;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declarationsForFileShadowingGlobalNoError.js.diff b/testdata/baselines/reference/submodule/compiler/declarationsForFileShadowingGlobalNoError.js.diff
index e4b578520e..75daa4a853 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationsForFileShadowingGlobalNoError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationsForFileShadowingGlobalNoError.js.diff
@@ -1,43 +1,6 @@
--- old.declarationsForFileShadowingGlobalNoError.js
+++ new.declarationsForFileShadowingGlobalNoError.js
-@@= skipped -23, +23 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- //// [index.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.mixin = void 0;
--var mixin = function (Base) {
-- return /** @class */ (function (_super) {
-- __extends(class_1, _super);
-- function class_1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- class_1.prototype.get = function (domNode) { };
-- return class_1;
-- }(Base));
-+const mixin = (Base) => {
-+ return class extends Base {
-+ get(domNode) { }
-+ };
- };
- exports.mixin = mixin;
-
-@@= skipped -35, +15 lines =@@
+@@= skipped -38, +38 lines =@@
//// [custom.d.ts]
export type Node = {};
//// [index.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/declarationsForIndirectTypeAliasReference.js.diff b/testdata/baselines/reference/submodule/compiler/declarationsForIndirectTypeAliasReference.js.diff
deleted file mode 100644
index eb3b9f84f8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declarationsForIndirectTypeAliasReference.js.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- old.declarationsForIndirectTypeAliasReference.js
-+++ new.declarationsForIndirectTypeAliasReference.js
-@@= skipped -39, +39 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.doSome = doSome;
--var MAP = {
-- a: "a"
--};
--var MAP2 = {
-- a: "a"
--};
--function doSome(arg1, arg2, arg3) {
-- if (arg2 === void 0) { arg2 = MAP; }
-- if (arg3 === void 0) { arg3 = MAP2; }
-+const MAP = {
-+ a: "a"
-+};
-+const MAP2 = {
-+ a: "a"
-+};
-+function doSome(arg1, arg2 = MAP, arg3 = MAP2) {
- }
-
diff --git a/testdata/baselines/reference/submodule/compiler/declarationsForInferredTypeFromOtherFile.js.diff b/testdata/baselines/reference/submodule/compiler/declarationsForInferredTypeFromOtherFile.js.diff
index 3a1495b02f..832b323d4f 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationsForInferredTypeFromOtherFile.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationsForInferredTypeFromOtherFile.js.diff
@@ -1,20 +1,6 @@
--- old.declarationsForInferredTypeFromOtherFile.js
+++ new.declarationsForInferredTypeFromOtherFile.js
-@@= skipped -16, +16 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Foo = void 0;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- exports.Foo = Foo;
- //// [file2.js]
- "use strict";
-@@= skipped -17, +14 lines =@@
+@@= skipped -30, +30 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.bar = bar;
diff --git a/testdata/baselines/reference/submodule/compiler/declarationsIndirectGeneratedAliasReference.js.diff b/testdata/baselines/reference/submodule/compiler/declarationsIndirectGeneratedAliasReference.js.diff
index c7bd073740..c460ba5131 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationsIndirectGeneratedAliasReference.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationsIndirectGeneratedAliasReference.js.diff
@@ -5,9 +5,8 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyComp = void 0;
-var ns = require("mod");
--var Ctor = ns.default;
+const ns = require("mod");
-+const Ctor = ns.default;
+ const Ctor = ns.default;
exports.MyComp = Ctor.extends({ foo: "bar" });
diff --git a/testdata/baselines/reference/submodule/compiler/declarationsWithRecursiveInternalTypesProduceUniqueTypeParams.js.diff b/testdata/baselines/reference/submodule/compiler/declarationsWithRecursiveInternalTypesProduceUniqueTypeParams.js.diff
index 064417ffbb..88518482cb 100644
--- a/testdata/baselines/reference/submodule/compiler/declarationsWithRecursiveInternalTypesProduceUniqueTypeParams.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declarationsWithRecursiveInternalTypesProduceUniqueTypeParams.js.diff
@@ -19,50 +19,17 @@
-};
Object.defineProperty(exports, "__esModule", { value: true });
exports.testRecFun = exports.updateIfChanged = void 0;
--var updateIfChanged = function (t) {
-- var reduce = function (u, update) {
-- var set = function (newU) { return Object.is(u, newU) ? t : update(newU); };
-- return Object.assign(function (key) {
-- return reduce(u[key], function (v) {
-- var _a;
-- return update(Object.assign(Array.isArray(u) ? [] : {}, u, (_a = {}, _a[key] = v, _a)));
-- });
-- }, { map: function (updater) { return set(updater(u)); }, set: set });
-+const updateIfChanged = (t) => {
-+ const reduce = (u, update) => {
-+ const set = (newU) => Object.is(u, newU) ? t : update(newU);
-+ return Object.assign((key) => reduce(u[key], (v) => {
-+ return update(Object.assign(Array.isArray(u) ? [] : {}, u, { [key]: v }));
-+ }), { map: (updater) => set(updater(u)), set });
- };
-- return reduce(t, function (t) { return t; });
-+ return reduce(t, (t) => t);
- };
- exports.updateIfChanged = updateIfChanged;
- // example from https://github.com/microsoft/TypeScript/issues/31605
--var testRecFun = function (parent) {
-+const testRecFun = (parent) => {
+ const updateIfChanged = (t) => {
+@@= skipped -29, +16 lines =@@
+ const testRecFun = (parent) => {
return {
result: parent,
-- deeper: function (child) {
-- return (0, exports.testRecFun)(__assign(__assign({}, parent), child));
-- }
+- deeper: (child) => (0, exports.testRecFun)(__assign(__assign({}, parent), child))
+ deeper: (child) => (0, exports.testRecFun)({ ...parent, ...child })
};
};
exports.testRecFun = testRecFun;
--var p1 = (0, exports.testRecFun)({ one: '1' });
-+let p1 = (0, exports.testRecFun)({ one: '1' });
- void p1.result.one;
--var p2 = p1.deeper({ two: '2' });
-+let p2 = p1.deeper({ two: '2' });
- void p2.result.one;
- void p2.result.two;
--var p3 = p2.deeper({ three: '3' });
-+let p3 = p2.deeper({ three: '3' });
- void p3.result.one;
- void p3.result.two;
- void p3.result.three;
+@@= skipped -16, +16 lines =@@
//// [declarationsWithRecursiveInternalTypesProduceUniqueTypeParams.d.ts]
@@ -134,7 +101,7 @@
}) & {
map: (updater: (u: Value) => Value) => T;
set: (newU: Value) => T;
-@@= skipped -89, +74 lines =@@
+@@= skipped -39, +42 lines =@@
map: (updater: (u: T) => T) => T;
set: (newU: T) => T;
};
diff --git a/testdata/baselines/reference/submodule/compiler/declareDottedExtend.js.diff b/testdata/baselines/reference/submodule/compiler/declareDottedExtend.js.diff
index 02f29525af..b21e4794d3 100644
--- a/testdata/baselines/reference/submodule/compiler/declareDottedExtend.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/declareDottedExtend.js.diff
@@ -4,37 +4,7 @@
//// [declareDottedExtend.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
-var ab = A.B;
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return D;
--}(ab.C));
--var E = /** @class */ (function (_super) {
-- __extends(E, _super);
-- function E() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return E;
--}(A.B.C));
-+class D extends ab.C {
-+}
-+class E extends A.B.C {
-+}
\ No newline at end of file
+ class D extends ab.C {
+ }
+ class E extends A.B.C {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/declareIdentifierAsBeginningOfStatementExpression01.js.diff b/testdata/baselines/reference/submodule/compiler/declareIdentifierAsBeginningOfStatementExpression01.js.diff
deleted file mode 100644
index d81401043d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/declareIdentifierAsBeginningOfStatementExpression01.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.declareIdentifierAsBeginningOfStatementExpression01.js
-+++ new.declareIdentifierAsBeginningOfStatementExpression01.js
-@@= skipped -8, +8 lines =@@
- declare instanceof C;
-
- //// [declareIdentifierAsBeginningOfStatementExpression01.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
- var declare;
- declare instanceof C;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataConditionalType.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataConditionalType.js.diff
index 683ce51bd2..984a229851 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataConditionalType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataConditionalType.js.diff
@@ -13,24 +13,24 @@
-var __metadata = (this && this.__metadata) || function (k, v) {
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
--var BaseEntity = /** @class */ (function () {
-- function BaseEntity() {
+-let BaseEntity = (() => {
+- class BaseEntity {
- }
- __decorate([
- d(),
- __metadata("design:type", Object)
- ], BaseEntity.prototype, "attributes", void 0);
- return BaseEntity;
--}());
--var C = /** @class */ (function () {
-- function C() {
+-})();
+-let C = (() => {
+- class C {
- }
- __decorate([
- d(),
- __metadata("design:type", Boolean)
- ], C.prototype, "x", void 0);
- return C;
--}());
+-})();
+class BaseEntity {
+ @d()
+ attributes;
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataForMethodWithNoReturnTypeAnnotation01.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataForMethodWithNoReturnTypeAnnotation01.js.diff
index 96639b23b6..7c093f8747 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataForMethodWithNoReturnTypeAnnotation01.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataForMethodWithNoReturnTypeAnnotation01.js.diff
@@ -4,11 +4,13 @@
//// [decoratorMetadataForMethodWithNoReturnTypeAnnotation01.js]
--var MyClass = /** @class */ (function () {
-- function MyClass(test, test2) {
+-let MyClass = (() => {
+- class MyClass {
+- constructor(test, test2) {
+- }
+- doSomething() {
+- }
- }
-- MyClass.prototype.doSomething = function () {
-- };
- __decorate([
- decorator,
- __metadata("design:type", Function),
@@ -16,7 +18,7 @@
- __metadata("design:returntype", void 0)
- ], MyClass.prototype, "doSomething", null);
- return MyClass;
--}());
+-})();
+class MyClass {
+ constructor(test, test2) {
+ }
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataGenericTypeVariable.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataGenericTypeVariable.js.diff
index e5ca48120e..a244db4e3a 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataGenericTypeVariable.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataGenericTypeVariable.js.diff
@@ -15,15 +15,15 @@
-};
Object.defineProperty(exports, "__esModule", { value: true });
exports.C = void 0;
--var C = /** @class */ (function () {
-- function C() {
+-let C = (() => {
+- class C {
- }
- __decorate([
- Decorate,
- __metadata("design:type", Object)
- ], C.prototype, "member", void 0);
- return C;
--}());
+-})();
+class C {
+ @Decorate
+ member;
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataGenericTypeVariableDefault.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataGenericTypeVariableDefault.js.diff
index 201b6f6f3f..2b9ff874c4 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataGenericTypeVariableDefault.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataGenericTypeVariableDefault.js.diff
@@ -15,15 +15,15 @@
-};
Object.defineProperty(exports, "__esModule", { value: true });
exports.C = void 0;
--var C = /** @class */ (function () {
-- function C() {
+-let C = (() => {
+- class C {
- }
- __decorate([
- Decorate,
- __metadata("design:type", Object)
- ], C.prototype, "member", void 0);
- return C;
--}());
+-})();
+class C {
+ @Decorate
+ member;
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataGenericTypeVariableInScope.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataGenericTypeVariableInScope.js.diff
index 3556cf9fa4..3d6afafc4b 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataGenericTypeVariableInScope.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataGenericTypeVariableInScope.js.diff
@@ -16,22 +16,17 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.C = void 0;
// Unused, but could collide with the named type argument below.
--var TypeVariable = /** @class */ (function () {
-- function TypeVariable() {
-- }
-- return TypeVariable;
--}());
--var C = /** @class */ (function () {
-- function C() {
+ class TypeVariable {
+ }
+-let C = (() => {
+- class C {
- }
- __decorate([
- Decorate,
- __metadata("design:type", Object)
- ], C.prototype, "member", void 0);
- return C;
--}());
-+class TypeVariable {
-+}
+-})();
+class C {
+ @Decorate
+ member;
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataNoLibIsolatedModulesTypes.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataNoLibIsolatedModulesTypes.js.diff
index 93ed971218..cbe209f149 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataNoLibIsolatedModulesTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataNoLibIsolatedModulesTypes.js.diff
@@ -15,16 +15,16 @@
-};
Object.defineProperty(exports, "__esModule", { value: true });
exports.B = void 0;
--var B = /** @class */ (function () {
-- function B() {
-- }
+-let B = (() => {
- var _a;
+- class B {
+- }
- __decorate([
- Decorate,
- __metadata("design:type", typeof (_a = typeof Map !== "undefined" && Map) === "function" ? _a : Object)
- ], B.prototype, "member", void 0);
- return B;
--}());
+-})();
+class B {
+ @Decorate
+ member;
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataNoStrictNull.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataNoStrictNull.js.diff
index 6bc17f0957..ef3a9eeac5 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataNoStrictNull.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataNoStrictNull.js.diff
@@ -13,9 +13,9 @@
-var __metadata = (this && this.__metadata) || function (k, v) {
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
--var dec = function (obj, prop) { return undefined; };
--var Foo = /** @class */ (function () {
-- function Foo() {
+ const dec = (obj, prop) => undefined;
+-let Foo = (() => {
+- class Foo {
- }
- __decorate([
- dec,
@@ -26,8 +26,7 @@
- __metadata("design:type", String)
- ], Foo.prototype, "bar", void 0);
- return Foo;
--}());
-+const dec = (obj, prop) => undefined;
+-})();
+class Foo {
+ @dec
+ foo;
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataOnInferredType.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataOnInferredType.js.diff
index 614c387ec4..be80267c83 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataOnInferredType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataOnInferredType.js.diff
@@ -1,30 +1,21 @@
--- old.decoratorMetadataOnInferredType.js
+++ new.decoratorMetadataOnInferredType.js
-@@= skipped -21, +21 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.B = void 0;
--var A = /** @class */ (function () {
-- function A() {
-- console.log('new A');
-- }
-- return A;
--}());
-+class A {
-+ constructor() { console.log('new A'); }
-+}
+@@= skipped -26, +26 lines =@@
+ }
function decorator(target, propertyKey) {
}
--var B = /** @class */ (function () {
-- function B() {
-- this.x = new A();
+-let B = (() => {
+- class B {
+- constructor() {
+- this.x = new A();
+- }
- }
- __decorate([
- decorator,
- __metadata("design:type", Object)
- ], B.prototype, "x", void 0);
- return B;
--}());
+-})();
+class B {
+ @decorator
+ x = new A();
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataRestParameterWithImportedType.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataRestParameterWithImportedType.js.diff
index 1c594abdb4..fdaf69b640 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataRestParameterWithImportedType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataRestParameterWithImportedType.js.diff
@@ -1,43 +1,27 @@
--- old.decoratorMetadataRestParameterWithImportedType.js
+++ new.decoratorMetadataRestParameterWithImportedType.js
-@@= skipped -42, +42 lines =@@
- "use strict";
+@@= skipped -43, +43 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.SomeClass = void 0;
--var SomeClass = /** @class */ (function () {
-- function SomeClass() {
-- }
-- return SomeClass;
--}());
-+class SomeClass {
+ class SomeClass {
+ field;
-+}
+ }
exports.SomeClass = SomeClass;
//// [aux1.js]
- "use strict";
+@@= skipped -7, +8 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.SomeClass1 = void 0;
--var SomeClass1 = /** @class */ (function () {
-- function SomeClass1() {
-- }
-- return SomeClass1;
--}());
-+class SomeClass1 {
+ class SomeClass1 {
+ field;
-+}
+ }
exports.SomeClass1 = SomeClass1;
//// [aux2.js]
- "use strict";
+@@= skipped -7, +8 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.SomeClass2 = void 0;
--var SomeClass2 = /** @class */ (function () {
-- function SomeClass2() {
-- }
-- return SomeClass2;
--}());
-+class SomeClass2 {
+ class SomeClass2 {
+ field;
-+}
+ }
exports.SomeClass2 = SomeClass2;
//// [main.js]
"use strict";
@@ -55,29 +39,17 @@
-var aux_1 = require("./aux");
-var aux1_1 = require("./aux1");
function annotation() {
-- return function (target) { };
-+ return (target) => { };
+ return (target) => { };
}
function annotation1() {
-- return function (target) { };
-+ return (target) => { };
+ return (target) => { };
}
--var ClassA = /** @class */ (function () {
-- function ClassA() {
-- var init = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- init[_i] = arguments[_i];
+-let ClassA = (() => {
+- let ClassA = class ClassA {
+- constructor(...init) {
+- this.array = init;
- }
-+@annotation()
-+class ClassA {
-+ array;
-+ constructor(...init) {
- this.array = init;
- }
-- ClassA.prototype.foo = function () {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
+- foo(...args) {
- }
- };
- __decorate([
@@ -91,7 +63,13 @@
- __metadata("design:paramtypes", [aux_1.SomeClass])
- ], ClassA);
- return ClassA;
--}());
+-})();
++@annotation()
++class ClassA {
++ array;
++ constructor(...init) {
++ this.array = init;
++ }
+ @annotation1()
+ foo(...args) {
+ }
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataTypeOnlyExport.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataTypeOnlyExport.js.diff
index 53dff7aa27..9f026d745b 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataTypeOnlyExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataTypeOnlyExport.js.diff
@@ -1,16 +1,7 @@
--- old.decoratorMetadataTypeOnlyExport.js
+++ new.decoratorMetadataTypeOnlyExport.js
-@@= skipped -17, +17 lines =@@
- //// [a.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
+@@= skipped -21, +21 lines =@@
+ }
//// [b.js]
"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
@@ -23,17 +14,17 @@
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
Object.defineProperty(exports, "__esModule", { value: true });
--var Decorator = function () { return undefined; };
--var Bar = /** @class */ (function () {
-- function Bar(par) {
-- }
+ const Decorator = () => undefined;
+-let Bar = (() => {
+- let Bar = class Bar {
+- constructor(par) { }
+- };
- Bar = __decorate([
- Decorator,
- __metadata("design:paramtypes", [Function])
- ], Bar);
- return Bar;
--}());
-+const Decorator = () => undefined;
+-})();
+@Decorator
+class Bar {
+ constructor(par) { }
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataTypeOnlyImport.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataTypeOnlyImport.js.diff
index df57dec63e..a49628cdf0 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataTypeOnlyImport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataTypeOnlyImport.js.diff
@@ -14,15 +14,15 @@
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
Object.defineProperty(exports, "__esModule", { value: true });
--var Foo = /** @class */ (function () {
-- function Foo() {
+-let Foo = (() => {
+- class Foo {
- }
- __decorate([
- Decorator,
- __metadata("design:type", Object)
- ], Foo.prototype, "myList", void 0);
- return Foo;
--}());
+-})();
+class Foo {
+ @Decorator
+ myList;
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithConstructorType.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithConstructorType.js.diff
index ac381be5a4..26885372e7 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithConstructorType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithConstructorType.js.diff
@@ -1,30 +1,21 @@
--- old.decoratorMetadataWithConstructorType.js
+++ new.decoratorMetadataWithConstructorType.js
-@@= skipped -21, +21 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.B = void 0;
--var A = /** @class */ (function () {
-- function A() {
-- console.log('new A');
-- }
-- return A;
--}());
-+class A {
-+ constructor() { console.log('new A'); }
-+}
+@@= skipped -26, +26 lines =@@
+ }
function decorator(target, propertyKey) {
}
--var B = /** @class */ (function () {
-- function B() {
-- this.x = new A();
+-let B = (() => {
+- class B {
+- constructor() {
+- this.x = new A();
+- }
- }
- __decorate([
- decorator,
- __metadata("design:type", A)
- ], B.prototype, "x", void 0);
- return B;
--}());
+-})();
+class B {
+ @decorator
+ x = new A();
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision.js.diff
index 3494cb054b..d2adab911a 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision.js.diff
@@ -1,21 +1,6 @@
--- old.decoratorMetadataWithImportDeclarationNameCollision.js
+++ new.decoratorMetadataWithImportDeclarationNameCollision.js
-@@= skipped -26, +26 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.db = void 0;
--var db = /** @class */ (function () {
-- function db() {
-+class db {
-+ doSomething() {
- }
-- db.prototype.doSomething = function () {
-- };
-- return db;
--}());
-+}
- exports.db = db;
- //// [service.js]
+@@= skipped -35, +35 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyClass = void 0;
@@ -23,20 +8,25 @@
function someDecorator(target) {
return target;
}
--var MyClass = /** @class */ (function () {
-- function MyClass(db) {
-+@someDecorator
-+class MyClass {
-+ db;
-+ constructor(db) {
- this.db = db;
- this.db.doSomething();
- }
+-let MyClass = (() => {
+- let MyClass = class MyClass {
+- constructor(db) {
+- this.db = db;
+- this.db.doSomething();
+- }
+- };
- MyClass = __decorate([
- someDecorator,
- __metadata("design:paramtypes", [db_1.db])
- ], MyClass);
- return MyClass;
--}());
+-})();
++@someDecorator
++class MyClass {
++ db;
++ constructor(db) {
++ this.db = db;
++ this.db.doSomething();
++ }
+}
exports.MyClass = MyClass;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision2.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision2.js.diff
index a89665a65a..fcc4f9fc78 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision2.js.diff
@@ -1,21 +1,6 @@
--- old.decoratorMetadataWithImportDeclarationNameCollision2.js
+++ new.decoratorMetadataWithImportDeclarationNameCollision2.js
-@@= skipped -26, +26 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.db = void 0;
--var db = /** @class */ (function () {
-- function db() {
-+class db {
-+ doSomething() {
- }
-- db.prototype.doSomething = function () {
-- };
-- return db;
--}());
-+}
- exports.db = db;
- //// [service.js]
+@@= skipped -35, +35 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyClass = void 0;
@@ -23,20 +8,25 @@
function someDecorator(target) {
return target;
}
--var MyClass = /** @class */ (function () {
-- function MyClass(db) {
-+@someDecorator
-+class MyClass {
-+ db;
-+ constructor(db) {
- this.db = db;
- this.db.doSomething();
- }
+-let MyClass = (() => {
+- let MyClass = class MyClass {
+- constructor(db) {
+- this.db = db;
+- this.db.doSomething();
+- }
+- };
- MyClass = __decorate([
- someDecorator,
- __metadata("design:paramtypes", [db_1.db])
- ], MyClass);
- return MyClass;
--}());
+-})();
++@someDecorator
++class MyClass {
++ db;
++ constructor(db) {
++ this.db = db;
++ this.db.doSomething();
++ }
+}
exports.MyClass = MyClass;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision3.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision3.js.diff
index ab36588ff2..3b7e2467b4 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision3.js.diff
@@ -1,21 +1,6 @@
--- old.decoratorMetadataWithImportDeclarationNameCollision3.js
+++ new.decoratorMetadataWithImportDeclarationNameCollision3.js
-@@= skipped -26, +26 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.db = void 0;
--var db = /** @class */ (function () {
-- function db() {
-+class db {
-+ doSomething() {
- }
-- db.prototype.doSomething = function () {
-- };
-- return db;
--}());
-+}
- exports.db = db;
- //// [service.js]
+@@= skipped -35, +35 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyClass = void 0;
@@ -23,20 +8,25 @@
function someDecorator(target) {
return target;
}
--var MyClass = /** @class */ (function () {
-- function MyClass(db) {
-+@someDecorator
-+class MyClass {
-+ db;
-+ constructor(db) {
- this.db = db;
- this.db.doSomething();
- }
+-let MyClass = (() => {
+- let MyClass = class MyClass {
+- constructor(db) {
+- this.db = db;
+- this.db.doSomething();
+- }
+- };
- MyClass = __decorate([
- someDecorator,
- __metadata("design:paramtypes", [db.db])
- ], MyClass);
- return MyClass;
--}());
+-})();
++@someDecorator
++class MyClass {
++ db;
++ constructor(db) {
++ this.db = db;
++ this.db.doSomething();
++ }
+}
exports.MyClass = MyClass;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision4.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision4.js.diff
index 6c9bc65503..1874b1d5e5 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision4.js.diff
@@ -1,21 +1,6 @@
--- old.decoratorMetadataWithImportDeclarationNameCollision4.js
+++ new.decoratorMetadataWithImportDeclarationNameCollision4.js
-@@= skipped -26, +26 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.db = void 0;
--var db = /** @class */ (function () {
-- function db() {
-+class db {
-+ doSomething() {
- }
-- db.prototype.doSomething = function () {
-- };
-- return db;
--}());
-+}
- exports.db = db;
- //// [service.js]
+@@= skipped -35, +35 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyClass = void 0;
@@ -23,21 +8,26 @@
function someDecorator(target) {
return target;
}
--var MyClass = /** @class */ (function () {
-- function MyClass(db) {
-+@someDecorator
-+class MyClass {
-+ db;
-+ constructor(db) {
- this.db = db;
- this.db.doSomething();
- }
+-let MyClass = (() => {
- var _a;
+- let MyClass = class MyClass {
+- constructor(db) {
+- this.db = db;
+- this.db.doSomething();
+- }
+- };
- MyClass = __decorate([
- someDecorator,
- __metadata("design:paramtypes", [typeof (_a = typeof db_1.default !== "undefined" && db_1.default.db) === "function" ? _a : Object])
- ], MyClass);
- return MyClass;
--}());
+-})();
++@someDecorator
++class MyClass {
++ db;
++ constructor(db) {
++ this.db = db;
++ this.db.doSomething();
++ }
+}
exports.MyClass = MyClass;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision5.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision5.js.diff
index c5252e1a84..54b82621a7 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision5.js.diff
@@ -1,21 +1,6 @@
--- old.decoratorMetadataWithImportDeclarationNameCollision5.js
+++ new.decoratorMetadataWithImportDeclarationNameCollision5.js
-@@= skipped -25, +25 lines =@@
- //// [db.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var db = /** @class */ (function () {
-- function db() {
-+class db {
-+ doSomething() {
- }
-- db.prototype.doSomething = function () {
-- };
-- return db;
--}());
-+}
- exports.default = db;
- //// [service.js]
+@@= skipped -34, +34 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyClass = void 0;
@@ -23,20 +8,25 @@
function someDecorator(target) {
return target;
}
--var MyClass = /** @class */ (function () {
-- function MyClass(db) {
-+@someDecorator
-+class MyClass {
-+ db;
-+ constructor(db) {
- this.db = db;
- this.db.doSomething();
- }
+-let MyClass = (() => {
+- let MyClass = class MyClass {
+- constructor(db) {
+- this.db = db;
+- this.db.doSomething();
+- }
+- };
- MyClass = __decorate([
- someDecorator,
- __metadata("design:paramtypes", [db_1.default])
- ], MyClass);
- return MyClass;
--}());
+-})();
++@someDecorator
++class MyClass {
++ db;
++ constructor(db) {
++ this.db = db;
++ this.db.doSomething();
++ }
+}
exports.MyClass = MyClass;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision6.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision6.js.diff
index 240b1bba9f..e4e4bd26fd 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision6.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision6.js.diff
@@ -1,21 +1,6 @@
--- old.decoratorMetadataWithImportDeclarationNameCollision6.js
+++ new.decoratorMetadataWithImportDeclarationNameCollision6.js
-@@= skipped -25, +25 lines =@@
- //// [db.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var db = /** @class */ (function () {
-- function db() {
-+class db {
-+ doSomething() {
- }
-- db.prototype.doSomething = function () {
-- };
-- return db;
--}());
-+}
- exports.default = db;
- //// [service.js]
+@@= skipped -34, +34 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyClass = void 0;
@@ -23,20 +8,25 @@
function someDecorator(target) {
return target;
}
--var MyClass = /** @class */ (function () {
-- function MyClass(db) {
-+@someDecorator
-+class MyClass {
-+ db;
-+ constructor(db) {
- this.db = db;
- this.db.doSomething();
- }
+-let MyClass = (() => {
+- let MyClass = class MyClass {
+- constructor(db) {
+- this.db = db;
+- this.db.doSomething();
+- }
+- };
- MyClass = __decorate([
- someDecorator,
- __metadata("design:paramtypes", [db_1.default])
- ], MyClass);
- return MyClass;
--}());
+-})();
++@someDecorator
++class MyClass {
++ db;
++ constructor(db) {
++ this.db = db;
++ this.db.doSomething();
++ }
+}
exports.MyClass = MyClass;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision7.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision7.js.diff
index 4d883d32cf..5bf4140db7 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision7.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision7.js.diff
@@ -1,21 +1,6 @@
--- old.decoratorMetadataWithImportDeclarationNameCollision7.js
+++ new.decoratorMetadataWithImportDeclarationNameCollision7.js
-@@= skipped -25, +25 lines =@@
- //// [db.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var db = /** @class */ (function () {
-- function db() {
-+class db {
-+ doSomething() {
- }
-- db.prototype.doSomething = function () {
-- };
-- return db;
--}());
-+}
- exports.default = db;
- //// [service.js]
+@@= skipped -34, +34 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyClass = void 0;
@@ -23,21 +8,26 @@
function someDecorator(target) {
return target;
}
--var MyClass = /** @class */ (function () {
-- function MyClass(db) {
-+@someDecorator
-+class MyClass {
-+ db; //error
-+ constructor(db) {
- this.db = db;
- this.db.doSomething();
- }
+-let MyClass = (() => {
- var _a;
+- let MyClass = class MyClass {
+- constructor(db) {
+- this.db = db;
+- this.db.doSomething();
+- }
+- };
- MyClass = __decorate([
- someDecorator,
- __metadata("design:paramtypes", [typeof (_a = typeof db_1.default !== "undefined" && db_1.default.db) === "function" ? _a : Object])
- ], MyClass);
- return MyClass;
--}());
+-})();
++@someDecorator
++class MyClass {
++ db; //error
++ constructor(db) {
++ this.db = db;
++ this.db.doSomething();
++ }
+}
exports.MyClass = MyClass;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision8.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision8.js.diff
index 102cceb637..44fcb18c71 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision8.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorMetadataWithImportDeclarationNameCollision8.js.diff
@@ -1,21 +1,6 @@
--- old.decoratorMetadataWithImportDeclarationNameCollision8.js
+++ new.decoratorMetadataWithImportDeclarationNameCollision8.js
-@@= skipped -26, +26 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.db = void 0;
--var db = /** @class */ (function () {
-- function db() {
-+class db {
-+ doSomething() {
- }
-- db.prototype.doSomething = function () {
-- };
-- return db;
--}());
-+}
- exports.db = db;
- //// [service.js]
+@@= skipped -35, +35 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyClass = void 0;
@@ -23,20 +8,25 @@
function someDecorator(target) {
return target;
}
--var MyClass = /** @class */ (function () {
-- function MyClass(db) {
-+@someDecorator
-+class MyClass {
-+ db;
-+ constructor(db) {
- this.db = db;
- this.db.doSomething();
- }
+-let MyClass = (() => {
+- let MyClass = class MyClass {
+- constructor(db) {
+- this.db = db;
+- this.db.doSomething();
+- }
+- };
- MyClass = __decorate([
- someDecorator,
- __metadata("design:paramtypes", [database.db])
- ], MyClass);
- return MyClass;
--}());
+-})();
++@someDecorator
++class MyClass {
++ db;
++ constructor(db) {
++ this.db = db;
++ this.db.doSomething();
++ }
+}
exports.MyClass = MyClass;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorReferenceOnOtherProperty.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorReferenceOnOtherProperty.js.diff
index bf1d3ee577..9831574364 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorReferenceOnOtherProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorReferenceOnOtherProperty.js.diff
@@ -1,16 +1,6 @@
--- old.decoratorReferenceOnOtherProperty.js
+++ new.decoratorReferenceOnOtherProperty.js
-@@= skipped -26, +26 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Yoha = void 0;
--var Yoha = /** @class */ (function () {
-- function Yoha() {
-- }
-- return Yoha;
--}());
-+class Yoha {
-+}
+@@= skipped -31, +31 lines =@@
exports.Yoha = Yoha;
//// [index.js]
"use strict";
@@ -28,19 +18,11 @@
-};
Object.defineProperty(exports, "__esModule", { value: true });
-var yoha_1 = require("./yoha");
--function foo() {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
+ function foo(...args) { }
+-let Bar = (() => {
+- class Bar {
+- yoha(yoha, bar) { }
- }
-+function foo(...args) { }
-+class Bar {
-+ yoha(yoha, bar) { }
- }
--var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- Bar.prototype.yoha = function (yoha, bar) { };
- __decorate([
- __param(0, foo),
- __metadata("design:type", Function),
@@ -48,7 +30,10 @@
- __metadata("design:returntype", void 0)
- ], Bar.prototype, "yoha", null);
- return Bar;
--}());
+-})();
++class Bar {
++ yoha(yoha, bar) { }
++}
//// [index2.js]
"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
@@ -65,24 +50,11 @@
-};
Object.defineProperty(exports, "__esModule", { value: true });
-var yoha_1 = require("./yoha");
--function foo() {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
+ function foo(...args) { }
+-let Bar = (() => {
+- class Bar {
+- yoha(yoha, ...bar) { }
- }
-+function foo(...args) { }
-+class Bar {
-+ yoha(yoha, ...bar) { }
- }
--var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- Bar.prototype.yoha = function (yoha) {
-- var bar = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- bar[_i - 1] = arguments[_i];
-- }
-- };
- __decorate([
- __param(0, foo),
- __metadata("design:type", Function),
@@ -90,4 +62,7 @@
- __metadata("design:returntype", void 0)
- ], Bar.prototype, "yoha", null);
- return Bar;
--}());
\ No newline at end of file
+-})();
++class Bar {
++ yoha(yoha, ...bar) { }
++}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorReferences.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorReferences.js.diff
index 32a28124c0..97bd982473 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorReferences.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorReferences.js.diff
@@ -13,20 +13,20 @@
-var __param = (this && this.__param) || function (paramIndex, decorator) {
- return function (target, key) { decorator(target, key, paramIndex); }
-};
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.method = function (x, y) { }; // <-- decorator y should be resolved at the class declaration, not the parameter.
+-let C = (() => {
+- let C = class C {
+- method(x, y) { } // <-- decorator y should be resolved at the class declaration, not the parameter.
+- };
- __decorate([
- y(null) // <-- y should resolve to the function declaration, not the parameter; T should resolve to the type parameter of the class
- ,
- __param(0, y)
- ], C.prototype, "method", null);
- C = __decorate([
-- y(1, function () { return C; }) // <-- T should be resolved to the type alias, not the type parameter of the class; C should resolve to the class
+- y(1, () => C) // <-- T should be resolved to the type alias, not the type parameter of the class; C should resolve to the class
- ], C);
- return C;
--}());
+-})();
+@y(1, () => C) // <-- T should be resolved to the type alias, not the type parameter of the class; C should resolve to the class
+class C {
+ @y(null) // <-- y should resolve to the function declaration, not the parameter; T should resolve to the type parameter of the class
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorWithNegativeLiteralTypeNoCrash.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorWithNegativeLiteralTypeNoCrash.js.diff
index f86f309a59..3901d9ac35 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorWithNegativeLiteralTypeNoCrash.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorWithNegativeLiteralTypeNoCrash.js.diff
@@ -13,16 +13,18 @@
-var __metadata = (this && this.__metadata) || function (k, v) {
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
--var A = /** @class */ (function () {
-- function A() {
-- this.field1 = -1;
+-let A = (() => {
+- class A {
+- constructor() {
+- this.field1 = -1;
+- }
- }
- __decorate([
- decorator,
- __metadata("design:type", Number)
- ], A.prototype, "field1", void 0);
- return A;
--}());
+-})();
+class A {
+ @decorator
+ field1 = -1;
diff --git a/testdata/baselines/reference/submodule/compiler/decoratorWithUnderscoreMethod.js.diff b/testdata/baselines/reference/submodule/compiler/decoratorWithUnderscoreMethod.js.diff
index c8279995b1..e0bece90d5 100644
--- a/testdata/baselines/reference/submodule/compiler/decoratorWithUnderscoreMethod.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/decoratorWithUnderscoreMethod.js.diff
@@ -4,19 +4,19 @@
//propKey has three underscores as prefix, but the method has only two underscores
};
}
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.__foo = function (bar) {
+-let A = (() => {
+- class A {
+- __foo(bar) {
+- // do something with bar
+- }
+class A {
+ @dec()
+ __foo(bar) {
- // do something with bar
-- };
++ // do something with bar
+ }
- __decorate([
- dec()
- ], A.prototype, "__foo", null);
- return A;
--}());
-+ }
+-})();
+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/deepComparisons.js.diff b/testdata/baselines/reference/submodule/compiler/deepComparisons.js.diff
deleted file mode 100644
index 15459dd209..0000000000
--- a/testdata/baselines/reference/submodule/compiler/deepComparisons.js.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- old.deepComparisons.js
-+++ new.deepComparisons.js
-@@= skipped -41, +41 lines =@@
-
- //// [deepComparisons.js]
- function f1() {
-- var v1 = 0; // Error
-- var v2 = 0; // Error
-- var v3 = 0; // No error
-+ let v1 = 0; // Error
-+ let v2 = 0; // Error
-+ let v3 = 0; // No error
- }
- function f2() {
-- var x = 0; // Error, excessive stack depth
-+ let x = 0; // Error, excessive stack depth
- }
- function f3() {
-- var x = 0; // No error!
-+ let x = 0; // No error!
- }
- function g() {
- return f();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/deepExcessPropertyCheckingWhenTargetIsIntersection.js.diff b/testdata/baselines/reference/submodule/compiler/deepExcessPropertyCheckingWhenTargetIsIntersection.js.diff
deleted file mode 100644
index 9ba172c503..0000000000
--- a/testdata/baselines/reference/submodule/compiler/deepExcessPropertyCheckingWhenTargetIsIntersection.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.deepExcessPropertyCheckingWhenTargetIsIntersection.js
-+++ new.deepExcessPropertyCheckingWhenTargetIsIntersection.js
-@@= skipped -30, +30 lines =@@
-
-
- //// [deepExcessPropertyCheckingWhenTargetIsIntersection.js]
--var TestComponent = function (props) {
-+const TestComponent = (props) => {
- return null;
- };
- TestComponent({ icon: { props: { INVALID_PROP_NAME: 'share', ariaLabel: 'test label' } } });
--var TestComponent2 = function (props) {
-+const TestComponent2 = (props) => {
- return null;
- };
- TestComponent2({ icon: { props: { INVALID_PROP_NAME: 'share', ariaLabel: 'test label' } } });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/deepKeysIndexing.js.diff b/testdata/baselines/reference/submodule/compiler/deepKeysIndexing.js.diff
deleted file mode 100644
index 72f82d0659..0000000000
--- a/testdata/baselines/reference/submodule/compiler/deepKeysIndexing.js.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- old.deepKeysIndexing.js
-+++ new.deepKeysIndexing.js
-@@= skipped -58, +58 lines =@@
-
-
- //// [deepKeysIndexing.js]
--var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- Bar.prototype.broken = function (k1, k2, value) { };
-- Bar.prototype.working = function (k1, k2, value) { };
-- Bar.prototype.workaround = function (k1, k2, value) { };
-- return Bar;
--}());
--var bar = new Bar();
-+class Bar {
-+ broken(k1, k2, value) { }
-+ working(k1, k2, value) { }
-+ workaround(k1, k2, value) { }
-+}
-+const bar = new Bar();
- // all 3 of the below should error on passing `true` for `"1"`
- bar.broken("a", "1", true); // was broken in the past - with 2nd argument incorrectly of type "1" | "2" | "3".
- bar.working("a", "1", true); // ok - true is not allowed
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/deeplyNestedAssignabilityErrorsCombined.js.diff b/testdata/baselines/reference/submodule/compiler/deeplyNestedAssignabilityErrorsCombined.js.diff
index e1d936a5c1..8cb0b7c695 100644
--- a/testdata/baselines/reference/submodule/compiler/deeplyNestedAssignabilityErrorsCombined.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/deeplyNestedAssignabilityErrorsCombined.js.diff
@@ -1,34 +1,19 @@
--- old.deeplyNestedAssignabilityErrorsCombined.js
+++ new.deeplyNestedAssignabilityErrorsCombined.js
-@@= skipped -17, +17 lines =@@
- x2 = y2;
-
- //// [deeplyNestedAssignabilityErrorsCombined.js]
--var x = { a: { b: { c: { d: { e: { f: function () { return { g: "hello" }; } } } } } } };
--var y = { a: { b: { c: { d: { e: { f: function () { return { g: 12345 }; } } } } } } };
-+let x = { a: { b: { c: { d: { e: { f() { return { g: "hello" }; } } } } } } };
-+let y = { a: { b: { c: { d: { e: { f() { return { g: 12345 }; } } } } } } };
+@@= skipped -21, +21 lines =@@
+ let y = { a: { b: { c: { d: { e: { f() { return { g: 12345 }; } } } } } } };
x = y;
--var Ctor1 = /** @class */ (function () {
-- function Ctor1() {
+ class Ctor1 {
+- constructor() {
- this.g = "ok";
- }
-- return Ctor1;
--}());
--var Ctor2 = /** @class */ (function () {
-- function Ctor2() {
++ g = "ok";
+ }
+ class Ctor2 {
+- constructor() {
- this.g = 12;
- }
-- return Ctor2;
--}());
--var x2 = { a: { b: { c: { d: { e: { f: Ctor1 } } } } } };
--var y2 = { a: { b: { c: { d: { e: { f: Ctor2 } } } } } };
-+class Ctor1 {
-+ g = "ok";
-+}
-+class Ctor2 {
+ g = 12;
-+}
-+let x2 = { a: { b: { c: { d: { e: { f: Ctor1 } } } } } };
-+let y2 = { a: { b: { c: { d: { e: { f: Ctor2 } } } } } };
- x2 = y2;
\ No newline at end of file
+ }
+ let x2 = { a: { b: { c: { d: { e: { f: Ctor1 } } } } } };
+ let y2 = { a: { b: { c: { d: { e: { f: Ctor2 } } } } } };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/deeplyNestedAssignabilityIssue.js.diff b/testdata/baselines/reference/submodule/compiler/deeplyNestedAssignabilityIssue.js.diff
deleted file mode 100644
index 448ad23a35..0000000000
--- a/testdata/baselines/reference/submodule/compiler/deeplyNestedAssignabilityIssue.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.deeplyNestedAssignabilityIssue.js
-+++ new.deeplyNestedAssignabilityIssue.js
-@@= skipped -32, +32 lines =@@
-
-
- //// [deeplyNestedAssignabilityIssue.js]
--var x = {
-+const x = {
- something: {
- another: {
- more: {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/deeplyNestedCheck.js.diff b/testdata/baselines/reference/submodule/compiler/deeplyNestedCheck.js.diff
index d65ae923e2..28297b816c 100644
--- a/testdata/baselines/reference/submodule/compiler/deeplyNestedCheck.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/deeplyNestedCheck.js.diff
@@ -5,11 +5,9 @@
//// [deeplyNestedCheck.js]
-// Repro from #14794
--var x = {
-+const x = {
+ const x = {
b: [
{
- c: {
@@= skipped -13, +12 lines =@@
{
g: {
@@ -20,12 +18,4 @@
+ {},
],
},
- },
-@@= skipped -16, +14 lines =@@
- ],
- };
- // Repro from 34619
--var a1 = [[[[[42]]]]];
--var a2 = [[[[[[[[[[42]]]]]]]]]];
-+const a1 = [[[[[42]]]]];
-+const a2 = [[[[[[[[[[42]]]]]]]]]];
\ No newline at end of file
+ },
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/deeplyNestedConstraints.js.diff b/testdata/baselines/reference/submodule/compiler/deeplyNestedConstraints.js.diff
index c7c9a5237b..cb7a652f43 100644
--- a/testdata/baselines/reference/submodule/compiler/deeplyNestedConstraints.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/deeplyNestedConstraints.js.diff
@@ -6,18 +6,10 @@
//// [deeplyNestedConstraints.js]
-"use strict";
-// Repro from #41931
--var BufferPool = /** @class */ (function () {
-- function BufferPool() {
-- }
-- BufferPool.prototype.setArray2 = function (_, array) {
-+class BufferPool {
-+ setArray2(_, array) {
+ class BufferPool {
+ setArray2(_, array) {
array.length; // Requires exploration of >5 levels of constraints
-- };
-- return BufferPool;
--}());
-+ }
-+}
+@@= skipped -10, +8 lines =@@
//// [deeplyNestedConstraints.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/defaultArgsInFunctionExpressions.js.diff b/testdata/baselines/reference/submodule/compiler/defaultArgsInFunctionExpressions.js.diff
deleted file mode 100644
index 6a893a18d1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/defaultArgsInFunctionExpressions.js.diff
+++ /dev/null
@@ -1,52 +0,0 @@
---- old.defaultArgsInFunctionExpressions.js
-+++ new.defaultArgsInFunctionExpressions.js
-@@= skipped -33, +33 lines =@@
- f7().x;
-
- //// [defaultArgsInFunctionExpressions.js]
--var f = function (a) {
-- if (a === void 0) { a = 3; }
-- return a;
--}; // Type should be (a?: number) => number
-+var f = function (a = 3) { return a; }; // Type should be (a?: number) => number
- var n = f(4);
- n = f();
- var s = f('');
- s = f();
- // Type check the default argument with the type annotation
--var f2 = function (a) {
-- if (a === void 0) { a = 3; }
-- return a;
--}; // Should error, but be of type (a: string) => string;
-+var f2 = function (a = 3) { return a; }; // Should error, but be of type (a: string) => string;
- s = f2('');
- s = f2();
- n = f2();
- // Contextually type the default arg with the type annotation
--var f3 = function (a) {
-- if (a === void 0) { a = function (s) { return s; }; }
--};
-+var f3 = function (a = (s) => s) { };
- // Type check using the function's contextual type
--var f4 = function (a) {
-- if (a === void 0) { a = ""; }
--};
-+var f4 = function (a = "") { };
- // Contextually type the default arg using the function's contextual type
--var f5 = function (a) {
-- if (a === void 0) { a = function (s) { return s; }; }
--};
-+var f5 = function (a = s => s) { };
- var U;
- (function (U) {
- })(U || (U = {}));
--var f6 = function (t) {
-- if (t === void 0) { t = T; }
--};
--var f7 = function (t) {
-- if (t === void 0) { t = U; }
-- return t;
--};
-+var f6 = (t = T) => { };
-+var f7 = (t = U) => { return t; };
- f7().x;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/defaultArgsInOverloads.js.diff b/testdata/baselines/reference/submodule/compiler/defaultArgsInOverloads.js.diff
deleted file mode 100644
index 5fd7581985..0000000000
--- a/testdata/baselines/reference/submodule/compiler/defaultArgsInOverloads.js.diff
+++ /dev/null
@@ -1,25 +0,0 @@
---- old.defaultArgsInOverloads.js
-+++ new.defaultArgsInOverloads.js
-@@= skipped -21, +21 lines =@@
- var f: (a = 3) => number;
-
- //// [defaultArgsInOverloads.js]
--function fun(a) {
-- if (a === void 0) { a = null; }
-+function fun(a = null) { }
-+class C {
-+ fun(a = null) { }
-+ static fun(a = null) { }
- }
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.fun = function (a) {
-- if (a === void 0) { a = null; }
-- };
-- C.fun = function (a) {
-- if (a === void 0) { a = null; }
-- };
-- return C;
--}());
- var f;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/defaultDeclarationEmitDefaultImport.js.diff b/testdata/baselines/reference/submodule/compiler/defaultDeclarationEmitDefaultImport.js.diff
index bfe0ea17a8..c452d600c7 100644
--- a/testdata/baselines/reference/submodule/compiler/defaultDeclarationEmitDefaultImport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/defaultDeclarationEmitDefaultImport.js.diff
@@ -1,18 +1,6 @@
--- old.defaultDeclarationEmitDefaultImport.js
+++ new.defaultDeclarationEmitDefaultImport.js
-@@= skipped -12, +12 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.getSomething = getSomething;
- function getSomething() { return null; }
--var Something = /** @class */ (function () {
-- function Something() {
-- }
-- return Something;
--}());
-+class Something {
-+}
- exports.default = Something;
- //// [main.js]
+@@= skipped -19, +19 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.instance = void 0;
diff --git a/testdata/baselines/reference/submodule/compiler/defaultDeclarationEmitNamedCorrectly.js.diff b/testdata/baselines/reference/submodule/compiler/defaultDeclarationEmitNamedCorrectly.js.diff
index d650b600fd..d74f9e7420 100644
--- a/testdata/baselines/reference/submodule/compiler/defaultDeclarationEmitNamedCorrectly.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/defaultDeclarationEmitNamedCorrectly.js.diff
@@ -4,12 +4,12 @@
function make(x) {
return null;
}
--var MyComponent = /** @class */ (function () {
-- function MyComponent() {
+-let MyComponent = (() => {
+- class MyComponent {
- }
- MyComponent.create = make(MyComponent);
- return MyComponent;
--}());
+-})();
+class MyComponent {
+ props;
+ static create = make(MyComponent);
diff --git a/testdata/baselines/reference/submodule/compiler/defaultDeclarationEmitShadowedNamedCorrectly.js.diff b/testdata/baselines/reference/submodule/compiler/defaultDeclarationEmitShadowedNamedCorrectly.js.diff
index 25de526660..f5b9a35379 100644
--- a/testdata/baselines/reference/submodule/compiler/defaultDeclarationEmitShadowedNamedCorrectly.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/defaultDeclarationEmitShadowedNamedCorrectly.js.diff
@@ -9,23 +9,12 @@
function make(x) {
return null;
}
--var MyComponent = /** @class */ (function () {
-- function MyComponent() {
-- }
-- return MyComponent;
--}());
-+class MyComponent {
+ class MyComponent {
+ props;
-+}
+ }
exports.default = MyComponent;
var Something;
- (function (Something) {
-- var MyComponent = 2; // Shadow declaration, so symbol is only usable via the self-import
-+ let MyComponent = 2; // Shadow declaration, so symbol is only usable via the self-import
- Something.create = make(me.default);
- })(Something || (exports.Something = Something = {}));
-
-@@= skipped -24, +22 lines =@@
+@@= skipped -21, +22 lines =@@
t: T;
}
export declare function make(x: {
diff --git a/testdata/baselines/reference/submodule/compiler/defaultIndexProps1.js.diff b/testdata/baselines/reference/submodule/compiler/defaultIndexProps1.js.diff
index f38a59105a..c1018cd606 100644
--- a/testdata/baselines/reference/submodule/compiler/defaultIndexProps1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/defaultIndexProps1.js.diff
@@ -1,18 +1,13 @@
--- old.defaultIndexProps1.js
+++ new.defaultIndexProps1.js
-@@= skipped -14, +14 lines =@@
-
+@@= skipped -15, +15 lines =@@
//// [defaultIndexProps1.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
+ class Foo {
+- constructor() {
- this.v = "Yo";
- }
-- return Foo;
--}());
-+class Foo {
+ v = "Yo";
-+}
+ }
var f = new Foo();
- var q = f["v"];
- var o = { v: "Yo2" };
\ No newline at end of file
+ var q = f["v"];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/defaultIndexProps2.js.diff b/testdata/baselines/reference/submodule/compiler/defaultIndexProps2.js.diff
index 2f78f4ad68..d75d3b004b 100644
--- a/testdata/baselines/reference/submodule/compiler/defaultIndexProps2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/defaultIndexProps2.js.diff
@@ -1,18 +1,13 @@
--- old.defaultIndexProps2.js
+++ new.defaultIndexProps2.js
-@@= skipped -17, +17 lines =@@
-
+@@= skipped -18, +18 lines =@@
//// [defaultIndexProps2.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
+ class Foo {
+- constructor() {
- this.v = "Yo";
- }
-- return Foo;
--}());
-+class Foo {
+ v = "Yo";
-+}
+ }
var f = new Foo();
- // WScript.Echo(f[0]);
- var o = { v: "Yo2" };
\ No newline at end of file
+ // WScript.Echo(f[0]);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/defaultKeywordWithoutExport1.js.diff b/testdata/baselines/reference/submodule/compiler/defaultKeywordWithoutExport1.js.diff
index cc0cecf302..6f2ceb0597 100644
--- a/testdata/baselines/reference/submodule/compiler/defaultKeywordWithoutExport1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/defaultKeywordWithoutExport1.js.diff
@@ -10,14 +10,14 @@
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
- return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
--var default_1 = /** @class */ (function () {
-- function default_1() {
-- }
+-let default_1 = (() => {
+- let default_1 = class {
+- };
- default_1 = __decorate([
- decorator
- ], default_1);
- return default_1;
--}());
+-})();
+@decorator
+default class {
+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/defaultOfAnyInStrictNullChecks.js.diff b/testdata/baselines/reference/submodule/compiler/defaultOfAnyInStrictNullChecks.js.diff
deleted file mode 100644
index 74c9391fc4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/defaultOfAnyInStrictNullChecks.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.defaultOfAnyInStrictNullChecks.js
-+++ new.defaultOfAnyInStrictNullChecks.js
-@@= skipped -17, +17 lines =@@
- try {
- }
- catch (e) {
-- var s = e.message;
-+ let s = e.message;
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/defaultParameterAddsUndefinedWithStrictNullChecks.js.diff b/testdata/baselines/reference/submodule/compiler/defaultParameterAddsUndefinedWithStrictNullChecks.js.diff
index 0f7cab3913..a35fee7d8b 100644
--- a/testdata/baselines/reference/submodule/compiler/defaultParameterAddsUndefinedWithStrictNullChecks.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/defaultParameterAddsUndefinedWithStrictNullChecks.js.diff
@@ -1,68 +1,6 @@
--- old.defaultParameterAddsUndefinedWithStrictNullChecks.js
+++ new.defaultParameterAddsUndefinedWithStrictNullChecks.js
-@@= skipped -61, +61 lines =@@
-
-
- //// [defaultParameterAddsUndefinedWithStrictNullChecks.js]
--function f(addUndefined1, addUndefined2) {
-- if (addUndefined1 === void 0) { addUndefined1 = "J"; }
-+function f(addUndefined1 = "J", addUndefined2) {
- return addUndefined1.length + (addUndefined2 || 0);
- }
--function g(addUndefined, addDefined) {
-- if (addUndefined === void 0) { addUndefined = "J"; }
-+function g(addUndefined = "J", addDefined) {
- return addUndefined.length + addDefined;
- }
--var total = f() + f('a', 1) + f('b') + f(undefined, 2);
-+let total = f() + f('a', 1) + f('b') + f(undefined, 2);
- total = g('c', 3) + g(undefined, 4);
--function foo1(x, b) {
-- if (x === void 0) { x = "string"; }
-+function foo1(x = "string", b) {
- x.length;
- }
--function foo2(x, b) {
-- if (x === void 0) { x = "string"; }
-+function foo2(x = "string", b) {
- x.length; // ok, should be string
- }
--function foo3(x, b) {
-- if (x === void 0) { x = "string"; }
-+function foo3(x = "string", b) {
- x.length; // ok, should be string
- x = undefined;
- }
--function foo4(x, b) {
-- if (x === void 0) { x = undefined; }
-+function foo4(x = undefined, b) {
- x; // should be string | undefined
- x = undefined;
- }
--function allowsNull(val) {
-- if (val === void 0) { val = ""; }
-+function allowsNull(val = "") {
- val = null;
- val = 'string and null are both ok';
- }
-@@= skipped -39, +32 lines =@@
- foo2(undefined, 1);
- foo3(undefined, 1);
- foo4(undefined, 1);
--function removeUndefinedButNotFalse(x) {
-- if (x === void 0) { x = true; }
-+function removeUndefinedButNotFalse(x = true) {
- if (x === false) {
- return x;
- }
- }
--function removeNothing(y) {
-- if (y === void 0) { y = cond ? true : undefined; }
-+function removeNothing(y = cond ? true : undefined) {
- if (y !== undefined) {
- if (y === false) {
- return y;
-@@= skipped -19, +17 lines =@@
+@@= skipped -110, +110 lines =@@
//// [defaultParameterAddsUndefinedWithStrictNullChecks.d.ts]
declare function f(addUndefined1?: string, addUndefined2?: number): number;
diff --git a/testdata/baselines/reference/submodule/compiler/defaultParameterTrailingComments.js.diff b/testdata/baselines/reference/submodule/compiler/defaultParameterTrailingComments.js.diff
deleted file mode 100644
index 99bac7772b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/defaultParameterTrailingComments.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.defaultParameterTrailingComments.js
-+++ new.defaultParameterTrailingComments.js
-@@= skipped -7, +7 lines =@@
- function foo(defaultParam = 10 /*emit only once*/) {}
-
- //// [defaultParameterTrailingComments.js]
--var C = /** @class */ (function () {
-- function C(defaultParam /* Emit only once*/) {
-- if (defaultParam === void 0) { defaultParam = false; }
-- }
-- return C;
--}());
--function foo(defaultParam /*emit only once*/) {
-- if (defaultParam === void 0) { defaultParam = 10; }
-+class C {
-+ constructor(defaultParam = false /* Emit only once*/) { }
- }
-+function foo(defaultParam = 10 /*emit only once*/) { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/defaultValueInConstructorOverload1.js.diff b/testdata/baselines/reference/submodule/compiler/defaultValueInConstructorOverload1.js.diff
deleted file mode 100644
index 19c1b8ceae..0000000000
--- a/testdata/baselines/reference/submodule/compiler/defaultValueInConstructorOverload1.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.defaultValueInConstructorOverload1.js
-+++ new.defaultValueInConstructorOverload1.js
-@@= skipped -7, +7 lines =@@
- }
-
- //// [defaultValueInConstructorOverload1.js]
--var C = /** @class */ (function () {
-- function C(x) {
-- if (x === void 0) { x = ''; }
-+class C {
-+ constructor(x = '') {
- }
-- return C;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/defaultValueInFunctionOverload1.js.diff b/testdata/baselines/reference/submodule/compiler/defaultValueInFunctionOverload1.js.diff
deleted file mode 100644
index 7459931564..0000000000
--- a/testdata/baselines/reference/submodule/compiler/defaultValueInFunctionOverload1.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.defaultValueInFunctionOverload1.js
-+++ new.defaultValueInFunctionOverload1.js
-@@= skipped -4, +4 lines =@@
- function foo(x = '') { }
-
- //// [defaultValueInFunctionOverload1.js]
--function foo(x) {
-- if (x === void 0) { x = ''; }
--}
-+function foo(x = '') { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/definiteAssignmentOfDestructuredVariable.js.diff b/testdata/baselines/reference/submodule/compiler/definiteAssignmentOfDestructuredVariable.js.diff
index d45b610c23..cc0f7cc5f7 100644
--- a/testdata/baselines/reference/submodule/compiler/definiteAssignmentOfDestructuredVariable.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/definiteAssignmentOfDestructuredVariable.js.diff
@@ -1,22 +1,10 @@
--- old.definiteAssignmentOfDestructuredVariable.js
+++ new.definiteAssignmentOfDestructuredVariable.js
-@@= skipped -17, +17 lines =@@
- }
+@@= skipped -18, +18 lines =@@
//// [definiteAssignmentOfDestructuredVariable.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.method = function () {
-- var _a = this.foo, a = _a.a, b = _a.b;
-+class C {
+ class C {
+ foo;
-+ method() {
-+ let { a, b } = this.foo;
- !(a && b);
- a;
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
+ method() {
+ let { a, b } = this.foo;
+ !(a && b);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/deleteReadonlyInStrictNullChecks.js.diff b/testdata/baselines/reference/submodule/compiler/deleteReadonlyInStrictNullChecks.js.diff
deleted file mode 100644
index d666c47b03..0000000000
--- a/testdata/baselines/reference/submodule/compiler/deleteReadonlyInStrictNullChecks.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.deleteReadonlyInStrictNullChecks.js
-+++ new.deleteReadonlyInStrictNullChecks.js
-@@= skipped -6, +6 lines =@@
-
-
- //// [deleteReadonlyInStrictNullChecks.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- delete Foo.name;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/dependencyViaImportAlias.js.diff b/testdata/baselines/reference/submodule/compiler/dependencyViaImportAlias.js.diff
index aa72ddf243..c13807f4b9 100644
--- a/testdata/baselines/reference/submodule/compiler/dependencyViaImportAlias.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/dependencyViaImportAlias.js.diff
@@ -9,11 +9,8 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
-- var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
-- }());
+- class A {
+- }
- exports.A = A;
-});
//// [B.js]
diff --git a/testdata/baselines/reference/submodule/compiler/derivedClassConstructorWithExplicitReturns01.js.diff b/testdata/baselines/reference/submodule/compiler/derivedClassConstructorWithExplicitReturns01.js.diff
index 3be6e3e24e..6773e3172c 100644
--- a/testdata/baselines/reference/submodule/compiler/derivedClassConstructorWithExplicitReturns01.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/derivedClassConstructorWithExplicitReturns01.js.diff
@@ -1,67 +1,24 @@
--- old.derivedClassConstructorWithExplicitReturns01.js
+++ new.derivedClassConstructorWithExplicitReturns01.js
-@@= skipped -35, +35 lines =@@
- }
+@@= skipped -36, +36 lines =@@
//// [derivedClassConstructorWithExplicitReturns01.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C(value) {
-- this.cProp = 10;
-+class C {
+ class C {
+ cProp = 10;
-+ foo() { return "this never gets used."; }
-+ constructor(value) {
+ foo() { return "this never gets used."; }
+ constructor(value) {
+- this.cProp = 10;
return {
cProp: value,
-- foo: function () {
-+ foo() {
- return "well this looks kinda C-ish.";
- }
- };
+ foo() {
+@@= skipped -12, +12 lines =@@
}
-- C.prototype.foo = function () { return "this never gets used."; };
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D(a) {
-- if (a === void 0) { a = 100; }
-- var _this = _super.call(this, a) || this;
-- _this.dProp = function () { return _this; };
-+}
-+class D extends C {
+ }
+ class D extends C {
+ dProp = () => this;
-+ constructor(a = 100) {
-+ super(a);
+ constructor(a = 100) {
+ super(a);
+- this.dProp = () => this;
if (Math.random() < 0.5) {
"You win!";
- return {
- cProp: 1,
-- dProp: function () { return _this; },
-- foo: function () { return "You win!!!!!"; }
-+ dProp: () => this,
-+ foo() { return "You win!!!!!"; }
- };
- }
- else
- return null;
- }
-- return D;
--}(C));
-+}
- //# sourceMappingURL=derivedClassConstructorWithExplicitReturns01.js.map
\ No newline at end of file
+ return {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/derivedClassConstructorWithExplicitReturns01.js.map.diff b/testdata/baselines/reference/submodule/compiler/derivedClassConstructorWithExplicitReturns01.js.map.diff
index e1a4788d34..bc876ddc28 100644
--- a/testdata/baselines/reference/submodule/compiler/derivedClassConstructorWithExplicitReturns01.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/derivedClassConstructorWithExplicitReturns01.js.map.diff
@@ -2,7 +2,7 @@
+++ new.derivedClassConstructorWithExplicitReturns01.js.map
@@= skipped -0, +0 lines =@@
//// [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,dmFyIF9fZXh0ZW5kcyA9ICh0aGlzICYmIHRoaXMuX19leHRlbmRzKSB8fCAoZnVuY3Rpb24gKCkgew0KICAgIHZhciBleHRlbmRTdGF0aWNzID0gZnVuY3Rpb24gKGQsIG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BmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICAgICAgcmV0dXJuICJ3ZWxsIHRoaXMgbG9va3Mga2luZGEgQy1pc2guIjsNCiAgICAgICAgICAgIH0NCiAgICAgICAgfTsNCiAgICB9DQogICAgQy5wcm90b3R5cGUuZm9vID0gZnVuY3Rpb24gKCkgeyByZXR1cm4gInRoaXMgbmV2ZXIgZ2V0cyB1c2VkLiI7IH07DQogICAgcmV0dXJuIEM7DQp9KCkpOw0KdmFyIEQgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoX3N1cGVyKSB7DQogICAgX19leHRlbmRzKEQsIF9zdXBlcik7DQogICAgZnVuY3Rpb24gRChhKSB7DQogICAgICAgIGlmIChhID09PSB2b2lkIDApIHsgYSA9IDEwMDsgfQ0KICAgICAgICB2YXIgX3RoaXMgPSBfc3VwZXIuY2FsbCh0aGlzLCBhKSB8fCB0aGlzOw0KICAgICAgICBfdGhpcy5kUHJvcCA9IGZ1bmN0aW9uICgpIHsgcmV0dXJuIF90aGlzOyB9Ow0KICAgICAgICBpZiAoTWF0aC5yYW5kb20oKSA8IDAuNSkgew0KICAgICAgICAgICAgIllvdSB3aW4hIjsNCiAgICAgICAgICAgIHJldHVybiB7DQogICAgICAgICAgICAgICAgY1Byb3A6IDEsDQogICAgICAgICAgICAgICAgZFByb3A6IGZ1bmN0aW9uICgpIHsgcmV0dXJuIF90aGlzOyB9LA0KICAgICAgICAgICAgICAgIGZvbzogZnVuY3Rpb24gKCkgeyByZXR1cm4gIllvdSB3aW4hISEhISI7IH0NCiAgICAgICAgICAgIH07DQogICAgICAgIH0NCiAgICAgICAgZWxzZQ0KICAgICAgICAgICAgcmV0dXJuIG51bGw7DQogICAgfQ0KICAgIHJldHVybiBEOw0KfShDKSk7DQovLyMgc291cmNlTWFwcGluZ1VSTD1kZXJpdmVkQ2xhc3NDb25zdHJ1Y3RvcldpdGhFeHBsaWNpdFJldHVybnMwMS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLC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DQUFDLEdBaUJoQiJ9,Y2xhc3MgQyB7CiAgICBjUHJvcCA9IDEwOwoKICAgIGZvbygpIHsgcmV0dXJuICJ0aGlzIG5ldmVyIGdldHMgdXNlZC4iOyB9CgogICAgY29uc3RydWN0b3IodmFsdWU6IG51bWJlcikgewogICAgICAgIHJldHVybiB7CiAgICAgICAgICAgIGNQcm9wOiB2YWx1ZSwKICAgICAgICAgICAgZm9vKCkgewogICAgICAgICAgICAgICAgcmV0dXJuICJ3ZWxsIHRoaXMgbG9va3Mga2luZGEgQy1pc2guIjsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQoKY2xhc3MgRCBleHRlbmRzIEMgewogICAgZFByb3AgPSAoKSA9PiB0aGlzOwoKICAgIGNvbnN0cnVjdG9yKGEgPSAxMDApIHsKICAgICAgICBzdXBlcihhKTsKCiAgICAgICAgaWYgKE1hdGgucmFuZG9tKCkgPCAwLjUpIHsKICAgICAgICAgICAgIllvdSB3aW4hIgogICAgICAgICAgICByZXR1cm4gewogICAgICAgICAgICAgICAgY1Byb3A6IDEsCiAgICAgICAgICAgICAgICBkUHJvcDogKCkgPT4gdGhpcywKICAgICAgICAgICAgICAgIGZvbygpIHsgcmV0dXJuICJZb3Ugd2luISEhISEiIH0KICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgZWxzZQogICAgICAgICAgICByZXR1cm4gbnVsbDsKICAgIH0KfQ==
+-{"version":3,"file":"derivedClassConstructorWithExplicitReturns01.js","sourceRoot":"","sources":["derivedClassConstructorWithExplicitReturns01.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC;IAGH,GAAG,KAAK,OAAO,uBAAuB,CAAC,CAAC,CAAC;IAEzC,YAAY,KAAa;QAJzB,UAAK,GAAG,EAAE,CAAC;QAKP,OAAO;YACH,KAAK,EAAE,KAAK;YACZ,GAAG;gBACC,OAAO,8BAA8B,CAAC;YAC1C,CAAC;SACJ,CAAA;IACL,CAAC;CACJ;AAED,MAAM,CAAE,SAAQ,CAAC;IAGb,YAAY,CAAC,GAAG,GAAG;QACf,KAAK,CAAC,CAAC,CAAC,CAAC;QAHb,UAAK,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC;QAKf,IAAI,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,EAAE,CAAC;YACtB,UAAU,CAAA;YACV,OAAO;gBACH,KAAK,EAAE,CAAC;gBACR,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI;gBACjB,GAAG,KAAK,OAAO,cAAc,CAAA,CAAC,CAAC;aAClC,CAAC;QACN,CAAC;;YAEG,OAAO,IAAI,CAAC;IACpB,CAAC;CACJ"}
+-//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgQyB7DQogICAgZm9vKCkgeyByZXR1cm4gInRoaXMgbmV2ZXIgZ2V0cyB1c2VkLiI7IH0NCiAgICBjb25zdHJ1Y3Rvcih2YWx1ZSkgew0KICAgICAgICB0aGlzLmNQcm9wID0gMTA7DQogICAgICAgIHJldHVybiB7DQogICAgICAgICAgICBjUHJvcDogdmFsdWUsDQogICAgICAgICAgICBmb28oKSB7DQogICAgICAgICAgICAgICAgcmV0dXJuICJ3ZWxsIHRoaXMgbG9va3Mga2luZGEgQy1pc2guIjsNCiAgICAgICAgICAgIH0NCiAgICAgICAgfTsNCiAgICB9DQp9DQpjbGFzcyBEIGV4dGVuZHMgQyB7DQogICAgY29uc3RydWN0b3IoYSA9IDEwMCkgew0KICAgICAgICBzdXBlcihhKTsNCiAgICAgICAgdGhpcy5kUHJvcCA9ICgpID0+IHRoaXM7DQogICAgICAgIGlmIChNYXRoLnJhbmRvbSgpIDwgMC41KSB7DQogICAgICAgICAgICAiWW91IHdpbiEiOw0KICAgICAgICAgICAgcmV0dXJuIHsNCiAgICAgICAgICAgICAgICBjUHJvcDogMSwNCiAgICAgICAgICAgICAgICBkUHJvcDogKCkgPT4gdGhpcywNCiAgICAgICAgICAgICAgICBmb28oKSB7IHJldHVybiAiWW91IHdpbiEhISEhIjsgfQ0K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0FBQyxDQUFDO2FBQ2xDLENBQUM7UUFDTixDQUFDOztZQUVHLE9BQU8sSUFBSSxDQUFDO0lBQ3BCLENBQUM7Q0FDSiJ9,Y2xhc3MgQyB7CiAgICBjUHJvcCA9IDEwOwoKICAgIGZvbygpIHsgcmV0dXJuICJ0aGlzIG5ldmVyIGdldHMgdXNlZC4iOyB9CgogICAgY29uc3RydWN0b3IodmFsdWU6IG51bWJlcikgewogICAgICAgIHJldHVybiB7CiAgICAgICAgICAgIGNQcm9wOiB2YWx1ZSwKICAgICAgICAgICAgZm9vKCkgewogICAgICAgICAgICAgICAgcmV0dXJuICJ3ZWxsIHRoaXMgbG9va3Mga2luZGEgQy1pc2guIjsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQoKY2xhc3MgRCBleHRlbmRzIEMgewogICAgZFByb3AgPSAoKSA9PiB0aGlzOwoKICAgIGNvbnN0cnVjdG9yKGEgPSAxMDApIHsKICAgICAgICBzdXBlcihhKTsKCiAgICAgICAgaWYgKE1hdGgucmFuZG9tKCkgPCAwLjUpIHsKICAgICAgICAgICAgIllvdSB3aW4hIgogICAgICAgICAgICByZXR1cm4gewogICAgICAgICAgICAgICAgY1Byb3A6IDEsCiAgICAgICAgICAgICAgICBkUHJvcDogKCkgPT4gdGhpcywKICAgICAgICAgICAgICAgIGZvbygpIHsgcmV0dXJuICJZb3Ugd2luISEhISEiIH0KICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgZWxzZQogICAgICAgICAgICByZXR1cm4gbnVsbDsKICAgIH0KfQ==
+{"version":3,"file":"derivedClassConstructorWithExplicitReturns01.js","sourceRoot":"","sources":["derivedClassConstructorWithExplicitReturns01.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC;IACH,KAAK,GAAG,EAAE,CAAC;IAEX,GAAG,GAAG,EAAE,OAAO,uBAAuB,CAAC,CAAA,CAAE;IAEzC,YAAY,KAAa,EAAE;QACvB,OAAO;YACH,KAAK,EAAE,KAAK;YACZ,GAAG,GAAG;gBACF,OAAO,8BAA8B,CAAC;YAAA,CACzC;SACJ,CAAA;IAAA,CACJ;CACJ;AAED,MAAM,CAAE,SAAQ,CAAC;IACb,KAAK,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC;IAEnB,YAAY,CAAC,GAAG,GAAG,EAAE;QACjB,KAAK,CAAC,CAAC,CAAC,CAAC;QAET,IAAI,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,EAAE,CAAC;YACtB,UAAU,CAAA;YACV,OAAO;gBACH,KAAK,EAAE,CAAC;gBACR,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI;gBACjB,GAAG,GAAG,EAAE,OAAO,cAAc,CAAA,CAAA,CAAE;aAClC,CAAC;QACN,CAAC;;YAEG,OAAO,IAAI,CAAC;IAAA,CACnB;CACJ"}
+//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgQyB7DQogICAgY1Byb3AgPSAxMDsNCiAgICBmb28oKSB7IHJldHVybiAidGhpcyBuZXZlciBnZXRzIHVzZWQuIjsgfQ0KICAgIGNvbnN0cnVjdG9yKHZhbHVlKSB7DQogICAgICAgIHJldHVybiB7DQogICAgICAgICAgICBjUHJvcDogdmFsdWUsDQogICAgICAgICAgICBmb28oKSB7DQogICAgICAgICAgICAgICAgcmV0dXJuICJ3ZWxsIHRoaXMgbG9va3Mga2luZGEgQy1pc2guIjsNCiAgICAgICAgICAgIH0NCiAgICAgICAgfTsNCiAgICB9DQp9DQpjbGFzcyBEIGV4dGVuZHMgQyB7DQogICAgZFByb3AgPSAoKSA9PiB0aGlzOw0KICAgIGNvbnN0cnVjdG9yKGEgPSAxMDApIHsNCiAgICAgICAgc3VwZXIoYSk7DQogICAgICAgIGlmIChNYXRoLnJhbmRvbSgpIDwgMC41KSB7DQogICAgICAgICAgICAiWW91IHdpbiEiOw0KICAgICAgICAgICAgcmV0dXJuIHsNCiAgICAgICAgICAgICAgICBjUHJvcDogMSwNCiAgICAgICAgICAgICAgICBkUHJvcDogK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LLEVBQUUsQ0FBQztnQkFDUixLQUFLLEVBQUUsR0FBRyxFQUFFLENBQUMsSUFBSTtnQkFDakIsR0FBRyxHQUFHLEVBQUUsT0FBTyxjQUFjLENBQUEsQ0FBQSxDQUFFO2FBQ2xDLENBQUM7UUFDTixDQUFDOztZQUVHLE9BQU8sSUFBSSxDQUFDO0lBQUEsQ0FDbkI7Q0FDSiJ9,Y2xhc3MgQyB7CiAgICBjUHJvcCA9IDEwOwoKICAgIGZvbygpIHsgcmV0dXJuICJ0aGlzIG5ldmVyIGdldHMgdXNlZC4iOyB9CgogICAgY29uc3RydWN0b3IodmFsdWU6IG51bWJlcikgewogICAgICAgIHJldHVybiB7CiAgICAgICAgICAgIGNQcm9wOiB2YWx1ZSwKICAgICAgICAgICAgZm9vKCkgewogICAgICAgICAgICAgICAgcmV0dXJuICJ3ZWxsIHRoaXMgbG9va3Mga2luZGEgQy1pc2guIjsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQoKY2xhc3MgRCBleHRlbmRzIEMgewogICAgZFByb3AgPSAoKSA9PiB0aGlzOwoKICAgIGNvbnN0cnVjdG9yKGEgPSAxMDApIHsKICAgICAgICBzdXBlcihhKTsKCiAgICAgICAgaWYgKE1hdGgucmFuZG9tKCkgPCAwLjUpIHsKICAgICAgICAgICAgIllvdSB3aW4hIgogICAgICAgICAgICByZXR1cm4gewogICAgICAgICAgICAgICAgY1Byb3A6IDEsCiAgICAgICAgICAgICAgICBkUHJvcDogKCkgPT4gdGhpcywKICAgICAgICAgICAgICAgIGZvbygpIHsgcmV0dXJuICJZb3Ugd2luISEhISEiIH0KICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgZWxzZQogICAgICAgICAgICByZXR1cm4gbnVsbDsKICAgIH0KfQ==
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/derivedClassConstructorWithExplicitReturns01.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/derivedClassConstructorWithExplicitReturns01.sourcemap.txt.diff
index faeed51d04..2ba14a1617 100644
--- a/testdata/baselines/reference/submodule/compiler/derivedClassConstructorWithExplicitReturns01.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/derivedClassConstructorWithExplicitReturns01.sourcemap.txt.diff
@@ -1,63 +1,18 @@
--- old.derivedClassConstructorWithExplicitReturns01.sourcemap.txt
+++ new.derivedClassConstructorWithExplicitReturns01.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:derivedClassConstructorWithExplicitReturns01.js
- sourceFile:derivedClassConstructorWithExplicitReturns01.ts
- -------------------------------------------------------------------
-->>>var __extends = (this && this.__extends) || (function () {
-->>> var extendStatics = function (d, b) {
-->>> extendStatics = Object.setPrototypeOf ||
-->>> ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-->>> function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-->>> return extendStatics(d, b);
-->>> };
-->>> return function (d, b) {
-->>> if (typeof b !== "function" && b !== null)
-->>> throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-->>> extendStatics(d, b);
-->>> function __() { this.constructor = d; }
-->>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-->>> };
-->>>})();
-->>>var C = /** @class */ (function () {
--1 >
--2 >^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--1 >Emitted(16, 1) Source(1, 1) + SourceIndex(0)
-----
-->>> function C(value) {
--1->^^^^
--2 > ^^^^^^^^^^^
--3 > ^^^^^
--4 > ^^^^^->
--1->class C {
-- > cProp = 10;
-- >
-- > foo() { return "this never gets used."; }
-- >
-- >
--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)
-----
-->>> this.cProp = 10;
--1->^^^^^^^^
--2 > ^^^^^^^^^^
--3 > ^^^
-+>>>class C {
-+1 >
-+2 >^^^^^^
-+3 > ^
+@@= skipped -11, +11 lines =@@
+ 1 >
+ 2 >^^^^^^
+ 3 > ^
+-4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+4 > ^^^^^^^^^->
-+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 >
+ 2 >class
+ 3 > C
+@@= skipped -8, +8 lines =@@
+ 2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0)
+ 3 >Emitted(1, 8) Source(1, 8) + SourceIndex(0)
+ ---
+>>> cProp = 10;
+1->^^^^
+2 > ^^^^^
@@ -77,9 +32,17 @@
+4 >Emitted(2, 15) Source(2, 15) + SourceIndex(0)
+5 >Emitted(2, 16) Source(2, 16) + SourceIndex(0)
+---
-+>>> foo() { return "this never gets used."; }
-+1->^^^^
-+2 > ^^^
+ >>> foo() { return "this never gets used."; }
+ 1->^^^^
+ 2 > ^^^
+-3 > ^^^^^
+-4 > ^^^^^^^
+-5 > ^^^^^^^^^^^^^^^^^^^^^^^
+-6 > ^
+-7 > ^
+-8 > ^
+-1-> {
+- > cProp = 10;
+3 > ^^^
+4 > ^^
+5 > ^^^^^^^
@@ -88,9 +51,23 @@
+8 > ^
+9 > ^
+1->
-+ >
-+ >
-+2 > foo
+ >
+ >
+ 2 > foo
+-3 > () {
+-4 > return
+-5 > "this never gets used."
+-6 > ;
+-7 >
+-8 > }
+-1->Emitted(2, 5) Source(4, 5) + SourceIndex(0)
+-2 >Emitted(2, 8) Source(4, 8) + SourceIndex(0)
+-3 >Emitted(2, 13) Source(4, 13) + SourceIndex(0)
+-4 >Emitted(2, 20) Source(4, 20) + SourceIndex(0)
+-5 >Emitted(2, 43) Source(4, 43) + SourceIndex(0)
+-6 >Emitted(2, 44) Source(4, 44) + SourceIndex(0)
+-7 >Emitted(2, 45) Source(4, 45) + SourceIndex(0)
+-8 >Emitted(2, 46) Source(4, 46) + SourceIndex(0)
+3 > ()
+4 > {
+5 > return
@@ -107,11 +84,25 @@
+7 >Emitted(3, 44) Source(4, 44) + SourceIndex(0)
+8 >Emitted(3, 45) Source(4, 44) + SourceIndex(0)
+9 >Emitted(3, 46) Source(4, 46) + SourceIndex(0)
-+---
-+>>> constructor(value) {
-+1 >^^^^
-+2 > ^^^^^^^^^^^^
-+3 > ^^^^^
+ ---
+ >>> constructor(value) {
+ 1 >^^^^
+ 2 > ^^^^^^^^^^^^
+ 3 > ^^^^^
+-4 > ^^^^->
+-1 >
+- >
+- >
+-2 > constructor(
+-3 > value: number
+-1 >Emitted(3, 5) Source(6, 5) + SourceIndex(0)
+-2 >Emitted(3, 17) Source(6, 17) + SourceIndex(0)
+-3 >Emitted(3, 22) Source(6, 30) + SourceIndex(0)
+----
+->>> this.cProp = 10;
+-1->^^^^^^^^
+-2 > ^^^^^^^^^^
+-3 > ^^^
4 > ^^
-5 > ^
-1->
@@ -119,11 +110,11 @@
-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(4, 9) Source(2, 5) + SourceIndex(0)
+-2 >Emitted(4, 19) Source(2, 10) + SourceIndex(0)
+-3 >Emitted(4, 22) Source(2, 13) + SourceIndex(0)
+-4 >Emitted(4, 24) Source(2, 15) + SourceIndex(0)
+-5 >Emitted(4, 25) Source(2, 16) + SourceIndex(0)
+1 >
+ >
+ >
@@ -147,48 +138,20 @@
+1 >{
>
2 > return
--1 >Emitted(19, 9) Source(7, 9) + SourceIndex(0)
--2 >Emitted(19, 16) Source(7, 16) + SourceIndex(0)
-+1 >Emitted(5, 9) Source(7, 9) + SourceIndex(0)
-+2 >Emitted(5, 16) Source(7, 16) + SourceIndex(0)
- ---
- >>> cProp: value,
- 1->^^^^^^^^^^^^
- 2 > ^^^^^
- 3 > ^^
- 4 > ^^^^^
--5 > ^^^^^^^->
- 1->{
- >
- 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(6, 13) Source(8, 13) + SourceIndex(0)
-+2 >Emitted(6, 18) Source(8, 18) + SourceIndex(0)
-+3 >Emitted(6, 20) Source(8, 20) + SourceIndex(0)
-+4 >Emitted(6, 25) Source(8, 25) + SourceIndex(0)
- ---
-->>> foo: function () {
--1->^^^^^^^^^^^^
-+>>> foo() {
-+1 >^^^^^^^^^^^^
+ 1 >Emitted(5, 9) Source(7, 9) + SourceIndex(0)
+@@= skipped -92, +94 lines =@@
+ >>> foo() {
+ 1 >^^^^^^^^^^^^
2 > ^^^
-3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1->,
+3 > ^^^
+4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >,
+ 1 >,
>
2 > foo
--1->Emitted(21, 13) Source(9, 13) + SourceIndex(0)
--2 >Emitted(21, 16) Source(9, 16) + SourceIndex(0)
+3 > ()
-+1 >Emitted(7, 13) Source(9, 13) + SourceIndex(0)
-+2 >Emitted(7, 16) Source(9, 16) + SourceIndex(0)
+ 1 >Emitted(7, 13) Source(9, 13) + SourceIndex(0)
+ 2 >Emitted(7, 16) Source(9, 16) + SourceIndex(0)
+3 >Emitted(7, 19) Source(9, 19) + SourceIndex(0)
---
>>> return "well this looks kinda C-ish.";
@@ -201,180 +164,45 @@
>
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(8, 17) Source(10, 17) + SourceIndex(0)
-+2 >Emitted(8, 24) Source(10, 24) + SourceIndex(0)
-+3 >Emitted(8, 54) Source(10, 54) + SourceIndex(0)
-+4 >Emitted(8, 55) Source(10, 55) + SourceIndex(0)
- ---
- >>> }
+@@= skipped -26, +29 lines =@@
1 >^^^^^^^^^^^^
2 > ^
1 >
- >
-2 > }
--1 >Emitted(23, 13) Source(11, 13) + SourceIndex(0)
--2 >Emitted(23, 14) Source(11, 14) + SourceIndex(0)
+-1 >Emitted(9, 13) Source(11, 13) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(9, 13) Source(10, 55) + SourceIndex(0)
-+2 >Emitted(9, 14) Source(11, 14) + SourceIndex(0)
+ 2 >Emitted(9, 14) Source(11, 14) + SourceIndex(0)
---
>>> };
- 1 >^^^^^^^^^
-@@= skipped -125, +146 lines =@@
- 1 >
- > }
- 2 >
--1 >Emitted(24, 10) Source(12, 10) + SourceIndex(0)
--2 >Emitted(24, 11) Source(12, 10) + SourceIndex(0)
-+1 >Emitted(10, 10) Source(12, 10) + SourceIndex(0)
-+2 >Emitted(10, 11) Source(12, 10) + SourceIndex(0)
- ---
- >>> }
+@@= skipped -18, +18 lines =@@
1 >^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
+ 1 >
- >
-2 > }
--1 >Emitted(25, 5) Source(13, 5) + SourceIndex(0)
--2 >Emitted(25, 6) Source(13, 6) + SourceIndex(0)
-----
-->>> C.prototype.foo = function () { return "this never gets used."; };
--1->^^^^
--2 > ^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^^^^^
--5 > ^^^^^^^
--6 > ^^^^^^^^^^^^^^^^^^^^^^^
--7 > ^
--8 > ^
--9 > ^
--1->
--2 > foo
--3 >
--4 > foo() {
--5 > return
--6 > "this never gets used."
--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)
-----
-->>> return C;
--1 >^^^^
--2 > ^^^^^^^^
--1 >
-- >
-- > constructor(value: number) {
-- > return {
-- > cProp: value,
-- > foo() {
-- > return "well this looks kinda C-ish.";
-- > }
-+1 >
+-1 >Emitted(11, 5) Source(13, 5) + SourceIndex(0)
+2 >
- > }
-- > }
-- >
--2 > }
--1 >Emitted(27, 5) Source(14, 1) + SourceIndex(0)
--2 >Emitted(27, 13) Source(14, 2) + SourceIndex(0)
-----
-->>>}());
--1 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 >}
--3 >
--4 > class C {
-- > cProp = 10;
-- >
-- > foo() { return "this never gets used."; }
-- >
-- > constructor(value: number) {
-- > return {
-- > cProp: value,
-- > foo() {
-- > return "well this looks kinda C-ish.";
-- > }
-- > }
-- > }
-- > }
--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)
-----
-->>>var D = /** @class */ (function (_super) {
--1->
--2 >^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1->
-- >
-- >
--1->Emitted(29, 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)
-----
-->>> function D(a) {
--1 >^^^^
--2 > ^^^^^^^^^^^
--3 > ^
--4 > ^^^^^^^^^^^^^^^^^^^^^^^->
--1 > {
-- > dProp = () => this;
++ > }
+1 >Emitted(11, 5) Source(12, 10) + SourceIndex(0)
-+2 >Emitted(11, 6) Source(13, 6) + SourceIndex(0)
-+---
-+>>>}
-+1 >^
-+2 > ^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >}
-+1 >Emitted(12, 2) Source(14, 2) + SourceIndex(0)
-+---
-+>>>class D extends C {
-+1->
-+2 >^^^^^^
-+3 > ^
-+4 > ^^^^^^^^^
-+5 > ^
+ 2 >Emitted(11, 6) Source(13, 6) + SourceIndex(0)
+ ---
+ >>>}
+@@= skipped -18, +18 lines =@@
+ 3 > ^
+ 4 > ^^^^^^^^^
+ 5 > ^
+-6 > ^^^^^^^^^^->
+6 > ^^^^^^^->
-+1->
-+ >
-+ >
-+2 >class
-+3 > D
-+4 > extends
-+5 > C
-+1->Emitted(13, 1) Source(16, 1) + SourceIndex(0)
-+2 >Emitted(13, 7) Source(16, 7) + SourceIndex(0)
-+3 >Emitted(13, 8) Source(16, 9) + SourceIndex(0)
-+4 >Emitted(13, 17) Source(16, 17) + SourceIndex(0)
-+5 >Emitted(13, 18) Source(16, 18) + SourceIndex(0)
-+---
+ 1->
+ >
+ >
+@@= skipped -14, +14 lines =@@
+ 4 >Emitted(13, 17) Source(16, 17) + SourceIndex(0)
+ 5 >Emitted(13, 18) Source(16, 18) + SourceIndex(0)
+ ---
+>>> dProp = () => this;
+1->^^^^
+2 > ^^^^^
@@ -403,50 +231,27 @@
+7 >Emitted(14, 23) Source(17, 23) + SourceIndex(0)
+8 >Emitted(14, 24) Source(17, 24) + SourceIndex(0)
+---
-+>>> constructor(a = 100) {
-+1->^^^^
-+2 > ^^^^^^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^^^
+ >>> constructor(a = 100) {
+ 1->^^^^
+ 2 > ^^^^^^^^^^^^
+ 3 > ^
+ 4 > ^^^
+ 5 > ^^^
+-1-> {
+- > dProp = () => this;
+6 > ^^
+1->
>
>
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)
-----
-->>> if (a === void 0) { a = 100; }
--1->^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^
--3 > ^^
--4 > ^^^^^^^
--5 > ^^^^^^^^^^^^^^^->
--1->
--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)
-----
-->>> var _this = _super.call(this, a) || this;
--1->^^^^^^^^
--2 > ^^^^^^^^^^^^
--3 > ^^^^^^
--4 > ^^^^^^^^^^^^
--5 > ^
--6 > ^
--7 > ^^^^^^^^^
--8 > ^^^^->
--1->) {
-+3 > a
-+4 > =
-+5 > 100
+ 3 > a
+ 4 > =
+ 5 > 100
+-1->Emitted(14, 5) Source(19, 5) + SourceIndex(0)
+-2 >Emitted(14, 17) Source(19, 17) + SourceIndex(0)
+-3 >Emitted(14, 18) Source(19, 18) + SourceIndex(0)
+-4 >Emitted(14, 21) Source(19, 21) + SourceIndex(0)
+-5 >Emitted(14, 24) Source(19, 24) + SourceIndex(0)
+6 > )
+1->Emitted(15, 5) Source(19, 5) + SourceIndex(0)
+2 >Emitted(15, 17) Source(19, 17) + SourceIndex(0)
@@ -454,64 +259,56 @@
+4 >Emitted(15, 21) Source(19, 21) + SourceIndex(0)
+5 >Emitted(15, 24) Source(19, 24) + SourceIndex(0)
+6 >Emitted(15, 26) Source(19, 26) + SourceIndex(0)
-+---
-+>>> super(a);
-+1 >^^^^^^^^
-+2 > ^^^^^
-+3 > ^
-+4 > ^
-+5 > ^
-+6 > ^
+ ---
+ >>> super(a);
+ 1 >^^^^^^^^
+@@= skipped -27, +57 lines =@@
+ 4 > ^
+ 5 > ^
+ 6 > ^
+-7 > ^^^^^^^^^^^^^^^^->
+-1 >) {
+7 > ^^^^^^^^^^^^^^^^^^->
+1 >{
>
--2 >
--3 > super
--4 > (
--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)
+ 2 > super
+ 3 > (
+ 4 > a
+ 5 > )
+ 6 > ;
+-1 >Emitted(15, 9) Source(20, 9) + SourceIndex(0)
+-2 >Emitted(15, 14) Source(20, 14) + SourceIndex(0)
+-3 >Emitted(15, 15) Source(20, 15) + SourceIndex(0)
+-4 >Emitted(15, 16) Source(20, 16) + SourceIndex(0)
+-5 >Emitted(15, 17) Source(20, 17) + SourceIndex(0)
+-6 >Emitted(15, 18) Source(20, 18) + SourceIndex(0)
----
-->>> _this.dProp = function () { return _this; };
+->>> this.dProp = () => this;
-1->^^^^^^^^
--2 > ^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^^^^^
--5 > ^^^^^^^
--6 > ^^^^^
--7 > ^^
--8 > ^
--9 > ^
+-2 > ^^^^^^^^^^
+-3 > ^^^
+-4 > ^^^
+-5 > ^^
+-6 > ^
+-7 > ^^^^
+-8 > ^
+-9 > ^^^->
-1->
-2 > dProp
--3 > =
--4 > () =>
--5 >
--6 > this
--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)
-+2 > super
-+3 > (
-+4 > a
-+5 > )
-+6 > ;
+-3 > =
+-4 > ()
+-5 > =>
+-6 >
+-7 > this
+-8 > ;
+-1->Emitted(16, 9) Source(17, 5) + SourceIndex(0)
+-2 >Emitted(16, 19) Source(17, 10) + SourceIndex(0)
+-3 >Emitted(16, 22) Source(17, 13) + SourceIndex(0)
+-4 >Emitted(16, 25) Source(17, 16) + SourceIndex(0)
+-5 >Emitted(16, 27) Source(17, 18) + SourceIndex(0)
+-6 >Emitted(16, 28) Source(17, 19) + SourceIndex(0)
+-7 >Emitted(16, 32) Source(17, 23) + SourceIndex(0)
+-8 >Emitted(16, 33) Source(17, 24) + SourceIndex(0)
+1 >Emitted(16, 9) Source(20, 9) + SourceIndex(0)
+2 >Emitted(16, 14) Source(20, 14) + SourceIndex(0)
+3 >Emitted(16, 15) Source(20, 15) + SourceIndex(0)
@@ -520,148 +317,27 @@
+6 >Emitted(16, 18) Source(20, 18) + SourceIndex(0)
---
>>> if (Math.random() < 0.5) {
--1 >^^^^^^^^
-+1->^^^^^^^^
- 2 > ^^^^
- 3 > ^^^^
- 4 > ^
-@@= skipped -199, +122 lines =@@
- 8 > ^^^
- 9 > ^^
+ 1->^^^^^^^^
+@@= skipped -55, +28 lines =@@
10> ^
--1 >
-- >
+ 1->
+ >
- > constructor(a = 100) {
- > super(a);
-+1->
- >
+- >
>
2 > if (
-@@= skipped -15, +12 lines =@@
- 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(17, 9) Source(22, 9) + SourceIndex(0)
-+2 >Emitted(17, 13) Source(22, 13) + SourceIndex(0)
-+3 >Emitted(17, 17) Source(22, 17) + SourceIndex(0)
-+4 >Emitted(17, 18) Source(22, 18) + SourceIndex(0)
-+5 >Emitted(17, 24) Source(22, 24) + SourceIndex(0)
-+6 >Emitted(17, 26) Source(22, 26) + SourceIndex(0)
-+7 >Emitted(17, 29) Source(22, 29) + SourceIndex(0)
-+8 >Emitted(17, 32) Source(22, 32) + SourceIndex(0)
-+9 >Emitted(17, 34) Source(22, 34) + SourceIndex(0)
-+10>Emitted(17, 35) Source(22, 35) + SourceIndex(0)
- ---
- >>> "You win!";
- 1 >^^^^^^^^^^^^
-@@= skipped -19, +19 lines =@@
- >
- 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(18, 13) Source(23, 13) + SourceIndex(0)
-+2 >Emitted(18, 23) Source(23, 23) + SourceIndex(0)
-+3 >Emitted(18, 24) Source(23, 23) + SourceIndex(0)
- ---
- >>> return {
- 1 >^^^^^^^^^^^^
-@@= skipped -11, +11 lines =@@
- 1 >
- >
- 2 > return
--1 >Emitted(37, 13) Source(24, 13) + SourceIndex(0)
--2 >Emitted(37, 20) Source(24, 20) + SourceIndex(0)
-+1 >Emitted(19, 13) Source(24, 13) + SourceIndex(0)
-+2 >Emitted(19, 20) Source(24, 20) + SourceIndex(0)
- ---
- >>> cProp: 1,
- 1->^^^^^^^^^^^^^^^^
- 2 > ^^^^^
- 3 > ^^
- 4 > ^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+5 > ^^^^^^^^^^^->
- 1->{
- >
- 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(20, 17) Source(25, 17) + SourceIndex(0)
-+2 >Emitted(20, 22) Source(25, 22) + SourceIndex(0)
-+3 >Emitted(20, 24) Source(25, 24) + SourceIndex(0)
-+4 >Emitted(20, 25) Source(25, 25) + SourceIndex(0)
- ---
-->>> dProp: function () { return _this; },
-+>>> dProp: () => this,
- 1->^^^^^^^^^^^^^^^^
- 2 > ^^^^^
- 3 > ^^
--4 > ^^^^^^^^^^^^^^
--5 > ^^^^^^^
--6 > ^^^^^
--7 > ^^
--8 > ^
--9 > ^^^^^^^^->
-+4 > ^^^
-+5 > ^^
-+6 > ^
-+7 > ^^^^
-+8 > ^^^^^^^^^^^^^^^^->
- 1->,
- >
- 2 > dProp
- 3 > :
--4 > () =>
--5 >
--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)
-+4 > ()
-+5 > =>
-+6 >
-+7 > this
-+1->Emitted(21, 17) Source(26, 17) + SourceIndex(0)
-+2 >Emitted(21, 22) Source(26, 22) + SourceIndex(0)
-+3 >Emitted(21, 24) Source(26, 24) + SourceIndex(0)
-+4 >Emitted(21, 27) Source(26, 27) + SourceIndex(0)
-+5 >Emitted(21, 29) Source(26, 29) + SourceIndex(0)
-+6 >Emitted(21, 30) Source(26, 30) + SourceIndex(0)
-+7 >Emitted(21, 34) Source(26, 34) + SourceIndex(0)
- ---
-->>> foo: function () { return "You win!!!!!"; }
-+>>> foo() { return "You win!!!!!"; }
+ 3 > Math
+@@= skipped -90, +87 lines =@@
+ >>> foo() { return "You win!!!!!"; }
1->^^^^^^^^^^^^^^^^
2 > ^^^
--3 > ^^^^^^^^^^^^^^^^
--4 > ^^^^^^^
--5 > ^^^^^^^^^^^^^^
--6 > ^
--7 > ^
--8 > ^
+-3 > ^^^^^
+-4 > ^^^^^^^
+-5 > ^^^^^^^^^^^^^^
+-6 > ^
+-7 > ^
+-8 > ^
+3 > ^^^
+4 > ^^
+5 > ^^^^^^^
@@ -673,19 +349,11 @@
>
2 > foo
-3 > () {
--4 > return
--5 > "You win!!!!!"
--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)
+-4 > return
+-5 > "You win!!!!!"
+-6 >
+-7 >
+-8 > }
+3 > ()
+4 > {
+5 > return
@@ -693,8 +361,14 @@
+7 >
+8 >
+9 > }
-+1->Emitted(22, 17) Source(27, 17) + SourceIndex(0)
-+2 >Emitted(22, 20) Source(27, 20) + SourceIndex(0)
+ 1->Emitted(22, 17) Source(27, 17) + SourceIndex(0)
+ 2 >Emitted(22, 20) Source(27, 20) + SourceIndex(0)
+-3 >Emitted(22, 25) Source(27, 25) + SourceIndex(0)
+-4 >Emitted(22, 32) Source(27, 32) + SourceIndex(0)
+-5 >Emitted(22, 46) Source(27, 46) + SourceIndex(0)
+-6 >Emitted(22, 47) Source(27, 46) + SourceIndex(0)
+-7 >Emitted(22, 48) Source(27, 47) + SourceIndex(0)
+-8 >Emitted(22, 49) Source(27, 48) + SourceIndex(0)
+3 >Emitted(22, 23) Source(27, 23) + SourceIndex(0)
+4 >Emitted(22, 25) Source(27, 25) + SourceIndex(0)
+5 >Emitted(22, 32) Source(27, 32) + SourceIndex(0)
@@ -705,108 +379,16 @@
---
>>> };
1 >^^^^^^^^^^^^^
-@@= skipped -80, +80 lines =@@
- 1 >
- > }
- 2 > ;
--1 >Emitted(41, 14) Source(28, 14) + SourceIndex(0)
--2 >Emitted(41, 15) Source(28, 15) + SourceIndex(0)
-+1 >Emitted(23, 14) Source(28, 14) + SourceIndex(0)
-+2 >Emitted(23, 15) Source(28, 15) + SourceIndex(0)
- ---
- >>> }
- 1 >^^^^^^^^
-@@= skipped -10, +10 lines =@@
- 1 >
- >
- 2 > }
--1 >Emitted(42, 9) Source(29, 9) + SourceIndex(0)
--2 >Emitted(42, 10) Source(29, 10) + SourceIndex(0)
-+1 >Emitted(24, 9) Source(29, 9) + SourceIndex(0)
-+2 >Emitted(24, 10) Source(29, 10) + SourceIndex(0)
- ---
- >>> else
- >>> return null;
-@@= skipped -15, +15 lines =@@
- 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(26, 13) Source(31, 13) + SourceIndex(0)
-+2 >Emitted(26, 20) Source(31, 20) + SourceIndex(0)
-+3 >Emitted(26, 24) Source(31, 24) + SourceIndex(0)
-+4 >Emitted(26, 25) Source(31, 25) + SourceIndex(0)
- ---
- >>> }
+@@= skipped -64, +67 lines =@@
1 >^^^^
2 > ^
--3 > ^^^^^^^^^->
--1 >
+ 1 >
- >
-2 > }
--1 >Emitted(45, 5) Source(32, 5) + SourceIndex(0)
--2 >Emitted(45, 6) Source(32, 6) + SourceIndex(0)
-----
-->>> return D;
--1->^^^^
--2 > ^^^^^^^^
--1->
-- >
--2 > }
--1->Emitted(46, 5) Source(33, 1) + SourceIndex(0)
--2 >Emitted(46, 13) Source(33, 2) + SourceIndex(0)
-----
-->>>}(C));
--1 >
--2 >^
--3 >
--4 > ^
--5 > ^
--6 > ^^^
--7 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 >}
--3 >
--4 > class D extends
--5 > C
--6 > {
-- > dProp = () => this;
-- >
-- > constructor(a = 100) {
-- > super(a);
-- >
-- > if (Math.random() < 0.5) {
-- > "You win!"
-- > return {
-- > cProp: 1,
-- > dProp: () => this,
-- > foo() { return "You win!!!!!" }
-- > };
-- > }
-- > else
-- > 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 >
+-1 >Emitted(27, 5) Source(32, 5) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(27, 5) Source(31, 25) + SourceIndex(0)
-+2 >Emitted(27, 6) Source(32, 6) + SourceIndex(0)
-+---
-+>>>}
-+1 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >}
-+1 >Emitted(28, 2) Source(33, 2) + SourceIndex(0)
+ 2 >Emitted(27, 6) Source(32, 6) + SourceIndex(0)
---
- >>>//# sourceMappingURL=derivedClassConstructorWithExplicitReturns01.js.map
\ No newline at end of file
+ >>>}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/derivedClassOverridesPrivateFunction1.js.diff b/testdata/baselines/reference/submodule/compiler/derivedClassOverridesPrivateFunction1.js.diff
deleted file mode 100644
index e6d2d2dc31..0000000000
--- a/testdata/baselines/reference/submodule/compiler/derivedClassOverridesPrivateFunction1.js.diff
+++ /dev/null
@@ -1,51 +0,0 @@
---- old.derivedClassOverridesPrivateFunction1.js
-+++ new.derivedClassOverridesPrivateFunction1.js
-@@= skipped -17, +17 lines =@@
- new DerivedClass();
-
- //// [derivedClassOverridesPrivateFunction1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var BaseClass = /** @class */ (function () {
-- function BaseClass() {
-+class BaseClass {
-+ constructor() {
- this._init();
- }
-- BaseClass.prototype._init = function () {
-- };
-- return BaseClass;
--}());
--var DerivedClass = /** @class */ (function (_super) {
-- __extends(DerivedClass, _super);
-- function DerivedClass() {
-- return _super.call(this) || this;
-- }
-- DerivedClass.prototype._init = function () {
-- };
-- return DerivedClass;
--}(BaseClass));
-+ _init() {
-+ }
-+}
-+class DerivedClass extends BaseClass {
-+ constructor() {
-+ super();
-+ }
-+ _init() {
-+ }
-+}
- new DerivedClass();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/derivedClasses.js.diff b/testdata/baselines/reference/submodule/compiler/derivedClasses.js.diff
deleted file mode 100644
index 2036ce9eb2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/derivedClasses.js.diff
+++ /dev/null
@@ -1,69 +0,0 @@
---- old.derivedClasses.js
-+++ new.derivedClasses.js
-@@= skipped -32, +32 lines =@@
-
-
- //// [derivedClasses.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Red = /** @class */ (function (_super) {
-- __extends(Red, _super);
-- function Red() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Red.prototype.shade = function () {
-- var _this = this;
-- var getHue = function () { return _this.hue(); };
-+class Red extends Color {
-+ shade() {
-+ var getHue = () => { return this.hue(); };
- return getHue() + " red";
-- };
-- return Red;
--}(Color));
--var Color = /** @class */ (function () {
-- function Color() {
-- }
-- Color.prototype.shade = function () { return "some shade"; };
-- Color.prototype.hue = function () { return "some hue"; };
-- return Color;
--}());
--var Blue = /** @class */ (function (_super) {
-- __extends(Blue, _super);
-- function Blue() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Blue.prototype.shade = function () {
-- var _this = this;
-- var getHue = function () { return _this.hue(); };
-+ }
-+}
-+class Color {
-+ shade() { return "some shade"; }
-+ hue() { return "some hue"; }
-+}
-+class Blue extends Color {
-+ shade() {
-+ var getHue = () => { return this.hue(); };
- return getHue() + " blue";
-- };
-- return Blue;
--}(Color));
-+ }
-+}
- var r = new Red();
- var b = new Blue();
- r.shade();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/derivedTypeCallingBaseImplWithOptionalParams.js.diff b/testdata/baselines/reference/submodule/compiler/derivedTypeCallingBaseImplWithOptionalParams.js.diff
deleted file mode 100644
index 6316d67835..0000000000
--- a/testdata/baselines/reference/submodule/compiler/derivedTypeCallingBaseImplWithOptionalParams.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.derivedTypeCallingBaseImplWithOptionalParams.js
-+++ new.derivedTypeCallingBaseImplWithOptionalParams.js
-@@= skipped -15, +15 lines =@@
- y.myMethod(); // error
-
- //// [derivedTypeCallingBaseImplWithOptionalParams.js]
--var MyClass = /** @class */ (function () {
-- function MyClass() {
-+class MyClass {
-+ myMethod(myList) {
- }
-- MyClass.prototype.myMethod = function (myList) {
-- };
-- return MyClass;
--}());
-+}
- var x = new MyClass();
- x.myMethod(); // should be valid, but MyClass has no implementation to handle it.
- var y = new MyClass();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructionAssignmentError.js.diff b/testdata/baselines/reference/submodule/compiler/destructionAssignmentError.js.diff
deleted file mode 100644
index 4deb417dd7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/destructionAssignmentError.js.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- old.destructionAssignmentError.js
-+++ new.destructionAssignmentError.js
-@@= skipped -14, +14 lines =@@
- = fn();
-
- //// [destructionAssignmentError.js]
--var _a, _b;
--var a;
--var b;
--(_a = fn(), a = _a.a, b = _a.b);
-+let a;
-+let b;
-+({ a, b } = fn());
- {
- a, b;
- }
- fn();
--(_b = fn(), a = _b.a, b = _b.b);
-+({ a, b } =
-+ fn());
- {
- a, b;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructureCatchClause(strict=false,useunknownincatchvariables=false).js.diff b/testdata/baselines/reference/submodule/compiler/destructureCatchClause(strict=false,useunknownincatchvariables=false).js.diff
deleted file mode 100644
index 8001bed262..0000000000
--- a/testdata/baselines/reference/submodule/compiler/destructureCatchClause(strict=false,useunknownincatchvariables=false).js.diff
+++ /dev/null
@@ -1,191 +0,0 @@
---- old.destructureCatchClause(strict=false,useunknownincatchvariables=false).js
-+++ new.destructureCatchClause(strict=false,useunknownincatchvariables=false).js
-@@= skipped -40, +40 lines =@@
- //// [destructureCatchClause.js]
- // These are okay with useUnknownInCatchVariables=false, but not okay with useUnknownInCatchVariables=true.
- try { }
--catch (_a) {
-- var x = _a.x;
-- x;
--}
--try { }
--catch (_b) {
-- var x = _b[0];
-- x;
--}
--try { }
--catch (_c) {
-- var x = _c.a.x;
-- x;
--}
--try { }
--catch (_d) {
-- var x = _d.a[0];
-- x;
--}
--try { }
--catch (_e) {
-- var x = _e[0].x;
-- x;
--}
--try { }
--catch (_f) {
-- var x = _f[0][0];
-- x;
--}
--try { }
--catch (_g) {
-- var x = _g.a.b.c.x;
-- x;
--}
--try { }
--catch (_h) {
-- var x = _h.x;
-- x;
--}
--try { }
--catch (_j) {
-- var x = _j[0];
-- x;
--}
--try { }
--catch (_k) {
-- var x = _k.a.x;
-- x;
--}
--try { }
--catch (_l) {
-- var x = _l.a[0];
-- x;
--}
--try { }
--catch (_m) {
-- var x = _m[0].x;
-- x;
--}
--try { }
--catch (_o) {
-- var x = _o[0][0];
-- x;
--}
--try { }
--catch (_p) {
-- var x = _p.a.b.c.x;
-- x;
--}
--try { }
--catch (_q) {
-- var x = _q.x;
-- x;
--}
--try { }
--catch (_r) {
-- var x = _r[0];
-- x;
--}
--try { }
--catch (_s) {
-- var x = _s.a.x;
-- x;
--}
--try { }
--catch (_t) {
-- var x = _t.a[0];
-- x;
--}
--try { }
--catch (_u) {
-- var x = _u[0].x;
-- x;
--}
--try { }
--catch (_v) {
-- var x = _v[0][0];
-- x;
--}
--try { }
--catch (_w) {
-- var x = _w.a.b.c.x;
-+catch ({ x }) {
-+ x;
-+}
-+try { }
-+catch ([x]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { x } }) {
-+ x;
-+}
-+try { }
-+catch ({ a: [x] }) {
-+ x;
-+}
-+try { }
-+catch ([{ x }]) {
-+ x;
-+}
-+try { }
-+catch ([[x]]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { b: { c: { x } } } }) {
-+ x;
-+}
-+try { }
-+catch ({ x }) {
-+ x;
-+}
-+try { }
-+catch ([x]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { x } }) {
-+ x;
-+}
-+try { }
-+catch ({ a: [x] }) {
-+ x;
-+}
-+try { }
-+catch ([{ x }]) {
-+ x;
-+}
-+try { }
-+catch ([[x]]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { b: { c: { x } } } }) {
-+ x;
-+}
-+try { }
-+catch ({ x }) {
-+ x;
-+}
-+try { }
-+catch ([x]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { x } }) {
-+ x;
-+}
-+try { }
-+catch ({ a: [x] }) {
-+ x;
-+}
-+try { }
-+catch ([{ x }]) {
-+ x;
-+}
-+try { }
-+catch ([[x]]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { b: { c: { x } } } }) {
- x;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructureCatchClause(strict=false,useunknownincatchvariables=true).js.diff b/testdata/baselines/reference/submodule/compiler/destructureCatchClause(strict=false,useunknownincatchvariables=true).js.diff
deleted file mode 100644
index 2330d390af..0000000000
--- a/testdata/baselines/reference/submodule/compiler/destructureCatchClause(strict=false,useunknownincatchvariables=true).js.diff
+++ /dev/null
@@ -1,191 +0,0 @@
---- old.destructureCatchClause(strict=false,useunknownincatchvariables=true).js
-+++ new.destructureCatchClause(strict=false,useunknownincatchvariables=true).js
-@@= skipped -40, +40 lines =@@
- //// [destructureCatchClause.js]
- // These are okay with useUnknownInCatchVariables=false, but not okay with useUnknownInCatchVariables=true.
- try { }
--catch (_a) {
-- var x = _a.x;
-- x;
--}
--try { }
--catch (_b) {
-- var x = _b[0];
-- x;
--}
--try { }
--catch (_c) {
-- var x = _c.a.x;
-- x;
--}
--try { }
--catch (_d) {
-- var x = _d.a[0];
-- x;
--}
--try { }
--catch (_e) {
-- var x = _e[0].x;
-- x;
--}
--try { }
--catch (_f) {
-- var x = _f[0][0];
-- x;
--}
--try { }
--catch (_g) {
-- var x = _g.a.b.c.x;
-- x;
--}
--try { }
--catch (_h) {
-- var x = _h.x;
-- x;
--}
--try { }
--catch (_j) {
-- var x = _j[0];
-- x;
--}
--try { }
--catch (_k) {
-- var x = _k.a.x;
-- x;
--}
--try { }
--catch (_l) {
-- var x = _l.a[0];
-- x;
--}
--try { }
--catch (_m) {
-- var x = _m[0].x;
-- x;
--}
--try { }
--catch (_o) {
-- var x = _o[0][0];
-- x;
--}
--try { }
--catch (_p) {
-- var x = _p.a.b.c.x;
-- x;
--}
--try { }
--catch (_q) {
-- var x = _q.x;
-- x;
--}
--try { }
--catch (_r) {
-- var x = _r[0];
-- x;
--}
--try { }
--catch (_s) {
-- var x = _s.a.x;
-- x;
--}
--try { }
--catch (_t) {
-- var x = _t.a[0];
-- x;
--}
--try { }
--catch (_u) {
-- var x = _u[0].x;
-- x;
--}
--try { }
--catch (_v) {
-- var x = _v[0][0];
-- x;
--}
--try { }
--catch (_w) {
-- var x = _w.a.b.c.x;
-+catch ({ x }) {
-+ x;
-+}
-+try { }
-+catch ([x]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { x } }) {
-+ x;
-+}
-+try { }
-+catch ({ a: [x] }) {
-+ x;
-+}
-+try { }
-+catch ([{ x }]) {
-+ x;
-+}
-+try { }
-+catch ([[x]]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { b: { c: { x } } } }) {
-+ x;
-+}
-+try { }
-+catch ({ x }) {
-+ x;
-+}
-+try { }
-+catch ([x]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { x } }) {
-+ x;
-+}
-+try { }
-+catch ({ a: [x] }) {
-+ x;
-+}
-+try { }
-+catch ([{ x }]) {
-+ x;
-+}
-+try { }
-+catch ([[x]]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { b: { c: { x } } } }) {
-+ x;
-+}
-+try { }
-+catch ({ x }) {
-+ x;
-+}
-+try { }
-+catch ([x]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { x } }) {
-+ x;
-+}
-+try { }
-+catch ({ a: [x] }) {
-+ x;
-+}
-+try { }
-+catch ([{ x }]) {
-+ x;
-+}
-+try { }
-+catch ([[x]]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { b: { c: { x } } } }) {
- x;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructureCatchClause(strict=true,useunknownincatchvariables=false).js.diff b/testdata/baselines/reference/submodule/compiler/destructureCatchClause(strict=true,useunknownincatchvariables=false).js.diff
index 94b016478e..ea30523a36 100644
--- a/testdata/baselines/reference/submodule/compiler/destructureCatchClause(strict=true,useunknownincatchvariables=false).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructureCatchClause(strict=true,useunknownincatchvariables=false).js.diff
@@ -7,188 +7,4 @@
-"use strict";
// These are okay with useUnknownInCatchVariables=false, but not okay with useUnknownInCatchVariables=true.
try { }
--catch (_a) {
-- var x = _a.x;
-- x;
--}
--try { }
--catch (_b) {
-- var x = _b[0];
-- x;
--}
--try { }
--catch (_c) {
-- var x = _c.a.x;
-- x;
--}
--try { }
--catch (_d) {
-- var x = _d.a[0];
-- x;
--}
--try { }
--catch (_e) {
-- var x = _e[0].x;
-- x;
--}
--try { }
--catch (_f) {
-- var x = _f[0][0];
-- x;
--}
--try { }
--catch (_g) {
-- var x = _g.a.b.c.x;
-- x;
--}
--try { }
--catch (_h) {
-- var x = _h.x;
-- x;
--}
--try { }
--catch (_j) {
-- var x = _j[0];
-- x;
--}
--try { }
--catch (_k) {
-- var x = _k.a.x;
-- x;
--}
--try { }
--catch (_l) {
-- var x = _l.a[0];
-- x;
--}
--try { }
--catch (_m) {
-- var x = _m[0].x;
-- x;
--}
--try { }
--catch (_o) {
-- var x = _o[0][0];
-- x;
--}
--try { }
--catch (_p) {
-- var x = _p.a.b.c.x;
-- x;
--}
--try { }
--catch (_q) {
-- var x = _q.x;
-- x;
--}
--try { }
--catch (_r) {
-- var x = _r[0];
-- x;
--}
--try { }
--catch (_s) {
-- var x = _s.a.x;
-- x;
--}
--try { }
--catch (_t) {
-- var x = _t.a[0];
-- x;
--}
--try { }
--catch (_u) {
-- var x = _u[0].x;
-- x;
--}
--try { }
--catch (_v) {
-- var x = _v[0][0];
-- x;
--}
--try { }
--catch (_w) {
-- var x = _w.a.b.c.x;
-+catch ({ x }) {
-+ x;
-+}
-+try { }
-+catch ([x]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { x } }) {
-+ x;
-+}
-+try { }
-+catch ({ a: [x] }) {
-+ x;
-+}
-+try { }
-+catch ([{ x }]) {
-+ x;
-+}
-+try { }
-+catch ([[x]]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { b: { c: { x } } } }) {
-+ x;
-+}
-+try { }
-+catch ({ x }) {
-+ x;
-+}
-+try { }
-+catch ([x]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { x } }) {
-+ x;
-+}
-+try { }
-+catch ({ a: [x] }) {
-+ x;
-+}
-+try { }
-+catch ([{ x }]) {
-+ x;
-+}
-+try { }
-+catch ([[x]]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { b: { c: { x } } } }) {
-+ x;
-+}
-+try { }
-+catch ({ x }) {
-+ x;
-+}
-+try { }
-+catch ([x]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { x } }) {
-+ x;
-+}
-+try { }
-+catch ({ a: [x] }) {
-+ x;
-+}
-+try { }
-+catch ([{ x }]) {
-+ x;
-+}
-+try { }
-+catch ([[x]]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { b: { c: { x } } } }) {
- x;
- }
\ No newline at end of file
+ catch ({ x }) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructureCatchClause(strict=true,useunknownincatchvariables=true).js.diff b/testdata/baselines/reference/submodule/compiler/destructureCatchClause(strict=true,useunknownincatchvariables=true).js.diff
index b1d9a4b674..de3f1c287d 100644
--- a/testdata/baselines/reference/submodule/compiler/destructureCatchClause(strict=true,useunknownincatchvariables=true).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructureCatchClause(strict=true,useunknownincatchvariables=true).js.diff
@@ -7,188 +7,4 @@
-"use strict";
// These are okay with useUnknownInCatchVariables=false, but not okay with useUnknownInCatchVariables=true.
try { }
--catch (_a) {
-- var x = _a.x;
-- x;
--}
--try { }
--catch (_b) {
-- var x = _b[0];
-- x;
--}
--try { }
--catch (_c) {
-- var x = _c.a.x;
-- x;
--}
--try { }
--catch (_d) {
-- var x = _d.a[0];
-- x;
--}
--try { }
--catch (_e) {
-- var x = _e[0].x;
-- x;
--}
--try { }
--catch (_f) {
-- var x = _f[0][0];
-- x;
--}
--try { }
--catch (_g) {
-- var x = _g.a.b.c.x;
-- x;
--}
--try { }
--catch (_h) {
-- var x = _h.x;
-- x;
--}
--try { }
--catch (_j) {
-- var x = _j[0];
-- x;
--}
--try { }
--catch (_k) {
-- var x = _k.a.x;
-- x;
--}
--try { }
--catch (_l) {
-- var x = _l.a[0];
-- x;
--}
--try { }
--catch (_m) {
-- var x = _m[0].x;
-- x;
--}
--try { }
--catch (_o) {
-- var x = _o[0][0];
-- x;
--}
--try { }
--catch (_p) {
-- var x = _p.a.b.c.x;
-- x;
--}
--try { }
--catch (_q) {
-- var x = _q.x;
-- x;
--}
--try { }
--catch (_r) {
-- var x = _r[0];
-- x;
--}
--try { }
--catch (_s) {
-- var x = _s.a.x;
-- x;
--}
--try { }
--catch (_t) {
-- var x = _t.a[0];
-- x;
--}
--try { }
--catch (_u) {
-- var x = _u[0].x;
-- x;
--}
--try { }
--catch (_v) {
-- var x = _v[0][0];
-- x;
--}
--try { }
--catch (_w) {
-- var x = _w.a.b.c.x;
-+catch ({ x }) {
-+ x;
-+}
-+try { }
-+catch ([x]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { x } }) {
-+ x;
-+}
-+try { }
-+catch ({ a: [x] }) {
-+ x;
-+}
-+try { }
-+catch ([{ x }]) {
-+ x;
-+}
-+try { }
-+catch ([[x]]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { b: { c: { x } } } }) {
-+ x;
-+}
-+try { }
-+catch ({ x }) {
-+ x;
-+}
-+try { }
-+catch ([x]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { x } }) {
-+ x;
-+}
-+try { }
-+catch ({ a: [x] }) {
-+ x;
-+}
-+try { }
-+catch ([{ x }]) {
-+ x;
-+}
-+try { }
-+catch ([[x]]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { b: { c: { x } } } }) {
-+ x;
-+}
-+try { }
-+catch ({ x }) {
-+ x;
-+}
-+try { }
-+catch ([x]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { x } }) {
-+ x;
-+}
-+try { }
-+catch ({ a: [x] }) {
-+ x;
-+}
-+try { }
-+catch ([{ x }]) {
-+ x;
-+}
-+try { }
-+catch ([[x]]) {
-+ x;
-+}
-+try { }
-+catch ({ a: { b: { c: { x } } } }) {
- x;
- }
\ No newline at end of file
+ catch ({ x }) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructureComputedProperty.js.diff b/testdata/baselines/reference/submodule/compiler/destructureComputedProperty.js.diff
index 62bd544048..9467bcaf61 100644
--- a/testdata/baselines/reference/submodule/compiler/destructureComputedProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructureComputedProperty.js.diff
@@ -1,28 +1,10 @@
--- old.destructureComputedProperty.js
+++ new.destructureComputedProperty.js
-@@= skipped -13, +13 lines =@@
-
-
- //// [destructureComputedProperty.js]
--var nameN = "n";
--var _a = ab, _b = nameN, n = _a[_b];
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var nameP = "p";
--var p0 = new C()["p"];
--var p1 = new C()["p"];
--var _c = new C(), _d = nameP, p2 = _c[_d];
--var p3 = new C().p;
-+const nameN = "n";
-+const { [nameN]: n } = ab;
-+class C {
+@@= skipped -16, +16 lines =@@
+ const nameN = "n";
+ const { [nameN]: n } = ab;
+ class C {
+ p;
-+}
-+const nameP = "p";
-+const { "p": p0 } = new C();
-+const { ["p"]: p1 } = new C();
-+const { [nameP]: p2 } = new C();
-+const { p: p3 } = new C();
\ No newline at end of file
+ }
+ const nameP = "p";
+ const { "p": p0 } = new C();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructureOfVariableSameAsShorthand.js.diff b/testdata/baselines/reference/submodule/compiler/destructureOfVariableSameAsShorthand.js.diff
index 4174c270ea..1ca788a757 100644
--- a/testdata/baselines/reference/submodule/compiler/destructureOfVariableSameAsShorthand.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructureOfVariableSameAsShorthand.js.diff
@@ -13,73 +13,30 @@
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
--};
-function main() {
-- return __awaiter(this, void 0, void 0, function () {
-- var response, body, data, shouldBeNever;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- // These work examples as expected
-- get().then(function (response) {
-- // body is never
-- var body = response.data;
-- });
-- get().then(function (_a) {
-- var data = _a.data;
-- // data is never
-- });
-- return [4 /*yield*/, get()
-- // body is never
-- ];
-- case 1:
-- response = _a.sent();
-- body = response.data;
-- return [4 /*yield*/, get()];
-- case 2:
-- data = (_a.sent()).data;
-- return [4 /*yield*/, get()];
-- case 3:
-- shouldBeNever = (_a.sent()).data;
-- return [2 /*return*/];
-- }
+- return __awaiter(this, void 0, void 0, function* () {
+- // These work examples as expected
+- get().then((response) => {
+- // body is never
+- const body = response.data;
- });
-- });
+- get().then(({ data }) => {
+- // data is never
+- });
+- const response = yield get();
+async function main() {
+ // These work examples as expected
+ get().then((response) => {
-+ // body is never
-+ const body = response.data;
+ // body is never
+ const body = response.data;
+ });
+ get().then(({ data }) => {
-+ // data is never
-+ });
+ // data is never
+- const { data } = yield get();
+- // The following did not work as expected.
+- // shouldBeNever should be never, but was any
+- const { data: shouldBeNever } = yield get();
+ });
+ const response = await get();
+ // body is never
+ const body = response.data;
diff --git a/testdata/baselines/reference/submodule/compiler/destructureOptionalParameter.js.diff b/testdata/baselines/reference/submodule/compiler/destructureOptionalParameter.js.diff
index 94a964d92b..73d7deee62 100644
--- a/testdata/baselines/reference/submodule/compiler/destructureOptionalParameter.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructureOptionalParameter.js.diff
@@ -1,16 +1,6 @@
--- old.destructureOptionalParameter.js
+++ new.destructureOptionalParameter.js
-@@= skipped -25, +25 lines =@@
-
-
- //// [destructureOptionalParameter.js]
--function f2(_a) {
-- var _b = _a === void 0 ? { a: 0, b: 0 } : _a, a = _b.a, b = _b.b;
-+function f2({ a, b } = { a: 0, b: 0 }) {
- a;
- b;
- }
-@@= skipped -16, +15 lines =@@
+@@= skipped -40, +40 lines =@@
a: number;
b: number;
}): void;
diff --git a/testdata/baselines/reference/submodule/compiler/destructuredDeclarationEmit.js.diff b/testdata/baselines/reference/submodule/compiler/destructuredDeclarationEmit.js.diff
index fd3d406a8c..87fd6fcdb8 100644
--- a/testdata/baselines/reference/submodule/compiler/destructuredDeclarationEmit.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructuredDeclarationEmit.js.diff
@@ -1,16 +1,6 @@
--- old.destructuredDeclarationEmit.js
+++ new.destructuredDeclarationEmit.js
-@@= skipped -25, +25 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.arr = exports.foo = void 0;
--var foo = { bar: 'hello', bat: 'world', bam: { bork: { bar: 'a', baz: 'b' } } };
-+const foo = { bar: 'hello', bat: 'world', bam: { bork: { bar: 'a', baz: 'b' } } };
- exports.foo = foo;
--var arr = [0, 1, 2, ['a', 'b', 'c', [{ def: 'def' }, { sec: 'sec' }]]];
-+const arr = [0, 1, 2, ['a', 'b', 'c', [{ def: 'def' }, { sec: 'sec' }]]];
- exports.arr = arr;
- //// [index.js]
+@@= skipped -33, +33 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.foo2 = exports.sec = exports.bee = exports.one = exports.ibaz = exports.baz = exports.arr = exports.foo = void 0;
@@ -18,27 +8,22 @@
+const foo_1 = require("./foo");
Object.defineProperty(exports, "foo", { enumerable: true, get: function () { return foo_1.foo; } });
Object.defineProperty(exports, "arr", { enumerable: true, get: function () { return foo_1.arr; } });
--var baz = foo_1.foo.bar, bat = foo_1.foo.bat, _a = foo_1.foo.bam.bork, ibar = _a.bar, ibaz = _a.baz;
+ const { bar: baz, bat, bam: { bork: { bar: ibar, baz: ibaz } } } = foo_1.foo;
-exports.baz = baz;
-exports.ibaz = ibaz;
--var one = foo_1.arr[1], _b = foo_1.arr[3], bee = _b[1], _c = _b[3], sec = _c[1].sec;
+ const [, one, , [, bee, , [, { sec }]]] = foo_1.arr;
-exports.one = one;
-exports.bee = bee;
-exports.sec = sec;
--var getFoo = function () { return ({
-+const { bar: baz, bat, bam: { bork: { bar: ibar, baz: ibaz } } } = foo_1.foo;
-+const [, one, , [, bee, , [, { sec }]]] = foo_1.arr;
-+const getFoo = () => ({
+ const getFoo = () => ({
foo: 'foo'
--}); };
--var foo2 = getFoo().foo;
+ });
+ const { foo: foo2 } = getFoo();
-exports.foo2 = foo2;
-+});
-+const { foo: foo2 } = getFoo();
//// [foo.d.ts]
-@@= skipped -45, +39 lines =@@
+@@= skipped -37, +31 lines =@@
//// [index.d.ts]
import { foo, arr } from './foo';
export { foo, arr };
diff --git a/testdata/baselines/reference/submodule/compiler/destructuredMaappedTypeIsNotImplicitlyAny.js.diff b/testdata/baselines/reference/submodule/compiler/destructuredMaappedTypeIsNotImplicitlyAny.js.diff
deleted file mode 100644
index 2fc51a6f1f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/destructuredMaappedTypeIsNotImplicitlyAny.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.destructuredMaappedTypeIsNotImplicitlyAny.js
-+++ new.destructuredMaappedTypeIsNotImplicitlyAny.js
-@@= skipped -10, +10 lines =@@
-
- //// [destructuredMaappedTypeIsNotImplicitlyAny.js]
- 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.
-+ const { [key]: bar } = obj; // Element implicitly has an 'any' type because type '{ [_ in T]: number; }' has no index signature.
- bar; // bar : any
- // Note: this does work:
-- var lorem = obj[key];
-+ const lorem = obj[key];
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringAssignmentWithDefault.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringAssignmentWithDefault.js.diff
deleted file mode 100644
index 0dc6fc77d7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/destructuringAssignmentWithDefault.js.diff
+++ /dev/null
@@ -1,54 +0,0 @@
---- old.destructuringAssignmentWithDefault.js
-+++ new.destructuringAssignmentWithDefault.js
-@@= skipped -34, +34 lines =@@
-
-
- //// [destructuringAssignmentWithDefault.js]
--var _a;
--var a = {};
--var x = 0;
--(_a = a.x, x = _a === void 0 ? 1 : _a);
-+const a = {};
-+let x = 0;
-+({ x = 1 } = a);
- // Repro from #26235
- function f1(options) {
-- var _a;
-- var _b = options || {}, color = _b.color, width = _b.width;
-- (_a = options || {}, color = _a.color, width = _a.width);
-- var x1 = (options || {}).color;
-- var x2 = (options || {})["color"];
-+ let { color, width } = options || {};
-+ ({ color, width } = options || {});
-+ let x1 = (options || {}).color;
-+ let x2 = (options || {})["color"];
- }
- function f2(options) {
-- var _a;
-- var _b = options || [], str = _b[0], num = _b[1];
-- _a = options || [], str = _a[0], num = _a[1];
-- var x1 = (options || {})[0];
-+ let [str, num] = options || [];
-+ [str, num] = options || [];
-+ let x1 = (options || {})[0];
- }
- function f3(options) {
-- var _a;
-- var _b = options || {}, color = _b.color, width = _b.width;
-- (_a = options || {}, color = _a.color, width = _a.width);
-- var x1 = (options || {}).color;
-- var x2 = (options || {})["color"];
-+ let { color, width } = options || {};
-+ ({ color, width } = options || {});
-+ let x1 = (options || {}).color;
-+ let x2 = (options || {})["color"];
- }
- function f4(options) {
-- var _a;
-- var _b = options || [], str = _b[0], num = _b[1];
-- _a = options || [], str = _a[0], num = _a[1];
-- var x1 = (options || {})[0];
-+ let [str, num] = options || [];
-+ [str, num] = options || [];
-+ let x1 = (options || {})[0];
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringAssignmentWithDefault2.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringAssignmentWithDefault2.js.diff
deleted file mode 100644
index 57a400d385..0000000000
--- a/testdata/baselines/reference/submodule/compiler/destructuringAssignmentWithDefault2.js.diff
+++ /dev/null
@@ -1,39 +0,0 @@
---- old.destructuringAssignmentWithDefault2.js
-+++ new.destructuringAssignmentWithDefault2.js
-@@= skipped -27, +27 lines =@@
- ({ done: done = false, value } = r.next());
-
- //// [destructuringAssignmentWithDefault2.js]
--var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
--var a = {};
--var x;
-+const a = {};
-+let x;
- // Should not error out
--(_a = a.x, x = _a === void 0 ? 0 : _a);
--(_b = a.x, x = _b === void 0 ? 0 : _b);
--(_c = a.y, x = _c === void 0 ? 0 : _c);
-+({ x = 0 } = a);
-+({ x: x = 0 } = a);
-+({ y: x = 0 } = a);
- // Should be error
--(_d = a.x, x = _d === void 0 ? undefined : _d);
--(_e = a.x, x = _e === void 0 ? undefined : _e);
--(_f = a.y, x = _f === void 0 ? undefined : _f);
--var z1 = a.x;
--var _l = a.x, z2 = _l === void 0 ? 0 : _l;
--var _m = a.x, z3 = _m === void 0 ? undefined : _m;
--var done;
--var value;
--(_g = r.next(), _h = _g.done, done = _h === void 0 ? false : _h, value = _g.value);
--(_j = r.next(), _k = _j.done, done = _k === void 0 ? false : _k, value = _j.value);
-+({ x = undefined } = a);
-+({ x: x = undefined } = a);
-+({ y: x = undefined } = a);
-+const { x: z1 } = a;
-+const { x: z2 = 0 } = a;
-+const { x: z3 = undefined } = a;
-+let done;
-+let value;
-+({ done = false, value } = r.next());
-+({ done: done = false, value } = r.next());
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringAssignmentWithStrictNullChecks.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringAssignmentWithStrictNullChecks.js.diff
index 23ada9f4e7..f43838f776 100644
--- a/testdata/baselines/reference/submodule/compiler/destructuringAssignmentWithStrictNullChecks.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructuringAssignmentWithStrictNullChecks.js.diff
@@ -15,7 +15,6 @@
- }
- return t;
-};
--var bar;
+ let bar;
-(bar = __rest({}, []));
-+let bar;
+({ ...bar } = {});
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringAssignment_private.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringAssignment_private.js.diff
index 18efe965f9..b721d74be4 100644
--- a/testdata/baselines/reference/submodule/compiler/destructuringAssignment_private.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructuringAssignment_private.js.diff
@@ -1,32 +1,15 @@
--- old.destructuringAssignment_private.js
+++ new.destructuringAssignment_private.js
-@@= skipped -16, +16 lines =@@
-
+@@= skipped -17, +17 lines =@@
//// [destructuringAssignment_private.js]
--var _a, _b, _c, _d;
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.x = 0;
- this.o = [{ a: 1 }];
- }
-- return C;
--}());
--var x;
--(x = [{ a: new C() }][0].a.x);
--(x = new C().o[0].a);
--var nameX = "x";
--(_a = [{ a: new C() }], _b = nameX, x = _a[0].a[_b]);
--var nameO = "o";
--(_c = new C(), _d = nameO, x = _c[_d][0].a);
-+class C {
+ x = 0;
+ o = [{ a: 1 }];
-+}
-+let x;
-+([{ a: { x } }] = [{ a: new C() }]);
-+({ o: [{ a: x }] } = new C());
-+const nameX = "x";
-+([{ a: { [nameX]: x } }] = [{ a: new C() }]);
-+const nameO = "o";
-+({ [nameO]: [{ a: x }] } = new C());
\ No newline at end of file
+ }
+ let x;
+ ([{ a: { x } }] = [{ a: new C() }]);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringControlFlowNoCrash.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringControlFlowNoCrash.js.diff
index 1160dbfef9..83f94da264 100644
--- a/testdata/baselines/reference/submodule/compiler/destructuringControlFlowNoCrash.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructuringControlFlowNoCrash.js.diff
@@ -13,44 +13,12 @@
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- 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;
-+const { date, } = (inspectedElement) => 0;
+ const { date, } = (inspectedElement) => 0;
date.toISOString();
- // Working flow code
--var date2 = function (inspectedElement) { return ; }.date2, props;
-+const { date2, } = (inspectedElement) => , props;
+@@= skipped -16, +7 lines =@@
+ const { date2, } = (inspectedElement) => , 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) {
-- return [2 /*return*/];
--}); }); }.constructor;
+-const { constructor } = () => __awaiter(this, void 0, void 0, function* () { });
+const { constructor } = async () => { };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringFromUnionSpread.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringFromUnionSpread.js.diff
index 4cce0a0205..fb55f32960 100644
--- a/testdata/baselines/reference/submodule/compiler/destructuringFromUnionSpread.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructuringFromUnionSpread.js.diff
@@ -15,5 +15,5 @@
- };
- return __assign.apply(this, arguments);
-};
--var a = __assign({}, x).a; // error
+-const { a } = __assign({}, x); // error
+const { a } = { ...x }; // error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringInitializerContextualTypeFromContext.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringInitializerContextualTypeFromContext.js.diff
index b3fa23fc24..d7d9dcd940 100644
--- a/testdata/baselines/reference/submodule/compiler/destructuringInitializerContextualTypeFromContext.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructuringInitializerContextualTypeFromContext.js.diff
@@ -27,18 +27,14 @@
- }
- return t;
-};
--var Parent = function (_a) {
-- var children = _a.children, _b = _a.name, name = _b === void 0 ? "Artemis" : _b, props = __rest(_a, ["children", "name"]);
-- return Child(__assign({ name: name }, props));
+-const Parent = (_a) => {
+- var { children, name = "Artemis" } = _a, props = __rest(_a, ["children", "name"]);
+- return Child(__assign({ name }, props));
-};
--var Child = function (_a) {
-- var children = _a.children, _b = _a.name, name = _b === void 0 ? "Artemis" : _b, props = __rest(_a, ["children", "name"]);
-- return "name: ".concat(name, " props: ").concat(JSON.stringify(props));
+-const Child = (_a) => {
+- var { children, name = "Artemis" } = _a, props = __rest(_a, ["children", "name"]);
+- return `name: ${name} props: ${JSON.stringify(props)}`;
-};
--f(function (_a) {
-- var _1 = _a[0], _b = _a[1], _2 = _b === void 0 ? undefined : _b;
-- return undefined;
--});
+const Parent = ({ children, name = "Artemis", ...props }) => Child({ name, ...props });
+const Child = ({ children, name = "Artemis", ...props }) => `name: ${name} props: ${JSON.stringify(props)}`;
-+f(([_1, _2 = undefined]) => undefined);
\ No newline at end of file
+ f(([_1, _2 = undefined]) => undefined);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringPropertyAssignmentNameIsNotAssignmentTarget.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringPropertyAssignmentNameIsNotAssignmentTarget.js.diff
deleted file mode 100644
index 7edbe3fd2b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/destructuringPropertyAssignmentNameIsNotAssignmentTarget.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.destructuringPropertyAssignmentNameIsNotAssignmentTarget.js
-+++ new.destructuringPropertyAssignmentNameIsNotAssignmentTarget.js
-@@= skipped -12, +12 lines =@@
- //// [destructuringPropertyAssignmentNameIsNotAssignmentTarget.js]
- // test for #10668
- function qux(bar) {
-- var foo;
-- (foo = bar.value);
-- var x = function () { return bar; };
-+ let foo;
-+ ({ value: foo } = bar);
-+ let x = () => bar;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringTempOccursAfterPrologue.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringTempOccursAfterPrologue.js.diff
index 08d901fd91..8bbf3085eb 100644
--- a/testdata/baselines/reference/submodule/compiler/destructuringTempOccursAfterPrologue.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructuringTempOccursAfterPrologue.js.diff
@@ -4,9 +4,7 @@
function test(p) {
'use strict';
'use strong';
-- var _a;
-- p = (_a = p, p = _a.prop, _a);
+ 'use strict';
+ 'use strong';
-+ p = { prop: p } = p;
+ p = { prop: p } = p;
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringTuple.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringTuple.js.diff
index 5373cbbfdd..e471f14ee5 100644
--- a/testdata/baselines/reference/submodule/compiler/destructuringTuple.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructuringTuple.js.diff
@@ -5,12 +5,6 @@
//// [destructuringTuple.js]
-"use strict";
--var a = tuple[0], b = tuple[1], c = tuple[2], rest = tuple.slice(3);
--receiver = tuple.slice(0);
-+const [a, b, c, ...rest] = tuple;
-+[...receiver] = tuple;
- // Repros from #32140
--var oops1 = [1, 2, 3].reduce(function (accu, el) { return accu.concat(el); }, [])[0];
--var oops2 = [1, 2, 3].reduce(function (acc, e) { return acc.concat(e); }, [])[0];
-+const [oops1] = [1, 2, 3].reduce((accu, el) => accu.concat(el), []);
-+const [oops2] = [1, 2, 3].reduce((acc, e) => acc.concat(e), []);
\ No newline at end of file
+ const [a, b, c, ...rest] = tuple;
+ [...receiver] = tuple;
+ // Repros from #32140
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringTypeGuardFlow.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringTypeGuardFlow.js.diff
deleted file mode 100644
index 784d808df5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/destructuringTypeGuardFlow.js.diff
+++ /dev/null
@@ -1,38 +0,0 @@
---- old.destructuringTypeGuardFlow.js
-+++ new.destructuringTypeGuardFlow.js
-@@= skipped -38, +38 lines =@@
-
-
- //// [destructuringTypeGuardFlow.js]
--var aFoo = { bar: 3, baz: "b", nested: { a: 1, b: "y" } };
-+const 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;
-- var right = aFoo.bar;
-- var wrong = bar;
-- var another = baz;
-- var aAgain = a;
-- var bAgain = text;
-+ const { bar, baz, nested: { a, b: text } } = aFoo;
-+ const right = aFoo.bar;
-+ const wrong = bar;
-+ const another = baz;
-+ const aAgain = a;
-+ const bAgain = text;
- }
--var bBar = { elem1: 7, elem2: aFoo };
-+const bBar = { elem1: 7, elem2: aFoo };
- if (bBar.elem2 && bBar.elem2.bar && bBar.elem2.nested.b) {
-- var _b = bBar.elem2, bar = _b.bar, baz = _b.baz, _c = _b.nested, a = _c.a, text = _c.b;
-- var right = bBar.elem2.bar;
-- var wrong = bar;
-- var another = baz;
-- var aAgain = a;
-- var bAgain = text;
-+ const { bar, baz, nested: { a, b: text } } = bBar.elem2;
-+ const right = bBar.elem2.bar;
-+ const wrong = bar;
-+ const another = baz;
-+ const aAgain = a;
-+ const bAgain = text;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringWithConstraint.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringWithConstraint.js.diff
index 47ac701e00..7fc47b688a 100644
--- a/testdata/baselines/reference/submodule/compiler/destructuringWithConstraint.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructuringWithConstraint.js.diff
@@ -7,7 +7,5 @@
-"use strict";
-// Repro from #22823
function foo(props) {
-- var _a = props.foo, foo = _a === void 0 ? false : _a;
-+ let { foo = false } = props;
- if (foo === true) { }
- }
\ No newline at end of file
+ let { foo = false } = props;
+ if (foo === true) { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringWithGenericParameter.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringWithGenericParameter.js.diff
index 4256640f25..84d4d75568 100644
--- a/testdata/baselines/reference/submodule/compiler/destructuringWithGenericParameter.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructuringWithGenericParameter.js.diff
@@ -1,23 +1,10 @@
--- old.destructuringWithGenericParameter.js
+++ new.destructuringWithGenericParameter.js
-@@= skipped -16, +16 lines =@@
-
+@@= skipped -17, +17 lines =@@
//// [destructuringWithGenericParameter.js]
--var GenericClass = /** @class */ (function () {
-- function GenericClass() {
-- }
-- return GenericClass;
--}());
-+class GenericClass {
+ class GenericClass {
+ payload;
-+}
- var genericObject = new GenericClass();
- function genericFunction(object, callback) {
- callback(object.payload);
}
--genericFunction(genericObject, function (_a) {
-- var greeting = _a.greeting;
-+genericFunction(genericObject, ({ greeting }) => {
- var s = greeting.toLocaleLowerCase(); // Greeting should be of type string
- });
\ No newline at end of file
+ var genericObject = new GenericClass();
+ function genericFunction(object, callback) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringWithNewExpression.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringWithNewExpression.js.diff
index 27a251e0ab..8b975b45bd 100644
--- a/testdata/baselines/reference/submodule/compiler/destructuringWithNewExpression.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/destructuringWithNewExpression.js.diff
@@ -1,17 +1,12 @@
--- old.destructuringWithNewExpression.js
+++ new.destructuringWithNewExpression.js
-@@= skipped -7, +7 lines =@@
- var { x } = new C;
+@@= skipped -8, +8 lines =@@
//// [destructuringWithNewExpression.js]
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.x = 0;
- }
-- return C;
--}());
--var x = (new C).x;
-+class C {
+ x = 0;
-+}
-+var { x } = new C;
\ No newline at end of file
+ }
+ var { x } = new C;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/destructuringWithNumberLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/destructuringWithNumberLiteral.js.diff
deleted file mode 100644
index cf781ad3ac..0000000000
--- a/testdata/baselines/reference/submodule/compiler/destructuringWithNumberLiteral.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.destructuringWithNumberLiteral.js
-+++ new.destructuringWithNumberLiteral.js
-@@= skipped -3, +3 lines =@@
- var { toExponential } = 0;
-
- //// [destructuringWithNumberLiteral.js]
--var toExponential = 0..toExponential;
-+var { toExponential } = 0;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfConstructor1.js.diff b/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfConstructor1.js.diff
index 867ebef0ba..4af9fd93f9 100644
--- a/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfConstructor1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfConstructor1.js.diff
@@ -1,22 +1,11 @@
--- old.detachedCommentAtStartOfConstructor1.js
+++ new.detachedCommentAtStartOfConstructor1.js
-@@= skipped -12, +12 lines =@@
- }
+@@= skipped -13, +13 lines =@@
//// [detachedCommentAtStartOfConstructor1.js]
--var TestFile = /** @class */ (function () {
-- function TestFile(message) {
-- var _this = this;
-+class TestFile {
+ class TestFile {
+ message;
+ name;
-+ constructor(message) {
+ constructor(message) {
/// Test summary
- ///
-- var getMessage = function () { return message + _this.name; };
-+ var getMessage = () => message + this.name;
- this.message = getMessage();
- }
-- return TestFile;
--}());
-+}
\ No newline at end of file
+ ///
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfConstructor2.js.diff b/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfConstructor2.js.diff
index 669545b7d6..3e2b3d8870 100644
--- a/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfConstructor2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfConstructor2.js.diff
@@ -1,22 +1,11 @@
--- old.detachedCommentAtStartOfConstructor2.js
+++ new.detachedCommentAtStartOfConstructor2.js
-@@= skipped -13, +13 lines =@@
- }
+@@= skipped -14, +14 lines =@@
//// [detachedCommentAtStartOfConstructor2.js]
--var TestFile = /** @class */ (function () {
-- function TestFile(message) {
-+class TestFile {
+ class TestFile {
+ message;
+ name;
-+ constructor(message) {
+ constructor(message) {
/// Test summary
- ///
-- var _this = this;
-- var getMessage = function () { return message + _this.name; };
-+ var getMessage = () => message + this.name;
- this.message = getMessage();
- }
-- return TestFile;
--}());
-+}
\ No newline at end of file
+ ///
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfFunctionBody1.js.diff b/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfFunctionBody1.js.diff
deleted file mode 100644
index 3c7fe4455e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfFunctionBody1.js.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- old.detachedCommentAtStartOfFunctionBody1.js
-+++ new.detachedCommentAtStartOfFunctionBody1.js
-@@= skipped -10, +10 lines =@@
- }
-
- //// [detachedCommentAtStartOfFunctionBody1.js]
--var TestFile = /** @class */ (function () {
-- function TestFile() {
-- }
-- TestFile.prototype.foo = function (message) {
-- var _this = this;
-+class TestFile {
-+ foo(message) {
- /// Test summary
- ///
- ///
-- return function () { return message + _this.name; };
-- };
-- return TestFile;
--}());
-+ return () => message + this.name;
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfFunctionBody2.js.diff b/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfFunctionBody2.js.diff
deleted file mode 100644
index 0e6dc485f8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfFunctionBody2.js.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- old.detachedCommentAtStartOfFunctionBody2.js
-+++ new.detachedCommentAtStartOfFunctionBody2.js
-@@= skipped -11, +11 lines =@@
- }
-
- //// [detachedCommentAtStartOfFunctionBody2.js]
--var TestFile = /** @class */ (function () {
-- function TestFile() {
-- }
-- TestFile.prototype.foo = function (message) {
-+class TestFile {
-+ foo(message) {
- /// Test summary
- ///
- ///
-- var _this = this;
-- return function () { return message + _this.name; };
-- };
-- return TestFile;
--}());
-+ return () => message + this.name;
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfLambdaFunction1.js.diff b/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfLambdaFunction1.js.diff
index 98ed56983d..6113372102 100644
--- a/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfLambdaFunction1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfLambdaFunction1.js.diff
@@ -1,33 +1,10 @@
--- old.detachedCommentAtStartOfLambdaFunction1.js
+++ new.detachedCommentAtStartOfLambdaFunction1.js
-@@= skipped -12, +12 lines =@@
- }
+@@= skipped -13, +13 lines =@@
//// [detachedCommentAtStartOfLambdaFunction1.js]
--var TestFile = /** @class */ (function () {
-- function TestFile() {
-+class TestFile {
+ class TestFile {
+ name;
-+ foo(message) {
-+ return (...x) =>
-+ /// Test summary
-+ ///
-+ ///
-+ message + this.name;
- }
-- TestFile.prototype.foo = function (message) {
-- var _this = this;
-- return function () {
-- var x = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- x[_i] = arguments[_i];
-- }
-- /// Test summary
-- ///
-- ///
-- return message + _this.name;
-- };
-- };
-- return TestFile;
--}());
-+}
\ No newline at end of file
+ foo(message) {
+ return (...x) =>
+ /// Test summary
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfLambdaFunction2.js.diff b/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfLambdaFunction2.js.diff
index c547136c59..391c0ab3b3 100644
--- a/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfLambdaFunction2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/detachedCommentAtStartOfLambdaFunction2.js.diff
@@ -1,33 +1,10 @@
--- old.detachedCommentAtStartOfLambdaFunction2.js
+++ new.detachedCommentAtStartOfLambdaFunction2.js
-@@= skipped -13, +13 lines =@@
- }
+@@= skipped -14, +14 lines =@@
//// [detachedCommentAtStartOfLambdaFunction2.js]
--var TestFile = /** @class */ (function () {
-- function TestFile() {
-+class TestFile {
+ class TestFile {
+ name;
-+ foo(message) {
-+ return (...x) =>
-+ /// Test summary
-+ ///
-+ ///
-+ message + this.name;
- }
-- TestFile.prototype.foo = function (message) {
-- var _this = this;
-- return function () {
-- /// Test summary
-- ///
-- ///
-- var x = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- x[_i] = arguments[_i];
-- }
-- return message + _this.name;
-- };
-- };
-- return TestFile;
--}());
-+}
\ No newline at end of file
+ foo(message) {
+ return (...x) =>
+ /// Test summary
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/didYouMeanElaborationsForExpressionsWhichCouldBeCalled.js.diff b/testdata/baselines/reference/submodule/compiler/didYouMeanElaborationsForExpressionsWhichCouldBeCalled.js.diff
index 9974b03eaa..6d18232c12 100644
--- a/testdata/baselines/reference/submodule/compiler/didYouMeanElaborationsForExpressionsWhichCouldBeCalled.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/didYouMeanElaborationsForExpressionsWhichCouldBeCalled.js.diff
@@ -1,17 +1,10 @@
--- old.didYouMeanElaborationsForExpressionsWhichCouldBeCalled.js
+++ new.didYouMeanElaborationsForExpressionsWhichCouldBeCalled.js
-@@= skipped -30, +30 lines =@@
-
+@@= skipped -31, +31 lines =@@
//// [didYouMeanElaborationsForExpressionsWhichCouldBeCalled.js]
--var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- return Bar;
--}());
-+class Bar {
+ class Bar {
+ x;
-+}
+ }
foo({
- x: Bar,
- y: Date
\ No newline at end of file
+ x: Bar,
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/didYouMeanStringLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/didYouMeanStringLiteral.js.diff
deleted file mode 100644
index d1fa7f0399..0000000000
--- a/testdata/baselines/reference/submodule/compiler/didYouMeanStringLiteral.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.didYouMeanStringLiteral.js
-+++ new.didYouMeanStringLiteral.js
-@@= skipped -10, +10 lines =@@
-
-
- //// [didYouMeanStringLiteral.js]
--var t1 = "strong";
--var t2 = "strong";
--var t3 = "strong";
-+const t1 = "strong";
-+const t2 = "strong";
-+const t3 = "strong";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/didYouMeanSuggestionErrors.js.diff b/testdata/baselines/reference/submodule/compiler/didYouMeanSuggestionErrors.js.diff
deleted file mode 100644
index 9c6130a1eb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/didYouMeanSuggestionErrors.js.diff
+++ /dev/null
@@ -1,48 +0,0 @@
---- old.didYouMeanSuggestionErrors.js
-+++ new.didYouMeanSuggestionErrors.js
-@@= skipped -30, +30 lines =@@
- });
-
- //// [didYouMeanSuggestionErrors.js]
--describe("my test suite", function () {
-- it("should run", function () {
-- var a = $(".thing");
-+describe("my test suite", () => {
-+ it("should run", () => {
-+ const a = $(".thing");
- });
- });
--suite("another suite", function () {
-- test("everything else", function () {
-+suite("another suite", () => {
-+ test("everything else", () => {
- console.log(process.env);
- document.createElement("div");
-- var x = require("fs");
-- var y = Buffer.from([]);
-- var z = module.exports;
-- var a = new Map();
-- var b = new Set();
-- var c = new WeakMap();
-- var d = new WeakSet();
-- var e = Symbol();
-- var f = Promise.resolve(0);
-- var i = null;
-- var j = null;
-- var k = null;
-- var l = null;
-+ const x = require("fs");
-+ const y = Buffer.from([]);
-+ const z = module.exports;
-+ const a = new Map();
-+ const b = new Set();
-+ const c = new WeakMap();
-+ const d = new WeakSet();
-+ const e = Symbol();
-+ const f = Promise.resolve(0);
-+ const i = null;
-+ const j = null;
-+ const k = null;
-+ const l = null;
- });
- });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/differentTypesWithSameName.js.diff b/testdata/baselines/reference/submodule/compiler/differentTypesWithSameName.js.diff
index 385f20e505..349eb2a58d 100644
--- a/testdata/baselines/reference/submodule/compiler/differentTypesWithSameName.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/differentTypesWithSameName.js.diff
@@ -1,29 +1,18 @@
--- old.differentTypesWithSameName.js
+++ new.differentTypesWithSameName.js
-@@= skipped -20, +20 lines =@@
- //// [differentTypesWithSameName.js]
+@@= skipped -21, +21 lines =@@
var m;
(function (m) {
-- var variable = /** @class */ (function () {
-- function variable() {
-- }
-- return variable;
-- }());
-+ class variable {
+ class variable {
+ s;
-+ }
+ }
m.variable = variable;
function doSomething(v) {
- }
+@@= skipped -7, +8 lines =@@
m.doSomething = doSomething;
})(m || (m = {}));
--var variable = /** @class */ (function () {
-- function variable() {
-- }
-- return variable;
--}());
-+class variable {
+ class variable {
+ t;
-+}
+ }
var v = new variable();
m.doSomething(v);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/discriminableUnionWithIntersectedMembers.js.diff b/testdata/baselines/reference/submodule/compiler/discriminableUnionWithIntersectedMembers.js.diff
deleted file mode 100644
index 1339019012..0000000000
--- a/testdata/baselines/reference/submodule/compiler/discriminableUnionWithIntersectedMembers.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.discriminableUnionWithIntersectedMembers.js
-+++ new.discriminableUnionWithIntersectedMembers.js
-@@= skipped -17, +17 lines =@@
-
- //// [discriminableUnionWithIntersectedMembers.js]
- // error
--var x = 4;
-+const x = 4;
- // no error
--var y = 4;
-+const y = 4;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/discriminantElementAccessCheck.js.diff b/testdata/baselines/reference/submodule/compiler/discriminantElementAccessCheck.js.diff
deleted file mode 100644
index 87b73e9480..0000000000
--- a/testdata/baselines/reference/submodule/compiler/discriminantElementAccessCheck.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.discriminantElementAccessCheck.js
-+++ new.discriminantElementAccessCheck.js
-@@= skipped -76, +76 lines =@@
- }
- }
- function IfWithTemplate(val) {
-- if (val["kind"] === 'B') {
-+ if (val[`kind`] === 'B') {
- return val.b;
- }
- else {
-@@= skipped -8, +8 lines =@@
- }
- }
- function SwitchWithTemplate(val) {
-- switch (val["kind"]) {
-+ switch (val[`kind`]) {
- case 'A':
- return val.a;
- case 'B':
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/discriminantNarrowingCouldBeCircular.js.diff b/testdata/baselines/reference/submodule/compiler/discriminantNarrowingCouldBeCircular.js.diff
index c7d4756a18..5e23b6a0f0 100644
--- a/testdata/baselines/reference/submodule/compiler/discriminantNarrowingCouldBeCircular.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/discriminantNarrowingCouldBeCircular.js.diff
@@ -5,37 +5,6 @@
//// [discriminantNarrowingCouldBeCircular.js]
-"use strict";
--var o = {};
-+const o = {};
+ const o = {};
if (o) {
-- for (var key in o) {
-- var value = o[key];
-+ for (const key in o) {
-+ const value = o[key];
- if (is(value)) {
- }
- }
- }
- function getImplicitAriaRole(element) {
-- var ancestor = element;
-+ let ancestor = element;
- while (ancestor) {
-- var parent = parentElementOrShadowHost(ancestor);
-- var parents = kPresentationInheritanceParents[ancestor.a];
-+ const parent = parentElementOrShadowHost(ancestor);
-+ const parents = kPresentationInheritanceParents[ancestor.a];
- if (!parents || !parent || !parents.includes(parent.a))
- break;
- ancestor = parent;
- }
- }
- if (isPlainObject2(myObj2)) {
-- for (var _i = 0, _a = ["a", "b", "c"]; _i < _a.length; _i++) {
-- var key = _a[_i];
-- var deeper = myObj2[key];
-- var deeperKeys = isPlainObject2(deeper) ? Object.keys(deeper) : [];
-+ for (const key of ["a", "b", "c"]) {
-+ const deeper = myObj2[key];
-+ const deeperKeys = isPlainObject2(deeper) ? Object.keys(deeper) : [];
- }
- }
\ No newline at end of file
+ for (const key in o) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/discriminantPropertyCheck.js.diff b/testdata/baselines/reference/submodule/compiler/discriminantPropertyCheck.js.diff
index 4937d33703..65f7739ba4 100644
--- a/testdata/baselines/reference/submodule/compiler/discriminantPropertyCheck.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/discriminantPropertyCheck.js.diff
@@ -1,17 +1,6 @@
--- old.discriminantPropertyCheck.js
+++ new.discriminantPropertyCheck.js
-@@= skipped -303, +303 lines =@@
- }
- }
- // Repro from #29106
--var f = function (_a, _b) { };
--var u = {};
-+const f = (_a, _b) => { };
-+const u = {};
- u.a && u.b && f(u.a, u.b);
- u.b && u.a && f(u.a, u.b);
- function foo(obj) {
-@@= skipped -15, +15 lines =@@
+@@= skipped -318, +318 lines =@@
function onlyPlus(arg) {
return arg;
}
@@ -30,29 +19,4 @@
+ case BarEnum.bar2:
break;
default:
- never(value.type);
-@@= skipped -14, +19 lines =@@
- }
- function WorksProperly(data) {
- if (data.Name === "TypeA") {
-- var value1 = data.Value1;
-+ const value1 = data.Value1;
- }
- }
- function DoesNotWork(data) {
- if (isType(data)) {
- if (data.Name === "TypeA") {
-- var value1 = data.Value1;
-+ const value1 = data.Value1;
- }
- }
- }
--var doTestingStuff = function (mapOfTests, ids) {
-- ids.forEach(function (id) {
-- var test;
-+const doTestingStuff = (mapOfTests, ids) => {
-+ ids.forEach(id => {
-+ let test;
- test = mapOfTests[id];
- if (test.type === 'testA') {
- console.log(test.bananas);
\ No newline at end of file
+ never(value.type);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/discriminantPropertyInference.js.diff b/testdata/baselines/reference/submodule/compiler/discriminantPropertyInference.js.diff
index 8ff5c56e96..002fbe8bab 100644
--- a/testdata/baselines/reference/submodule/compiler/discriminantPropertyInference.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/discriminantPropertyInference.js.diff
@@ -7,24 +7,4 @@
-// Repro from #41759
// simple inference
f({
- disc: true,
-- cb: function (s) { return parseInt(s); }
-+ cb: s => parseInt(s)
- });
- // simple inference
- f({
- disc: false,
-- cb: function (n) { return n.toFixed(); }
-+ cb: n => n.toFixed()
- });
- // simple inference when strict-null-checks are enabled
- f({
- disc: undefined,
-- cb: function (n) { return n.toFixed(); }
-+ cb: n => n.toFixed()
- });
- // requires checking type information since discriminator is missing from object
- f({
-- cb: function (n) { return n.toFixed(); }
-+ cb: n => n.toFixed()
- });
\ No newline at end of file
+ disc: true,
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/discriminantsAndPrimitives.js.diff b/testdata/baselines/reference/submodule/compiler/discriminantsAndPrimitives.js.diff
index ab39a9bd84..135d74b07c 100644
--- a/testdata/baselines/reference/submodule/compiler/discriminantsAndPrimitives.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/discriminantsAndPrimitives.js.diff
@@ -12,14 +12,12 @@
}
}
}
--var n;
+// Repro from #31319
+var EnumTypeNode;
+(function (EnumTypeNode) {
+ EnumTypeNode["Pattern"] = "Pattern";
+ EnumTypeNode["Disjunction"] = "Disjunction";
+})(EnumTypeNode || (EnumTypeNode = {}));
-+let n;
+ let n;
if (n.type === "Disjunction") {
- n.alternatives.slice();
- }
\ No newline at end of file
+ n.alternatives.slice();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/discriminateObjectTypesOnly.js.diff b/testdata/baselines/reference/submodule/compiler/discriminateObjectTypesOnly.js.diff
index 995fad7c9f..804f8be116 100644
--- a/testdata/baselines/reference/submodule/compiler/discriminateObjectTypesOnly.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/discriminateObjectTypesOnly.js.diff
@@ -5,11 +5,6 @@
//// [discriminateObjectTypesOnly.js]
-"use strict";
--var k = { toFixed: null }; // OK, satisfies object
--var q = { toFixed: null };
--var h = { toString: null }; // OK, satisfies object
--var l = { toString: undefined }; // error, toFixed isn't null
-+const k = { toFixed: null }; // OK, satisfies object
-+const q = { toFixed: null };
-+const h = { toString: null }; // OK, satisfies object
-+const l = { toString: undefined }; // error, toFixed isn't null
\ No newline at end of file
+ const k = { toFixed: null }; // OK, satisfies object
+ const q = { toFixed: null };
+ const h = { toString: null }; // OK, satisfies object
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/discriminateWithMissingProperty.errors.txt.diff b/testdata/baselines/reference/submodule/compiler/discriminateWithMissingProperty.errors.txt.diff
deleted file mode 100644
index 892a53eaaf..0000000000
--- a/testdata/baselines/reference/submodule/compiler/discriminateWithMissingProperty.errors.txt.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- old.discriminateWithMissingProperty.errors.txt
-+++ new.discriminateWithMissingProperty.errors.txt
-@@= skipped -0, +0 lines =@@
--discriminateWithMissingProperty.ts(12,5): error TS2345: Argument of type '{ mode: "numeric"; data: Uint8Array; }' is not assignable to parameter of type 'Arg'.
-- Types of property 'data' are incompatible.
-- Type 'Uint8Array' is not assignable to type 'number'.
--
--
--==== discriminateWithMissingProperty.ts (1 errors) ====
-- type Arg = {
-- mode: "numeric",
-- data: number,
-- } | {
-- mode: "alphabetic",
-- data: string,
-- } | {
-- data: string | Uint8Array;
-- }
--
-- declare function foo(arg: Arg): void;
-- foo({ mode: "numeric", data: new Uint8Array([30]) }); // Should error
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--!!! error TS2345: Argument of type '{ mode: "numeric"; data: Uint8Array; }' is not assignable to parameter of type 'Arg'.
--!!! error TS2345: Types of property 'data' are incompatible.
--!!! error TS2345: Type 'Uint8Array' is not assignable to type 'number'.
-+
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/discriminatedUnionErrorMessage.js.diff b/testdata/baselines/reference/submodule/compiler/discriminatedUnionErrorMessage.js.diff
deleted file mode 100644
index d6221a4903..0000000000
--- a/testdata/baselines/reference/submodule/compiler/discriminatedUnionErrorMessage.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.discriminatedUnionErrorMessage.js
-+++ new.discriminatedUnionErrorMessage.js
-@@= skipped -15, +15 lines =@@
-
-
- //// [discriminatedUnionErrorMessage.js]
--var shape = {
-+let shape = {
- kind: "sq",
- x: 12,
- y: 13,
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/discriminatedUnionJsxElement.js.diff b/testdata/baselines/reference/submodule/compiler/discriminatedUnionJsxElement.js.diff
index 7b57bcfc2f..b5406fe21d 100644
--- a/testdata/baselines/reference/submodule/compiler/discriminatedUnionJsxElement.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/discriminatedUnionJsxElement.js.diff
@@ -8,7 +8,7 @@
-// Repro from #46021
function Menu(data) {
- var _a;
-- var listItemVariant = (_a = data.menuItemsVariant) !== null && _a !== void 0 ? _a : ListItemVariant.OneLine;
+- const listItemVariant = (_a = data.menuItemsVariant) !== null && _a !== void 0 ? _a : ListItemVariant.OneLine;
+ const listItemVariant = data.menuItemsVariant ?? ListItemVariant.OneLine;
return ;
}
diff --git a/testdata/baselines/reference/submodule/compiler/discriminatedUnionWithIndexSignature.js.diff b/testdata/baselines/reference/submodule/compiler/discriminatedUnionWithIndexSignature.js.diff
deleted file mode 100644
index 4194a486c4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/discriminatedUnionWithIndexSignature.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.discriminatedUnionWithIndexSignature.js
-+++ new.discriminatedUnionWithIndexSignature.js
-@@= skipped -31, +31 lines =@@
- //// [discriminatedUnionWithIndexSignature.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var withoutAsConst = {
-+const withoutAsConst = {
- 1: {
- type: 'text' /*as const*/,
- },
- };
--var withAsConst = {
-+const withAsConst = {
- 1: {
- type: 'text',
- },
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/divergentAccessors1.js.diff b/testdata/baselines/reference/submodule/compiler/divergentAccessors1.js.diff
index 2ef225c097..e1199d33f8 100644
--- a/testdata/baselines/reference/submodule/compiler/divergentAccessors1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/divergentAccessors1.js.diff
@@ -7,16 +7,4 @@
-"use strict";
// Accessors in interfaces/types
{
-- var ihgs = null;
-+ const ihgs = null;
- ihgs.foo = "32";
-- var r_ihgs_foo = ihgs.foo;
-+ let r_ihgs_foo = ihgs.foo;
- }
- {
-- var t_hgs = null;
-+ const t_hgs = null;
- t_hgs.foo = "32";
-- var r_t_hgs_foo = t_hgs.foo;
-+ let r_t_hgs_foo = t_hgs.foo;
- }
\ No newline at end of file
+ const ihgs = null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes3.js.diff b/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes3.js.diff
index f8df396d0b..8596113a9d 100644
--- a/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes3.js.diff
@@ -1,80 +1,10 @@
--- old.divergentAccessorsTypes3.js
+++ new.divergentAccessorsTypes3.js
-@@= skipped -45, +45 lines =@@
-
-
- //// [divergentAccessorsTypes3.js]
--var One = /** @class */ (function () {
-- function One() {
-- }
-- Object.defineProperty(One.prototype, "prop1", {
-- get: function () { return ""; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(One.prototype, "prop2", {
-- get: function () { return ""; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(One.prototype, "prop4", {
-- get: function () { return ""; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- return One;
--}());
--var Two = /** @class */ (function () {
-- function Two() {
-- }
-- Object.defineProperty(Two.prototype, "prop1", {
-- get: function () { return ""; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(Two.prototype, "prop2", {
-- get: function () { return ""; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(Two.prototype, "prop3", {
-- get: function () { return ""; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(Two.prototype, "prop4", {
-- get: function () { return ""; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- return Two;
--}());
-+class One {
-+ get prop1() { return ""; }
-+ set prop1(s) { }
-+ get prop2() { return ""; }
-+ set prop2(s) { }
+@@= skipped -50, +50 lines =@@
+ set prop1(s) { }
+ get prop2() { return ""; }
+ set prop2(s) { }
+ prop3;
-+ get prop4() { return ""; }
-+ set prop4(s) { }
-+}
-+class Two {
-+ get prop1() { return ""; }
-+ set prop1(s) { }
-+ get prop2() { return ""; }
-+ set prop2(s) { }
-+ get prop3() { return ""; }
-+ set prop3(s) { }
-+ get prop4() { return ""; }
-+ set prop4(s) { }
-+}
- u1.prop1 = 42;
- u1.prop1 = "hello";
- u1.prop2 = 42;
\ No newline at end of file
+ get prop4() { return ""; }
+ set prop4(s) { }
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes4.js.diff b/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes4.js.diff
index a7c2f538ac..25b896293c 100644
--- a/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes4.js.diff
@@ -1,48 +1,10 @@
--- old.divergentAccessorsTypes4.js
+++ new.divergentAccessorsTypes4.js
-@@= skipped -32, +32 lines =@@
-
-
- //// [divergentAccessorsTypes4.js]
--var One = /** @class */ (function () {
-- function One() {
-- }
-- Object.defineProperty(One.prototype, "prop1", {
-- get: function () { return ""; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- return One;
--}());
--var Two = /** @class */ (function () {
-- function Two() {
-- }
-- Object.defineProperty(Two.prototype, "prop1", {
-- get: function () { return "hello"; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(Two.prototype, "prop2", {
-- get: function () { return ""; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- return Two;
--}());
-+class One {
-+ get prop1() { return ""; }
-+ set prop1(s) { }
+@@= skipped -35, +35 lines =@@
+ class One {
+ get prop1() { return ""; }
+ set prop1(s) { }
+ prop2;
-+}
-+class Two {
-+ get prop1() { return "hello"; }
-+ set prop1(s) { }
-+ get prop2() { return ""; }
-+ set prop2(s) { }
-+}
- // "hello"
- i.prop1;
- // number | "hello"
\ No newline at end of file
+ }
+ class Two {
+ get prop1() { return "hello"; }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes5.js.diff b/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes5.js.diff
index c9ae963286..1f7546aca2 100644
--- a/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes5.js.diff
@@ -1,71 +1,10 @@
--- old.divergentAccessorsTypes5.js
+++ new.divergentAccessorsTypes5.js
-@@= skipped -41, +41 lines =@@
- //// [divergentAccessorsTypes5.js]
- // Not really different from divergentAccessorsTypes4.ts,
- // but goes through the deferred type code
--var One = /** @class */ (function () {
-- function One() {
-- }
-- Object.defineProperty(One.prototype, "prop1", {
-- get: function () { return ""; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- return One;
--}());
--var Two = /** @class */ (function () {
-- function Two() {
-- }
-- Object.defineProperty(Two.prototype, "prop1", {
-- get: function () { return "hello"; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(Two.prototype, "prop2", {
-- get: function () { return ""; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- return Two;
--}());
--var Three = /** @class */ (function () {
-- function Three() {
-- }
-- Object.defineProperty(Three.prototype, "prop1", {
-- get: function () { return "hello"; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(Three.prototype, "prop2", {
-- get: function () { return ""; },
-- set: function (s) { },
-- enumerable: false,
-- configurable: true
-- });
-- return Three;
--}());
-+class One {
-+ get prop1() { return ""; }
-+ set prop1(s) { }
+@@= skipped -44, +44 lines =@@
+ class One {
+ get prop1() { return ""; }
+ set prop1(s) { }
+ prop2;
-+}
-+class Two {
-+ get prop1() { return "hello"; }
-+ set prop1(s) { }
-+ get prop2() { return ""; }
-+ set prop2(s) { }
-+}
-+class Three {
-+ get prop1() { return "hello"; }
-+ set prop1(s) { }
-+ get prop2() { return ""; }
-+ set prop2(s) { }
-+}
- // "hello"
- i.prop1 = 42; // error
- i.prop1 = "hello";
\ No newline at end of file
+ }
+ class Two {
+ get prop1() { return "hello"; }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes6.js.diff b/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes6.js.diff
deleted file mode 100644
index aff6c232a9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes6.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.divergentAccessorsTypes6.js
-+++ new.divergentAccessorsTypes6.js
-@@= skipped -42, +42 lines =@@
- element.style = "color: red";
- element.style.animationTimingFunction;
- element.style = element.style; // error
--var o1 = {
-+const o1 = {
- get x() { return 0; },
- set x(value) { }
- };
- // A setter annotation still implies the getter return type.
--var o2 = {
-+const o2 = {
- get p1() { return 0; }, // error - no annotation means type is implied from the setter annotation
- set p1(value) { },
- get p2() { return 0; }, // ok - explicit annotation
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes7.js.diff b/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes7.js.diff
deleted file mode 100644
index a6c8bbd0b5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/divergentAccessorsTypes7.js.diff
+++ /dev/null
@@ -1,31 +0,0 @@
---- old.divergentAccessorsTypes7.js
-+++ new.divergentAccessorsTypes7.js
-@@= skipped -27, +27 lines =@@
-
-
- //// [divergentAccessorsTypes7.js]
--var Test = /** @class */ (function () {
-- function Test() {
-+class Test {
-+ constructor() { }
-+ set value(value) { }
-+ get value() {
-+ return null;
- }
-- Object.defineProperty(Test.prototype, "value", {
-- get: function () {
-- return null;
-- },
-- set: function (value) { },
-- enumerable: false,
-- configurable: true
-- });
-- return Test;
--}());
--var a = new Test();
--a.value = function (item) { return item.property; };
--a['value'] = function (item) { return item.property; };
-+}
-+const a = new Test();
-+a.value = (item) => item.property;
-+a['value'] = (item) => item.property;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/doNotElaborateAssignabilityToTypeParameters.js.diff b/testdata/baselines/reference/submodule/compiler/doNotElaborateAssignabilityToTypeParameters.js.diff
index 861dd3ba84..873606815b 100644
--- a/testdata/baselines/reference/submodule/compiler/doNotElaborateAssignabilityToTypeParameters.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/doNotElaborateAssignabilityToTypeParameters.js.diff
@@ -13,44 +13,10 @@
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
--};
-function foo(x) {
-- return __awaiter(this, void 0, void 0, function () {
-- var yaddable;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, getXOrYadda(x)];
-- case 1:
-- yaddable = _a.sent();
-- return [2 /*return*/, yaddable];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- let yaddable = yield getXOrYadda(x);
+- return yaddable;
- });
+async function foo(x) {
+ let yaddable = await getXOrYadda(x);
diff --git a/testdata/baselines/reference/submodule/compiler/doNotEmitDetachedCommentsAtStartOfConstructor.js.diff b/testdata/baselines/reference/submodule/compiler/doNotEmitDetachedCommentsAtStartOfConstructor.js.diff
deleted file mode 100644
index e8970a4bc2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/doNotEmitDetachedCommentsAtStartOfConstructor.js.diff
+++ /dev/null
@@ -1,50 +0,0 @@
---- old.doNotEmitDetachedCommentsAtStartOfConstructor.js
-+++ new.doNotEmitDetachedCommentsAtStartOfConstructor.js
-@@= skipped -39, +39 lines =@@
- }
-
- //// [doNotEmitDetachedCommentsAtStartOfConstructor.js]
--var A = (function () {
-- function A() {
-- var x = 10;
-- }
-- return A;
--}());
--var B = (function () {
-- function B() {
-- var y = 10;
-- }
-- return B;
--}());
--var C = (function () {
-- function C() {
-- var x = 10;
-- }
-- return C;
--}());
--var D = (function () {
-- function D() {
-- var y = 10;
-- }
-- return D;
--}());
-+class A {
-+ constructor() {
-+ var x = 10;
-+ }
-+}
-+class B {
-+ constructor() {
-+ var y = 10;
-+ }
-+}
-+class C {
-+ constructor() {
-+ var x = 10;
-+ }
-+}
-+class D {
-+ constructor() {
-+ var y = 10;
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/doNotEmitDetachedCommentsAtStartOfLambdaFunction.js.diff b/testdata/baselines/reference/submodule/compiler/doNotEmitDetachedCommentsAtStartOfLambdaFunction.js.diff
deleted file mode 100644
index 684749350a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/doNotEmitDetachedCommentsAtStartOfLambdaFunction.js.diff
+++ /dev/null
@@ -1,30 +0,0 @@
---- old.doNotEmitDetachedCommentsAtStartOfLambdaFunction.js
-+++ new.doNotEmitDetachedCommentsAtStartOfLambdaFunction.js
-@@= skipped -32, +32 lines =@@
-
-
- //// [doNotEmitDetachedCommentsAtStartOfLambdaFunction.js]
--(function () {
-- return 0;
--});
--(function () {
-- return 0;
--});
--(function () {
-- return 0;
--});
--(function () {
-- return 0;
--});
-+() => {
-+ return 0;
-+};
-+() => {
-+ return 0;
-+};
-+() => {
-+ return 0;
-+};
-+() => {
-+ return 0;
-+};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/doNotEmitPinnedCommentOnNotEmittedNode.js.diff b/testdata/baselines/reference/submodule/compiler/doNotEmitPinnedCommentOnNotEmittedNode.js.diff
deleted file mode 100644
index ea55c59da7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/doNotEmitPinnedCommentOnNotEmittedNode.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.doNotEmitPinnedCommentOnNotEmittedNode.js
-+++ new.doNotEmitPinnedCommentOnNotEmittedNode.js
-@@= skipped -12, +12 lines =@@
- declare var OData: any;
-
- //// [doNotEmitPinnedCommentOnNotEmittedNode.js]
--var C = (function () {
-- function C() {
-- }
-- C.prototype.foo = function (x, y) { };
-- return C;
--}());
-+class C {
-+ foo(x, y) { }
-+}
- var x = 10;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/doNotEmitPinnedCommentOnNotEmittedNodets.js.diff b/testdata/baselines/reference/submodule/compiler/doNotEmitPinnedCommentOnNotEmittedNodets.js.diff
deleted file mode 100644
index f14aced62b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/doNotEmitPinnedCommentOnNotEmittedNodets.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.doNotEmitPinnedCommentOnNotEmittedNodets.js
-+++ new.doNotEmitPinnedCommentOnNotEmittedNodets.js
-@@= skipped -10, +10 lines =@@
- declare var OData: any;
-
- //// [doNotEmitPinnedCommentOnNotEmittedNodets.js]
--var C = (function () {
-- function C() {
-- }
-- C.prototype.foo = function (x, y) { };
-- return C;
--}());
-+class C {
-+ foo(x, y) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/doNotInferUnrelatedTypes.js.diff b/testdata/baselines/reference/submodule/compiler/doNotInferUnrelatedTypes.js.diff
deleted file mode 100644
index be04c3f14b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/doNotInferUnrelatedTypes.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.doNotInferUnrelatedTypes.js
-+++ new.doNotInferUnrelatedTypes.js
-@@= skipped -9, +9 lines =@@
-
-
- //// [doNotInferUnrelatedTypes.js]
--var foo = dearray(alt);
-+let foo = dearray(alt);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/doWhileUnreachableCode.js.diff b/testdata/baselines/reference/submodule/compiler/doWhileUnreachableCode.js.diff
deleted file mode 100644
index 4862ed0de8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/doWhileUnreachableCode.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.doWhileUnreachableCode.js
-+++ new.doWhileUnreachableCode.js
-@@= skipped -15, +15 lines =@@
-
- //// [doWhileUnreachableCode.js]
- function test() {
-- var foo = 0;
-+ let foo = 0;
- testLoop: do {
- foo++;
- continue testLoop;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/doYouNeedToChangeYourTargetLibraryES2015.js.diff b/testdata/baselines/reference/submodule/compiler/doYouNeedToChangeYourTargetLibraryES2015.js.diff
deleted file mode 100644
index 75f192e078..0000000000
--- a/testdata/baselines/reference/submodule/compiler/doYouNeedToChangeYourTargetLibraryES2015.js.diff
+++ /dev/null
@@ -1,191 +0,0 @@
---- old.doYouNeedToChangeYourTargetLibraryES2015.js
-+++ new.doYouNeedToChangeYourTargetLibraryES2015.js
-@@= skipped -94, +94 lines =@@
-
-
- //// [doYouNeedToChangeYourTargetLibraryES2015.js]
--var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
-- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
-- return cooked;
--};
- // es2015
--var noOp = function () { };
--var testReflectApply = Reflect.apply(noOp, this, []);
--var testReflectConstruct = Reflect.construct(noOp, []);
--var testReflectDefineProperty = Reflect.defineProperty({}, "", {});
--var testReflectDeleteProperty = Reflect.deleteProperty({}, "");
--var testReflectGet = Reflect.get({}, "");
--var testReflectGetOwnPropertyDescriptor = Reflect.getOwnPropertyDescriptor({}, "");
--var testReflectGetPrototypeOf = Reflect.getPrototypeOf({});
--var testReflectIsExtensible = Reflect.isExtensible({});
--var testReflectOwnKeys = Reflect.ownKeys({});
--var testReflectPreventExtensions = Reflect.preventExtensions({});
--var testReflectSet = Reflect.set({}, "", 0);
--var testReflectSetPrototypeOf = Reflect.setPrototypeOf({}, {});
--var testArrayFind = [""].find(function (val, idx, obj) {
-- return true;
--});
--var testArrayFindIndex = [""].findIndex(function (val, idx, obj) {
-- return true;
--});
--var testArrayFill = [""].fill("fill");
--var testArrayCopyWithin = [""].copyWithin(0, 0);
--var testArrayEntries = [""].entries();
--var testArrayKeys = [""].keys();
--var testArrayValues = [""].values();
--var testArrayConstructorFrom = Array.from([]);
--var testArrayConstructorOf = Array.of([]);
--var testObjectConstructorAssign = Object.assign({}, {});
--var testObjectConstructorGetOwnPropertySymbols = Object.getOwnPropertySymbols({});
--var testObjectConstructorKeys = Object.keys({});
--var testObjectConstructorIs = Object.is({}, {});
--var testObjectConstructorSetPrototypeOf = Object.setPrototypeOf({}, {});
--var testNumberConstructorIsFinite = Number.isFinite(0);
--var testNumberConstructorIsInteger = Number.isInteger(0);
--var testNumberConstructorIsNan = Number.isNaN(0);
--var testNumberConstructorIsSafeInteger = Number.isSafeInteger(0);
--var testNumberConstructorParseFloat = Number.parseFloat("0");
--var testNumberConstructorParseInt = Number.parseInt("0");
--var testMathClz32 = Math.clz32(0);
--var testMathImul = Math.imul(0, 0);
--var testMathSign = Math.sign(0);
--var testMathLog10 = Math.log10(0);
--var testMathLog2 = Math.log2(0);
--var testMathLog1p = Math.log1p(0);
--var testMathExpm1 = Math.expm1(0);
--var testMathCosh = Math.cosh(0);
--var testMathSinh = Math.sinh(0);
--var testMathTanh = Math.tanh(0);
--var testMathAcosh = Math.acosh(0);
--var testMathAsinh = Math.asinh(0);
--var testMathAtanh = Math.atanh(0);
--var testMathHypot = Math.hypot(0, 0);
--var testMathTrunc = Math.trunc(0);
--var testMathFround = Math.fround(0);
--var testMathCbrt = Math.cbrt(0);
--var testMap = null;
--var testSet = null;
--var testPromiseAll = Promise.all([]);
--var testPromiseRace = Promise.race([]);
--var testPromiseResolve = Promise.resolve();
--var testPromiseReject = Promise.reject();
--var testSymbolFor = Symbol.for('a');
--var testSymbolKeyFor = Symbol.keyFor(testSymbolFor);
--var testWeakMap = null;
--var testWeakSet = null;
--var testIterator = null;
--var testAsyncIterator = null;
--var testStringCodePointAt = "".codePointAt(0);
--var testStringIncludes = "".includes("");
--var testStringEndsWith = "".endsWith("");
--var testStringNormalize = "".normalize();
--var testStringRepeat = "".repeat(0);
--var testStringStartsWith = "".startsWith("");
--var testStringAnchor = "".anchor("");
--var testStringBig = "".big();
--var testStringBlink = "".blink();
--var testStringBold = "".bold();
--var testStringFixed = "".fixed();
--var testStringFontColor = "".fontcolor("blue");
--var testStringFontSize = "".fontsize(0);
--var testStringItalics = "".italics();
--var testStringLink = "".link("");
--var testStringSmall = "".small();
--var testStringStrike = "".strike();
--var testStringSub = "".sub();
--var testStringSup = "".sup();
--var testStringConstructorFromCodePoint = String.fromCodePoint();
--var testStringConstructorRaw = String.raw(__makeTemplateObject([""], [""]));
--var testRegExpFlags = /abc/g.flags;
--var testRegExpSticky = /abc/g.sticky;
--var testRegExpUnicode = /abc/g.unicode;
-+const noOp = () => { };
-+const testReflectApply = Reflect.apply(noOp, this, []);
-+const testReflectConstruct = Reflect.construct(noOp, []);
-+const testReflectDefineProperty = Reflect.defineProperty({}, "", {});
-+const testReflectDeleteProperty = Reflect.deleteProperty({}, "");
-+const testReflectGet = Reflect.get({}, "");
-+const testReflectGetOwnPropertyDescriptor = Reflect.getOwnPropertyDescriptor({}, "");
-+const testReflectGetPrototypeOf = Reflect.getPrototypeOf({});
-+const testReflectIsExtensible = Reflect.isExtensible({});
-+const testReflectOwnKeys = Reflect.ownKeys({});
-+const testReflectPreventExtensions = Reflect.preventExtensions({});
-+const testReflectSet = Reflect.set({}, "", 0);
-+const testReflectSetPrototypeOf = Reflect.setPrototypeOf({}, {});
-+const testArrayFind = [""].find((val, idx, obj) => {
-+ return true;
-+});
-+const testArrayFindIndex = [""].findIndex((val, idx, obj) => {
-+ return true;
-+});
-+const testArrayFill = [""].fill("fill");
-+const testArrayCopyWithin = [""].copyWithin(0, 0);
-+const testArrayEntries = [""].entries();
-+const testArrayKeys = [""].keys();
-+const testArrayValues = [""].values();
-+const testArrayConstructorFrom = Array.from([]);
-+const testArrayConstructorOf = Array.of([]);
-+const testObjectConstructorAssign = Object.assign({}, {});
-+const testObjectConstructorGetOwnPropertySymbols = Object.getOwnPropertySymbols({});
-+const testObjectConstructorKeys = Object.keys({});
-+const testObjectConstructorIs = Object.is({}, {});
-+const testObjectConstructorSetPrototypeOf = Object.setPrototypeOf({}, {});
-+const testNumberConstructorIsFinite = Number.isFinite(0);
-+const testNumberConstructorIsInteger = Number.isInteger(0);
-+const testNumberConstructorIsNan = Number.isNaN(0);
-+const testNumberConstructorIsSafeInteger = Number.isSafeInteger(0);
-+const testNumberConstructorParseFloat = Number.parseFloat("0");
-+const testNumberConstructorParseInt = Number.parseInt("0");
-+const testMathClz32 = Math.clz32(0);
-+const testMathImul = Math.imul(0, 0);
-+const testMathSign = Math.sign(0);
-+const testMathLog10 = Math.log10(0);
-+const testMathLog2 = Math.log2(0);
-+const testMathLog1p = Math.log1p(0);
-+const testMathExpm1 = Math.expm1(0);
-+const testMathCosh = Math.cosh(0);
-+const testMathSinh = Math.sinh(0);
-+const testMathTanh = Math.tanh(0);
-+const testMathAcosh = Math.acosh(0);
-+const testMathAsinh = Math.asinh(0);
-+const testMathAtanh = Math.atanh(0);
-+const testMathHypot = Math.hypot(0, 0);
-+const testMathTrunc = Math.trunc(0);
-+const testMathFround = Math.fround(0);
-+const testMathCbrt = Math.cbrt(0);
-+const testMap = null;
-+const testSet = null;
-+const testPromiseAll = Promise.all([]);
-+const testPromiseRace = Promise.race([]);
-+const testPromiseResolve = Promise.resolve();
-+const testPromiseReject = Promise.reject();
-+const testSymbolFor = Symbol.for('a');
-+const testSymbolKeyFor = Symbol.keyFor(testSymbolFor);
-+const testWeakMap = null;
-+const testWeakSet = null;
-+const testIterator = null;
-+const testAsyncIterator = null;
-+const testStringCodePointAt = "".codePointAt(0);
-+const testStringIncludes = "".includes("");
-+const testStringEndsWith = "".endsWith("");
-+const testStringNormalize = "".normalize();
-+const testStringRepeat = "".repeat(0);
-+const testStringStartsWith = "".startsWith("");
-+const testStringAnchor = "".anchor("");
-+const testStringBig = "".big();
-+const testStringBlink = "".blink();
-+const testStringBold = "".bold();
-+const testStringFixed = "".fixed();
-+const testStringFontColor = "".fontcolor("blue");
-+const testStringFontSize = "".fontsize(0);
-+const testStringItalics = "".italics();
-+const testStringLink = "".link("");
-+const testStringSmall = "".small();
-+const testStringStrike = "".strike();
-+const testStringSub = "".sub();
-+const testStringSup = "".sup();
-+const testStringConstructorFromCodePoint = String.fromCodePoint();
-+const testStringConstructorRaw = String.raw ``;
-+const testRegExpFlags = /abc/g.flags;
-+const testRegExpSticky = /abc/g.sticky;
-+const testRegExpUnicode = /abc/g.unicode;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/doYouNeedToChangeYourTargetLibraryES2016Plus.js.diff b/testdata/baselines/reference/submodule/compiler/doYouNeedToChangeYourTargetLibraryES2016Plus.js.diff
deleted file mode 100644
index 054fac2dcd..0000000000
--- a/testdata/baselines/reference/submodule/compiler/doYouNeedToChangeYourTargetLibraryES2016Plus.js.diff
+++ /dev/null
@@ -1,78 +0,0 @@
---- old.doYouNeedToChangeYourTargetLibraryES2016Plus.js
-+++ new.doYouNeedToChangeYourTargetLibraryES2016Plus.js
-@@= skipped -50, +50 lines =@@
-
- //// [doYouNeedToChangeYourTargetLibraryES2016Plus.js]
- // es2016
--var testIncludes = ["hello"].includes("world");
-+const testIncludes = ["hello"].includes("world");
- // es2017
--var testStringPadStart = "".padStart(2);
--var testStringPadEnd = "".padEnd(2);
--var testObjectConstructorValues = Object.values({});
--var testObjectConstructorEntries = Object.entries({});
--var testObjectConstructorGetOwnPropertyDescriptors = Object.getOwnPropertyDescriptors({});
--var testIntlFormatToParts = new Intl.DateTimeFormat("en-US").formatToParts();
--var testAtomics = Atomics.add(new Uint8Array(0), 0, 0);
--var testSharedArrayBuffer = new SharedArrayBuffer(5);
-+const testStringPadStart = "".padStart(2);
-+const testStringPadEnd = "".padEnd(2);
-+const testObjectConstructorValues = Object.values({});
-+const testObjectConstructorEntries = Object.entries({});
-+const testObjectConstructorGetOwnPropertyDescriptors = Object.getOwnPropertyDescriptors({});
-+const testIntlFormatToParts = new Intl.DateTimeFormat("en-US").formatToParts();
-+const testAtomics = Atomics.add(new Uint8Array(0), 0, 0);
-+const testSharedArrayBuffer = new SharedArrayBuffer(5);
- // es2018
--var testPromiseFinally = new Promise(function () { }).finally();
--var testRegExpMatchArrayGroups = "2019-04-30".match(/(?[0-9]{4})-(?[0-9]{2})-(?[0-9]{2})/g).groups;
--var testRegExpExecArrayGroups = /(?[0-9]{4})-(?[0-9]{2})-(?[0-9]{2})/g.exec("2019-04-30").groups;
--var testRegExpDotAll = /foo/g.dotAll;
--var testIntlPluralRules = new Intl.PluralRules("ar-EG").select(0);
--var testAsyncGenerator = null;
--var testAsyncGeneratorFunction = null;
--var testAsyncIterable = null;
--var testAsyncIterableIterator = null;
--var testNumberFormatFormatToParts = new Intl.NumberFormat("en-US").formatToParts();
-+const testPromiseFinally = new Promise(() => { }).finally();
-+const testRegExpMatchArrayGroups = "2019-04-30".match(/(?[0-9]{4})-(?[0-9]{2})-(?[0-9]{2})/g).groups;
-+const testRegExpExecArrayGroups = /(?[0-9]{4})-(?[0-9]{2})-(?[0-9]{2})/g.exec("2019-04-30").groups;
-+const testRegExpDotAll = /foo/g.dotAll;
-+const testIntlPluralRules = new Intl.PluralRules("ar-EG").select(0);
-+const testAsyncGenerator = null;
-+const testAsyncGeneratorFunction = null;
-+const testAsyncIterable = null;
-+const testAsyncIterableIterator = null;
-+const testNumberFormatFormatToParts = new Intl.NumberFormat("en-US").formatToParts();
- // es2019
--var testArrayFlat = [].flat();
--var testArrayFlatMap = [].flatMap();
--var testObjectConstructorFromEntries = Object.fromEntries({});
--var testStringTrimStart = "".trimStart();
--var testStringTrimEnd = "".trimEnd();
--var testStringTrimLeft = "".trimLeft();
--var testStringTrimRight = "".trimRight();
--var testSymbolDescription = Symbol("foo").description;
-+const testArrayFlat = [].flat();
-+const testArrayFlatMap = [].flatMap();
-+const testObjectConstructorFromEntries = Object.fromEntries({});
-+const testStringTrimStart = "".trimStart();
-+const testStringTrimEnd = "".trimEnd();
-+const testStringTrimLeft = "".trimLeft();
-+const testStringTrimRight = "".trimRight();
-+const testSymbolDescription = Symbol("foo").description;
- // es2020
--var testPromiseAllSettled = Promise.allSettled([]);
--var testStringMatchAll = "".matchAll();
--var testRegExpMatchAll = /matchAll/g[Symbol.matchAll]("matchAll");
--var testBigInt = BigInt(123);
-+const testPromiseAllSettled = Promise.allSettled([]);
-+const testStringMatchAll = "".matchAll();
-+const testRegExpMatchAll = /matchAll/g[Symbol.matchAll]("matchAll");
-+const testBigInt = BigInt(123);
- // es2021
--var testPromiseAny = Promise.any([]);
--var testStringReplaceAll = "".replaceAll();
-+const testPromiseAny = Promise.any([]);
-+const testStringReplaceAll = "".replaceAll();
- // esnext
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/doesNotNarrowUnionOfConstructorsWithInstanceof.js.diff b/testdata/baselines/reference/submodule/compiler/doesNotNarrowUnionOfConstructorsWithInstanceof.js.diff
index fef8ce5eb8..047c4a6f39 100644
--- a/testdata/baselines/reference/submodule/compiler/doesNotNarrowUnionOfConstructorsWithInstanceof.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/doesNotNarrowUnionOfConstructorsWithInstanceof.js.diff
@@ -1,39 +1,16 @@
--- old.doesNotNarrowUnionOfConstructorsWithInstanceof.js
+++ new.doesNotNarrowUnionOfConstructorsWithInstanceof.js
-@@= skipped -29, +29 lines =@@
-
+@@= skipped -30, +30 lines =@@
//// [doesNotNarrowUnionOfConstructorsWithInstanceof.js]
--var A = /** @class */ (function () {
-- function A() {
-+class A {
+ class A {
+ length;
-+ constructor() {
+ constructor() {
this.length = 1;
}
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-+}
-+class B {
+ }
+ class B {
+ length;
-+ constructor() {
+ constructor() {
this.length = 2;
- }
-- return B;
--}());
-+}
- function getTypedArray(flag) {
- return flag ? new A() : new B();
- }
- function getTypedArrayConstructor(flag) {
- return flag ? A : B;
- }
--var a = getTypedArray(true); // A | B
--var b = getTypedArrayConstructor(false); // A constructor | B constructor
-+const a = getTypedArray(true); // A | B
-+const b = getTypedArrayConstructor(false); // A constructor | B constructor
- if (!(a instanceof b)) {
- console.log(a.length); // Used to be property 'length' does not exist on type 'never'.
- }
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/dottedModuleName.js.diff b/testdata/baselines/reference/submodule/compiler/dottedModuleName.js.diff
index 41246a7dc8..c9b4e92b0a 100644
--- a/testdata/baselines/reference/submodule/compiler/dottedModuleName.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/dottedModuleName.js.diff
@@ -1,23 +1,17 @@
--- old.dottedModuleName.js
+++ new.dottedModuleName.js
-@@= skipped -23, +23 lines =@@
- //// [dottedModuleName.js]
- var M;
+@@= skipped -25, +25 lines =@@
(function (M) {
-- var N;
-+ let N;
+ let N;
(function (N) {
+ function f(x) { }
+ N.f = f;
2 * x;
-- var X;
-+ let X;
+ let X;
(function (X) {
-- var Y;
-+ let Y;
+@@= skipped -7, +9 lines =@@
(function (Y) {
-- var Z;
-+ let Z;
+ let Z;
(function (Z) {
- Z.v2 = f(Z.v);
+ Z.v2 = f(v);
@@ -30,14 +24,11 @@
- var N;
+ let N;
(function (N) {
-- var X;
-+ let X;
+ let X;
(function (X) {
-- var Y;
-+ let Y;
+@@= skipped -15, +15 lines =@@
(function (Y) {
-- var Z;
-+ let Z;
+ let Z;
(function (Z) {
- Z.v = N.f(10);
+ Z.v = f(10);
diff --git a/testdata/baselines/reference/submodule/compiler/dottedModuleName2.js.diff b/testdata/baselines/reference/submodule/compiler/dottedModuleName2.js.diff
index d12ac2afee..9017b7875f 100644
--- a/testdata/baselines/reference/submodule/compiler/dottedModuleName2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/dottedModuleName2.js.diff
@@ -9,14 +9,6 @@
(function (B) {
B.x = 1;
})(B = A.B || (A.B = {}));
- })(A || (A = {}));
- var AA;
- (function (AA) {
-- var B;
-+ let B;
- (function (B) {
- B.x = 1;
- })(B = AA.B || (AA.B = {}));
@@= skipped -15, +15 lines =@@
var tmpOK = AA.B.x;
var tmpError = A.B.x;
diff --git a/testdata/baselines/reference/submodule/compiler/dottedSymbolResolution1.js.diff b/testdata/baselines/reference/submodule/compiler/dottedSymbolResolution1.js.diff
deleted file mode 100644
index b873837fed..0000000000
--- a/testdata/baselines/reference/submodule/compiler/dottedSymbolResolution1.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.dottedSymbolResolution1.js
-+++ new.dottedSymbolResolution1.js
-@@= skipped -27, +27 lines =@@
- }
-
- //// [dottedSymbolResolution1.js]
--var Base = /** @class */ (function () {
-- function Base() {
-- }
-- Base.prototype.foo = function () { };
-- return Base;
--}());
-+class Base {
-+ foo() { }
-+}
- function each(collection, callback) {
- return null;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/doubleMixinConditionalTypeBaseClassWorks.js.diff b/testdata/baselines/reference/submodule/compiler/doubleMixinConditionalTypeBaseClassWorks.js.diff
index a98c64c8ca..0b6bb5e3de 100644
--- a/testdata/baselines/reference/submodule/compiler/doubleMixinConditionalTypeBaseClassWorks.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/doubleMixinConditionalTypeBaseClassWorks.js.diff
@@ -1,49 +1,10 @@
--- old.doubleMixinConditionalTypeBaseClassWorks.js
+++ new.doubleMixinConditionalTypeBaseClassWorks.js
-@@= skipped -10, +10 lines =@@
- class C extends Mixin2(Mixin1(Object)) {}
+@@= skipped -11, +11 lines =@@
//// [doubleMixinConditionalTypeBaseClassWorks.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Mixin1 = function (Base) { return /** @class */ (function (_super) {
-- __extends(class_1, _super);
-- function class_1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return class_1;
--}(Base)); };
--var Mixin2 = function (Base) { return /** @class */ (function (_super) {
-- __extends(class_2, _super);
-- function class_2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return class_2;
--}(Base)); };
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(Mixin2(Mixin1(Object))));
-+const Mixin1 = (Base) => class extends Base {
+ const Mixin1 = (Base) => class extends Base {
+ _fooPrivate;
-+};
-+const Mixin2 = (Base) => class extends Base {
-+};
-+class C extends Mixin2(Mixin1(Object)) {
-+}
\ No newline at end of file
+ };
+ const Mixin2 = (Base) => class extends Base {
+ };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/doubleUnderscoreLabels.js.diff b/testdata/baselines/reference/submodule/compiler/doubleUnderscoreLabels.js.diff
deleted file mode 100644
index cf390ee92d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/doubleUnderscoreLabels.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.doubleUnderscoreLabels.js
-+++ new.doubleUnderscoreLabels.js
-@@= skipped -17, +17 lines =@@
- //// [doubleUnderscoreLabels.js]
- function doThing() {
- __call: while (true) {
-- aLabel: for (var i = 0; i < 10; i++) {
-+ aLabel: for (let i = 0; i < 10; i++) {
- if (i === 3) {
- break __call;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/doubleUnderscoreMappedTypes.js.diff b/testdata/baselines/reference/submodule/compiler/doubleUnderscoreMappedTypes.js.diff
deleted file mode 100644
index 69513cb43e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/doubleUnderscoreMappedTypes.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.doubleUnderscoreMappedTypes.js
-+++ new.doubleUnderscoreMappedTypes.js
-@@= skipped -27, +27 lines =@@
-
- //// [doubleUnderscoreMappedTypes.js]
- // As expected, I can make an object satisfying this interface
--var ok = {
-+const ok = {
- property1: "",
- __property2: ""
- };
--var k = "__property2"; // ok
-+const k = "__property2"; // ok
- // And should work with partial
--var partial = {
-+const partial = {
- property1: "",
- __property2: ""
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/doubleUnderscoreReactNamespace.js.diff b/testdata/baselines/reference/submodule/compiler/doubleUnderscoreReactNamespace.js.diff
deleted file mode 100644
index ba6e31f118..0000000000
--- a/testdata/baselines/reference/submodule/compiler/doubleUnderscoreReactNamespace.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.doubleUnderscoreReactNamespace.js
-+++ new.doubleUnderscoreReactNamespace.js
-@@= skipped -14, +14 lines =@@
- //// [index.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var thing = __make(__foot, null);
-+const thing = __make(__foot, null);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst1.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst1.js.diff
deleted file mode 100644
index b99f6024be..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst1.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.downlevelLetConst1.js
-+++ new.downlevelLetConst1.js
-@@= skipped -3, +3 lines =@@
- const
-
- //// [downlevelLetConst1.js]
--var ;
-+const ;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst10.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst10.js.diff
deleted file mode 100644
index b5629e5613..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst10.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.downlevelLetConst10.js
-+++ new.downlevelLetConst10.js
-@@= skipped -3, +3 lines =@@
- let a: number = 1
-
- //// [downlevelLetConst10.js]
--var a = 1;
-+let a = 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst12.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst12.js.diff
deleted file mode 100644
index 0937e022fa..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst12.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.downlevelLetConst12.js
-+++ new.downlevelLetConst12.js
-@@= skipped -14, +14 lines =@@
- //// [downlevelLetConst12.js]
- 'use strict';
- // top level let\const should not be renamed
--var foo;
--var bar = 1;
--var baz = [][0];
--var baz2 = { a: 1 }.a;
--var baz3 = [][0];
--var baz4 = { a: 1 }.a;
-+let foo;
-+const bar = 1;
-+let [baz] = [];
-+let { a: baz2 } = { a: 1 };
-+const [baz3] = [];
-+const { a: baz4 } = { a: 1 };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst14.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst14.js.diff
deleted file mode 100644
index 5d615bd2d6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst14.js.diff
+++ /dev/null
@@ -1,73 +0,0 @@
---- old.downlevelLetConst14.js
-+++ new.downlevelLetConst14.js
-@@= skipped -60, +60 lines =@@
- var x = 10;
- var z0, z1, z2, z3;
- {
-- var x_1 = 20;
-- use(x_1);
-- var z0_1 = [1][0];
-- use(z0_1);
-- var z1_1 = [1][0];
-- use(z1_1);
-- var z2_1 = { a: 1 }.a;
-- use(z2_1);
-- var z3_1 = { a: 1 }.a;
-- use(z3_1);
-+ let x = 20;
-+ use(x);
-+ let [z0] = [1];
-+ use(z0);
-+ let [z1] = [1];
-+ use(z1);
-+ let { a: z2 } = { a: 1 };
-+ use(z2);
-+ let { a: z3 } = { a: 1 };
-+ use(z3);
- }
- use(x);
- use(z0);
-@@= skipped -19, +19 lines =@@
- var z6;
- var y = true;
- {
-- var y_1 = "";
-- var z6_1 = [true][0];
-+ let y = "";
-+ let [z6] = [true];
- {
-- var y_2 = 1;
-- var z6_2 = { a: 1 }.a;
-- use(y_2);
-- use(z6_2);
-+ let y = 1;
-+ let { a: z6 } = { a: 1 };
-+ use(y);
-+ use(z6);
- }
-- use(y_1);
-- use(z6_1);
-+ use(y);
-+ use(z6);
- }
- use(y);
- use(z6);
- var z = false;
- var z5 = 1;
- {
-- var z_1 = "";
-- var z5_1 = [5][0];
-+ let z = "";
-+ let [z5] = [5];
- {
-- var _z = 1;
-- var _z5 = { a: 1 }.a;
-+ let _z = 1;
-+ let { a: _z5 } = { a: 1 };
- // try to step on generated name
- use(_z);
- }
-- use(z_1);
-+ use(z);
- }
- use(y);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst15.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst15.js.diff
deleted file mode 100644
index a636028f32..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst15.js.diff
+++ /dev/null
@@ -1,73 +0,0 @@
---- old.downlevelLetConst15.js
-+++ new.downlevelLetConst15.js
-@@= skipped -60, +60 lines =@@
- var x = 10;
- var z0, z1, z2, z3;
- {
-- var x_1 = 20;
-- use(x_1);
-- var z0_1 = [1][0];
-- use(z0_1);
-- var z1_1 = [{ a: 1 }][0].a;
-- use(z1_1);
-- var z2_1 = { a: 1 }.a;
-- use(z2_1);
-- var z3_1 = { a: { b: 1 } }.a.b;
-- use(z3_1);
-+ const x = 20;
-+ use(x);
-+ const [z0] = [1];
-+ use(z0);
-+ const [{ a: z1 }] = [{ a: 1 }];
-+ use(z1);
-+ const { a: z2 } = { a: 1 };
-+ use(z2);
-+ const { a: { b: z3 } } = { a: { b: 1 } };
-+ use(z3);
- }
- use(x);
- use(z0);
-@@= skipped -19, +19 lines =@@
- var z6;
- var y = true;
- {
-- var y_1 = "";
-- var z6_1 = [true][0];
-+ const y = "";
-+ const [z6] = [true];
- {
-- var y_2 = 1;
-- var z6_2 = { a: 1 }.a;
-- use(y_2);
-- use(z6_2);
-+ const y = 1;
-+ const { a: z6 } = { a: 1 };
-+ use(y);
-+ use(z6);
- }
-- use(y_1);
-- use(z6_1);
-+ use(y);
-+ use(z6);
- }
- use(y);
- use(z6);
- var z = false;
- var z5 = 1;
- {
-- var z_1 = "";
-- var z5_1 = [5][0];
-+ const z = "";
-+ const [z5] = [5];
- {
-- var _z = 1;
-- var _z5 = { a: 1 }.a;
-+ const _z = 1;
-+ const { a: _z5 } = { a: 1 };
- // try to step on generated name
- use(_z);
- }
-- use(z_1);
-+ use(z);
- }
- use(y);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst16.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst16.js.diff
deleted file mode 100644
index d8e8eb19a5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst16.js.diff
+++ /dev/null
@@ -1,323 +0,0 @@
---- old.downlevelLetConst16.js
-+++ new.downlevelLetConst16.js
-@@= skipped -237, +237 lines =@@
- use(y);
- use(z);
- function foo1() {
-- var x = 1;
-+ let x = 1;
- use(x);
-- var y = [1][0];
-+ let [y] = [1];
- use(y);
-- var z = { a: 1 }.a;
-+ let { a: z } = { a: 1 };
- use(z);
- }
- function foo2() {
- {
-- var x_1 = 1;
-- use(x_1);
-- var y_1 = [1][0];
-- use(y_1);
-- var z_1 = { a: 1 }.a;
-- use(z_1);
-+ let x = 1;
-+ use(x);
-+ let [y] = [1];
-+ use(y);
-+ let { a: z } = { a: 1 };
-+ use(z);
- }
- use(x);
- }
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.m1 = function () {
-- var x = 1;
-- use(x);
-- var y = [1][0];
-- use(y);
-- var z = { a: 1 }.a;
-- use(z);
-- };
-- A.prototype.m2 = function () {
-- {
-- var x_2 = 1;
-- use(x_2);
-- var y_2 = [1][0];
-- use(y_2);
-- var z_2 = { a: 1 }.a;
-- use(z_2);
-- }
-- use(x);
-- };
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- B.prototype.m1 = function () {
-- var x = 1;
-- use(x);
-- var y = [1][0];
-- use(y);
-- var z = { a: 1 }.a;
-- use(z);
-- };
-- B.prototype.m2 = function () {
-- {
-- var x_3 = 1;
-- use(x_3);
-- var y_3 = [1][0];
-- use(y_3);
-- var z_3 = { a: 1 }.a;
-- use(z_3);
-- }
-- use(x);
-- };
-- return B;
--}());
-+class A {
-+ m1() {
-+ let x = 1;
-+ use(x);
-+ let [y] = [1];
-+ use(y);
-+ let { a: z } = { a: 1 };
-+ use(z);
-+ }
-+ m2() {
-+ {
-+ let x = 1;
-+ use(x);
-+ let [y] = [1];
-+ use(y);
-+ let { a: z } = { a: 1 };
-+ use(z);
-+ }
-+ use(x);
-+ }
-+}
-+class B {
-+ m1() {
-+ const x = 1;
-+ use(x);
-+ const [y] = [1];
-+ use(y);
-+ const { a: z } = { a: 1 };
-+ use(z);
-+ }
-+ m2() {
-+ {
-+ const x = 1;
-+ use(x);
-+ const [y] = [1];
-+ use(y);
-+ const { a: z } = { a: 1 };
-+ use(z);
-+ }
-+ use(x);
-+ }
-+}
- function bar1() {
-- var x = 1;
-+ const x = 1;
- use(x);
-- var y = [1][0];
-+ const [y] = [1];
- use(y);
-- var z = { a: 1 }.a;
-+ const { a: z } = { a: 1 };
- use(z);
- }
- function bar2() {
- {
-- var x_4 = 1;
-- use(x_4);
-- var y_4 = [1][0];
-- use(y_4);
-- var z_4 = { a: 1 }.a;
-- use(z_4);
-+ const x = 1;
-+ use(x);
-+ const [y] = [1];
-+ use(y);
-+ const { a: z } = { a: 1 };
-+ use(z);
- }
- use(x);
- }
- var M1;
- (function (M1) {
-- var x = 1;
-+ let x = 1;
- use(x);
-- var y = [1][0];
-+ let [y] = [1];
- use(y);
-- var z = { a: 1 }.a;
-+ let { a: z } = { a: 1 };
- use(z);
- })(M1 || (M1 = {}));
- var M2;
- (function (M2) {
- {
-- var x_5 = 1;
-- use(x_5);
-- var y_5 = [1][0];
-- use(y_5);
-- var z_5 = { a: 1 }.a;
-- use(z_5);
-+ let x = 1;
-+ use(x);
-+ let [y] = [1];
-+ use(y);
-+ let { a: z } = { a: 1 };
-+ use(z);
- }
- use(x);
- })(M2 || (M2 = {}));
- var M3;
- (function (M3) {
-- var x = 1;
-+ const x = 1;
- use(x);
-- var y = [1][0];
-+ const [y] = [1];
- use(y);
-- var z = { a: 1 }.a;
-+ const { a: z } = { a: 1 };
- use(z);
- })(M3 || (M3 = {}));
- var M4;
- (function (M4) {
- {
-- var x_6 = 1;
-- use(x_6);
-- var y_6 = [1][0];
-- use(y_6);
-- var z_6 = { a: 1 }.a;
-- use(z_6);
-+ const x = 1;
-+ use(x);
-+ const [y] = [1];
-+ use(y);
-+ const { a: z } = { a: 1 };
-+ use(z);
- }
- use(x);
- use(y);
- use(z);
- })(M4 || (M4 = {}));
- function foo3() {
-- for (var x_7;;) {
-- use(x_7);
-- }
-- for (var y_7 = [][0];;) {
-- use(y_7);
-- }
-- for (var z_7 = { a: 1 }.a;;) {
-- use(z_7);
-+ for (let x;;) {
-+ use(x);
-+ }
-+ for (let [y] = [];;) {
-+ use(y);
-+ }
-+ for (let { a: z } = { a: 1 };;) {
-+ use(z);
- }
- use(x);
- }
- function foo4() {
-- for (var x_8 = 1;;) {
-- use(x_8);
-- }
-- for (var y_8 = [][0];;) {
-- use(y_8);
-- }
-- for (var z_8 = { a: 1 }.a;;) {
-- use(z_8);
-+ for (const x = 1;;) {
-+ use(x);
-+ }
-+ for (const [y] = [];;) {
-+ use(y);
-+ }
-+ for (const { a: z } = { a: 1 };;) {
-+ use(z);
- }
- use(x);
- }
- function foo5() {
-- for (var x_9 in []) {
-- use(x_9);
-+ for (let x in []) {
-+ use(x);
- }
- use(x);
- }
- function foo6() {
-- for (var x_10 in []) {
-- use(x_10);
-+ for (const x in []) {
-+ use(x);
- }
- use(x);
- }
- function foo7() {
-- for (var _i = 0, _a = []; _i < _a.length; _i++) {
-- var x_11 = _a[_i];
-- use(x_11);
-+ for (let x of []) {
-+ use(x);
- }
- use(x);
- }
- function foo8() {
-- for (var _i = 0, _a = []; _i < _a.length; _i++) {
-- var x_12 = _a[_i][0];
-- use(x_12);
-+ for (let [x] of []) {
-+ use(x);
- }
- use(x);
- }
- function foo9() {
-- for (var _i = 0, _a = []; _i < _a.length; _i++) {
-- var x_13 = _a[_i].a;
-- use(x_13);
-+ for (let { a: x } of []) {
-+ use(x);
- }
- use(x);
- }
- function foo10() {
-- for (var _i = 0, _a = []; _i < _a.length; _i++) {
-- var x_14 = _a[_i];
-- use(x_14);
-+ for (const x of []) {
-+ use(x);
- }
- use(x);
- }
- function foo11() {
-- for (var _i = 0, _a = []; _i < _a.length; _i++) {
-- var x_15 = _a[_i][0];
-- use(x_15);
-+ for (const [x] of []) {
-+ use(x);
- }
- use(x);
- }
- function foo12() {
-- for (var _i = 0, _a = []; _i < _a.length; _i++) {
-- var x_16 = _a[_i].a;
-- use(x_16);
-+ for (const { a: x } of []) {
-+ use(x);
- }
- use(x);
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst17.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst17.js.diff
deleted file mode 100644
index 21d4cde7fa..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst17.js.diff
+++ /dev/null
@@ -1,104 +0,0 @@
---- old.downlevelLetConst17.js
-+++ new.downlevelLetConst17.js
-@@= skipped -71, +71 lines =@@
- //// [downlevelLetConst17.js]
- 'use strict';
- var x;
--for (var x_1 = 10;;) {
-- use(x_1);
-+for (let x = 10;;) {
-+ use(x);
- }
- use(x);
--for (var x_2 = 10;;) {
-- use(x_2);
--}
--for (;;) {
-- var x_3 = 10;
-- use(x_3);
-- x_3 = 1;
--}
--for (;;) {
-- var x_4 = 10;
-- use(x_4);
--}
--for (var x_5;;) {
-- use(x_5);
-- x_5 = 1;
--}
--for (;;) {
-- var x_6 = void 0;
-- use(x_6);
-- x_6 = 1;
--}
--while (true) {
-- var x_7 = void 0;
-- use(x_7);
--}
--while (true) {
-- var x_8 = true;
-- use(x_8);
--}
--do {
-- var x_9 = void 0;
-- use(x_9);
--} while (true);
--do {
-- var x_10 = void 0;
-- use(x_10);
--} while (true);
--for (var x_11 in []) {
-- use(x_11);
--}
--for (var x_12 in []) {
-- use(x_12);
--}
--for (var _i = 0, _a = []; _i < _a.length; _i++) {
-- var x_13 = _a[_i];
-- use(x_13);
-+for (const x = 10;;) {
-+ use(x);
-+}
-+for (;;) {
-+ let x = 10;
-+ use(x);
-+ x = 1;
-+}
-+for (;;) {
-+ const x = 10;
-+ use(x);
-+}
-+for (let x;;) {
-+ use(x);
-+ x = 1;
-+}
-+for (;;) {
-+ let x;
-+ use(x);
-+ x = 1;
-+}
-+while (true) {
-+ let x;
-+ use(x);
-+}
-+while (true) {
-+ const x = true;
-+ use(x);
-+}
-+do {
-+ let x;
-+ use(x);
-+} while (true);
-+do {
-+ let x;
-+ use(x);
-+} while (true);
-+for (let x in []) {
-+ use(x);
-+}
-+for (const x in []) {
-+ use(x);
-+}
-+for (const x of []) {
-+ use(x);
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst18.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst18.js.diff
deleted file mode 100644
index 1d8dca1fe1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst18.js.diff
+++ /dev/null
@@ -1,64 +0,0 @@
---- old.downlevelLetConst18.js
-+++ new.downlevelLetConst18.js
-@@= skipped -33, +33 lines =@@
-
- //// [downlevelLetConst18.js]
- 'use strict';
--var _loop_1 = function (x) {
-+for (let x;;) {
- function foo() { x; }
- ;
--};
--for (var x = void 0;;) {
-- _loop_1(x);
- }
--var _loop_2 = function (x) {
-+for (let x;;) {
- function foo1() { x; }
- ;
--};
--for (var x = void 0;;) {
-- _loop_2(x);
--}
--var _loop_3 = function (x) {
-- (function () { x; })();
--};
--for (var x = void 0;;) {
-- _loop_3(x);
--}
--var _loop_4 = function (x) {
-- (function () { x; })();
--};
--for (var x = 1;;) {
-- _loop_4(x);
--}
--var _loop_5 = function (x) {
-- ({ foo: function () { x; } });
--};
--for (var x = void 0;;) {
-- _loop_5(x);
--}
--var _loop_6 = function (x) {
-+}
-+for (let x;;) {
-+ (() => { x; })();
-+}
-+for (const x = 1;;) {
-+ (() => { x; })();
-+}
-+for (let x;;) {
-+ ({ foo() { x; } });
-+}
-+for (let x;;) {
- ({ get foo() { return x; } });
--};
--for (var x = void 0;;) {
-- _loop_6(x);
- }
--var _loop_7 = function (x) {
-+for (let x;;) {
- ({ set foo(v) { x; } });
--};
--for (var x = void 0;;) {
-- _loop_7(x);
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst19.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst19.js.diff
deleted file mode 100644
index 2770f4d1a6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst19.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.downlevelLetConst19.js
-+++ new.downlevelLetConst19.js
-@@= skipped -25, +25 lines =@@
- var x;
- function a() {
- {
-- var x_1;
-- use(x_1);
-+ let x;
-+ use(x);
- function b() {
- {
-- var x_2;
-- use(x_2);
-+ let x;
-+ use(x);
- }
-- use(x_1);
-+ use(x);
- }
- }
- use(x);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst2.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst2.js.diff
deleted file mode 100644
index 27cff34b62..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst2.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.downlevelLetConst2.js
-+++ new.downlevelLetConst2.js
-@@= skipped -3, +3 lines =@@
- const a
-
- //// [downlevelLetConst2.js]
--var a;
-+const a;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst3.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst3.js.diff
deleted file mode 100644
index 4100c9ace1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst3.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.downlevelLetConst3.js
-+++ new.downlevelLetConst3.js
-@@= skipped -3, +3 lines =@@
- const a = 1
-
- //// [downlevelLetConst3.js]
--var a = 1;
-+const a = 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst4.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst4.js.diff
deleted file mode 100644
index 0179ed6dcf..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst4.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.downlevelLetConst4.js
-+++ new.downlevelLetConst4.js
-@@= skipped -3, +3 lines =@@
- const a: number
-
- //// [downlevelLetConst4.js]
--var a;
-+const a;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst5.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst5.js.diff
deleted file mode 100644
index 13d5864bf6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst5.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.downlevelLetConst5.js
-+++ new.downlevelLetConst5.js
-@@= skipped -3, +3 lines =@@
- const a: number = 1
-
- //// [downlevelLetConst5.js]
--var a = 1;
-+const a = 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst7.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst7.js.diff
deleted file mode 100644
index ca3aadb1af..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst7.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.downlevelLetConst7.js
-+++ new.downlevelLetConst7.js
-@@= skipped -3, +3 lines =@@
- let a
-
- //// [downlevelLetConst7.js]
--var a;
-+let a;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst8.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst8.js.diff
deleted file mode 100644
index 6fe979dcd4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst8.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.downlevelLetConst8.js
-+++ new.downlevelLetConst8.js
-@@= skipped -3, +3 lines =@@
- let a = 1
-
- //// [downlevelLetConst8.js]
--var a = 1;
-+let a = 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/downlevelLetConst9.js.diff b/testdata/baselines/reference/submodule/compiler/downlevelLetConst9.js.diff
deleted file mode 100644
index 537c61d63a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/downlevelLetConst9.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.downlevelLetConst9.js
-+++ new.downlevelLetConst9.js
-@@= skipped -3, +3 lines =@@
- let a: number
-
- //// [downlevelLetConst9.js]
--var a;
-+let a;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateAnonymousInners1.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateAnonymousInners1.js.diff
deleted file mode 100644
index 29846826d9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/duplicateAnonymousInners1.js.diff
+++ /dev/null
@@ -1,35 +0,0 @@
---- old.duplicateAnonymousInners1.js
-+++ new.duplicateAnonymousInners1.js
-@@= skipped -29, +29 lines =@@
- //// [duplicateAnonymousInners1.js]
- var Foo;
- (function (Foo) {
-- var Helper = /** @class */ (function () {
-- function Helper() {
-- }
-- return Helper;
-- }());
-- var Inner = /** @class */ (function () {
-- function Inner() {
-- }
-- return Inner;
-- }());
-+ class Helper {
-+ }
-+ class Inner {
-+ }
- // Inner should show up in intellisense
- Foo.Outer = 0;
- })(Foo || (Foo = {}));
- (function (Foo) {
- // Should not be an error
-- var Helper = /** @class */ (function () {
-- function Helper() {
-- }
-- return Helper;
-- }());
-+ class Helper {
-+ }
- // Inner should not show up in intellisense
- // Outer should show up in intellisense
- })(Foo || (Foo = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateAnonymousModuleClasses.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateAnonymousModuleClasses.js.diff
deleted file mode 100644
index b73aa50950..0000000000
--- a/testdata/baselines/reference/submodule/compiler/duplicateAnonymousModuleClasses.js.diff
+++ /dev/null
@@ -1,68 +0,0 @@
---- old.duplicateAnonymousModuleClasses.js
-+++ new.duplicateAnonymousModuleClasses.js
-@@= skipped -60, +60 lines =@@
- //// [duplicateAnonymousModuleClasses.js]
- var F;
- (function (F) {
-- var Helper = /** @class */ (function () {
-- function Helper() {
-- }
-- return Helper;
-- }());
-+ class Helper {
-+ }
- })(F || (F = {}));
- (function (F) {
- // Should not be an error
-- var Helper = /** @class */ (function () {
-- function Helper() {
-- }
-- return Helper;
-- }());
-+ class Helper {
-+ }
- })(F || (F = {}));
- var Foo;
- (function (Foo) {
-- var Helper = /** @class */ (function () {
-- function Helper() {
-- }
-- return Helper;
-- }());
-+ class Helper {
-+ }
- })(Foo || (Foo = {}));
- (function (Foo) {
- // Should not be an error
-- var Helper = /** @class */ (function () {
-- function Helper() {
-- }
-- return Helper;
-- }());
-+ class Helper {
-+ }
- })(Foo || (Foo = {}));
- var Gar;
- (function (Gar) {
-- var Foo;
-+ let Foo;
- (function (Foo) {
-- var Helper = /** @class */ (function () {
-- function Helper() {
-- }
-- return Helper;
-- }());
-+ class Helper {
-+ }
- })(Foo || (Foo = {}));
- (function (Foo) {
- // Should not be an error
-- var Helper = /** @class */ (function () {
-- function Helper() {
-- }
-- return Helper;
-- }());
-+ class Helper {
-+ }
- })(Foo || (Foo = {}));
- })(Gar || (Gar = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateClassElements.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateClassElements.js.diff
index 254bd56691..d11ea59e0d 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicateClassElements.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicateClassElements.js.diff
@@ -1,68 +1,13 @@
--- old.duplicateClassElements.js
+++ new.duplicateClassElements.js
-@@= skipped -46, +46 lines =@@
- }
+@@= skipped -47, +47 lines =@@
//// [duplicateClassElements.js]
--var a = /** @class */ (function () {
-- function a() {
+ class a {
+- b() {
+- }
+- b() {
- }
-- a.prototype.b = function () {
-- };
-- a.prototype.b = function () {
-- };
-- Object.defineProperty(a.prototype, "x", {
-- get: function () {
-- return 10;
-- },
-- set: function (_x) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(a.prototype, "y", {
-- get: function () {
-- return "Hello";
-- },
-- set: function (_y) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- a.prototype.z = function () {
-- };
-- Object.defineProperty(a.prototype, "z", {
-- get: function () {
-- return "Hello";
-- },
-- set: function (_y) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(a.prototype, "x2", {
-- get: function () {
-- return 10;
-- },
-- set: function (_x) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(a.prototype, "z2", {
-- get: function () {
-- return "Hello";
-- },
-- set: function (_y) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- a.prototype.z2 = function () {
-- };
-- return a;
--}());
-+class a {
+ a;
+ a;
+ b() {
@@ -70,34 +15,14 @@
+ b() {
+ }
+ x;
-+ get x() {
-+ return 10;
-+ }
-+ set x(_x) {
-+ }
-+ get y() {
-+ return "Hello";
-+ }
-+ set y(_y) {
-+ }
-+ z() {
-+ }
-+ get z() {
-+ return "Hello";
-+ }
-+ set z(_y) {
-+ }
-+ get x2() {
-+ return 10;
-+ }
-+ set x2(_x) {
-+ }
+ get x() {
+ return 10;
+ }
+@@= skipped -26, +29 lines =@@
+ }
+ set x2(_x) {
+ }
+ x2;
-+ get z2() {
-+ return "Hello";
-+ }
-+ set z2(_y) {
-+ }
-+ z2() {
-+ }
-+}
\ No newline at end of file
+ get z2() {
+ return "Hello";
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateConstructorOverloadSignature.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateConstructorOverloadSignature.js.diff
deleted file mode 100644
index ea2cd9a531..0000000000
--- a/testdata/baselines/reference/submodule/compiler/duplicateConstructorOverloadSignature.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.duplicateConstructorOverloadSignature.js
-+++ new.duplicateConstructorOverloadSignature.js
-@@= skipped -7, +7 lines =@@
- }
-
- //// [duplicateConstructorOverloadSignature.js]
--var C = /** @class */ (function () {
-- function C(x) {
-- }
-- return C;
--}());
-+class C {
-+ constructor(x) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateConstructorOverloadSignature2.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateConstructorOverloadSignature2.js.diff
deleted file mode 100644
index 36e689df44..0000000000
--- a/testdata/baselines/reference/submodule/compiler/duplicateConstructorOverloadSignature2.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.duplicateConstructorOverloadSignature2.js
-+++ new.duplicateConstructorOverloadSignature2.js
-@@= skipped -7, +7 lines =@@
- }
-
- //// [duplicateConstructorOverloadSignature2.js]
--var C = /** @class */ (function () {
-- function C(x) {
-- }
-- return C;
--}());
-+class C {
-+ constructor(x) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateErrorAssignability.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateErrorAssignability.js.diff
index b8982ef528..7cc8df4aa7 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicateErrorAssignability.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicateErrorAssignability.js.diff
@@ -5,8 +5,6 @@
//// [duplicateErrorAssignability.js]
-"use strict";
--var x = a = b;
--var obj = { 3: "three" };
-+const x = a = b;
-+let obj = { 3: "three" };
+ const x = a = b;
+ let obj = { 3: "three" };
obj[x];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateErrorClassExpression.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateErrorClassExpression.js.diff
index 08f8cb86f7..d6f782811e 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicateErrorClassExpression.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicateErrorClassExpression.js.diff
@@ -5,39 +5,11 @@
//// [duplicateErrorClassExpression.js]
-"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Base = /** @class */ (function () {
-- function Base() {
-- }
-- return Base;
--}());
--var x = /** @class */ (function (_super) {
-- __extends(Derived, _super);
-- function Derived() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Derived;
--}(Base));
--var obj = { 3: "three" };
-+class Base {
+ class Base {
+ foo;
-+}
-+const x = class Derived extends Base {
+ }
+ const x = class Derived extends Base {
+ foo;
-+};
-+let obj = { 3: "three" };
+ };
+ let obj = { 3: "three" };
obj[x];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierBindingElementInParameterDeclaration1.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateIdentifierBindingElementInParameterDeclaration1.js.diff
deleted file mode 100644
index c5e065b5cc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierBindingElementInParameterDeclaration1.js.diff
+++ /dev/null
@@ -1,46 +0,0 @@
---- old.duplicateIdentifierBindingElementInParameterDeclaration1.js
-+++ new.duplicateIdentifierBindingElementInParameterDeclaration1.js
-@@= skipped -10, +10 lines =@@
- function f7(a, func = (a) => { return 1 }) { } // not error
-
- //// [duplicateIdentifierBindingElementInParameterDeclaration1.js]
--function f0(a, _a, _b) {
-- var a = _a[0], b = _a[1][0];
-- var b = _b.b;
--}
--function f1(_a) {
-- var a = _a[0], a = _a[1];
--}
--function f2(_a, _b) {
-- var b = _a.b;
-- var b = _b.b;
--}
--function f3(_a) {
-- var c = _a[0], c = _a[1][0], c = _a[2][0][0];
--}
--function f4(_a) {
-- var d = _a.d, d = _a.d.d;
--}
--function f5(_a, _b, _c) {
-- var e = _a.e, e = _a.e.e;
-- var e = _b.e;
-- var d = _c[0], e = _c[1], e = _c[2][0][0];
-- var e = [];
-- for (var _i = 3; _i < arguments.length; _i++) {
-- e[_i - 3] = arguments[_i];
-- }
--}
--function f6(_a) {
-- var f = _a[0], f = _a.slice(1);
--}
--function f7(a, func) {
-- if (func === void 0) { func = function (a) { return 1; }; }
--} // not error
-+function f0(a, [a, [b]], { b }) { }
-+function f1([a, a]) { }
-+function f2({ b }, { b }) { }
-+function f3([c, [c], [[c]]]) { }
-+function f4({ d, d: { d } }) { }
-+function f5({ e, e: { e } }, { e }, [d, e, [[e]]], ...e) { }
-+function f6([f, ...f]) { }
-+function f7(a, func = (a) => { return 1; }) { } // not error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierBindingElementInParameterDeclaration2.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateIdentifierBindingElementInParameterDeclaration2.js.diff
deleted file mode 100644
index de28159ef8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierBindingElementInParameterDeclaration2.js.diff
+++ /dev/null
@@ -1,46 +0,0 @@
---- old.duplicateIdentifierBindingElementInParameterDeclaration2.js
-+++ new.duplicateIdentifierBindingElementInParameterDeclaration2.js
-@@= skipped -12, +12 lines =@@
-
- //// [duplicateIdentifierBindingElementInParameterDeclaration2.js]
- "use strict";
--function f0(a, _a, _b) {
-- var a = _a[0], b = _a[1][0];
-- var b = _b.b;
--}
--function f1(_a) {
-- var a = _a[0], a = _a[1];
--}
--function f2(_a, _b) {
-- var b = _a.b;
-- var b = _b.b;
--}
--function f3(_a) {
-- var c = _a[0], c = _a[1][0], c = _a[2][0][0];
--}
--function f4(_a) {
-- var d = _a.d, d = _a.d.d;
--}
--function f5(_a, _b, _c) {
-- var e = _a.e, e = _a.e.e;
-- var e = _b.e;
-- var d = _c[0], e = _c[1], e = _c[2][0][0];
-- var e = [];
-- for (var _i = 3; _i < arguments.length; _i++) {
-- e[_i - 3] = arguments[_i];
-- }
--}
--function f6(_a) {
-- var f = _a[0], f = _a.slice(1);
--}
--function f7(a, func) {
-- if (func === void 0) { func = function (a) { return 1; }; }
--} // not error
-+function f0(a, [a, [b]], { b }) { }
-+function f1([a, a]) { }
-+function f2({ b }, { b }) { }
-+function f3([c, [c], [[c]]]) { }
-+function f4({ d, d: { d } }) { }
-+function f5({ e, e: { e } }, { e }, [d, e, [[e]]], ...e) { }
-+function f6([f, ...f]) { }
-+function f7(a, func = (a) => { return 1; }) { } // not error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierComputedName.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateIdentifierComputedName.js.diff
index 123dad42d9..2f0a335446 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierComputedName.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicateIdentifierComputedName.js.diff
@@ -1,15 +1,9 @@
--- old.duplicateIdentifierComputedName.js
+++ new.duplicateIdentifierComputedName.js
-@@= skipped -7, +7 lines =@@
-
+@@= skipped -8, +8 lines =@@
//// [duplicateIdentifierComputedName.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ ["a"];
+ ["a"];
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierDifferentModifiers.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateIdentifierDifferentModifiers.js.diff
index 6b3ee83a03..e088da8fa9 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierDifferentModifiers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicateIdentifierDifferentModifiers.js.diff
@@ -1,23 +1,12 @@
--- old.duplicateIdentifierDifferentModifiers.js
+++ new.duplicateIdentifierDifferentModifiers.js
-@@= skipped -25, +25 lines =@@
-
+@@= skipped -26, +26 lines =@@
//// [duplicateIdentifierDifferentModifiers.js]
// OK
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
+ class A {
+ y;
-+}
+ }
// Not OK
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ y;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierDifferentSpelling.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateIdentifierDifferentSpelling.js.diff
index ff0edb22c1..f23b078423 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierDifferentSpelling.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicateIdentifierDifferentSpelling.js.diff
@@ -1,19 +1,14 @@
--- old.duplicateIdentifierDifferentSpelling.js
+++ new.duplicateIdentifierDifferentSpelling.js
-@@= skipped -9, +9 lines =@@
-
+@@= skipped -10, +10 lines =@@
//// [duplicateIdentifierDifferentSpelling.js]
--var A = /** @class */ (function () {
-- function A() {
-- this[3] = '';
+ class A {
+- constructor() {
+- this[0b11] = '';
- this[3] = '';
- }
-- return A;
--}());
--var X = { 3: '', 3: '' };
-+class A {
+ 0b11 = '';
+ 3 = '';
-+}
-+var X = { 0b11: '', 3: '' };
\ No newline at end of file
+ }
+ var X = { 0b11: '', 3: '' };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierEnum.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateIdentifierEnum.js.diff
index 79048410c2..8e639a2a85 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierEnum.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicateIdentifierEnum.js.diff
@@ -1,17 +1,11 @@
--- old.duplicateIdentifierEnum.js
+++ new.duplicateIdentifierEnum.js
-@@= skipped -41, +41 lines =@@
- (function (A) {
+@@= skipped -42, +42 lines =@@
A[A["bar"] = 0] = "bar";
})(A || (A = {}));
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
+ class A {
+ foo;
-+}
+ }
+var B;
+(function (B) {
+ B[B["bar"] = 0] = "bar";
@@ -22,18 +16,11 @@
function C() {
return 0;
}
-@@= skipped -12, +17 lines =@@
- (function (D) {
+@@= skipped -9, +17 lines =@@
D[D["bar"] = 0] = "bar";
})(D || (D = {}));
--var E = /** @class */ (function () {
-- function E() {
-- }
-- return E;
--}());
-+class E {
+ class E {
+ foo;
-+}
+ }
// also make sure the error appears when trying to merge an enum in a separate file.
- //// [duplicateIdentifierEnum_B.js]
- function D() {
\ No newline at end of file
+ //// [duplicateIdentifierEnum_B.js]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierRelatedSpans1.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateIdentifierRelatedSpans1.js.diff
deleted file mode 100644
index 9fe72f22dd..0000000000
--- a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierRelatedSpans1.js.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- old.duplicateIdentifierRelatedSpans1.js
-+++ new.duplicateIdentifierRelatedSpans1.js
-@@= skipped -11, +11 lines =@@
-
-
- //// [file1.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
--var Bar = 3;
-+class Foo {
-+}
-+const Bar = 3;
- //// [file2.js]
--var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- return Bar;
--}());
-+class Bar {
-+}
- //// [file3.js]
--var Bar = 42;
-+let Bar = 42;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierRelatedSpans2.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateIdentifierRelatedSpans2.js.diff
deleted file mode 100644
index e25acc10e8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/duplicateIdentifierRelatedSpans2.js.diff
+++ /dev/null
@@ -1,133 +0,0 @@
---- old.duplicateIdentifierRelatedSpans2.js
-+++ new.duplicateIdentifierRelatedSpans2.js
-@@= skipped -22, +22 lines =@@
-
-
- //// [file1.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var D = /** @class */ (function () {
-- function D() {
-- }
-- return D;
--}());
--var E = /** @class */ (function () {
-- function E() {
-- }
-- return E;
--}());
--var F = /** @class */ (function () {
-- function F() {
-- }
-- return F;
--}());
--var G = /** @class */ (function () {
-- function G() {
-- }
-- return G;
--}());
--var H = /** @class */ (function () {
-- function H() {
-- }
-- return H;
--}());
--var I = /** @class */ (function () {
-- function I() {
-- }
-- return I;
--}());
-+class A {
-+}
-+class B {
-+}
-+class C {
-+}
-+class D {
-+}
-+class E {
-+}
-+class F {
-+}
-+class G {
-+}
-+class H {
-+}
-+class I {
-+}
- //// [file2.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var D = /** @class */ (function () {
-- function D() {
-- }
-- return D;
--}());
--var E = /** @class */ (function () {
-- function E() {
-- }
-- return E;
--}());
--var F = /** @class */ (function () {
-- function F() {
-- }
-- return F;
--}());
--var G = /** @class */ (function () {
-- function G() {
-- }
-- return G;
--}());
--var H = /** @class */ (function () {
-- function H() {
-- }
-- return H;
--}());
--var I = /** @class */ (function () {
-- function I() {
-- }
-- return I;
--}());
-+class A {
-+}
-+class B {
-+}
-+class C {
-+}
-+class D {
-+}
-+class E {
-+}
-+class F {
-+}
-+class G {
-+}
-+class H {
-+}
-+class I {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateIdentifiersAcrossContainerBoundaries.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateIdentifiersAcrossContainerBoundaries.js.diff
index 247375367c..68d2fb5b2a 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicateIdentifiersAcrossContainerBoundaries.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicateIdentifiersAcrossContainerBoundaries.js.diff
@@ -1,77 +1,14 @@
--- old.duplicateIdentifiersAcrossContainerBoundaries.js
+++ new.duplicateIdentifiersAcrossContainerBoundaries.js
-@@= skipped -56, +56 lines =@@
- //// [duplicateIdentifiersAcrossContainerBoundaries.js]
- var M;
- (function (M) {
-- var I = /** @class */ (function () {
-- function I() {
-- }
-- return I;
-- }());
-+ class I {
-+ }
- M.I = I;
- })(M || (M = {}));
- (function (M) {
-@@= skipped -12, +9 lines =@@
- M.f = f;
- })(M || (M = {}));
- (function (M) {
-- var f = /** @class */ (function () {
-- function f() {
-- }
-- return f;
-- }()); // error
-+ class f {
-+ } // error
- M.f = f;
- })(M || (M = {}));
- (function (M) {
- function g() { }
- })(M || (M = {}));
- (function (M) {
-- var g = /** @class */ (function () {
-- function g() {
-- }
-- return g;
-- }()); // no error
-+ class g {
-+ } // no error
- M.g = g;
- })(M || (M = {}));
- (function (M) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- M.C = C;
- })(M || (M = {}));
- (function (M) {
-@@= skipped -33, +24 lines =@@
+@@= skipped -89, +89 lines =@@
M.v = 3;
})(M || (M = {}));
(function (M) {
- M.v = 3; // error for redeclaring var in a different parent
+ v = 3; // error for redeclaring var in a different parent
})(M || (M = {}));
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
+ class Foo {
+ static x;
-+}
+ }
(function (Foo) {
- })(Foo || (Foo = {}));
- var N;
- (function (N) {
-- var F;
-+ let F;
- (function (F) {
- var t;
- })(F = N.F || (N.F = {}));
\ No newline at end of file
+ })(Foo || (Foo = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateIdentifiersAcrossFileBoundaries.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateIdentifiersAcrossFileBoundaries.js.diff
index 5fb2914033..9ea9518870 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicateIdentifiersAcrossFileBoundaries.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicateIdentifiersAcrossFileBoundaries.js.diff
@@ -1,61 +1,14 @@
--- old.duplicateIdentifiersAcrossFileBoundaries.js
+++ new.duplicateIdentifiersAcrossFileBoundaries.js
-@@= skipped -33, +33 lines =@@
-
-
- //// [file1.js]
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
--}());
-+class C1 {
-+}
-+class C2 {
-+}
+@@= skipped -40, +40 lines =@@
function f() { }
var v = 3;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
+ class Foo {
+ static x;
-+}
+ }
var N;
(function (N) {
-- var F;
-+ let F;
- (function (F) {
- var t;
- })(F = N.F || (N.F = {}));
- })(N || (N = {}));
- //// [file2.js]
--var I = /** @class */ (function () {
-- function I() {
-- }
-- return I;
--}()); // error -- cannot merge interface with non-ambient class
-+class I {
-+} // error -- cannot merge interface with non-ambient class
- function C2() { } // error -- cannot merge function with non-ambient class
--var f = /** @class */ (function () {
-- function f() {
-- }
-- return f;
--}()); // error -- cannot merge function with non-ambient class
-+class f {
-+} // error -- cannot merge function with non-ambient class
- var v = 3;
- var Foo;
- (function (Foo) {
-@@= skipped -60, +46 lines =@@
+@@= skipped -38, +39 lines =@@
}
//// [file2.d.ts]
declare class I {
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateLocalVariable1.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateLocalVariable1.js.diff
index 1e262aabc2..62371627fa 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicateLocalVariable1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicateLocalVariable1.js.diff
@@ -9,51 +9,21 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.tests = exports.TestRunner = exports.TestCase = void 0;
var TestFileDir = ".\\TempTestFiles";
--var TestCase = /** @class */ (function () {
-- function TestCase(name, test, errorMessageRegEx) {
-+class TestCase {
+ class TestCase {
+ name;
+ test;
+ errorMessageRegEx;
-+ constructor(name, test, errorMessageRegEx) {
+ constructor(name, test, errorMessageRegEx) {
this.name = name;
this.test = test;
- this.errorMessageRegEx = errorMessageRegEx;
- }
-- return TestCase;
--}());
-+}
+@@= skipped -14, +15 lines =@@
+ }
exports.TestCase = TestCase;
--var TestRunner = /** @class */ (function () {
-- function TestRunner() {
+ class TestRunner {
+- constructor() {
- this.tests = [];
- }
-- TestRunner.arrayCompare = function (arg1, arg2) {
-+class TestRunner {
+ tests = [];
-+ static arrayCompare(arg1, arg2) {
+ static arrayCompare(arg1, arg2) {
return (arg1.every(function (val, index) { return val === arg2[index]; }));
-- };
-- TestRunner.prototype.addTest = function (test) {
-+ }
-+ addTest(test) {
- this.tests.push(test);
-- };
-- TestRunner.prototype.run = function () {
-+ }
-+ run() {
- var success = true;
- for (var test in this.tests) {
- var exception = false;
-@@= skipped -60, +58 lines =@@
- }
- else {
- }
-- };
-- return TestRunner;
--}());
-+ }
-+}
- exports.TestRunner = TestRunner;
- exports.tests = (function () {
- var testRunner = new TestRunner();
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateLocalVariable2.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateLocalVariable2.js.diff
index 9e406b5390..2641296ced 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicateLocalVariable2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicateLocalVariable2.js.diff
@@ -8,25 +8,21 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.tests = exports.TestRunner = exports.TestCase = void 0;
-- var TestCase = /** @class */ (function () {
-- function TestCase(name, test, errorMessageRegEx) {
+- class TestCase {
+- constructor(name, test, errorMessageRegEx) {
- this.name = name;
- this.test = test;
- this.errorMessageRegEx = errorMessageRegEx;
- }
-- return TestCase;
-- }());
+- }
- exports.TestCase = TestCase;
-- var TestRunner = /** @class */ (function () {
-- function TestRunner() {
-- }
-- TestRunner.arrayCompare = function (arg1, arg2) {
+- class TestRunner {
+- static arrayCompare(arg1, arg2) {
- return false;
-- };
-- TestRunner.prototype.addTest = function (test) {
-- };
-- return TestRunner;
-- }());
+- }
+- addTest(test) {
+- }
+- }
- exports.TestRunner = TestRunner;
- exports.tests = (function () {
- var testRunner = new TestRunner();
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateObjectLiteralProperty_computedName1.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateObjectLiteralProperty_computedName1.js.diff
deleted file mode 100644
index b580d81e82..0000000000
--- a/testdata/baselines/reference/submodule/compiler/duplicateObjectLiteralProperty_computedName1.js.diff
+++ /dev/null
@@ -1,77 +0,0 @@
---- old.duplicateObjectLiteralProperty_computedName1.js
-+++ new.duplicateObjectLiteralProperty_computedName1.js
-@@= skipped -37, +37 lines =@@
-
-
- //// [duplicateObjectLiteralProperty_computedName1.js]
--var _a, _b, _c, _d, _e, _f, _g;
--var t1 = (_a = {
-- 1: 1
-- },
-- _a[1] = 0 // duplicate
--,
-- _a);
--var t2 = (_b = {
-- 1: 1
-- },
-- _b[+1] = 0 // duplicate
--,
-- _b);
--var t3 = (_c = {
-- "1": 1
-- },
-- _c[+1] = 0 // duplicate
--,
-- _c);
--var t4 = (_d = {
-- "+1": 1
-- },
-- _d[+1] = 0 // two different keys, "+1", "1"
--,
-- _d);
--var t5 = (_e = {
-- "+1": 1
-- },
-- _e["+1"] = 0 // duplicate
--,
-- _e);
--var t6 = (_f = {
-- "-1": 1
-- },
-- _f[-1] = 0 // duplicate
--,
-- _f);
--var t7 = (_g = {
-- "-1": 1
-- },
-- _g["-1"] = 0 // duplicate
--,
-- _g);
-+const t1 = {
-+ 1: 1,
-+ [1]: 0 // duplicate
-+};
-+const t2 = {
-+ 1: 1,
-+ [+1]: 0 // duplicate
-+};
-+const t3 = {
-+ "1": 1,
-+ [+1]: 0 // duplicate
-+};
-+const t4 = {
-+ "+1": 1,
-+ [+1]: 0 // two different keys, "+1", "1"
-+};
-+const t5 = {
-+ "+1": 1,
-+ ["+1"]: 0 // duplicate
-+};
-+const t6 = {
-+ "-1": 1,
-+ [-1]: 0 // duplicate
-+};
-+const t7 = {
-+ "-1": 1,
-+ ["-1"]: 0 // duplicate
-+};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateObjectLiteralProperty_computedName2.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateObjectLiteralProperty_computedName2.js.diff
deleted file mode 100644
index df9af7c213..0000000000
--- a/testdata/baselines/reference/submodule/compiler/duplicateObjectLiteralProperty_computedName2.js.diff
+++ /dev/null
@@ -1,50 +0,0 @@
---- old.duplicateObjectLiteralProperty_computedName2.js
-+++ new.duplicateObjectLiteralProperty_computedName2.js
-@@= skipped -27, +27 lines =@@
-
-
- //// [duplicateObjectLiteralProperty_computedName2.js]
--var _a, _b, _c, _d;
--var n = 1;
--var s = "s";
-+const n = 1;
-+const s = "s";
- var E1;
- (function (E1) {
- E1["A"] = "ENUM_KEY";
-@@= skipped -11, +10 lines =@@
- (function (E2) {
- E2[E2["B"] = 0] = "B";
- })(E2 || (E2 = {}));
--var t1 = (_a = {},
-- _a[n] = 1,
-- _a[n] = 1,
-- _a);
--var t2 = (_b = {},
-- _b[s] = 1,
-- _b[s] = 1,
-- _b);
--var t3 = (_c = {},
-- _c[E1.A] = 1,
-- _c[E1.A] = 1,
-- _c);
--var t4 = (_d = {},
-- _d[E2.B] = 1,
-- _d[E2.B] = 1,
-- _d);
-+const t1 = {
-+ [n]: 1,
-+ [n]: 1, // duplicate
-+};
-+const t2 = {
-+ [s]: 1,
-+ [s]: 1, // duplicate
-+};
-+const t3 = {
-+ [E1.A]: 1,
-+ [E1.A]: 1, // duplicate
-+};
-+const t4 = {
-+ [E2.B]: 1,
-+ [E2.B]: 1, // duplicate
-+};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateObjectLiteralProperty_computedName3.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateObjectLiteralProperty_computedName3.js.diff
index 26ad6aa1de..23e0b62965 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicateObjectLiteralProperty_computedName3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicateObjectLiteralProperty_computedName3.js.diff
@@ -1,42 +1,11 @@
--- old.duplicateObjectLiteralProperty_computedName3.js
+++ new.duplicateObjectLiteralProperty_computedName3.js
-@@= skipped -45, +45 lines =@@
- })(E2 || (exports.E2 = E2 = {}));
+@@= skipped -46, +46 lines =@@
//// [b.js]
"use strict";
--var _a, _b, _c, _d;
Object.defineProperty(exports, "__esModule", { value: true });
-var keys = require("./a");
--var t1 = (_a = {},
-- _a[keys.n] = 1,
-- _a[keys.n] = 1,
-- _a);
--var t2 = (_b = {},
-- _b[keys.s] = 1,
-- _b[keys.s] = 1,
-- _b);
--var t3 = (_c = {},
-- _c[keys.E1.A] = 1,
-- _c[keys.E1.A] = 1,
-- _c);
--var t4 = (_d = {},
-- _d[keys.E2.B] = 1,
-- _d[keys.E2.B] = 1,
-- _d);
+const keys = require("./a");
-+const t1 = {
-+ [keys.n]: 1,
-+ [keys.n]: 1, // duplicate
-+};
-+const t2 = {
-+ [keys.s]: 1,
-+ [keys.s]: 1, // duplicate
-+};
-+const t3 = {
-+ [keys.E1.A]: 1,
-+ [keys.E1.A]: 1, // duplicate
-+};
-+const t4 = {
-+ [keys.E2.B]: 1,
-+ [keys.E2.B]: 1, // duplicate
-+};
\ No newline at end of file
+ const t1 = {
+ [keys.n]: 1,
+ [keys.n]: 1, // duplicate
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateOverloadInTypeAugmentation1.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateOverloadInTypeAugmentation1.js.diff
deleted file mode 100644
index 2dd5159477..0000000000
--- a/testdata/baselines/reference/submodule/compiler/duplicateOverloadInTypeAugmentation1.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.duplicateOverloadInTypeAugmentation1.js
-+++ new.duplicateOverloadInTypeAugmentation1.js
-@@= skipped -11, +11 lines =@@
-
- //// [duplicateOverloadInTypeAugmentation1.js]
- var a;
--var r5 = a.reduce(function (x, y) { return x + y; });
-+var r5 = a.reduce((x, y) => x + y);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicatePackage_referenceTypes.js.diff b/testdata/baselines/reference/submodule/compiler/duplicatePackage_referenceTypes.js.diff
index b035f304a5..8741077cda 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicatePackage_referenceTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicatePackage_referenceTypes.js.diff
@@ -5,6 +5,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var a = require("a");
--var foo = a.foo;
+const a = require("a");
-+let foo = a.foo;
\ No newline at end of file
+ let foo = a.foo;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicatePackage_subModule.js.diff b/testdata/baselines/reference/submodule/compiler/duplicatePackage_subModule.js.diff
index 86ff5ba370..f1568fbcc2 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicatePackage_subModule.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicatePackage_subModule.js.diff
@@ -5,6 +5,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var a = require("a");
--var o = a.o;
+const a = require("a");
-+const o = a.o;
\ No newline at end of file
+ const o = a.o;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateSymbolsExportMatching.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateSymbolsExportMatching.js.diff
index 9f12f0be4c..c7fe10c2c9 100644
--- a/testdata/baselines/reference/submodule/compiler/duplicateSymbolsExportMatching.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/duplicateSymbolsExportMatching.js.diff
@@ -10,7 +10,7 @@
- // Should report error only once for instantiated module
- var M;
- (function (M) {
-- var inst;
+- let inst;
- (function (inst) {
- var t;
- })(inst || (inst = {}));
@@ -25,7 +25,7 @@
- var w;
- })(M2 || (M2 = {}));
- (function (M) {
-- var F;
+- let F;
- (function (F) {
- var t;
- })(F || (F = {}));
@@ -33,11 +33,8 @@
- M.F = F;
- })(M || (M = {}));
- (function (M) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
+- class C {
+- }
- (function (C) {
- var t;
- })(C = M.C || (M.C = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateTypeParameters2.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateTypeParameters2.js.diff
deleted file mode 100644
index 6b8964cf40..0000000000
--- a/testdata/baselines/reference/submodule/compiler/duplicateTypeParameters2.js.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- old.duplicateTypeParameters2.js
-+++ new.duplicateTypeParameters2.js
-@@= skipped -6, +6 lines =@@
- interface I {}
-
- //// [duplicateTypeParameters2.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.foo = function () { };
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- B.prototype.bar = function () { };
-- return B;
--}());
-+class A {
-+ foo() { }
-+}
-+class B {
-+ bar() { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/duplicateVariablesByScope.js.diff b/testdata/baselines/reference/submodule/compiler/duplicateVariablesByScope.js.diff
deleted file mode 100644
index f819c62525..0000000000
--- a/testdata/baselines/reference/submodule/compiler/duplicateVariablesByScope.js.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- old.duplicateVariablesByScope.js
-+++ new.duplicateVariablesByScope.js
-@@= skipped -51, +51 lines =@@
- var result = 2;
- }
- }
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.foo = function () {
-+class C {
-+ foo() {
- try {
- var x = 1;
- }
- catch (e) {
- var x = 2;
- }
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/dynamicImportTrailingComma.js.diff b/testdata/baselines/reference/submodule/compiler/dynamicImportTrailingComma.js.diff
index 1f135ce2ee..147468858b 100644
--- a/testdata/baselines/reference/submodule/compiler/dynamicImportTrailingComma.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/dynamicImportTrailingComma.js.diff
@@ -1,10 +1,8 @@
--- old.dynamicImportTrailingComma.js
+++ new.dynamicImportTrailingComma.js
-@@= skipped -4, +4 lines =@@
- import(path,);
+@@= skipped -5, +5 lines =@@
//// [dynamicImportTrailingComma.js]
--var path = './foo';
+ const path = './foo';
-Promise.resolve("".concat(path)).then(function (s) { return require(s); });
-+const path = './foo';
+Promise.resolve(`${path}`).then(s => require(s));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/dynamicImportWithNestedThis_es5.js.diff b/testdata/baselines/reference/submodule/compiler/dynamicImportWithNestedThis_es5.js.diff
index 82387ae9bd..0c09c4528b 100644
--- a/testdata/baselines/reference/submodule/compiler/dynamicImportWithNestedThis_es5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/dynamicImportWithNestedThis_es5.js.diff
@@ -16,17 +16,16 @@
- "use strict";
- var __syncRequire = typeof module === "object" && typeof module.exports === "object";
- // https://github.com/Microsoft/TypeScript/issues/17564
-- var C = /** @class */ (function () {
-- function C() {
+- class C {
+- constructor() {
- this._path = './other';
- }
-- C.prototype.dynamic = function () {
+- dynamic() {
- var _a;
- return _a = this._path, __syncRequire ? Promise.resolve().then(function () { return require(_a); }) : new Promise(function (resolve_1, reject_1) { require([_a], resolve_1, reject_1); });
-- };
-- return C;
-- }());
-- var c = new C();
+- }
+- }
+- const c = new C();
- c.dynamic();
-});
+// https://github.com/Microsoft/TypeScript/issues/17564
diff --git a/testdata/baselines/reference/submodule/compiler/elaboratedErrors.js.diff b/testdata/baselines/reference/submodule/compiler/elaboratedErrors.js.diff
index 3da69b9844..931564e81d 100644
--- a/testdata/baselines/reference/submodule/compiler/elaboratedErrors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/elaboratedErrors.js.diff
@@ -1,17 +1,10 @@
--- old.elaboratedErrors.js
+++ new.elaboratedErrors.js
-@@= skipped -30, +30 lines =@@
- //// [elaboratedErrors.js]
+@@= skipped -31, +31 lines =@@
function fn(s) { }
// This should issue a large error, not a small one
--var WorkerFS = /** @class */ (function () {
-- function WorkerFS() {
-- }
-- return WorkerFS;
--}());
-+class WorkerFS {
+ class WorkerFS {
+ read;
-+}
+ }
var x;
- var y;
- // Only one of these errors should be large
\ No newline at end of file
+ var y;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/elidedEmbeddedStatementsReplacedWithSemicolon.js.diff b/testdata/baselines/reference/submodule/compiler/elidedEmbeddedStatementsReplacedWithSemicolon.js.diff
index 0c2a6e16c6..4e43578412 100644
--- a/testdata/baselines/reference/submodule/compiler/elidedEmbeddedStatementsReplacedWithSemicolon.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/elidedEmbeddedStatementsReplacedWithSemicolon.js.diff
@@ -15,10 +15,9 @@
- ;
-for (; 0;)
- ;
--for (var _ in [])
+-for (let _ in [])
- ;
--for (var _i = 0, _a = []; _i < _a.length; _i++) {
-- var _ = _a[_i];
+-for (let _ of [])
- ;
+if (1) {
+ var A;
@@ -54,7 +53,7 @@
+ var G;
+ (function (G) {
+ })(G || (G = {}));
- }
++}
// @ts-ignore suppress `with` statement error
-with (window)
- ;
diff --git a/testdata/baselines/reference/submodule/compiler/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5.js.diff b/testdata/baselines/reference/submodule/compiler/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5.js.diff
deleted file mode 100644
index 399abf4a3d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5.js
-+++ new.emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5.js
-@@= skipped -4, +4 lines =@@
- (x) => ({ "1": "one", "2": "two" } as { [key: string]: string }).x;
-
- //// [emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5.js]
--(function (x) { return ({ "1": "one", "2": "two" }[x]); });
--(function (x) { return ({ "1": "one", "2": "two" }.x); });
-+(x) => ({ "1": "one", "2": "two" }[x]);
-+(x) => ({ "1": "one", "2": "two" }.x);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emitCapturingThisInTupleDestructuring1.js.diff b/testdata/baselines/reference/submodule/compiler/emitCapturingThisInTupleDestructuring1.js.diff
deleted file mode 100644
index 9d7019deec..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emitCapturingThisInTupleDestructuring1.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.emitCapturingThisInTupleDestructuring1.js
-+++ new.emitCapturingThisInTupleDestructuring1.js
-@@= skipped -6, +6 lines =@@
- });
-
- //// [emitCapturingThisInTupleDestructuring1.js]
--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"
-+wrapper((array) => {
-+ [this.test, this.test1, this.test2] = array; // even though there is a compiler error, we should still emit lexical capture for "this"
- });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emitCapturingThisInTupleDestructuring2.js.diff b/testdata/baselines/reference/submodule/compiler/emitCapturingThisInTupleDestructuring2.js.diff
index 6bafde7075..018323c60c 100644
--- a/testdata/baselines/reference/submodule/compiler/emitCapturingThisInTupleDestructuring2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/emitCapturingThisInTupleDestructuring2.js.diff
@@ -1,22 +1,12 @@
--- old.emitCapturingThisInTupleDestructuring2.js
+++ new.emitCapturingThisInTupleDestructuring2.js
-@@= skipped -13, +13 lines =@@
-
+@@= skipped -14, +14 lines =@@
//// [emitCapturingThisInTupleDestructuring2.js]
var array1 = [1, 2];
--var B = /** @class */ (function () {
-- function B() {
-+class B {
+ class B {
+ test;
+ test1;
+ test2;
-+ method() {
-+ () => [this.test, this.test1, this.test2] = array1; // even though there is a compiler error, we should still emit lexical capture for "this"
- }
-- B.prototype.method = function () {
-- var _this = this;
-- (function () { return _this.test = array1[0], _this.test1 = array1[1], _this.test2 = array1[2], array1; }); // even though there is a compiler error, we should still emit lexical capture for "this"
-- };
-- return B;
--}());
-+}
\ No newline at end of file
+ method() {
+ () => [this.test, this.test1, this.test2] = array1; // even though there is a compiler error, we should still emit lexical capture for "this"
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emitClassExpressionInDeclarationFile.js.diff b/testdata/baselines/reference/submodule/compiler/emitClassExpressionInDeclarationFile.js.diff
index 1e74295534..78974550d3 100644
--- a/testdata/baselines/reference/submodule/compiler/emitClassExpressionInDeclarationFile.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/emitClassExpressionInDeclarationFile.js.diff
@@ -1,94 +1,23 @@
--- old.emitClassExpressionInDeclarationFile.js
+++ new.emitClassExpressionInDeclarationFile.js
-@@= skipped -33, +33 lines =@@
-
- //// [emitClassExpressionInDeclarationFile.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Test = exports.FooItem = exports.circularReference = exports.simpleExample = void 0;
- exports.WithTags = WithTags;
--exports.simpleExample = /** @class */ (function () {
-- function simpleExample() {
-- }
-- simpleExample.getTags = function () { };
-- simpleExample.prototype.tags = function () { };
-- return simpleExample;
--}());
--exports.circularReference = /** @class */ (function () {
-- function C() {
-- }
-- C.getTags = function (c) { return c; };
-- C.prototype.tags = function (c) { return c; };
-- return C;
--}());
-+var simpleExample = class {
-+ static getTags() { }
-+ tags() { }
-+};
-+exports.simpleExample = simpleExample;
+@@= skipped -41, +41 lines =@@
+ tags() { }
+ };
+ exports.simpleExample = simpleExample;
+-var circularReference = class C {
+exports.circularReference = class C {
-+ static getTags(c) { return c; }
-+ tags(c) { return c; }
-+};
+ static getTags(c) { return c; }
+ tags(c) { return c; }
+ };
+-exports.circularReference = circularReference;
// repro from #15066
--var FooItem = /** @class */ (function () {
-- function FooItem() {
-- }
-- FooItem.prototype.foo = function () { };
-- return FooItem;
--}());
-+class FooItem {
-+ foo() { }
+ class FooItem {
+ foo() { }
+ name;
-+}
+ }
exports.FooItem = FooItem;
function WithTags(Base) {
-- return /** @class */ (function (_super) {
-- __extends(class_1, _super);
-- function class_1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- class_1.getTags = function () { };
-- class_1.prototype.tags = function () { };
-- return class_1;
-- }(Base));
--}
--var Test = /** @class */ (function (_super) {
-- __extends(Test, _super);
-- function Test() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Test;
--}(WithTags(FooItem)));
-+ return class extends Base {
-+ static getTags() { }
-+ tags() { }
-+ };
-+}
-+class Test extends WithTags(FooItem) {
-+}
- exports.Test = Test;
--var test = new Test();
-+const test = new Test();
- Test.getTags();
- test.tags();
-
-@@= skipped -73, +41 lines =@@
+@@= skipped -33, +33 lines =@@
};
export declare var circularReference: {
new (): {
diff --git a/testdata/baselines/reference/submodule/compiler/emitClassExpressionInDeclarationFile2.js.diff b/testdata/baselines/reference/submodule/compiler/emitClassExpressionInDeclarationFile2.js.diff
index 4d4f7316b8..c00eee9d55 100644
--- a/testdata/baselines/reference/submodule/compiler/emitClassExpressionInDeclarationFile2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/emitClassExpressionInDeclarationFile2.js.diff
@@ -4,21 +4,6 @@
//// [emitClassExpressionInDeclarationFile2.js]
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
-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 });
@@ -27,25 +12,16 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Test = exports.FooItem = exports.noPrivates = void 0;
exports.WithTags = WithTags;
--exports.noPrivates = (_a = /** @class */ (function () {
-- function class_1() {
+-exports.noPrivates = (_a = class {
+- constructor() {
- this.p = 12;
- }
-- class_1.getTags = function () { };
-- class_1.prototype.tags = function () { };
-- return class_1;
-- }()),
+- static getTags() { }
+- tags() { }
+- },
- __setFunctionName(_a, "noPrivates"),
- _a.ps = -1,
- _a);
--// altered repro from #15066 to add private property
--var FooItem = /** @class */ (function () {
-- function FooItem() {
-- this.property = "capitalism";
-- }
-- FooItem.prototype.foo = function () { };
-- return FooItem;
--}());
+var noPrivates = class {
+ static getTags() { }
+ tags() { }
@@ -55,41 +31,19 @@
+// altered repro from #15066 to add private property
+;
+exports.noPrivates = noPrivates;
-+// altered repro from #15066 to add private property
-+class FooItem {
-+ foo() { }
+ // altered repro from #15066 to add private property
+ class FooItem {
+- constructor() {
+- this.property = "capitalism";
+- }
+ foo() { }
+ name;
+ property = "capitalism";
-+}
+ }
exports.FooItem = FooItem;
function WithTags(Base) {
-- return /** @class */ (function (_super) {
-- __extends(class_2, _super);
-- function class_2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- class_2.getTags = function () { };
-- class_2.prototype.tags = function () { };
-- return class_2;
-- }(Base));
--}
--var Test = /** @class */ (function (_super) {
-- __extends(Test, _super);
-- function Test() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Test;
--}(WithTags(FooItem)));
-+ return class extends Base {
-+ static getTags() { }
-+ tags() { }
-+ };
-+}
-+class Test extends WithTags(FooItem) {
-+}
- exports.Test = Test;
--var test = new Test();
-+const test = new Test();
+@@= skipped -38, +31 lines =@@
+ const test = new Test();
Test.getTags();
test.tags();
+
diff --git a/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_isolatedModules(module=commonjs).js.diff b/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_isolatedModules(module=commonjs).js.diff
index 10cf4bbeb0..2fc9e41e26 100644
--- a/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_isolatedModules(module=commonjs).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_isolatedModules(module=commonjs).js.diff
@@ -1,16 +1,6 @@
--- old.emitDecoratorMetadata_isolatedModules(module=commonjs).js
+++ new.emitDecoratorMetadata_isolatedModules(module=commonjs).js
-@@= skipped -47, +47 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.C3 = void 0;
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- return C3;
--}());
-+class C3 {
-+}
+@@= skipped -52, +52 lines =@@
exports.C3 = C3;
//// [index.js]
"use strict";
@@ -26,12 +16,12 @@
Object.defineProperty(exports, "__esModule", { value: true });
-var t1 = require("./type1");
-var class3_1 = require("./class3");
--var HelloWorld = /** @class */ (function () {
-- function HelloWorld() {
+-let HelloWorld = (() => {
+- class HelloWorld {
+- handleEvent1(event) { } // Error
+- handleEvent2(event) { } // Ok
+- handleEvent3(event) { return undefined; } // Ok, Error
- }
-- HelloWorld.prototype.handleEvent1 = function (event) { }; // Error
-- HelloWorld.prototype.handleEvent2 = function (event) { }; // Ok
-- HelloWorld.prototype.handleEvent3 = function (event) { return undefined; }; // Ok, Error
- __decorate([
- EventListener('1'),
- __metadata("design:type", Function),
@@ -63,7 +53,7 @@
- __metadata("design:returntype", Object)
- ], HelloWorld.prototype, "handleEvent3", null);
- return HelloWorld;
--}());
+-})();
+class HelloWorld {
+ @EventListener('1')
+ handleEvent1(event) { } // Error
diff --git a/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_isolatedModules(module=esnext).js.diff b/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_isolatedModules(module=esnext).js.diff
index 48a99aaed1..d6e0b1b851 100644
--- a/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_isolatedModules(module=esnext).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_isolatedModules(module=esnext).js.diff
@@ -1,17 +1,8 @@
--- old.emitDecoratorMetadata_isolatedModules(module=esnext).js
+++ new.emitDecoratorMetadata_isolatedModules(module=esnext).js
-@@= skipped -42, +42 lines =@@
- //// [type2.js]
- export {};
- //// [class3.js]
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- return C3;
--}());
--export { C3 };
-+export class C3 {
-+}
+@@= skipped -45, +45 lines =@@
+ export class C3 {
+ }
//// [index.js]
-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;
@@ -24,12 +15,12 @@
-};
-import * as t1 from "./type1";
-import { C3 } from "./class3";
--var HelloWorld = /** @class */ (function () {
-- function HelloWorld() {
+-let HelloWorld = (() => {
+- class HelloWorld {
+- handleEvent1(event) { } // Error
+- handleEvent2(event) { } // Ok
+- handleEvent3(event) { return undefined; } // Ok, Error
- }
-- HelloWorld.prototype.handleEvent1 = function (event) { }; // Error
-- HelloWorld.prototype.handleEvent2 = function (event) { }; // Ok
-- HelloWorld.prototype.handleEvent3 = function (event) { return undefined; }; // Ok, Error
- __decorate([
- EventListener('1'),
- __metadata("design:type", Function),
@@ -61,7 +52,7 @@
- __metadata("design:returntype", Object)
- ], HelloWorld.prototype, "handleEvent3", null);
- return HelloWorld;
--}());
+-})();
+class HelloWorld {
+ @EventListener('1')
+ handleEvent1(event) { } // Error
diff --git a/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_object.js.diff b/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_object.js.diff
index 85053f553c..0da589efcf 100644
--- a/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_object.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_object.js.diff
@@ -13,10 +13,11 @@
-var __metadata = (this && this.__metadata) || function (k, v) {
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
--var A = /** @class */ (function () {
-- function A(hi) {
-- }
-- A.prototype.method = function (there) { };
+-let A = (() => {
+- let A = class A {
+- constructor(hi) { }
+- method(there) { }
+- };
- __decorate([
- MyMethodDecorator,
- __metadata("design:type", Function),
@@ -28,7 +29,7 @@
- __metadata("design:paramtypes", [Object])
- ], A);
- return A;
--}());
+-})();
+@MyClassDecorator
+class A {
+ constructor(hi) { }
diff --git a/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_restArgs.js.diff b/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_restArgs.js.diff
index bcb5161e1d..279f00977e 100644
--- a/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_restArgs.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/emitDecoratorMetadata_restArgs.js.diff
@@ -13,18 +13,10 @@
-var __metadata = (this && this.__metadata) || function (k, v) {
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
--var A = /** @class */ (function () {
-- function A() {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
-- }
-- }
-- A.prototype.method = function () {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
-- }
+-let A = (() => {
+- let A = class A {
+- constructor(...args) { }
+- method(...args) { }
- };
- __decorate([
- MyMethodDecorator,
@@ -37,19 +29,11 @@
- __metadata("design:paramtypes", [Object])
- ], A);
- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
-- }
-- }
-- B.prototype.method = function () {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
-- }
+-})();
+-let B = (() => {
+- let B = class B {
+- constructor(...args) { }
+- method(...args) { }
- };
- __decorate([
- MyMethodDecorator,
@@ -62,7 +46,7 @@
- __metadata("design:paramtypes", [Number])
- ], B);
- return B;
--}());
+-})();
+@MyClassDecorator
+class A {
+ constructor(...args) { }
diff --git a/testdata/baselines/reference/submodule/compiler/emitMemberAccessExpression.js.diff b/testdata/baselines/reference/submodule/compiler/emitMemberAccessExpression.js.diff
index 262d81f77a..128f7dff18 100644
--- a/testdata/baselines/reference/submodule/compiler/emitMemberAccessExpression.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/emitMemberAccessExpression.js.diff
@@ -10,22 +10,9 @@
- var Model;
+ let Model;
(function (Model) {
-- var _Person = /** @class */ (function () {
-- function _Person() {
-- }
-- _Person.prototype.populate = function (raw) {
-+ class _Person {
-+ populate(raw) {
- var res = Model.KnockoutExtentions;
-- };
-- return _Person;
-- }());
-+ }
-+ }
- Model._Person = _Person;
- })(Model = PeopleAtWork.Model || (PeopleAtWork.Model = {}));
- })(PeopleAtWork = Microsoft.PeopleAtWork || (Microsoft.PeopleAtWork = {}));
-@@= skipped -24, +21 lines =@@
+ class _Person {
+ populate(raw) {
+@@= skipped -21, +21 lines =@@
///
var Microsoft;
(function (Microsoft) {
@@ -35,13 +22,5 @@
- var Model;
+ let Model;
(function (Model) {
-- var KnockoutExtentions = /** @class */ (function () {
-- function KnockoutExtentions() {
-- }
-- return KnockoutExtentions;
-- }());
-+ class KnockoutExtentions {
-+ }
- Model.KnockoutExtentions = KnockoutExtentions;
- })(Model = PeopleAtWork.Model || (PeopleAtWork.Model = {}));
- })(PeopleAtWork = Microsoft.PeopleAtWork || (Microsoft.PeopleAtWork = {}));
\ No newline at end of file
+ class KnockoutExtentions {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emitMethodCalledNew.js.diff b/testdata/baselines/reference/submodule/compiler/emitMethodCalledNew.js.diff
index 12528a8d61..af82e570f5 100644
--- a/testdata/baselines/reference/submodule/compiler/emitMethodCalledNew.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/emitMethodCalledNew.js.diff
@@ -5,25 +5,13 @@
//// [emitMethodCalledNew.js]
"use strict";
-// https://github.com/microsoft/TypeScript/issues/55075
--var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.c = exports.b = exports.a = void 0;
+// https://github.com/microsoft/TypeScript/issues/55075
exports.a = {
-- new: function (x) { return x + 1; }
-+ new(x) { return x + 1; }
+ new(x) { return x + 1; }
};
- exports.b = {
-- "new": function (x) { return x + 1; }
--};
--exports.c = (_a = {},
-- _a["new"] = function (x) { return x + 1; },
-- _a);
-+ "new"(x) { return x + 1; }
-+};
-+exports.c = {
-+ ["new"](x) { return x + 1; }
-+};
+@@= skipped -15, +15 lines =@@
//// [emitMethodCalledNew.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/emitOneLineVariableDeclarationRemoveCommentsFalse.js.diff b/testdata/baselines/reference/submodule/compiler/emitOneLineVariableDeclarationRemoveCommentsFalse.js.diff
index 37f2bb0f39..227efecf76 100644
--- a/testdata/baselines/reference/submodule/compiler/emitOneLineVariableDeclarationRemoveCommentsFalse.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/emitOneLineVariableDeclarationRemoveCommentsFalse.js.diff
@@ -1,20 +1,16 @@
--- old.emitOneLineVariableDeclarationRemoveCommentsFalse.js
+++ new.emitOneLineVariableDeclarationRemoveCommentsFalse.js
-@@= skipped -10, +10 lines =@@
-
+@@= skipped -11, +11 lines =@@
//// [emitOneLineVariableDeclarationRemoveCommentsFalse.js]
--var a = /*[[${something}]]*/ {};
--var b = /*[[${something}]]*/ {};
--var c = /*[[${something}]]*/ { hoge: true };
--var d /*[[${something}]]*/ = {};
--var e /*[[${something}]]*/ = {};
--var f = /* comment1 */ d(e);
--var g = /* comment2 */ d(e);
-+let a = /*[[${something}]]*/ {};
+ let a = /*[[${something}]]*/ {};
+-let b = /*[[${something}]]*/ {};
+-let c = /*[[${something}]]*/ { hoge: true };
+-let d /*[[${something}]]*/ = {};
+let b = {};
+let c = { hoge: true };
+let d = {};
-+let e /*[[${something}]]*/ = {};
-+let f = /* comment1 */ d(e);
+ let e /*[[${something}]]*/ = {};
+ let f = /* comment1 */ d(e);
+-let g = /* comment2 */ d(e);
+let g = d(e);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emitSkipsThisWithRestParameter.js.diff b/testdata/baselines/reference/submodule/compiler/emitSkipsThisWithRestParameter.js.diff
deleted file mode 100644
index a62c73dc51..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emitSkipsThisWithRestParameter.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.emitSkipsThisWithRestParameter.js
-+++ new.emitSkipsThisWithRestParameter.js
-@@= skipped -9, +9 lines =@@
-
- //// [emitSkipsThisWithRestParameter.js]
- function rebase(fn) {
-- return function () {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
-- }
-+ return function (...args) {
- return fn.apply(this, [this].concat(args));
- };
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emitSuperCallBeforeEmitParameterPropertyDeclaration1.js.diff b/testdata/baselines/reference/submodule/compiler/emitSuperCallBeforeEmitParameterPropertyDeclaration1.js.diff
index 085fd32052..6f1e0e132d 100644
--- a/testdata/baselines/reference/submodule/compiler/emitSuperCallBeforeEmitParameterPropertyDeclaration1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/emitSuperCallBeforeEmitParameterPropertyDeclaration1.js.diff
@@ -1,52 +1,19 @@
--- old.emitSuperCallBeforeEmitParameterPropertyDeclaration1.js
+++ new.emitSuperCallBeforeEmitParameterPropertyDeclaration1.js
-@@= skipped -15, +15 lines =@@
-
+@@= skipped -16, +16 lines =@@
//// [emitSuperCallBeforeEmitParameterPropertyDeclaration1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
+ class A {
+- constructor() {
- this.blub = 6;
- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B(x) {
-- "use strict";
-- 'someStringForEgngInject';
-- var _this = _super.call(this) || this;
-- _this.x = x;
-- return _this;
-- }
-- return B;
--}(A));
-+class A {
+ blub = 6;
-+}
-+class B extends A {
+ }
+ class B extends A {
+ x;
-+ constructor(x) {
-+ "use strict";
-+ 'someStringForEgngInject';
+ constructor(x) {
+ "use strict";
+ 'someStringForEgngInject';
-+ super();
-+ this.x = x;
-+ }
-+}
\ No newline at end of file
+ "use strict";
+ 'someStringForEgngInject';
+ super();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emitSuperCallBeforeEmitPropertyDeclaration1.js.diff b/testdata/baselines/reference/submodule/compiler/emitSuperCallBeforeEmitPropertyDeclaration1.js.diff
index c55c687deb..24edb87295 100644
--- a/testdata/baselines/reference/submodule/compiler/emitSuperCallBeforeEmitPropertyDeclaration1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/emitSuperCallBeforeEmitPropertyDeclaration1.js.diff
@@ -1,51 +1,22 @@
--- old.emitSuperCallBeforeEmitPropertyDeclaration1.js
+++ new.emitSuperCallBeforeEmitPropertyDeclaration1.js
-@@= skipped -17, +17 lines =@@
- }
+@@= skipped -18, +18 lines =@@
//// [emitSuperCallBeforeEmitPropertyDeclaration1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
+ class A {
+- constructor() {
- this.blub = 6;
- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- "use strict";
-- 'someStringForEgngInject';
-- var _this = _super.call(this) || this;
-- _this.blub = 12;
-- return _this;
-- }
-- return B;
--}(A));
-+class A {
+ blub = 6;
-+}
-+class B extends A {
+ }
+ class B extends A {
+ blub = 12;
-+ constructor() {
-+ "use strict";
-+ 'someStringForEgngInject';
+ constructor() {
+ "use strict";
+ 'someStringForEgngInject';
-+ super();
-+ }
-+}
\ No newline at end of file
+ "use strict";
+ 'someStringForEgngInject';
+ super();
+- this.blub = 12;
+ }
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1.js.diff b/testdata/baselines/reference/submodule/compiler/emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1.js.diff
index 7d24bd7b28..ab9d334c74 100644
--- a/testdata/baselines/reference/submodule/compiler/emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1.js.diff
@@ -1,54 +1,24 @@
--- old.emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1.js
+++ new.emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1.js
-@@= skipped -15, +15 lines =@@
- }
+@@= skipped -16, +16 lines =@@
//// [emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
+ class A {
+- constructor() {
- this.blub = 6;
- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B(x) {
-- "use strict";
-- 'someStringForEgngInject';
-- var _this = _super.call(this) || this;
-- _this.x = x;
-- _this.blah = 2;
-- return _this;
-- }
-- return B;
--}(A));
-+class A {
+ blub = 6;
-+}
-+class B extends A {
+ }
+ class B extends A {
+ x;
+ blah = 2;
-+ constructor(x) {
-+ "use strict";
-+ 'someStringForEgngInject';
+ constructor(x) {
+ "use strict";
+ 'someStringForEgngInject';
+ "use strict";
+ 'someStringForEgngInject';
-+ super();
-+ this.x = x;
-+ }
-+}
\ No newline at end of file
+ super();
+ this.x = x;
+- this.blah = 2;
+ }
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emitThisInObjectLiteralGetter.js.diff b/testdata/baselines/reference/submodule/compiler/emitThisInObjectLiteralGetter.js.diff
deleted file mode 100644
index 874299703c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emitThisInObjectLiteralGetter.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.emitThisInObjectLiteralGetter.js
-+++ new.emitThisInObjectLiteralGetter.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [emitThisInObjectLiteralGetter.js]
--var example = {
-+const example = {
- get foo() {
-- var _this = this;
-- return function (item) { return _this.bar(item); };
-+ return item => this.bar(item);
- }
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emitThisInSuperMethodCall.js.diff b/testdata/baselines/reference/submodule/compiler/emitThisInSuperMethodCall.js.diff
deleted file mode 100644
index 84eaeafc9c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emitThisInSuperMethodCall.js.diff
+++ /dev/null
@@ -1,78 +0,0 @@
---- old.emitThisInSuperMethodCall.js
-+++ new.emitThisInSuperMethodCall.js
-@@= skipped -29, +29 lines =@@
-
-
- //// [emitThisInSuperMethodCall.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var User = /** @class */ (function () {
-- function User() {
-- }
-- User.prototype.sayHello = function () {
-- };
-- return User;
--}());
--var RegisteredUser = /** @class */ (function (_super) {
-- __extends(RegisteredUser, _super);
-- function RegisteredUser() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- RegisteredUser.prototype.f = function () {
-- (function () {
-+class User {
-+ sayHello() {
-+ }
-+}
-+class RegisteredUser extends User {
-+ f() {
-+ () => {
- function inner() {
-- _super.sayHello.call(this);
-+ super.sayHello();
- }
-- });
-- };
-- RegisteredUser.prototype.g = function () {
-- function inner() {
-- var _this = this;
-- (function () {
-- _super.sayHello.call(_this);
-- });
-- }
-- };
-- RegisteredUser.prototype.h = function () {
-- function inner() {
-- _super.sayHello.call(this);
-- }
-- };
-- return RegisteredUser;
--}(User));
-+ };
-+ }
-+ g() {
-+ function inner() {
-+ () => {
-+ super.sayHello();
-+ };
-+ }
-+ }
-+ h() {
-+ function inner() {
-+ super.sayHello();
-+ }
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emptyAnonymousObjectNarrowing(strictnullchecks=false).js.diff b/testdata/baselines/reference/submodule/compiler/emptyAnonymousObjectNarrowing(strictnullchecks=false).js.diff
deleted file mode 100644
index 156e714989..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emptyAnonymousObjectNarrowing(strictnullchecks=false).js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.emptyAnonymousObjectNarrowing(strictnullchecks=false).js
-+++ new.emptyAnonymousObjectNarrowing(strictnullchecks=false).js
-@@= skipped -129, +129 lines =@@
- nonNull;
- }
- // Repro from #50567
--var foo = function (value) {
-+const foo = (value) => {
- if (!value) {
- return 'foo';
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emptyAnonymousObjectNarrowing(strictnullchecks=true).js.diff b/testdata/baselines/reference/submodule/compiler/emptyAnonymousObjectNarrowing(strictnullchecks=true).js.diff
deleted file mode 100644
index 2efdeb82b1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emptyAnonymousObjectNarrowing(strictnullchecks=true).js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.emptyAnonymousObjectNarrowing(strictnullchecks=true).js
-+++ new.emptyAnonymousObjectNarrowing(strictnullchecks=true).js
-@@= skipped -129, +129 lines =@@
- nonNull;
- }
- // Repro from #50567
--var foo = function (value) {
-+const foo = (value) => {
- if (!value) {
- return 'foo';
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emptyArrayDestructuringExpressionVisitedByTransformer.js.diff b/testdata/baselines/reference/submodule/compiler/emptyArrayDestructuringExpressionVisitedByTransformer.js.diff
deleted file mode 100644
index 757fc7b911..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emptyArrayDestructuringExpressionVisitedByTransformer.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.emptyArrayDestructuringExpressionVisitedByTransformer.js
-+++ new.emptyArrayDestructuringExpressionVisitedByTransformer.js
-@@= skipped -4, +4 lines =@@
- var b = [1].map(_ => _);
-
- //// [emptyArrayDestructuringExpressionVisitedByTransformer.js]
--var a = [1].map(function (_) { return _; });
--var b = [1].map(function (_) { return _; });
-+var a = [] = [1].map(_ => _);
-+var b = [1].map(_ => _);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emptyDeclarationEmitIsModule.js.diff b/testdata/baselines/reference/submodule/compiler/emptyDeclarationEmitIsModule.js.diff
deleted file mode 100644
index c89b363db0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emptyDeclarationEmitIsModule.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.emptyDeclarationEmitIsModule.js
-+++ new.emptyDeclarationEmitIsModule.js
-@@= skipped -14, +14 lines =@@
- //// [module.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
-
-
- //// [index.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emptyGenericParamList.js.diff b/testdata/baselines/reference/submodule/compiler/emptyGenericParamList.js.diff
deleted file mode 100644
index 64cb4f2fb7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emptyGenericParamList.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.emptyGenericParamList.js
-+++ new.emptyGenericParamList.js
-@@= skipped -4, +4 lines =@@
- var x: I<>;
-
- //// [emptyGenericParamList.js]
--var I = /** @class */ (function () {
-- function I() {
-- }
-- return I;
--}());
-+class I {
-+}
- var x;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emptyModuleName.js.diff b/testdata/baselines/reference/submodule/compiler/emptyModuleName.js.diff
index 7e8886933b..a390512c39 100644
--- a/testdata/baselines/reference/submodule/compiler/emptyModuleName.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/emptyModuleName.js.diff
@@ -1,33 +1,10 @@
--- old.emptyModuleName.js
+++ new.emptyModuleName.js
-@@= skipped -6, +6 lines =@@
-
+@@= skipped -7, +7 lines =@@
//// [emptyModuleName.js]
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
-var A = require("");
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
+const A = require("");
-+class B extends A {
-+}
\ No newline at end of file
+ class B extends A {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emptyObjectNotSubtypeOfIndexSignatureContainingObject1.js.diff b/testdata/baselines/reference/submodule/compiler/emptyObjectNotSubtypeOfIndexSignatureContainingObject1.js.diff
deleted file mode 100644
index 59d0bde0ed..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emptyObjectNotSubtypeOfIndexSignatureContainingObject1.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.emptyObjectNotSubtypeOfIndexSignatureContainingObject1.js
-+++ new.emptyObjectNotSubtypeOfIndexSignatureContainingObject1.js
-@@= skipped -53, +53 lines =@@
- return null;
- }
- function fooToBar(foos) {
-- var result = foos == null ? {} : mapValues(foos, function (f) { return f.foo; });
-+ const result = foos == null ? {} : mapValues(foos, f => f.foo);
- // This line _should_ fail, because `result` is not the right type.
- return result;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emptyObjectNotSubtypeOfIndexSignatureContainingObject2.js.diff b/testdata/baselines/reference/submodule/compiler/emptyObjectNotSubtypeOfIndexSignatureContainingObject2.js.diff
deleted file mode 100644
index 1fb563c11d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emptyObjectNotSubtypeOfIndexSignatureContainingObject2.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.emptyObjectNotSubtypeOfIndexSignatureContainingObject2.js
-+++ new.emptyObjectNotSubtypeOfIndexSignatureContainingObject2.js
-@@= skipped -54, +54 lines =@@
- return null;
- }
- function fooToBar(foos) {
-- var wat = mapValues(foos, function (f) { return f.foo; });
-- var result = foos == null ? {} : mapValues(foos, function (f) { return f.foo; });
-+ const wat = mapValues(foos, f => f.foo);
-+ const result = foos == null ? {} : mapValues(foos, f => f.foo);
- // This line _should_ fail, because `result` is not the right type.
- return result;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emptyThenWarning.js.diff b/testdata/baselines/reference/submodule/compiler/emptyThenWarning.js.diff
deleted file mode 100644
index 8a1853eb37..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emptyThenWarning.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.emptyThenWarning.js
-+++ new.emptyThenWarning.js
-@@= skipped -10, +10 lines =@@
- //// [emptyThenWarning.js]
- if (1)
- ;
--var x = 0;
-+let x = 0;
- if (true === true)
- ;
- {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emptyThenWithoutWarning.js.diff b/testdata/baselines/reference/submodule/compiler/emptyThenWithoutWarning.js.diff
deleted file mode 100644
index 3aa3ec0f47..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emptyThenWithoutWarning.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.emptyThenWithoutWarning.js
-+++ new.emptyThenWithoutWarning.js
-@@= skipped -9, +9 lines =@@
- }
-
- //// [emptyThenWithoutWarning.js]
--var a = 4;
-+let a = 4;
- if (a === 1 || a === 2 || a === 3) {
- }
- else {
-- var message = "Ooops";
-+ let message = "Ooops";
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/emptyTypeArgumentListWithNew.js.diff b/testdata/baselines/reference/submodule/compiler/emptyTypeArgumentListWithNew.js.diff
deleted file mode 100644
index de1ab6f10d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/emptyTypeArgumentListWithNew.js.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- old.emptyTypeArgumentListWithNew.js
-+++ new.emptyTypeArgumentListWithNew.js
-@@= skipped -8, +8 lines =@@
- new noParams<>();
-
- //// [emptyTypeArgumentListWithNew.js]
--var foo = /** @class */ (function () {
-- function foo() {
-- }
-- return foo;
--}());
-+class foo {
-+}
- new foo();
- // https://github.com/microsoft/TypeScript/issues/33041
--var noParams = /** @class */ (function () {
-- function noParams() {
-- }
-- return noParams;
--}());
-+class noParams {
-+}
- new noParams();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat.js.diff b/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat.js.diff
deleted file mode 100644
index 27b9902731..0000000000
--- a/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.enumAssignmentCompat.js
-+++ new.enumAssignmentCompat.js
-@@= skipped -42, +42 lines =@@
- //// [enumAssignmentCompat.js]
- var W;
- (function (W) {
-- var D = /** @class */ (function () {
-- function D() {
-- }
-- return D;
-- }());
-+ class D {
-+ }
- W.D = D;
- })(W || (W = {}));
- (function (W) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat2.js.diff b/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat2.js.diff
deleted file mode 100644
index 6ba94b7dca..0000000000
--- a/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat2.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.enumAssignmentCompat2.js
-+++ new.enumAssignmentCompat2.js
-@@= skipped -46, +46 lines =@@
- W[W["c"] = 2] = "c";
- })(W || (W = {}));
- (function (W) {
-- var D = /** @class */ (function () {
-- function D() {
-- }
-- return D;
-- }());
-+ class D {
-+ }
- W.D = D;
- })(W || (W = {}));
- var x = W;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat3.js.diff b/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat3.js.diff
deleted file mode 100644
index 64bfc63e69..0000000000
--- a/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat3.js.diff
+++ /dev/null
@@ -1,72 +0,0 @@
---- old.enumAssignmentCompat3.js
-+++ new.enumAssignmentCompat3.js
-@@= skipped -93, +93 lines =@@
- //// [enumAssignmentCompat3.js]
- var First;
- (function (First) {
-- var E;
-+ let E;
- (function (E) {
- E[E["a"] = 0] = "a";
- E[E["b"] = 1] = "b";
-@@= skipped -9, +9 lines =@@
- })(First || (First = {}));
- var Abc;
- (function (Abc) {
-- var E;
-+ let E;
- (function (E) {
- E[E["a"] = 0] = "a";
- E[E["b"] = 1] = "b";
- E[E["c"] = 2] = "c";
- })(E = Abc.E || (Abc.E = {}));
-- var Nope;
-+ let Nope;
- (function (Nope) {
- Nope[Nope["a"] = 0] = "a";
- Nope[Nope["b"] = 1] = "b";
-@@= skipped -15, +15 lines =@@
- })(Abc || (Abc = {}));
- var Abcd;
- (function (Abcd) {
-- var E;
-+ let E;
- (function (E) {
- E[E["a"] = 0] = "a";
- E[E["b"] = 1] = "b";
-@@= skipped -10, +10 lines =@@
- })(Abcd || (Abcd = {}));
- var Ab;
- (function (Ab) {
-- var E;
-+ let E;
- (function (E) {
- E[E["a"] = 0] = "a";
- E[E["b"] = 1] = "b";
-@@= skipped -8, +8 lines =@@
- })(Ab || (Ab = {}));
- var Cd;
- (function (Cd) {
-- var E;
-+ let E;
- (function (E) {
- E[E["c"] = 0] = "c";
- E[E["d"] = 1] = "d";
-@@= skipped -11, +11 lines =@@
- })(Decl || (Decl = {}));
- var Merged;
- (function (Merged) {
-- var E;
-+ let E;
- (function (E) {
- E[E["a"] = 0] = "a";
- E[E["b"] = 1] = "b";
-@@= skipped -12, +12 lines =@@
- })(Merged || (Merged = {}));
- var Merged2;
- (function (Merged2) {
-- var E;
-+ let E;
- (function (E) {
- E[E["a"] = 0] = "a";
- E[E["b"] = 1] = "b";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat4.js.diff b/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat4.js.diff
deleted file mode 100644
index ba826d238d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat4.js.diff
+++ /dev/null
@@ -1,29 +0,0 @@
---- old.enumAssignmentCompat4.js
-+++ new.enumAssignmentCompat4.js
-@@= skipped -27, +27 lines =@@
- //// [enumAssignmentCompat4.js]
- var M;
- (function (M) {
-- var MyEnum;
-+ let MyEnum;
- (function (MyEnum) {
- MyEnum[MyEnum["BAR"] = 0] = "BAR";
- })(MyEnum = M.MyEnum || (M.MyEnum = {}));
-@@= skipped -10, +10 lines =@@
- })(M || (M = {}));
- var N;
- (function (N) {
-- var MyEnum;
-+ let MyEnum;
- (function (MyEnum) {
- MyEnum[MyEnum["FOO"] = 0] = "FOO";
- })(MyEnum = N.MyEnum || (N.MyEnum = {}));
-@@= skipped -9, +9 lines =@@
- foo: MyEnum.FOO
- };
- })(N || (N = {}));
--var broken = [
-+let broken = [
- N.object1,
- M.object2
- ];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat5.js.diff b/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat5.js.diff
deleted file mode 100644
index a2c2d9d01d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat5.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.enumAssignmentCompat5.js
-+++ new.enumAssignmentCompat5.js
-@@= skipped -38, +38 lines =@@
- Computed[Computed["B"] = 4] = "B";
- Computed[Computed["C"] = 8] = "C";
- })(Computed || (Computed = {}));
--var n;
--var e = n; // ok because it's too inconvenient otherwise
-+let n;
-+let e = n; // ok because it's too inconvenient otherwise
- e = 0; // ok, in range
- e = 4; // ok, out of range, but allowed computed enums don't have all members
--var a = 0; // ok, A === 0
-+let a = 0; // ok, A === 0
- a = 2; // error, 2 !== 0
- a = n; // ok
--var c = n; // ok
-+let c = n; // ok
- c = n; // ok
- c = 4; // ok
--var ca = 1; // error, Computed.A isn't a literal type because Computed has no enum literals
-+let ca = 1; // error, Computed.A isn't a literal type because Computed has no enum literals
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat6.js.diff b/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat6.js.diff
deleted file mode 100644
index 9bf328c4e0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat6.js.diff
+++ /dev/null
@@ -1,39 +0,0 @@
---- old.enumAssignmentCompat6.js
-+++ new.enumAssignmentCompat6.js
-@@= skipped -80, +80 lines =@@
- //// [a.js]
- var numerics;
- (function (numerics) {
-- var DiagnosticCategory;
-+ let DiagnosticCategory;
- (function (DiagnosticCategory) {
- DiagnosticCategory[DiagnosticCategory["Warning"] = 0] = "Warning";
- DiagnosticCategory[DiagnosticCategory["Error"] = 1] = "Error";
- DiagnosticCategory[DiagnosticCategory["Suggestion"] = 2] = "Suggestion";
- DiagnosticCategory[DiagnosticCategory["Message"] = 3] = "Message";
- })(DiagnosticCategory = numerics.DiagnosticCategory || (numerics.DiagnosticCategory = {}));
-- var DiagnosticCategory2;
-+ let DiagnosticCategory2;
- (function (DiagnosticCategory2) {
- DiagnosticCategory2[DiagnosticCategory2["Warning"] = 0] = "Warning";
- DiagnosticCategory2[DiagnosticCategory2["Error"] = 1] = "Error";
-@@= skipped -17, +17 lines =@@
- })(numerics || (numerics = {}));
- var strings;
- (function (strings) {
-- var DiagnosticCategory;
-+ let DiagnosticCategory;
- (function (DiagnosticCategory) {
- DiagnosticCategory["Warning"] = "Warning";
- DiagnosticCategory["Error"] = "Error";
-@@= skipped -35, +35 lines =@@
- DiagnosticCategory[DiagnosticCategory["Suggestion"] = 2] = "Suggestion";
- DiagnosticCategory[DiagnosticCategory["Message"] = 3] = "Message";
- })(DiagnosticCategory || (exports.DiagnosticCategory = DiagnosticCategory = {}));
--(function () {
-- var DiagnosticCategory;
-+(() => {
-+ let DiagnosticCategory;
- (function (DiagnosticCategory) {
- DiagnosticCategory["Warning"] = "Warning";
- DiagnosticCategory["Error"] = "Error";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat7.js.diff b/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat7.js.diff
index 2379a21137..469f25365b 100644
--- a/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat7.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/enumAssignmentCompat7.js.diff
@@ -5,61 +5,6 @@
//// [enumAssignmentCompat7.js]
-"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
var first;
(function (first) {
-- var E;
-+ let E;
- (function (E) {
- E[E["A"] = 1] = "A";
- })(E = first.E || (first.E = {}));
- })(first || (first = {}));
- var second;
- (function (second) {
-- var E;
-+ let E;
- (function (E) {
- E[E["A"] = 2] = "A";
- })(E = second.E || (second.E = {}));
- })(second || (second = {}));
--var Base = /** @class */ (function () {
-- function Base() {
-- }
-- Base.prototype.method = function (param) {
-- };
-- return Base;
--}());
--var Derived = /** @class */ (function (_super) {
-- __extends(Derived, _super);
-- function Derived() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Derived.prototype.method = function (param) {
-- };
-- return Derived;
--}(Base));
-+class Base {
-+ method(param) {
-+ }
-+}
-+class Derived extends Base {
-+ method(param) {
-+ }
-+}
- function overloadingFunction() {
- return second.E.B;
- }
\ No newline at end of file
+ let E;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/enumBasics3.js.diff b/testdata/baselines/reference/submodule/compiler/enumBasics3.js.diff
index cd9f78d88a..26b73e2291 100644
--- a/testdata/baselines/reference/submodule/compiler/enumBasics3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/enumBasics3.js.diff
@@ -1,14 +1,7 @@
--- old.enumBasics3.js
+++ new.enumBasics3.js
-@@= skipped -22, +22 lines =@@
- //// [enumBasics3.js]
- var M;
- (function (M) {
-- var N;
-+ let N;
- (function (N) {
-- var E1;
-+ let E1;
+@@= skipped -27, +27 lines =@@
+ let E1;
(function (E1) {
E1[E1["a"] = 1] = "a";
- E1[E1["b"] = E1.a.a] = "b";
@@ -17,12 +10,9 @@
})(E1 = N.E1 || (N.E1 = {}));
})(N = M.N || (M.N = {}));
})(M || (M = {}));
- (function (M) {
-- var N;
-+ let N;
+@@= skipped -9, +10 lines =@@
(function (N) {
-- var E2;
-+ let E2;
+ let E2;
(function (E2) {
- E2[E2["b"] = 1] = "b";
- E2[E2["c"] = M.N.E1.a.a] = "c";
diff --git a/testdata/baselines/reference/submodule/compiler/enumGenericTypeClash.js.diff b/testdata/baselines/reference/submodule/compiler/enumGenericTypeClash.js.diff
deleted file mode 100644
index c01f7e7b11..0000000000
--- a/testdata/baselines/reference/submodule/compiler/enumGenericTypeClash.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.enumGenericTypeClash.js
-+++ new.enumGenericTypeClash.js
-@@= skipped -5, +5 lines =@@
-
-
- //// [enumGenericTypeClash.js]
--var X = /** @class */ (function () {
-- function X() {
-- }
-- return X;
--}());
-+class X {
-+}
- (function (X) {
- X[X["MyVal"] = 0] = "MyVal";
- })(X || (X = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/enumIndexer.js.diff b/testdata/baselines/reference/submodule/compiler/enumIndexer.js.diff
deleted file mode 100644
index dc7df46161..0000000000
--- a/testdata/baselines/reference/submodule/compiler/enumIndexer.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.enumIndexer.js
-+++ new.enumIndexer.js
-@@= skipped -16, +16 lines =@@
- })(MyEnumType || (MyEnumType = {}));
- var _arr = [{ key: 'foo' }, { key: 'bar' }];
- var enumValue = MyEnumType.foo;
--var x = _arr.map(function (o) { return MyEnumType[o.key] === enumValue; }); // these are not same type
-+var x = _arr.map(o => MyEnumType[o.key] === enumValue); // these are not same type
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/enumLiteralAssignableToEnumInsideUnion.js.diff b/testdata/baselines/reference/submodule/compiler/enumLiteralAssignableToEnumInsideUnion.js.diff
deleted file mode 100644
index 5585e1758a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/enumLiteralAssignableToEnumInsideUnion.js.diff
+++ /dev/null
@@ -1,52 +0,0 @@
---- old.enumLiteralAssignableToEnumInsideUnion.js
-+++ new.enumLiteralAssignableToEnumInsideUnion.js
-@@= skipped -33, +33 lines =@@
- //// [enumLiteralAssignableToEnumInsideUnion.js]
- var X;
- (function (X) {
-- var Foo;
-+ let Foo;
- (function (Foo) {
- Foo[Foo["A"] = 0] = "A";
- Foo[Foo["B"] = 1] = "B";
-@@= skipped -8, +8 lines =@@
- })(X || (X = {}));
- var Y;
- (function (Y) {
-- var Foo;
-+ let Foo;
- (function (Foo) {
- Foo[Foo["A"] = 0] = "A";
- Foo[Foo["B"] = 1] = "B";
-@@= skipped -8, +8 lines =@@
- })(Y || (Y = {}));
- var Z;
- (function (Z) {
-- var Foo;
-+ let Foo;
- (function (Foo) {
- Foo[Foo["A"] = 2] = "A";
- Foo[Foo["B"] = 4] = "B";
-@@= skipped -8, +8 lines =@@
- })(Z || (Z = {}));
- var Ka;
- (function (Ka) {
-- var Foo;
-+ let Foo;
- (function (Foo) {
- Foo[Foo["A"] = 1024] = "A";
- Foo[Foo["B"] = 2048] = "B";
- })(Foo = Ka.Foo || (Ka.Foo = {}));
- })(Ka || (Ka = {}));
--var e0 = Y.Foo.A; // ok
--var e1 = Z.Foo.A; // not legal, Z is computed
--var e2 = Z.Foo.A; // still not legal
--var e3 = Z.Foo.A; // not legal
--var e4 = Z.Foo.A; // not legal either because Z.Foo is computed and Z.Foo.A is not necessarily assignable to X.Foo.A
--var e5 = Z.Foo.A; // ok
-+const e0 = Y.Foo.A; // ok
-+const e1 = Z.Foo.A; // not legal, Z is computed
-+const e2 = Z.Foo.A; // still not legal
-+const e3 = Z.Foo.A; // not legal
-+const e4 = Z.Foo.A; // not legal either because Z.Foo is computed and Z.Foo.A is not necessarily assignable to X.Foo.A
-+const e5 = Z.Foo.A; // ok
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/enumLiteralUnionNotWidened.js.diff b/testdata/baselines/reference/submodule/compiler/enumLiteralUnionNotWidened.js.diff
index a75dcc73f6..c7c28e969f 100644
--- a/testdata/baselines/reference/submodule/compiler/enumLiteralUnionNotWidened.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/enumLiteralUnionNotWidened.js.diff
@@ -1,18 +1,13 @@
--- old.enumLiteralUnionNotWidened.js
+++ new.enumLiteralUnionNotWidened.js
-@@= skipped -35, +35 lines =@@
- B["bar"] = "bar";
+@@= skipped -36, +36 lines =@@
})(B || (B = {}));
;
--var List = /** @class */ (function () {
-- function List() {
+ class List {
+- constructor() {
- this.items = [];
- }
-- return List;
--}());
-+class List {
+ items = [];
-+}
+ }
function asList(arg) { return new List(); }
- // TypeScript incorrectly infers the return type of "asList(x)" to be "List"
- // The correct type is "List"
\ No newline at end of file
+ // TypeScript incorrectly infers the return type of "asList(x)" to be "List"
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/enumUsedBeforeDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/enumUsedBeforeDeclaration.js.diff
index c759da4e02..2b03458efc 100644
--- a/testdata/baselines/reference/submodule/compiler/enumUsedBeforeDeclaration.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/enumUsedBeforeDeclaration.js.diff
@@ -1,12 +1,10 @@
--- old.enumUsedBeforeDeclaration.js
+++ new.enumUsedBeforeDeclaration.js
-@@= skipped -8, +8 lines =@@
-
+@@= skipped -9, +9 lines =@@
//// [enumUsedBeforeDeclaration.js]
--var v = Color.Green;
--var v2 = 1 /* ConstColor.Green */;
-+const v = Color.Green;
+ const v = Color.Green;
+-const v2 = 1 /* ConstColor.Green */;
+const v2 = ConstColor.Green;
var Color;
(function (Color) {
diff --git a/testdata/baselines/reference/submodule/compiler/erasableSyntaxOnly.js.diff b/testdata/baselines/reference/submodule/compiler/erasableSyntaxOnly.js.diff
index 6c9bfc021d..c8d44f8dbf 100644
--- a/testdata/baselines/reference/submodule/compiler/erasableSyntaxOnly.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/erasableSyntaxOnly.js.diff
@@ -1,69 +1,14 @@
--- old.erasableSyntaxOnly.js
+++ new.erasableSyntaxOnly.js
-@@= skipped -111, +111 lines =@@
-
+@@= skipped -112, +112 lines =@@
//// [index.js]
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
--};
--var MyClassErr = /** @class */ (function () {
-+class MyClassErr {
+ class MyClassErr {
+ foo;
// No parameter properties
-- function MyClassErr(foo) {
-+ constructor(foo) {
+ constructor(foo) {
this.foo = foo;
- }
-- return MyClassErr;
--}());
-+}
- var IllegalBecauseInstantiated;
- (function (IllegalBecauseInstantiated) {
- IllegalBecauseInstantiated.m = 1;
- })(IllegalBecauseInstantiated || (IllegalBecauseInstantiated = {}));
- var AlsoIllegalBecauseInstantiated;
- (function (AlsoIllegalBecauseInstantiated) {
-- var PrivateClass = /** @class */ (function () {
-- function PrivateClass() {
-- }
-- return PrivateClass;
-- }());
-+ class PrivateClass {
-+ }
- })(AlsoIllegalBecauseInstantiated || (AlsoIllegalBecauseInstantiated = {}));
- var IllegalBecauseNestedInstantiated;
- (function (IllegalBecauseNestedInstantiated) {
-- var Nested;
-+ let Nested;
- (function (Nested) {
- Nested.m = 1;
- })(Nested || (Nested = {}));
-@@= skipped -57, +27 lines =@@
+@@= skipped -25, +26 lines =@@
(function (NotLegalEnum) {
NotLegalEnum[NotLegalEnum["B"] = 1] = "B";
})(NotLegalEnum || (NotLegalEnum = {}));
@@ -73,45 +18,30 @@
+ NotLegalConstEnum[NotLegalConstEnum["C"] = 2] = "C";
+})(NotLegalConstEnum || (NotLegalConstEnum = {}));
// No errors after this point
--var MyClassOk = /** @class */ (function () {
-+class MyClassOk {
+ class MyClassOk {
// Not a parameter property, ok
-- function MyClassOk(foo) {
-- }
-- return MyClassOk;
--}());
-+ constructor(foo) { }
-+}
+ constructor(foo) { }
+ }
// Not erasable
--(function () { return ({}); })();
--(function () { return ({}); })();
--(function () { return ({}); })();
+-(() => ({}))();
+-(() => ({}))();
+-(() => ({}))();
+(() => (({})))();
+(() => (({})))();
+(() => (({})))();
// Erasable
--(function () { return ({}); })();
--(function () { return ({}); })();
+ (() => ({}))();
+-(() => ({}))();
-({});
-+(() => ({}))();
+(() => (({})))();
+(({}));
// return and yield ASI
--function gen() {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, 1];
-- case 1:
-- _a.sent();
-- return [2 /*return*/, 1];
-- }
-- });
-+function* gen() {
-+ yield 1;
-+ return 1;
+ function* gen() {
+ yield 1;
+ return 1;
}
// at the start of an ExpressionStatement if followed by an object literal; though I'm not sure why one would use it there
--({ foo: function () { } }.foo());
+-({ foo() { } }.foo());
+(({ foo() { } }.foo()));
// at the start of an ExpressionStatement if followed by function keyword
-(function () { })();
@@ -120,11 +50,8 @@
+((function () { }));
// at the start of an ExpressionStatement if followed by an anonymous class expression
// note that this exact syntax currently emits invalid JS (no parenthesis added like for function above)
--/** @class */ (function () {
-- function class_1() {
-- }
-- return class_1;
--}());
+-class {
+-};
+((class {
+}));
//// [commonjs.cjs]
@@ -133,6 +60,4 @@
+const foo = require("./other.cjs");
module.exports = foo;
//// [esm.mjs]
--var foo = 1234;
-+const foo = 1234;
- export default foo;
\ No newline at end of file
+ const foo = 1234;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/erasableSyntaxOnly2.js.diff b/testdata/baselines/reference/submodule/compiler/erasableSyntaxOnly2.js.diff
deleted file mode 100644
index e85dd39532..0000000000
--- a/testdata/baselines/reference/submodule/compiler/erasableSyntaxOnly2.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.erasableSyntaxOnly2.js
-+++ new.erasableSyntaxOnly2.js
-@@= skipped -5, +5 lines =@@
- let c = undefined;
\ No newline at end of file
+ // Repro for #25498
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorForUsingPropertyOfTypeAsType01.js.diff b/testdata/baselines/reference/submodule/compiler/errorForUsingPropertyOfTypeAsType01.js.diff
index 98051063e9..a2653054c6 100644
--- a/testdata/baselines/reference/submodule/compiler/errorForUsingPropertyOfTypeAsType01.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/errorForUsingPropertyOfTypeAsType01.js.diff
@@ -1,21 +1,14 @@
--- old.errorForUsingPropertyOfTypeAsType01.js
+++ new.errorForUsingPropertyOfTypeAsType01.js
-@@= skipped -53, +53 lines =@@
- })(Test1 || (Test1 = {}));
+@@= skipped -54, +54 lines =@@
var Test2;
(function (Test2) {
-- var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
-- }());
-+ class Foo {
+ class Foo {
+ bar;
-+ }
+ }
Test2.Foo = Foo;
var x = "";
- var y = "";
-@@= skipped -24, +22 lines =@@
+@@= skipped -20, +21 lines =@@
var x = "";
var y = "";
})(Test5 || (Test5 = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/errorForUsingPropertyOfTypeAsType02.js.diff b/testdata/baselines/reference/submodule/compiler/errorForUsingPropertyOfTypeAsType02.js.diff
deleted file mode 100644
index ae52cf1f5b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorForUsingPropertyOfTypeAsType02.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.errorForUsingPropertyOfTypeAsType02.js
-+++ new.errorForUsingPropertyOfTypeAsType02.js
-@@= skipped -10, +10 lines =@@
- var Test1;
- (function (Test1) {
- function foo(x) {
-- var a = x.abc;
-+ let a = x.abc;
- }
- })(Test1 || (Test1 = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorForUsingPropertyOfTypeAsType03.js.diff b/testdata/baselines/reference/submodule/compiler/errorForUsingPropertyOfTypeAsType03.js.diff
deleted file mode 100644
index 3f8e7c5e6d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorForUsingPropertyOfTypeAsType03.js.diff
+++ /dev/null
@@ -1,36 +0,0 @@
---- old.errorForUsingPropertyOfTypeAsType03.js
-+++ new.errorForUsingPropertyOfTypeAsType03.js
-@@= skipped -30, +30 lines =@@
- //// [errorForUsingPropertyOfTypeAsType03.js]
- var Test1;
- (function (Test1) {
-- var Color;
-+ let Color;
- (function (Color) {
- Color[Color["Red"] = 0] = "Red";
- Color[Color["Green"] = 1] = "Green";
- Color[Color["Blue"] = 2] = "Blue";
- })(Color || (Color = {}));
-- var a1;
-- var a2;
-- var a3;
-+ let a1;
-+ let a2;
-+ let a3;
- //let b1: (typeof Color).Red.toString;
- //let b2: (typeof Color).Red["toString"];
-- var b3;
-- var c1;
-- var c2;
-- var c3;
-- var d1;
-- var d2;
-- var d3;
-+ let b3;
-+ let c1;
-+ let c2;
-+ let c3;
-+ let d1;
-+ let d2;
-+ let d3;
- })(Test1 || (Test1 = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorForwardReferenceForwadingConstructor.js.diff b/testdata/baselines/reference/submodule/compiler/errorForwardReferenceForwadingConstructor.js.diff
index b9a73bde6a..a3645dea75 100644
--- a/testdata/baselines/reference/submodule/compiler/errorForwardReferenceForwadingConstructor.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/errorForwardReferenceForwadingConstructor.js.diff
@@ -1,44 +1,10 @@
--- old.errorForwardReferenceForwadingConstructor.js
+++ new.errorForwardReferenceForwadingConstructor.js
-@@= skipped -13, +13 lines =@@
-
- //// [errorForwardReferenceForwadingConstructor.js]
- // Error forward referencing derived class with forwarding constructor
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- function f() {
- var d1 = new derived();
+@@= skipped -18, +18 lines =@@
var d2 = new derived(4);
}
--var base = /** @class */ (function () {
-- function base(n) {
-+class base {
+ class base {
+ n;
-+ constructor(n) {
+ constructor(n) {
this.n = n;
- }
-- return base;
--}());
--var derived = /** @class */ (function (_super) {
-- __extends(derived, _super);
-- function derived() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return derived;
--}(base));
-+}
-+class derived extends base {
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorInfoForRelatedIndexTypesNoConstraintElaboration.js.diff b/testdata/baselines/reference/submodule/compiler/errorInfoForRelatedIndexTypesNoConstraintElaboration.js.diff
deleted file mode 100644
index 8ee7988079..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorInfoForRelatedIndexTypesNoConstraintElaboration.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.errorInfoForRelatedIndexTypesNoConstraintElaboration.js
-+++ new.errorInfoForRelatedIndexTypesNoConstraintElaboration.js
-@@= skipped -11, +11 lines =@@
-
- //// [errorInfoForRelatedIndexTypesNoConstraintElaboration.js]
- ///
--var I = /** @class */ (function () {
-- function I() {
-+class I {
-+ M() {
-+ let c1 = {};
-+ const c2 = c1;
- }
-- I.prototype.M = function () {
-- var c1 = {};
-- var c2 = c1;
-- };
-- return I;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorMessagesIntersectionTypes01.js.diff b/testdata/baselines/reference/submodule/compiler/errorMessagesIntersectionTypes01.js.diff
deleted file mode 100644
index 10f440cd92..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorMessagesIntersectionTypes01.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.errorMessagesIntersectionTypes01.js
-+++ new.errorMessagesIntersectionTypes01.js
-@@= skipped -18, +18 lines =@@
- });
-
- //// [errorMessagesIntersectionTypes01.js]
--var fooBar = mixBar({
-+let fooBar = mixBar({
- fooProp: "frizzlebizzle"
- });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorMessagesIntersectionTypes02.js.diff b/testdata/baselines/reference/submodule/compiler/errorMessagesIntersectionTypes02.js.diff
deleted file mode 100644
index 9111f015e9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorMessagesIntersectionTypes02.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.errorMessagesIntersectionTypes02.js
-+++ new.errorMessagesIntersectionTypes02.js
-@@= skipped -18, +18 lines =@@
- });
-
- //// [errorMessagesIntersectionTypes02.js]
--var fooBar = mixBar({
-+let fooBar = mixBar({
- fooProp: "frizzlebizzle"
- });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorMessagesIntersectionTypes03.js.diff b/testdata/baselines/reference/submodule/compiler/errorMessagesIntersectionTypes03.js.diff
deleted file mode 100644
index e8b1af2e24..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorMessagesIntersectionTypes03.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.errorMessagesIntersectionTypes03.js
-+++ new.errorMessagesIntersectionTypes03.js
-@@= skipped -27, +27 lines =@@
-
- //// [errorMessagesIntersectionTypes03.js]
- function f() {
-- var t;
-- var u;
-- var v;
-- var a_and_b;
-- var t_and_b;
-+ let t;
-+ let u;
-+ let v;
-+ let a_and_b;
-+ let t_and_b;
- t = a_and_b;
- u = a_and_b;
- v = a_and_b;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorMessagesIntersectionTypes04.js.diff b/testdata/baselines/reference/submodule/compiler/errorMessagesIntersectionTypes04.js.diff
deleted file mode 100644
index 03866bfcb8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorMessagesIntersectionTypes04.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.errorMessagesIntersectionTypes04.js
-+++ new.errorMessagesIntersectionTypes04.js
-@@= skipped -25, +25 lines =@@
-
- //// [errorMessagesIntersectionTypes04.js]
- function f() {
-- var num;
-- var bool;
-- var str;
-- var a_and_b;
-- var num_and_bool;
-+ let num;
-+ let bool;
-+ let str;
-+ let a_and_b;
-+ let num_and_bool;
- num = a_and_b;
- bool = a_and_b;
- str = a_and_b;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorOnEnumReferenceInCondition.js.diff b/testdata/baselines/reference/submodule/compiler/errorOnEnumReferenceInCondition.js.diff
index 1030cc7343..24c4ab5208 100644
--- a/testdata/baselines/reference/submodule/compiler/errorOnEnumReferenceInCondition.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/errorOnEnumReferenceInCondition.js.diff
@@ -7,24 +7,4 @@
-"use strict";
var Nums;
(function (Nums) {
- Nums[Nums["Zero"] = 0] = "Zero";
- Nums[Nums["One"] = 1] = "One";
- })(Nums || (Nums = {}));
--var a = Nums.Zero ? "a" : "b";
--var b = Nums.One ? "a" : "b";
-+const a = Nums.Zero ? "a" : "b";
-+const b = Nums.One ? "a" : "b";
- if (Nums.Zero) {
- Nums;
- }
-@@= skipped -25, +24 lines =@@
- Strs["Empty"] = "";
- Strs["A"] = "A";
- })(Strs || (Strs = {}));
--var c = Strs.Empty ? "a" : "b";
--var d = Strs.A ? "a" : "b";
-+const c = Strs.Empty ? "a" : "b";
-+const d = Strs.A ? "a" : "b";
- if (Strs.Empty) {
- Strs;
- }
\ No newline at end of file
+ Nums[Nums["Zero"] = 0] = "Zero";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorOnInitializerInObjectTypeLiteralProperty.js.diff b/testdata/baselines/reference/submodule/compiler/errorOnInitializerInObjectTypeLiteralProperty.js.diff
deleted file mode 100644
index 5b2090f3a9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorOnInitializerInObjectTypeLiteralProperty.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.errorOnInitializerInObjectTypeLiteralProperty.js
-+++ new.errorOnInitializerInObjectTypeLiteralProperty.js
-@@= skipped -11, +11 lines =@@
-
- //// [errorOnInitializerInObjectTypeLiteralProperty.js]
- var Foo;
--var Bar;
-+let Bar;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorOnUnionVsObjectShouldDeeplyDisambiguate.js.diff b/testdata/baselines/reference/submodule/compiler/errorOnUnionVsObjectShouldDeeplyDisambiguate.js.diff
deleted file mode 100644
index 9f28062743..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorOnUnionVsObjectShouldDeeplyDisambiguate.js.diff
+++ /dev/null
@@ -1,30 +0,0 @@
---- old.errorOnUnionVsObjectShouldDeeplyDisambiguate.js
-+++ new.errorOnUnionVsObjectShouldDeeplyDisambiguate.js
-@@= skipped -33, +33 lines =@@
- //// [errorOnUnionVsObjectShouldDeeplyDisambiguate.js]
- function foo() {
- return {
-- a: function () { return [123]; },
-- b: function () { return "hello"; },
-- c: function () { return "hello"; },
-- d: function () { return "hello"; },
-- e: function () { return "hello"; },
-- f: function () { return "hello"; },
-- g: function () { return "hello"; },
-- h: function () { return "hello"; },
-- i: function () { return "hello"; },
-- j: function () { return "hello"; },
-- k: function () { return 123; }
-+ a() { return [123]; },
-+ b: () => "hello",
-+ c: () => "hello",
-+ d: () => "hello",
-+ e: () => "hello",
-+ f: () => "hello",
-+ g: () => "hello",
-+ h: () => "hello",
-+ i: () => "hello",
-+ j: () => "hello",
-+ k: () => 123
- };
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorOnUnionVsObjectShouldDeeplyDisambiguate2.js.diff b/testdata/baselines/reference/submodule/compiler/errorOnUnionVsObjectShouldDeeplyDisambiguate2.js.diff
deleted file mode 100644
index 33193f47ea..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorOnUnionVsObjectShouldDeeplyDisambiguate2.js.diff
+++ /dev/null
@@ -1,30 +0,0 @@
---- old.errorOnUnionVsObjectShouldDeeplyDisambiguate2.js
-+++ new.errorOnUnionVsObjectShouldDeeplyDisambiguate2.js
-@@= skipped -33, +33 lines =@@
- //// [errorOnUnionVsObjectShouldDeeplyDisambiguate2.js]
- function foo() {
- return {
-- a: function () { return [123]; },
-- b: function () { return "hello"; },
-- c: function () { return "hello"; },
-- d: function () { return "hello"; },
-- e: function () { return "hello"; },
-- f: function () { return "hello"; },
-- g: function () { return "hello"; },
-- h: function () { return "hello"; },
-- i: function () { return "hello"; },
-- j: function () { return "hello"; },
-- k: function () { return 123; }
-+ a() { return [123]; },
-+ b: () => "hello",
-+ c: () => "hello",
-+ d: () => "hello",
-+ e: () => "hello",
-+ f: () => "hello",
-+ g: () => "hello",
-+ h: () => "hello",
-+ i: () => "hello",
-+ j: () => "hello",
-+ k: () => 123
- };
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorRecoveryInClassDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/errorRecoveryInClassDeclaration.js.diff
deleted file mode 100644
index b72418173b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorRecoveryInClassDeclaration.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.errorRecoveryInClassDeclaration.js
-+++ new.errorRecoveryInClassDeclaration.js
-@@= skipped -9, +9 lines =@@
- }
-
- //// [errorRecoveryInClassDeclaration.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.bar = function () {
-+class C {
-+ bar() {
- var v = foo(public, blaz(), {});
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorRecoveryWithDotFollowedByNamespaceKeyword.js.diff b/testdata/baselines/reference/submodule/compiler/errorRecoveryWithDotFollowedByNamespaceKeyword.js.diff
deleted file mode 100644
index 3d9f2ae933..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorRecoveryWithDotFollowedByNamespaceKeyword.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.errorRecoveryWithDotFollowedByNamespaceKeyword.js
-+++ new.errorRecoveryWithDotFollowedByNamespaceKeyword.js
-@@= skipped -17, +17 lines =@@
- if (true) {
- B.
- ;
-- var B = void 0;
-+ let B;
- (function (B) {
- function baz() { }
- B.baz = baz;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorSpanForUnclosedJsxTag.js.diff b/testdata/baselines/reference/submodule/compiler/errorSpanForUnclosedJsxTag.js.diff
index 02b9c7a095..4f700e95a9 100644
--- a/testdata/baselines/reference/submodule/compiler/errorSpanForUnclosedJsxTag.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/errorSpanForUnclosedJsxTag.js.diff
@@ -1,17 +1,10 @@
--- old.errorSpanForUnclosedJsxTag.js
+++ new.errorSpanForUnclosedJsxTag.js
-@@= skipped -13, +13 lines =@@
- let y = < Baz >Hello
-
- //// [errorSpanForUnclosedJsxTag.js]
--var Foo = {
-- Bar: function () { }
-+let Foo = {
-+ Bar() { }
+@@= skipped -17, +17 lines =@@
+ Bar() { }
};
--var Baz = function () { };
--var x = React.createElement(Foo.Bar, null,
+ let Baz = () => { };
+-let x = React.createElement(Foo.Bar, null,
- "Hello let y = ",
- React.createElement(Baz, null, "Hello"));
-+let Baz = () => { };
+let x = React.createElement(Foo.Bar, null, "Hell let y = ", React.createElement(Baz, null, "Hello"));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorSupression1.js.diff b/testdata/baselines/reference/submodule/compiler/errorSupression1.js.diff
deleted file mode 100644
index 4b899660a0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorSupression1.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.errorSupression1.js
-+++ new.errorSupression1.js
-@@= skipped -9, +9 lines =@@
- // So we don't want an error on 'concat'.
-
- //// [errorSupression1.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Foo.bar = function () { return "x"; };
-- return Foo;
--}());
-+class Foo {
-+ static bar() { return "x"; }
-+}
- var baz = Foo.b;
- // Foo.b won't bind.
- baz.concat("y");
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorWithSameNameType.js.diff b/testdata/baselines/reference/submodule/compiler/errorWithSameNameType.js.diff
deleted file mode 100644
index 14e4ccabdb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorWithSameNameType.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.errorWithSameNameType.js
-+++ new.errorWithSameNameType.js
-@@= skipped -32, +32 lines =@@
- //// [c.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var a;
--var b;
-+let a;
-+let b;
- if (a === b) {
- }
- a = b;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorsForCallAndAssignmentAreSimilar.js.diff b/testdata/baselines/reference/submodule/compiler/errorsForCallAndAssignmentAreSimilar.js.diff
deleted file mode 100644
index f133d93c17..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorsForCallAndAssignmentAreSimilar.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.errorsForCallAndAssignmentAreSimilar.js
-+++ new.errorsForCallAndAssignmentAreSimilar.js
-@@= skipped -27, +27 lines =@@
- { kind: "bluray", },
- { kind: "hdpvd", }
- ]);
-- var ds = [
-+ const ds = [
- { kind: "bluray", },
- { kind: "hdpvd", }
- ];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorsInGenericTypeReference.js.diff b/testdata/baselines/reference/submodule/compiler/errorsInGenericTypeReference.js.diff
index 2a3146ecc8..b153727bcd 100644
--- a/testdata/baselines/reference/submodule/compiler/errorsInGenericTypeReference.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/errorsInGenericTypeReference.js.diff
@@ -1,110 +1,10 @@
--- old.errorsInGenericTypeReference.js
+++ new.errorsInGenericTypeReference.js
-@@= skipped -73, +73 lines =@@
-
-
- //// [errorsInGenericTypeReference.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- // in call type arguments
--var testClass1 = /** @class */ (function () {
-- function testClass1() {
-- }
-- testClass1.prototype.method = function () { };
-- return testClass1;
--}());
-+class testClass1 {
-+ method() { }
-+}
- var tc1 = new testClass1();
- tc1.method(); // error: could not find symbol V
- // in constructor type arguments
--var testClass2 = /** @class */ (function () {
-- function testClass2() {
-- }
-- return testClass2;
--}());
-+class testClass2 {
-+}
- var tc2 = new testClass2(); // error: could not find symbol V
- // in method return type annotation
--var testClass3 = /** @class */ (function () {
-- function testClass3() {
-- }
-- testClass3.prototype.testMethod1 = function () { return null; }; // error: could not find symbol V
-- testClass3.testMethod2 = function () { return null; }; // error: could not find symbol V
-- Object.defineProperty(testClass3.prototype, "a", {
-- set: function (value) { } // error: could not find symbol V
-- ,
-- enumerable: false,
-- configurable: true
-- });
-- return testClass3;
--}());
-+class testClass3 {
-+ testMethod1() { return null; } // error: could not find symbol V
-+ static testMethod2() { return null; } // error: could not find symbol V
-+ set a(value) { } // error: could not find symbol V
+@@= skipped -90, +90 lines =@@
+ testMethod1() { return null; } // error: could not find symbol V
+ static testMethod2() { return null; } // error: could not find symbol V
+ set a(value) { } // error: could not find symbol V
+ property; // error: could not find symbol V
-+}
+ }
// in function return type annotation
- function testFunction1() { return null; } // error: could not find symbol V
- // in paramter types
-@@= skipped -57, +26 lines =@@
- // in var type annotation
- var f; // error: could not find symbol V
- // in constraints
--var testClass4 = /** @class */ (function () {
-- function testClass4() {
-- }
-- return testClass4;
--}()); // error: could not find symbol V
--var testClass6 = /** @class */ (function () {
-- function testClass6() {
-- }
-- testClass6.prototype.method = function () { }; // error: could not find symbol V
-- return testClass6;
--}());
-+class testClass4 {
-+} // error: could not find symbol V
-+class testClass6 {
-+ method() { } // error: could not find symbol V
-+}
- // in extends clause
--var testClass7 = /** @class */ (function (_super) {
-- __extends(testClass7, _super);
-- function testClass7() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return testClass7;
--}(Foo)); // error: could not find symbol V
-+class testClass7 extends Foo {
-+} // error: could not find symbol V
- // in implements clause
--var testClass8 = /** @class */ (function () {
-- function testClass8() {
-- }
-- return testClass8;
--}()); // error: could not find symbol V
-+class testClass8 {
-+} // error: could not find symbol V
\ No newline at end of file
+ function testFunction1() { return null; } // error: could not find symbol V
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorsOnUnionsOfOverlappingObjects01.js.diff b/testdata/baselines/reference/submodule/compiler/errorsOnUnionsOfOverlappingObjects01.js.diff
deleted file mode 100644
index 276736ecd7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/errorsOnUnionsOfOverlappingObjects01.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.errorsOnUnionsOfOverlappingObjects01.js
-+++ new.errorsOnUnionsOfOverlappingObjects01.js
-@@= skipped -62, +62 lines =@@
- h({ a: '', b: '' });
- addToZoo({ dog: "Barky McBarkface" });
- addToZoo({ man: "Manny", bear: "Coffee" });
--var manBeer = { man: "Manny", beer: "Coffee" };
-+const manBeer = { man: "Manny", beer: "Coffee" };
- addToZoo({ man: "Manny", beer: "Coffee" });
- addToZoo(manBeer);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/errorsWithInvokablesInUnions01.js.diff b/testdata/baselines/reference/submodule/compiler/errorsWithInvokablesInUnions01.js.diff
index 31bfa1da49..77978f9417 100644
--- a/testdata/baselines/reference/submodule/compiler/errorsWithInvokablesInUnions01.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/errorsWithInvokablesInUnions01.js.diff
@@ -1,18 +1,9 @@
--- old.errorsWithInvokablesInUnions01.js
+++ new.errorsWithInvokablesInUnions01.js
-@@= skipped -24, +24 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.ctor = exports.blah = void 0;
--var blah = function (x) { };
-+let blah = (x) => { };
+@@= skipped -27, +27 lines =@@
+ let blah = (x) => { };
exports.blah = blah;
--exports.ctor = /** @class */ (function () {
-- function class_1() {
-- }
-- return class_1;
--}());
-+let ctor = class {
+ let ctor = class {
+ someUnaccountedProp;
-+};
-+exports.ctor = ctor;
\ No newline at end of file
+ };
+ exports.ctor = ctor;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5-amd.js.diff b/testdata/baselines/reference/submodule/compiler/es5-amd.js.diff
deleted file mode 100644
index 466b2ab7dc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es5-amd.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.es5-amd.js
-+++ new.es5-amd.js
-@@= skipped -14, +14 lines =@@
- }
-
- //// [es5-amd.js]
--var A = /** @class */ (function () {
-- function A() {
-+class A {
-+ constructor() {
- }
-- A.prototype.B = function () {
-+ B() {
- return 42;
-- };
-- return A;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunction.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunction.js.diff
index b5f50f6885..31c37a0295 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunction.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunction.js.diff
@@ -13,51 +13,14 @@
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
--};
-function empty() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
- });
+async function empty() {
}
-function singleAwait() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- yield x;
- });
+async function singleAwait() {
+ await x;
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionArrayLiterals.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionArrayLiterals.js.diff
index 6c505306fa..aa28444d1f 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionArrayLiterals.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionArrayLiterals.js.diff
@@ -5,118 +5,43 @@
//// [es5-asyncFunctionArrayLiterals.js]
-function arrayLiteral0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, y];
-- case 1:
-- x = [_a.sent(), z];
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = [yield y, z];
- });
-}
-function arrayLiteral1() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = [y];
-- return [4 /*yield*/, z];
-- case 1:
-- x = _a.concat([_b.sent()]);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = [y, yield z];
- });
-}
-function arrayLiteral2() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = [[]];
-- return [4 /*yield*/, y];
-- case 1:
-- x = __spreadArray.apply(void 0, [__spreadArray.apply(void 0, _a.concat([(_b.sent()), true])), [z], false]);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = [...(yield y), z];
- });
-}
-function arrayLiteral3() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = [__spreadArray([], y, true)];
-- return [4 /*yield*/, z];
-- case 1:
-- x = __spreadArray.apply(void 0, _a.concat([[_b.sent()], false]));
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = [...y, yield z];
- });
-}
-function arrayLiteral4() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, y];
-- case 1:
-- x = __spreadArray.apply(void 0, [[_a.sent()], z, true]);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = [yield y, ...z];
- });
-}
-function arrayLiteral5() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = [[y]];
-- return [4 /*yield*/, z];
-- case 1:
-- x = __spreadArray.apply(void 0, _a.concat([(_b.sent()), true]));
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = [y, ...(yield z)];
- });
-}
-function arrayLiteral6() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = [y];
-- return [4 /*yield*/, z];
-- case 1:
-- x = _a.concat([_b.sent(), a]);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = [y, yield z, a];
- });
-}
-function arrayLiteral7() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0: return [4 /*yield*/, y];
-- case 1:
-- _a = [_b.sent(), z];
-- return [4 /*yield*/, a];
-- case 2:
-- x = _a.concat([_b.sent()]);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = [yield y, z, yield a];
- });
+async function arrayLiteral0() {
+ x = [await y, z];
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionBinaryExpressions.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionBinaryExpressions.js.diff
index 784b572668..74ceae216d 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionBinaryExpressions.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionBinaryExpressions.js.diff
@@ -5,438 +5,154 @@
//// [es5-asyncFunctionBinaryExpressions.js]
-function binaryPlus0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- (_a.sent()) + y;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x) + y;
- });
-}
-function binaryPlus1() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- return [4 /*yield*/, y];
-- case 1:
-- _a + (_b.sent());
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x + (yield y);
- });
-}
-function binaryLogicalAnd0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- (_a.sent()) && y;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x) && y;
- });
-}
-function binaryLogicalAnd1() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- if (!_a) return [3 /*break*/, 2];
-- return [4 /*yield*/, y];
-- case 1:
-- _a = (_b.sent());
-- _b.label = 2;
-- case 2:
-- _a;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x && (yield y);
- });
-}
-function binaryAssignment0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, y];
-- case 1:
-- x = _a.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = yield y;
- });
-}
-function binaryAssignment1() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- return [4 /*yield*/, y];
-- case 1:
-- _a.a = _b.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x.a = yield y;
- });
-}
-function binaryAssignment2() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x.a;
-- return [4 /*yield*/, y];
-- case 1:
-- _a.b = _b.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x.a.b = yield y;
- });
-}
-function binaryAssignment3() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _a = x;
-- _b = z;
-- return [4 /*yield*/, y];
-- case 1:
-- _a[_b] = _c.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x[z] = yield y;
- });
-}
-function binaryAssignment4() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x[z];
-- return [4 /*yield*/, y];
-- case 1:
-- _a.b = _b.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x[z].b = yield y;
- });
-}
-function binaryAssignment5() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _a = x.a;
-- _b = z;
-- return [4 /*yield*/, y];
-- case 1:
-- _a[_b] = _c.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x.a[z] = yield y;
- });
-}
-function binaryAssignment6() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- (_a.sent()).a = y;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x).a = y;
- });
-}
-function binaryAssignment7() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x.a];
-- case 1:
-- (_a.sent()).b = y;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x.a).b = y;
- });
-}
-function binaryAssignment8() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- (_a.sent())[z] = y;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x)[z] = y;
- });
-}
-function binaryAssignment9() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- return [4 /*yield*/, z];
-- case 1:
-- _a[_b.sent()] = y;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x[yield z] = y;
- });
-}
-function binaryAssignment10() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- return [4 /*yield*/, z];
-- case 1:
-- _a[_b.sent()].b = y;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x[yield z].b = y;
- });
-}
-function binaryAssignment11() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x[z]];
-- case 1:
-- (_a.sent()).b = y;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x[z]).b = y;
- });
-}
-function binaryAssignment12() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x.a;
-- return [4 /*yield*/, z];
-- case 1:
-- _a[_b.sent()] = y;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x.a[yield z] = y;
- });
-}
-function binaryAssignment13() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x.a];
-- case 1:
-- (_a.sent())[z] = y;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x.a)[z] = y;
- });
-}
-function binaryCompoundAssignment0() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- return [4 /*yield*/, y];
-- case 1:
-- x = _a + _b.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x += yield y;
- });
-}
-function binaryCompoundAssignment1() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _a = x;
-- _b = _a.a;
-- return [4 /*yield*/, y];
-- case 1:
-- _a.a = _b + _c.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x.a += yield y;
- });
-}
-function binaryCompoundAssignment2() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0:
-- _a = x;
-- _b = a;
-- _c = _a[_b];
-- return [4 /*yield*/, y];
-- case 1:
-- _a[_b] = _c + _d.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x[a] += yield y;
- });
-}
-function binaryCompoundAssignment3() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- (_a.sent()).a += y;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x).a += y;
- });
-}
-function binaryCompoundAssignment4() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- (_a.sent())[a] += y;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x)[a] += y;
- });
-}
-function binaryCompoundAssignment5() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- return [4 /*yield*/, a];
-- case 1:
-- _a[_b.sent()] += y;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x[yield a] += y;
- });
-}
-function binaryCompoundAssignment6() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- _a = (_c.sent());
-- _b = _a.a;
-- return [4 /*yield*/, y];
-- case 2:
-- _a.a = _b + _c.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x).a += yield y;
- });
-}
-function binaryCompoundAssignment7() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- _a = (_d.sent());
-- _b = a;
-- _c = _a[_b];
-- return [4 /*yield*/, y];
-- case 2:
-- _a[_b] = _c + _d.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x)[a] += yield y;
- });
-}
-function binaryCompoundAssignment8() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0:
-- _a = x;
-- return [4 /*yield*/, a];
-- case 1:
-- _b = _d.sent();
-- _c = _a[_b];
-- return [4 /*yield*/, y];
-- case 2:
-- _a[_b] = _c + _d.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x[yield a] += yield y;
- });
-}
-function binaryExponentiation() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _d, _e;
-- return __generator(this, function (_f) {
-- switch (_f.label) {
-- case 0:
-- _b = (_a = Math).pow;
-- return [4 /*yield*/, x];
-- case 1:
-- _b.apply(_a, [(_f.sent()), y]);
-- _d = (_c = Math).pow;
-- _e = [x];
-- return [4 /*yield*/, y];
-- case 2:
-- _d.apply(_c, _e.concat([_f.sent()]));
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- Math.pow((yield x), y);
+- Math.pow(x, yield y);
- });
-}
-function binaryComma0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1: return [2 /*return*/, ((_a.sent()), y)];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- return (yield x), y;
- });
-}
-function binaryComma1() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- x;
-- return [4 /*yield*/, y];
-- case 1: return [2 /*return*/, _a.sent()];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- return x, yield y;
- });
+async function binaryPlus0() {
+ (await x) + y;
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionCallExpressions.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionCallExpressions.js.diff
index d538421cd5..97db82a59c 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionCallExpressions.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionCallExpressions.js.diff
@@ -5,298 +5,108 @@
//// [es5-asyncFunctionCallExpressions.js]
-function callExpression0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x(y, z)];
-- case 1:
-- _a.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- yield x(y, z);
- });
-}
-function callExpression1() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- (_a.sent())(y, z);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x)(y, z);
- });
-}
-function callExpression2() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- return [4 /*yield*/, y];
-- case 1:
-- _a.apply(void 0, [_b.sent(), z]);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x(yield y, z);
- });
-}
-function callExpression3() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _a = x;
-- _b = [y];
-- return [4 /*yield*/, z];
-- case 1:
-- _a.apply(void 0, _b.concat([_c.sent()]));
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x(y, yield z);
- });
-}
-function callExpression4() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x.apply(void 0, __spreadArray(__spreadArray([], y, false), [z], false))];
-- case 1:
-- _a.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- yield x(...y, z);
- });
-}
-function callExpression5() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- (_a.sent()).apply(void 0, __spreadArray(__spreadArray([], y, false), [z], false));
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x)(...y, z);
- });
-}
-function callExpression6() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _d;
-- return __generator(this, function (_e) {
-- switch (_e.label) {
-- case 0:
-- _b = (_a = x).apply;
-- _c = [void 0];
-- _d = [[]];
-- return [4 /*yield*/, y];
-- case 1:
-- _b.apply(_a, _c.concat([__spreadArray.apply(void 0, [__spreadArray.apply(void 0, _d.concat([(_e.sent()), false])), [z], false])]));
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x(...(yield y), z);
- });
-}
-function callExpression7() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _d;
-- return __generator(this, function (_e) {
-- switch (_e.label) {
-- case 0:
-- _b = (_a = x).apply;
-- _c = [void 0];
-- _d = [__spreadArray([], y, false)];
-- return [4 /*yield*/, z];
-- case 1:
-- _b.apply(_a, _c.concat([__spreadArray.apply(void 0, _d.concat([[_e.sent()], false]))]));
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x(...y, yield z);
- });
-}
-function callExpression8() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0:
-- _b = (_a = x).apply;
-- _c = [void 0];
-- return [4 /*yield*/, y];
-- case 1:
-- _b.apply(_a, _c.concat([__spreadArray.apply(void 0, [[_d.sent()], z, false])]));
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x(yield y, ...z);
- });
-}
-function callExpression9() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _d;
-- return __generator(this, function (_e) {
-- switch (_e.label) {
-- case 0:
-- _b = (_a = x).apply;
-- _c = [void 0];
-- _d = [[y]];
-- return [4 /*yield*/, z];
-- case 1:
-- _b.apply(_a, _c.concat([__spreadArray.apply(void 0, _d.concat([(_e.sent()), false]))]));
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x(y, ...(yield z));
- });
-}
-function callExpression10() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x.a(y, z)];
-- case 1:
-- _a.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- yield x.a(y, z);
- });
-}
-function callExpression11() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x.a];
-- case 1:
-- (_a.sent())(y, z);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x.a)(y, z);
- });
-}
-function callExpression12() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- (_a.sent()).a(y, z);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x).a(y, z);
- });
-}
-function callExpression13() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _b = (_a = x).a;
-- return [4 /*yield*/, y];
-- case 1:
-- _b.apply(_a, [_c.sent(), z]);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x.a(yield y, z);
- });
-}
-function callExpression14() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0:
-- _b = (_a = x).a;
-- _c = [y];
-- return [4 /*yield*/, z];
-- case 1:
-- _b.apply(_a, _c.concat([_d.sent()]));
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x.a(y, yield z);
- });
-}
-function callExpression15() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x[a](y, z)];
-- case 1:
-- _a.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- yield x[a](y, z);
- });
-}
-function callExpression16() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x[a]];
-- case 1:
-- (_a.sent())(y, z);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x[a])(y, z);
- });
-}
-function callExpression17() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- (_a.sent())[a](y, z);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- (yield x)[a](y, z);
- });
-}
-function callExpression18() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- return [4 /*yield*/, a];
-- case 1:
-- _a[_b.sent()](y, z);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x[yield a](y, z);
- });
-}
-function callExpression19() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _b = (_a = x)[a];
-- return [4 /*yield*/, y];
-- case 1:
-- _b.apply(_a, [_c.sent(), z]);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x[a](yield y, z);
- });
-}
-function callExpression20() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0:
-- _b = (_a = x)[a];
-- _c = [y];
-- return [4 /*yield*/, z];
-- case 1:
-- _b.apply(_a, _c.concat([_d.sent()]));
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x[a](y, yield z);
- });
+async function callExpression0() {
+ await x(y, z);
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionConditionals.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionConditionals.js.diff
index f745b7a920..a3dbebba11 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionConditionals.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionConditionals.js.diff
@@ -5,56 +5,18 @@
//// [es5-asyncFunctionConditionals.js]
-function conditional0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- a = (_a.sent()) ? y : z;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- a = (yield x) ? y : z;
- });
-}
-function conditional1() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- if (!x) return [3 /*break*/, 2];
-- return [4 /*yield*/, y];
-- case 1:
-- _a = _b.sent();
-- return [3 /*break*/, 3];
-- case 2:
-- _a = z;
-- _b.label = 3;
-- case 3:
-- a = _a;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- a = x ? yield y : z;
- });
-}
-function conditional2() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- if (!x) return [3 /*break*/, 1];
-- _a = y;
-- return [3 /*break*/, 3];
-- case 1: return [4 /*yield*/, z];
-- case 2:
-- _a = _b.sent();
-- _b.label = 3;
-- case 3:
-- a = _a;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- a = x ? y : yield z;
- });
+async function conditional0() {
+ a = (await x) ? y : z;
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionDoStatements.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionDoStatements.js.diff
index d8327db001..862a803d3b 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionDoStatements.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionDoStatements.js.diff
@@ -5,281 +5,148 @@
//// [es5-asyncFunctionDoStatements.js]
-function doStatement0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- do {
-- x;
-- } while (y);
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- do {
+- x;
+- } while (y);
- });
-}
-function doStatement1() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- _a.label = 2;
-- case 2:
-- if (y) return [3 /*break*/, 0];
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- do {
+- yield x;
+- } while (y);
- });
-}
-function doStatement2() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- x;
-- _a.label = 1;
-- case 1: return [4 /*yield*/, y];
-- case 2:
-- if (_a.sent()) return [3 /*break*/, 0];
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- do {
+- x;
+- } while (yield y);
- });
-}
-function doStatement3() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- do {
-- continue;
-- } while (y);
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- do {
+- continue;
+- } while (y);
- });
-}
-function doStatement4() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 2];
-- case 2:
-- if (y) return [3 /*break*/, 0];
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- do {
+- yield x;
+- continue;
+- } while (y);
- });
-}
-function doStatement5() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (1)
-- return [3 /*break*/, 2];
-- return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- _a.label = 2;
-- case 2:
-- if (y) return [3 /*break*/, 0];
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- do {
+- if (1)
+- continue;
+- yield x;
+- } while (y);
- });
-}
-function doStatement6() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [3 /*break*/, 1];
-- case 1: return [4 /*yield*/, y];
-- case 2:
-- if (_a.sent()) return [3 /*break*/, 0];
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- do {
+- continue;
+- } while (yield y);
- });
-}
-function doStatement7() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- A: do {
-- continue A;
-- } while (y);
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- A: do {
+- continue A;
+- } while (y);
- });
-}
-function doStatement8() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 2];
-- case 2:
-- if (y) return [3 /*break*/, 0];
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- B: do {
+- yield x;
+- continue B;
+- } while (y);
- });
-}
-function doStatement9() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (1)
-- return [3 /*break*/, 2];
-- return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- _a.label = 2;
-- case 2:
-- if (y) return [3 /*break*/, 0];
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- C: do {
+- if (1)
+- continue C;
+- yield x;
+- } while (y);
- });
-}
-function doStatement10() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [3 /*break*/, 1];
-- case 1: return [4 /*yield*/, y];
-- case 2:
-- if (_a.sent()) return [3 /*break*/, 0];
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- D: do {
+- continue D;
+- } while (yield y);
- });
-}
-function doStatement11() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- do {
-- break;
-- } while (y);
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- do {
+- break;
+- } while (y);
- });
-}
-function doStatement12() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 3];
-- case 2:
-- if (y) return [3 /*break*/, 0];
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- do {
+- yield x;
+- break;
+- } while (y);
- });
-}
-function doStatement13() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (1)
-- return [3 /*break*/, 3];
-- return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- _a.label = 2;
-- case 2:
-- if (y) return [3 /*break*/, 0];
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- do {
+- if (1)
+- break;
+- yield x;
+- } while (y);
- });
-}
-function doStatement14() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [3 /*break*/, 3];
-- case 1: return [4 /*yield*/, y];
-- case 2:
-- if (_a.sent()) return [3 /*break*/, 0];
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- do {
+- break;
+- } while (yield y);
- });
-}
-function doStatement15() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- E: do {
-- break E;
-- } while (y);
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- E: do {
+- break E;
+- } while (y);
- });
-}
-function doStatement16() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 3];
-- case 2:
-- if (y) return [3 /*break*/, 0];
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- F: do {
+- yield x;
+- break F;
+- } while (y);
- });
-}
-function doStatement17() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (1)
-- return [3 /*break*/, 3];
-- return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- _a.label = 2;
-- case 2:
-- if (y) return [3 /*break*/, 0];
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- G: do {
+- if (1)
+- break G;
+- yield x;
+- } while (y);
- });
-}
-function doStatement18() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [3 /*break*/, 3];
-- case 1: return [4 /*yield*/, y];
-- case 2:
-- if (_a.sent()) return [3 /*break*/, 0];
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- H: do {
+- break H;
+- } while (yield y);
- });
+async function doStatement0() {
+ do {
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionElementAccess.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionElementAccess.js.diff
index 9fe66c293f..a7c437d31e 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionElementAccess.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionElementAccess.js.diff
@@ -5,42 +5,18 @@
//// [es5-asyncFunctionElementAccess.js]
-function elementAccess0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x[y]];
-- case 1:
-- z = _a.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- z = yield x[y];
- });
-}
-function elementAccess1() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- z = (_a.sent())[y];
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- z = (yield x)[y];
- });
-}
-function elementAccess2() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- return [4 /*yield*/, y];
-- case 1:
-- z = _a[_b.sent()];
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- z = x[yield y];
- });
+async function elementAccess0() {
+ z = await x[y];
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionForInStatements.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionForInStatements.js.diff
index c733861463..0405971e02 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionForInStatements.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionForInStatements.js.diff
@@ -5,224 +5,66 @@
//// [es5-asyncFunctionForInStatements.js]
-function forInStatement0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- for (x in y) {
-- z;
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (x in y) {
+- z;
+- }
- });
-}
-function forInStatement1() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _i;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0: return [4 /*yield*/, y];
-- case 1:
-- _a = _d.sent();
-- _b = [];
-- for (_c in _a)
-- _b.push(_c);
-- _i = 0;
-- _d.label = 2;
-- case 2:
-- if (!(_i < _b.length)) return [3 /*break*/, 4];
-- _c = _b[_i];
-- if (!(_c in _a)) return [3 /*break*/, 3];
-- x = _c;
-- z;
-- _d.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 2];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (x in yield y) {
+- z;
+- }
- });
-}
-function forInStatement2() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _i;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0:
-- _a = y;
-- _b = [];
-- for (_c in _a)
-- _b.push(_c);
-- _i = 0;
-- _d.label = 1;
-- case 1:
-- if (!(_i < _b.length)) return [3 /*break*/, 4];
-- _c = _b[_i];
-- if (!(_c in _a)) return [3 /*break*/, 3];
-- x = _c;
-- return [4 /*yield*/, z];
-- case 2:
-- _d.sent();
-- _d.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (x in y) {
+- yield z;
+- }
- });
-}
-function forInStatement3() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _i;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0:
-- _a = y;
-- _b = [];
-- for (_c in _a)
-- _b.push(_c);
-- _i = 0;
-- _d.label = 1;
-- case 1:
-- if (!(_i < _b.length)) return [3 /*break*/, 4];
-- _c = _b[_i];
-- if (!(_c in _a)) return [3 /*break*/, 3];
-- return [4 /*yield*/, x];
-- case 2:
-- (_d.sent()).a = _c;
-- z;
-- _d.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for ((yield x).a in y) {
+- z;
+- }
- });
-}
-function forInStatement4() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _i;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0: return [4 /*yield*/, y];
-- case 1:
-- _a = _d.sent();
-- _b = [];
-- for (_c in _a)
-- _b.push(_c);
-- _i = 0;
-- _d.label = 2;
-- case 2:
-- if (!(_i < _b.length)) return [3 /*break*/, 4];
-- _c = _b[_i];
-- if (!(_c in _a)) return [3 /*break*/, 3];
-- x.a = _c;
-- z;
-- _d.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 2];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (x.a in yield y) {
+- z;
+- }
- });
-}
-function forInStatement5() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _i;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0:
-- _a = y;
-- _b = [];
-- for (_c in _a)
-- _b.push(_c);
-- _i = 0;
-- _d.label = 1;
-- case 1:
-- if (!(_i < _b.length)) return [3 /*break*/, 4];
-- _c = _b[_i];
-- if (!(_c in _a)) return [3 /*break*/, 3];
-- x.a = _c;
-- return [4 /*yield*/, z];
-- case 2:
-- _d.sent();
-- _d.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (x.a in y) {
+- yield z;
+- }
- });
-}
-function forInStatement6() {
-- return __awaiter(this, void 0, void 0, function () {
-- var a;
-- return __generator(this, function (_a) {
-- for (a in y) {
-- z;
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (var a in y) {
+- z;
+- }
- });
-}
-function forInStatement7() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _i, b;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0: return [4 /*yield*/, y];
-- case 1:
-- _a = _d.sent();
-- _b = [];
-- for (_c in _a)
-- _b.push(_c);
-- _i = 0;
-- _d.label = 2;
-- case 2:
-- if (!(_i < _b.length)) return [3 /*break*/, 4];
-- _c = _b[_i];
-- if (!(_c in _a)) return [3 /*break*/, 3];
-- b = _c;
-- z;
-- _d.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 2];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (var b in yield y) {
+- z;
+- }
- });
-}
-function forInStatement8() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _i, c;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0:
-- _a = y;
-- _b = [];
-- for (_c in _a)
-- _b.push(_c);
-- _i = 0;
-- _d.label = 1;
-- case 1:
-- if (!(_i < _b.length)) return [3 /*break*/, 4];
-- _c = _b[_i];
-- if (!(_c in _a)) return [3 /*break*/, 3];
-- c = _c;
-- return [4 /*yield*/, z];
-- case 2:
-- _d.sent();
-- _d.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (var c in y) {
+- yield z;
+- }
- });
+async function forInStatement0() {
+ for (x in y) {
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionForOfStatements.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionForOfStatements.js.diff
index 24568c024b..015466f8ec 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionForOfStatements.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionForOfStatements.js.diff
@@ -5,447 +5,136 @@
//// [es5-asyncFunctionForOfStatements.js]
-function forOfStatement0() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, y_1;
-- return __generator(this, function (_a) {
-- for (_i = 0, y_1 = y; _i < y_1.length; _i++) {
-- x = y_1[_i];
-- z;
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (x of y) {
+- z;
+- }
- });
-}
-function forOfStatement1() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _i = 0;
-- return [4 /*yield*/, y];
-- case 1:
-- _a = _b.sent();
-- _b.label = 2;
-- case 2:
-- if (!(_i < _a.length)) return [3 /*break*/, 4];
-- x = _a[_i];
-- z;
-- _b.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 2];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (x of yield y) {
+- z;
+- }
- });
-}
-function forOfStatement2() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, y_2;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- _i = 0, y_2 = y;
-- _a.label = 1;
-- case 1:
-- if (!(_i < y_2.length)) return [3 /*break*/, 4];
-- x = y_2[_i];
-- return [4 /*yield*/, z];
-- case 2:
-- _a.sent();
-- _a.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (x of y) {
+- yield z;
+- }
- });
-}
-function forOfStatement3() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, y_3;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- _i = 0, y_3 = y;
-- _a.label = 1;
-- case 1:
-- if (!(_i < y_3.length)) return [3 /*break*/, 4];
-- return [4 /*yield*/, x];
-- case 2:
-- (_a.sent()).a = y_3[_i];
-- z;
-- _a.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for ((yield x).a of y) {
+- z;
+- }
- });
-}
-function forOfStatement4() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _i = 0;
-- return [4 /*yield*/, y];
-- case 1:
-- _a = _b.sent();
-- _b.label = 2;
-- case 2:
-- if (!(_i < _a.length)) return [3 /*break*/, 4];
-- x.a = _a[_i];
-- z;
-- _b.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 2];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (x.a of yield y) {
+- z;
+- }
- });
-}
-function forOfStatement5() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, y_4;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- _i = 0, y_4 = y;
-- _a.label = 1;
-- case 1:
-- if (!(_i < y_4.length)) return [3 /*break*/, 4];
-- x.a = y_4[_i];
-- return [4 /*yield*/, z];
-- case 2:
-- _a.sent();
-- _a.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (x.a of y) {
+- yield z;
+- }
- });
-}
-function forOfStatement6() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, y_5, b;
-- return __generator(this, function (_a) {
-- for (_i = 0, y_5 = y; _i < y_5.length; _i++) {
-- b = y_5[_i];
-- z;
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (var b of y) {
+- z;
+- }
- });
-}
-function forOfStatement7() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, _a, c;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _i = 0;
-- return [4 /*yield*/, y];
-- case 1:
-- _a = _b.sent();
-- _b.label = 2;
-- case 2:
-- if (!(_i < _a.length)) return [3 /*break*/, 4];
-- c = _a[_i];
-- z;
-- _b.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 2];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (var c of yield y) {
+- z;
+- }
- });
-}
-function forOfStatement8() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, y_6, d;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- _i = 0, y_6 = y;
-- _a.label = 1;
-- case 1:
-- if (!(_i < y_6.length)) return [3 /*break*/, 4];
-- d = y_6[_i];
-- return [4 /*yield*/, z];
-- case 2:
-- _a.sent();
-- _a.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (var d of y) {
+- yield z;
+- }
- });
-}
-function forOfStatement9() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _i = 0;
-- return [4 /*yield*/, y];
-- case 1:
-- _a = _b.sent();
-- _b.label = 2;
-- case 2:
-- if (!(_i < _a.length)) return [3 /*break*/, 4];
-- x = _a[_i][0];
-- z;
-- _b.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 2];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for ([x] of yield y) {
+- z;
+- }
- });
-}
-function forOfStatement10() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, y_7;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- _i = 0, y_7 = y;
-- _a.label = 1;
-- case 1:
-- if (!(_i < y_7.length)) return [3 /*break*/, 4];
-- x = y_7[_i][0];
-- return [4 /*yield*/, z];
-- case 2:
-- _a.sent();
-- _a.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for ([x] of y) {
+- yield z;
+- }
- });
-}
-function forOfStatement11() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, y_8, _a;
-- var _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _i = 0, y_8 = y;
-- _c.label = 1;
-- case 1:
-- if (!(_i < y_8.length)) return [3 /*break*/, 6];
-- _b = y_8[_i][0];
-- if (!(_b === void 0)) return [3 /*break*/, 3];
-- return [4 /*yield*/, a];
-- case 2:
-- _a = _c.sent();
-- return [3 /*break*/, 4];
-- case 3:
-- _a = _b;
-- _c.label = 4;
-- case 4:
-- x = _a;
-- z;
-- _c.label = 5;
-- case 5:
-- _i++;
-- return [3 /*break*/, 1];
-- case 6: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for ([x = yield a] of y) {
+- z;
+- }
- });
-}
-function forOfStatement12() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, _a;
-- var _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _i = 0;
-- return [4 /*yield*/, y];
-- case 1:
-- _a = _c.sent();
-- _c.label = 2;
-- case 2:
-- if (!(_i < _a.length)) return [3 /*break*/, 4];
-- _b = _a[_i][0], x = _b === void 0 ? a : _b;
-- z;
-- _c.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 2];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for ([x = a] of yield y) {
+- z;
+- }
- });
-}
-function forOfStatement13() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, y_9;
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _i = 0, y_9 = y;
-- _b.label = 1;
-- case 1:
-- if (!(_i < y_9.length)) return [3 /*break*/, 4];
-- _a = y_9[_i][0], x = _a === void 0 ? a : _a;
-- return [4 /*yield*/, z];
-- case 2:
-- _b.sent();
-- _b.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for ([x = a] of y) {
+- yield z;
+- }
- });
-}
-function forOfStatement14() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _i = 0;
-- return [4 /*yield*/, y];
-- case 1:
-- _a = _b.sent();
-- _b.label = 2;
-- case 2:
-- if (!(_i < _a.length)) return [3 /*break*/, 4];
-- x = _a[_i].x;
-- z;
-- _b.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 2];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for ({ x } of yield y) {
+- z;
+- }
- });
-}
-function forOfStatement15() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, y_10;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- _i = 0, y_10 = y;
-- _a.label = 1;
-- case 1:
-- if (!(_i < y_10.length)) return [3 /*break*/, 4];
-- x = y_10[_i].x;
-- return [4 /*yield*/, z];
-- case 2:
-- _a.sent();
-- _a.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for ({ x } of y) {
+- yield z;
+- }
- });
-}
-function forOfStatement16() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, y_11, _a;
-- var _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _i = 0, y_11 = y;
-- _c.label = 1;
-- case 1:
-- if (!(_i < y_11.length)) return [3 /*break*/, 6];
-- _b = y_11[_i].x;
-- if (!(_b === void 0)) return [3 /*break*/, 3];
-- return [4 /*yield*/, a];
-- case 2:
-- _a = _c.sent();
-- return [3 /*break*/, 4];
-- case 3:
-- _a = _b;
-- _c.label = 4;
-- case 4:
-- x = _a;
-- z;
-- _c.label = 5;
-- case 5:
-- _i++;
-- return [3 /*break*/, 1];
-- case 6: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for ({ x = yield a } of y) {
+- z;
+- }
- });
-}
-function forOfStatement17() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, _a;
-- var _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _i = 0;
-- return [4 /*yield*/, y];
-- case 1:
-- _a = _c.sent();
-- _c.label = 2;
-- case 2:
-- if (!(_i < _a.length)) return [3 /*break*/, 4];
-- _b = _a[_i].x, x = _b === void 0 ? a : _b;
-- z;
-- _c.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 2];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for ({ x = a } of yield y) {
+- z;
+- }
- });
-}
-function forOfStatement18() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, y_12;
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _i = 0, y_12 = y;
-- _b.label = 1;
-- case 1:
-- if (!(_i < y_12.length)) return [3 /*break*/, 4];
-- _a = y_12[_i].x, x = _a === void 0 ? a : _a;
-- return [4 /*yield*/, z];
-- case 2:
-- _b.sent();
-- _b.label = 3;
-- case 3:
-- _i++;
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for ({ x = a } of y) {
+- yield z;
+- }
- });
+async function forOfStatement0() {
+ for (x of y) {
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionForStatements.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionForStatements.js.diff
index 35620c1c36..7a1c879c60 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionForStatements.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionForStatements.js.diff
@@ -5,116 +5,52 @@
//// [es5-asyncFunctionForStatements.js]
-function forStatement0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- for (x; y; z) {
-- a;
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (x; y; z) {
+- a;
+- }
- });
-}
-function forStatement1() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- _a.label = 2;
-- case 2:
-- if (!y) return [3 /*break*/, 4];
-- a;
-- _a.label = 3;
-- case 3:
-- z;
-- return [3 /*break*/, 2];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (yield x; y; z) {
+- a;
+- }
- });
-}
-function forStatement2() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- x;
-- _a.label = 1;
-- case 1: return [4 /*yield*/, y];
-- case 2:
-- if (!_a.sent()) return [3 /*break*/, 4];
-- a;
-- _a.label = 3;
-- case 3:
-- z;
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (x; yield y; z) {
+- a;
+- }
- });
-}
-function forStatement3() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- x;
-- _a.label = 1;
-- case 1:
-- if (!y) return [3 /*break*/, 4];
-- a;
-- _a.label = 2;
-- case 2: return [4 /*yield*/, z];
-- case 3:
-- _a.sent();
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (x; y; yield z) {
+- a;
+- }
- });
-}
-function forStatement4() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- x;
-- _a.label = 1;
-- case 1:
-- if (!y) return [3 /*break*/, 4];
-- return [4 /*yield*/, a];
-- case 2:
-- _a.sent();
-- _a.label = 3;
-- case 3:
-- z;
-- return [3 /*break*/, 1];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (x; y; z) {
+- yield a;
+- }
- });
-}
-function forStatement5() {
-- return __awaiter(this, void 0, void 0, function () {
-- var b;
-- return __generator(this, function (_a) {
-- for (; y; z) {
-- a;
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (var b; y; z) {
+- a;
+- }
- });
-}
-function forStatement6() {
-- return __awaiter(this, void 0, void 0, function () {
-- var c;
-- return __generator(this, function (_a) {
-- for (c = x; y; z) {
-- a;
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- for (var c = x; y; z) {
+- a;
+- }
- });
+async function forStatement0() {
+ for (x; y; z) {
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionHoisting.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionHoisting.js.diff
index 3ba433279e..5d0e6bf9a1 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionHoisting.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionHoisting.js.diff
@@ -5,25 +5,20 @@
//// [es5-asyncFunctionHoisting.js]
-function hoisting() {
-- return __awaiter(this, void 0, void 0, function () {
+- return __awaiter(this, void 0, void 0, function* () {
+- var a0, a1 = 1;
- function z() {
- var b0, b1 = 1;
- }
-- var a0, a1, c0, c1, a, b, _i, y_1, c;
-- return __generator(this, function (_a) {
-- a1 = 1;
-- if (true) {
-- c1 = 1;
-- }
-- for (a = 0; y;) {
-- }
-- for (b in y) {
-- }
-- for (_i = 0, y_1 = y; _i < y_1.length; _i++) {
-- c = y_1[_i];
-- }
-- return [2 /*return*/];
-- });
+- if (true) {
+- var c0, c1 = 1;
+- }
+- for (var a = 0; y;) {
+- }
+- for (var b in y) {
+- }
+- for (var c of y) {
+- }
- });
+async function hoisting() {
+ var a0, a1 = 1;
@@ -41,31 +36,21 @@
+ }
}
-function hoistingWithAwait() {
-- return __awaiter(this, void 0, void 0, function () {
+- return __awaiter(this, void 0, void 0, function* () {
+- var a0, a1 = 1;
- function z() {
- var b0, b1 = 1;
- }
-- var a0, a1, c0, c1, a, b, _i, y_2, c;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- a1 = 1;
-- return [4 /*yield*/, 0];
-- case 1:
-- _a.sent();
-- if (true) {
-- c1 = 1;
-- }
-- for (a = 0; y;) {
-- }
-- for (b in y) {
-- }
-- for (_i = 0, y_2 = y; _i < y_2.length; _i++) {
-- c = y_2[_i];
-- }
-- return [2 /*return*/];
-- }
-- });
+- yield 0;
+- if (true) {
+- var c0, c1 = 1;
+- }
+- for (var a = 0; y;) {
+- }
+- for (var b in y) {
+- }
+- for (var c of y) {
+- }
- });
+async function hoistingWithAwait() {
+ var a0, a1 = 1;
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionIfStatements.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionIfStatements.js.diff
index 5dcf2ef4dc..072b2d63e7 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionIfStatements.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionIfStatements.js.diff
@@ -5,55 +5,33 @@
//// [es5-asyncFunctionIfStatements.js]
-function ifStatement1() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- if (_a.sent()) {
-- y;
-- }
-- else {
-- z;
-- }
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- if (yield x) {
+- y;
+- }
+- else {
+- z;
+- }
- });
-}
-function ifStatement2() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (!x) return [3 /*break*/, 2];
-- return [4 /*yield*/, y];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 3];
-- case 2:
-- z;
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- if (x) {
+- yield y;
+- }
+- else {
+- z;
+- }
- });
-}
-function ifStatement3() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (!x) return [3 /*break*/, 1];
-- y;
-- return [3 /*break*/, 3];
-- case 1: return [4 /*yield*/, z];
-- case 2:
-- _a.sent();
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- if (x) {
+- y;
+- }
+- else {
+- yield z;
+- }
- });
+async function ifStatement1() {
+ if (await x) {
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionLongObjectLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionLongObjectLiteral.js.diff
index c59c59948e..943f331ce5 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionLongObjectLiteral.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionLongObjectLiteral.js.diff
@@ -13,97 +13,29 @@
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- 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 _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = {};
-- return [4 /*yield*/, Promise.resolve(0)];
-- case 1:
-- _a.a = _b.sent();
-- return [4 /*yield*/, Promise.resolve(1)];
-- case 2:
-- _a.b = _b.sent();
-- return [4 /*yield*/, Promise.resolve(2)];
-- case 3:
-- _a.c = _b.sent();
-- return [4 /*yield*/, Promise.resolve(3)];
-- case 4:
-- _a.d = _b.sent();
-- return [4 /*yield*/, Promise.resolve(4)];
-- case 5: return [2 /*return*/, (_a.e = _b.sent(),
-- _a)];
-- }
-- });
--}); };
--var fooLong = function () { return __awaiter(_this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = {};
-- return [4 /*yield*/, Promise.resolve(0)];
-- case 1:
-- _a.a = _b.sent();
-- return [4 /*yield*/, Promise.resolve(1)];
-- case 2:
-- _a.b = _b.sent();
-- return [4 /*yield*/, Promise.resolve(2)];
-- case 3:
-- _a.c = _b.sent();
-- return [4 /*yield*/, Promise.resolve(3)];
-- case 4:
-- _a.d = _b.sent();
-- return [4 /*yield*/, Promise.resolve(4)];
-- case 5:
-- _a.e = _b.sent();
-- return [4 /*yield*/, Promise.resolve(5)];
-- case 6:
-- _a.f = _b.sent();
-- return [4 /*yield*/, Promise.resolve(6)];
-- case 7:
-- _a.g = _b.sent();
-- return [4 /*yield*/, Promise.resolve(7)];
-- case 8:
-- _a.h = _b.sent();
-- return [4 /*yield*/, Promise.resolve(8)];
-- case 9:
-- _a.i = _b.sent();
-- return [4 /*yield*/, Promise.resolve(9)];
-- case 10: return [2 /*return*/, (_a.j = _b.sent(),
-- _a)];
-- }
-- });
--}); };
+-const fooShort = () => __awaiter(this, void 0, void 0, function* () {
+- return {
+- a: yield Promise.resolve(0),
+- b: yield Promise.resolve(1),
+- c: yield Promise.resolve(2),
+- d: yield Promise.resolve(3),
+- e: yield Promise.resolve(4),
+- };
+-});
+-const fooLong = () => __awaiter(this, void 0, void 0, function* () {
+- return {
+- a: yield Promise.resolve(0),
+- b: yield Promise.resolve(1),
+- c: yield Promise.resolve(2),
+- d: yield Promise.resolve(3),
+- e: yield Promise.resolve(4),
+- f: yield Promise.resolve(5),
+- g: yield Promise.resolve(6),
+- h: yield Promise.resolve(7),
+- i: yield Promise.resolve(8),
+- j: yield Promise.resolve(9),
+- };
+-});
+const fooShort = async () => {
+ return {
+ a: await Promise.resolve(0),
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionNestedLoops.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionNestedLoops.js.diff
index 89205ca1e2..8287d8381b 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionNestedLoops.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionNestedLoops.js.diff
@@ -5,24 +5,16 @@
//// [es5-asyncFunctionNestedLoops.js]
-function nestedLoops() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (!x) return [3 /*break*/, 2];
-- return [4 /*yield*/, y];
-- case 1:
-- _a.sent();
-- while (z) {
-- return [3 /*break*/, 0];
-- }
-- while (a) {
-- continue;
-- }
-- return [3 /*break*/, 0];
-- case 2: return [2 /*return*/];
+- return __awaiter(this, void 0, void 0, function* () {
+- A: while (x) {
+- yield y;
+- while (z) {
+- continue A;
- }
-- });
+- while (a) {
+- continue;
+- }
+- }
- });
+async function nestedLoops() {
+ A: while (x) {
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionNewExpressions.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionNewExpressions.js.diff
index a6f2192e85..77c35996d8 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionNewExpressions.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionNewExpressions.js.diff
@@ -5,300 +5,108 @@
//// [es5-asyncFunctionNewExpressions.js]
-function newExpression0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, new x(y, z)];
-- case 1:
-- _a.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- yield new x(y, z);
- });
-}
-function newExpression1() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- new (_a.sent())(y, z);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new (yield x)(y, z);
- });
-}
-function newExpression2() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x.bind;
-- return [4 /*yield*/, y];
-- case 1:
-- new (_a.apply(x, [void 0, _b.sent(), z]))();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new x(yield y, z);
- });
-}
-function newExpression3() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _a = x.bind;
-- _b = [void 0, y];
-- return [4 /*yield*/, z];
-- case 1:
-- new (_a.apply(x, _b.concat([_c.sent()])))();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new x(y, yield z);
- });
-}
-function newExpression4() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, new (x.bind.apply(x, __spreadArray(__spreadArray([void 0], y, false), [z], false)))()];
-- case 1:
-- _a.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- yield new x(...y, z);
- });
-}
-function newExpression5() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- new ((_a = (_b.sent())).bind.apply(_a, __spreadArray(__spreadArray([void 0], y, false), [z], false)))();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new (yield x)(...y, z);
- });
-}
-function newExpression6() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _d;
-- return __generator(this, function (_e) {
-- switch (_e.label) {
-- case 0:
-- _b = (_a = x.bind).apply;
-- _c = [x];
-- _d = [[void 0]];
-- return [4 /*yield*/, y];
-- case 1:
-- new (_b.apply(_a, _c.concat([__spreadArray.apply(void 0, [__spreadArray.apply(void 0, _d.concat([(_e.sent()), false])), [z], false])])))();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new x(...(yield y), z);
- });
-}
-function newExpression7() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _d;
-- return __generator(this, function (_e) {
-- switch (_e.label) {
-- case 0:
-- _b = (_a = x.bind).apply;
-- _c = [x];
-- _d = [__spreadArray([void 0], y, false)];
-- return [4 /*yield*/, z];
-- case 1:
-- new (_b.apply(_a, _c.concat([__spreadArray.apply(void 0, _d.concat([[_e.sent()], false]))])))();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new x(...y, yield z);
- });
-}
-function newExpression8() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _d;
-- return __generator(this, function (_e) {
-- switch (_e.label) {
-- case 0:
-- _b = (_a = x.bind).apply;
-- _c = [x];
-- _d = [void 0];
-- return [4 /*yield*/, y];
-- case 1:
-- new (_b.apply(_a, _c.concat([__spreadArray.apply(void 0, [_d.concat([_e.sent()]), z, false])])))();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new x(yield y, ...z);
- });
-}
-function newExpression9() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c, _d;
-- return __generator(this, function (_e) {
-- switch (_e.label) {
-- case 0:
-- _b = (_a = x.bind).apply;
-- _c = [x];
-- _d = [[void 0, y]];
-- return [4 /*yield*/, z];
-- case 1:
-- new (_b.apply(_a, _c.concat([__spreadArray.apply(void 0, _d.concat([(_e.sent()), false]))])))();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new x(y, ...(yield z));
- });
-}
-function newExpression10() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, new x.a(y, z)];
-- case 1:
-- _a.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- yield new x.a(y, z);
- });
-}
-function newExpression11() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x.a];
-- case 1:
-- new (_a.sent())(y, z);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new (yield x.a)(y, z);
- });
-}
-function newExpression12() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- new (_a.sent()).a(y, z);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new (yield x).a(y, z);
- });
-}
-function newExpression13() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _b = (_a = x.a).bind;
-- return [4 /*yield*/, y];
-- case 1:
-- new (_b.apply(_a, [void 0, _c.sent(), z]))();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new x.a(yield y, z);
- });
-}
-function newExpression14() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0:
-- _b = (_a = x.a).bind;
-- _c = [void 0, y];
-- return [4 /*yield*/, z];
-- case 1:
-- new (_b.apply(_a, _c.concat([_d.sent()])))();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new x.a(y, yield z);
- });
-}
-function newExpression15() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, new x[a](y, z)];
-- case 1:
-- _a.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- yield new x[a](y, z);
- });
-}
-function newExpression16() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x[a]];
-- case 1:
-- new (_a.sent())(y, z);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new (yield x[a])(y, z);
- });
-}
-function newExpression17() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- new (_a.sent())[a](y, z);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new (yield x)[a](y, z);
- });
-}
-function newExpression18() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- return [4 /*yield*/, a];
-- case 1:
-- new _a[_b.sent()](y, z);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new x[yield a](y, z);
- });
-}
-function newExpression19() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _b = (_a = x[a]).bind;
-- return [4 /*yield*/, y];
-- case 1:
-- new (_b.apply(_a, [void 0, _c.sent(), z]))();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new x[a](yield y, z);
- });
-}
-function newExpression20() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b, _c;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0:
-- _b = (_a = x[a]).bind;
-- _c = [void 0, y];
-- return [4 /*yield*/, z];
-- case 1:
-- new (_b.apply(_a, _c.concat([_d.sent()])))();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- new x[a](y, yield z);
- });
+async function newExpression0() {
+ await new x(y, z);
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionObjectLiterals.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionObjectLiterals.js.diff
index 8196c74d6d..7d223b3af6 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionObjectLiterals.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionObjectLiterals.js.diff
@@ -5,129 +5,59 @@
//// [es5-asyncFunctionObjectLiterals.js]
-function objectLiteral0() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = {};
-- return [4 /*yield*/, y];
-- case 1:
-- x = (_a.a = _b.sent(),
-- _a.b = z,
-- _a);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = {
+- a: yield y,
+- b: z
+- };
- });
-}
-function objectLiteral1() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = {
-- a: y
-- };
-- return [4 /*yield*/, z];
-- case 1:
-- x = (_a.b = _b.sent(),
-- _a);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = {
+- a: y,
+- b: yield z
+- };
- });
-}
-function objectLiteral2() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = {};
-- return [4 /*yield*/, a];
-- case 1:
-- x = (_a[_b.sent()] = y,
-- _a.b = z,
-- _a);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = {
+- [yield a]: y,
+- b: z
+- };
- });
-}
-function objectLiteral3() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- var _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _b = {};
-- _a = a;
-- return [4 /*yield*/, y];
-- case 1:
-- x = (_b[_a] = _c.sent(),
-- _b.b = z,
-- _b);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = {
+- [a]: yield y,
+- b: z
+- };
- });
-}
-function objectLiteral4() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = {};
-- return [4 /*yield*/, y];
-- case 1:
-- x = (_a.a = _b.sent(),
-- _a[b] = z,
-- _a);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = {
+- a: yield y,
+- [b]: z
+- };
- });
-}
-function objectLiteral5() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = {
-- a: y
-- };
-- return [4 /*yield*/, b];
-- case 1:
-- x = (_a[_b.sent()] = z,
-- _a);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = {
+- a: y,
+- [yield b]: z
+- };
- });
-}
-function objectLiteral6() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- var _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _b = {
-- a: y
-- };
-- _a = b;
-- return [4 /*yield*/, z];
-- case 1:
-- x = (_b[_a] = _c.sent(),
-- _b);
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- x = {
+- a: y,
+- [b]: yield z
+- };
- });
+async function objectLiteral0() {
+ x = {
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionPropertyAccess.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionPropertyAccess.js.diff
index db7f5b0aa1..6774a38c6f 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionPropertyAccess.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionPropertyAccess.js.diff
@@ -5,39 +5,18 @@
//// [es5-asyncFunctionPropertyAccess.js]
-function propertyAccess0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x.a];
-- case 1:
-- y = _a.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- y = yield x.a;
- });
-}
-function propertyAccess1() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- y = (_a.sent()).a;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- y = (yield x).a;
- });
-}
-function callExpression0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x(y, z)];
-- case 1:
-- _a.sent();
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- yield x(y, z);
- });
+async function propertyAccess0() {
+ y = await x.a;
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionReturnStatements.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionReturnStatements.js.diff
index d97b8b6317..910f12ce51 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionReturnStatements.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionReturnStatements.js.diff
@@ -5,62 +5,40 @@
//// [es5-asyncFunctionReturnStatements.js]
-function returnStatement0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- return;
- });
-}
-function returnStatement1() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- return [2 /*return*/, x];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- return x;
- });
-}
-function returnStatement2() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1: return [2 /*return*/, _a.sent()];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- return yield x;
- });
-}
-function returnStatement3() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- {
-- return [2 /*return*/];
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- {
+- return;
+- }
- });
-}
-function returnStatement4() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- {
-- return [2 /*return*/];
-- }
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- yield x;
+- {
+- return;
+- }
- });
-}
-function returnStatement5() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1: return [2 /*return*/, _a.sent()];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- {
+- return yield x;
+- }
- });
+async function returnStatement0() {
+ return;
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionSwitchStatements.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionSwitchStatements.js.diff
index b84c044571..afac4f7e0a 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionSwitchStatements.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionSwitchStatements.js.diff
@@ -5,222 +5,118 @@
//// [es5-asyncFunctionSwitchStatements.js]
-function switchStatement0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (x) {
-- case y:
-- a;
-- break;
-- default:
-- b;
-- break;
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- switch (x) {
+- case y:
+- a;
+- break;
+- default:
+- b;
+- break;
+- }
- });
-}
-function switchStatement1() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- switch (_a.sent()) {
-- case y:
-- a;
-- break;
-- default:
-- b;
-- break;
-- }
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- switch (yield x) {
+- case y:
+- a;
+- break;
+- default:
+- b;
+- break;
+- }
- });
-}
-function switchStatement2() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- return [4 /*yield*/, y];
-- case 1:
-- switch (_a) {
-- case _b.sent(): return [3 /*break*/, 2];
-- }
-- return [3 /*break*/, 3];
-- case 2:
-- a;
-- return [3 /*break*/, 4];
-- case 3:
-- b;
-- return [3 /*break*/, 4];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- switch (x) {
+- case yield y:
+- a;
+- break;
+- default:
+- b;
+- break;
+- }
- });
-}
-function switchStatement3() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- switch (_a) {
-- case y: return [3 /*break*/, 1];
-- }
-- return [3 /*break*/, 3];
-- case 1: return [4 /*yield*/, a];
-- case 2:
-- _b.sent();
-- return [3 /*break*/, 4];
-- case 3:
-- b;
-- return [3 /*break*/, 4];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- switch (x) {
+- case y:
+- yield a;
+- break;
+- default:
+- b;
+- break;
+- }
- });
-}
-function switchStatement4() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- switch (_a) {
-- case y: return [3 /*break*/, 1];
-- }
-- return [3 /*break*/, 2];
-- case 1:
-- a;
-- return [3 /*break*/, 4];
-- case 2: return [4 /*yield*/, b];
-- case 3:
-- _b.sent();
-- return [3 /*break*/, 4];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- switch (x) {
+- case y:
+- a;
+- break;
+- default:
+- yield b;
+- break;
+- }
- });
-}
-function switchStatement5() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- switch (_a) {
-- case y: return [3 /*break*/, 2];
-- }
-- return [4 /*yield*/, z];
-- case 1:
-- switch (_a) {
-- case _b.sent(): return [3 /*break*/, 3];
-- }
-- return [3 /*break*/, 4];
-- case 2:
-- a;
-- return [3 /*break*/, 4];
-- case 3:
-- b;
-- return [3 /*break*/, 4];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- switch (x) {
+- case y:
+- a;
+- break;
+- case yield z:
+- b;
+- break;
+- }
- });
-}
-function switchStatement6() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- return [4 /*yield*/, y];
-- case 1:
-- switch (_a) {
-- case _b.sent(): return [3 /*break*/, 3];
-- case z: return [3 /*break*/, 4];
-- }
-- return [3 /*break*/, 2];
-- case 2:
-- c;
-- return [3 /*break*/, 5];
-- case 3:
-- a;
-- return [3 /*break*/, 5];
-- case 4:
-- b;
-- return [3 /*break*/, 5];
-- case 5: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- switch (x) {
+- default:
+- c;
+- break;
+- case yield y:
+- a;
+- break;
+- case z:
+- b;
+- break;
+- }
- });
-}
-function switchStatement7() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- switch (_a) {
-- case y: return [3 /*break*/, 3];
-- }
-- return [4 /*yield*/, z];
-- case 1:
-- switch (_a) {
-- case _b.sent(): return [3 /*break*/, 4];
-- }
-- return [3 /*break*/, 2];
-- case 2:
-- c;
-- return [3 /*break*/, 5];
-- case 3:
-- a;
-- return [3 /*break*/, 5];
-- case 4:
-- b;
-- return [3 /*break*/, 5];
-- case 5: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- switch (x) {
+- default:
+- c;
+- break;
+- case y:
+- a;
+- break;
+- case yield z:
+- b;
+- break;
+- }
- });
-}
-function switchStatement8() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- switch (_a) {
-- case y: return [3 /*break*/, 3];
-- }
-- return [4 /*yield*/, z];
-- case 1:
-- switch (_a) {
-- case _b.sent(): return [3 /*break*/, 4];
-- }
-- return [3 /*break*/, 2];
-- case 2:
-- c;
-- _b.label = 3;
-- case 3:
-- a;
-- return [3 /*break*/, 5];
-- case 4:
-- b;
-- return [3 /*break*/, 5];
-- case 5: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- switch (x) {
+- default: c;
+- case y:
+- a;
+- break;
+- case yield z:
+- b;
+- break;
+- }
- });
+async function switchStatement0() {
+ switch (x) {
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionTryStatements.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionTryStatements.js.diff
index 1e8a86eba7..916972e992 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionTryStatements.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionTryStatements.js.diff
@@ -5,212 +5,136 @@
//// [es5-asyncFunctionTryStatements.js]
-function tryCatch0() {
-- return __awaiter(this, void 0, void 0, function () {
+- return __awaiter(this, void 0, void 0, function* () {
- var x, y;
-- return __generator(this, function (_a) {
-- try {
-- x;
-- }
-- catch (e) {
-- y;
-- }
-- return [2 /*return*/];
-- });
+- try {
+- x;
+- }
+- catch (e) {
+- y;
+- }
- });
-}
-function tryCatch1() {
-- return __awaiter(this, void 0, void 0, function () {
-- var x, y, e_1;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- _a.trys.push([0, 2, , 3]);
-- return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 3];
-- case 2:
-- e_1 = _a.sent();
-- y;
-- return [3 /*break*/, 3];
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- var x, y;
+- try {
+- yield x;
+- }
+- catch (e) {
+- y;
+- }
- });
-}
-function tryCatch2() {
-- return __awaiter(this, void 0, void 0, function () {
-- var x, y, e_2;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- _a.trys.push([0, 1, , 3]);
-- x;
-- return [3 /*break*/, 3];
-- case 1:
-- e_2 = _a.sent();
-- return [4 /*yield*/, y];
-- case 2:
-- _a.sent();
-- return [3 /*break*/, 3];
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- var x, y;
+- try {
+- x;
+- }
+- catch (e) {
+- yield y;
+- }
- });
-}
-function tryCatch3() {
-- return __awaiter(this, void 0, void 0, function () {
-- var x, y, e_3;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- _a.trys.push([0, 2, , 3]);
-- return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 3];
-- case 2:
-- e_3 = _a.sent();
-- return [2 /*return*/, function () { return e_3; }];
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- var x, y;
+- try {
+- yield x;
+- }
+- catch (e) {
+- return () => e;
+- }
- });
-}
-function tryFinally0() {
-- return __awaiter(this, void 0, void 0, function () {
+- return __awaiter(this, void 0, void 0, function* () {
- var x, y;
-- return __generator(this, function (_a) {
-- try {
-- x;
-- }
-- finally {
-- y;
-- }
-- return [2 /*return*/];
-- });
+- try {
+- x;
+- }
+- finally {
+- y;
+- }
- });
-}
-function tryFinally1() {
-- return __awaiter(this, void 0, void 0, function () {
+- return __awaiter(this, void 0, void 0, function* () {
- var x, y;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- _a.trys.push([0, , 2, 3]);
-- return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 3];
-- case 2:
-- y;
-- return [7 /*endfinally*/];
-- case 3: return [2 /*return*/];
-- }
-- });
+- try {
+- yield x;
+- }
+- finally {
+- y;
+- }
- });
-}
-function tryFinally2() {
-- return __awaiter(this, void 0, void 0, function () {
+- return __awaiter(this, void 0, void 0, function* () {
- var x, y;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- _a.trys.push([0, , 1, 3]);
-- x;
-- return [3 /*break*/, 3];
-- case 1: return [4 /*yield*/, y];
-- case 2:
-- _a.sent();
-- return [7 /*endfinally*/];
-- case 3: return [2 /*return*/];
-- }
-- });
+- try {
+- x;
+- }
+- finally {
+- yield y;
+- }
- });
-}
-function tryCatchFinally0() {
-- return __awaiter(this, void 0, void 0, function () {
+- return __awaiter(this, void 0, void 0, function* () {
- var x, y, z;
-- return __generator(this, function (_a) {
-- try {
-- x;
-- }
-- catch (e) {
-- y;
-- }
-- finally {
-- z;
-- }
-- return [2 /*return*/];
-- });
+- try {
+- x;
+- }
+- catch (e) {
+- y;
+- }
+- finally {
+- z;
+- }
- });
-}
-function tryCatchFinally1() {
-- return __awaiter(this, void 0, void 0, function () {
-- var x, y, z, e_4;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- _a.trys.push([0, 2, 3, 4]);
-- return [4 /*yield*/, x];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 4];
-- case 2:
-- e_4 = _a.sent();
-- y;
-- return [3 /*break*/, 4];
-- case 3:
-- z;
-- return [7 /*endfinally*/];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- var x, y, z;
+- try {
+- yield x;
+- }
+- catch (e) {
+- y;
+- }
+- finally {
+- z;
+- }
- });
-}
-function tryCatchFinally2() {
-- return __awaiter(this, void 0, void 0, function () {
-- var x, y, z, e_5;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- _a.trys.push([0, 1, 3, 4]);
-- x;
-- return [3 /*break*/, 4];
-- case 1:
-- e_5 = _a.sent();
-- return [4 /*yield*/, y];
-- case 2:
-- _a.sent();
-- return [3 /*break*/, 4];
-- case 3:
-- z;
-- return [7 /*endfinally*/];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- var x, y, z;
+- try {
+- x;
+- }
+- catch (e) {
+- yield y;
+- }
+- finally {
+- z;
+- }
- });
-}
-function tryCatchFinally3() {
-- return __awaiter(this, void 0, void 0, function () {
-- var x, y, z, e_6;
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- _a.trys.push([0, 1, 2, 4]);
-- x;
-- return [3 /*break*/, 4];
-- case 1:
-- e_6 = _a.sent();
-- y;
-- return [3 /*break*/, 4];
-- case 2: return [4 /*yield*/, z];
-- case 3:
-- _a.sent();
-- return [7 /*endfinally*/];
-- case 4: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- var x, y, z;
+- try {
+- x;
+- }
+- catch (e) {
+- y;
+- }
+- finally {
+- yield z;
+- }
- });
+async function tryCatch0() {
+ var x, y;
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionWhileStatements.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionWhileStatements.js.diff
index dcb3fbe3df..151e0d3327 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionWhileStatements.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionWhileStatements.js.diff
@@ -5,262 +5,148 @@
//// [es5-asyncFunctionWhileStatements.js]
-function whileStatement0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- while (x) {
-- y;
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- while (x) {
+- y;
+- }
- });
-}
-function whileStatement1() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- if (!_a.sent()) return [3 /*break*/, 2];
-- y;
-- return [3 /*break*/, 0];
-- case 2: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- while (yield x) {
+- y;
+- }
- });
-}
-function whileStatement2() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (!x) return [3 /*break*/, 2];
-- return [4 /*yield*/, y];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 0];
-- case 2: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- while (x) {
+- yield y;
+- }
- });
-}
-function whileStatement3() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- while (x) {
-- continue;
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- while (x) {
+- continue;
+- }
- });
-}
-function whileStatement4() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- if (!_a.sent()) return [3 /*break*/, 2];
-- return [3 /*break*/, 0];
-- case 2: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- while (yield x) {
+- continue;
+- }
- });
-}
-function whileStatement5() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (!x) return [3 /*break*/, 2];
-- return [4 /*yield*/, y];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 0];
-- case 2: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- while (x) {
+- yield y;
+- continue;
+- }
- });
-}
-function whileStatement6() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (!x) return [3 /*break*/, 2];
-- if (1)
-- return [3 /*break*/, 0];
-- return [4 /*yield*/, y];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 0];
-- case 2: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- while (x) {
+- if (1)
+- continue;
+- yield y;
+- }
- });
-}
-function whileStatement7() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- A: while (x) {
-- continue A;
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- A: while (x) {
+- continue A;
+- }
- });
-}
-function whileStatement8() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- if (!_a.sent()) return [3 /*break*/, 2];
-- return [3 /*break*/, 0];
-- case 2: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- B: while (yield x) {
+- continue B;
+- }
- });
-}
-function whileStatement9() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (!x) return [3 /*break*/, 2];
-- return [4 /*yield*/, y];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 0];
-- case 2: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- C: while (x) {
+- yield y;
+- continue C;
+- }
- });
-}
-function whileStatement10() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (!x) return [3 /*break*/, 2];
-- if (1)
-- return [3 /*break*/, 0];
-- return [4 /*yield*/, y];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 0];
-- case 2: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- D: while (x) {
+- if (1)
+- continue D;
+- yield y;
+- }
- });
-}
-function whileStatement11() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- while (x) {
-- break;
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- while (x) {
+- break;
+- }
- });
-}
-function whileStatement12() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- if (!_a.sent()) return [3 /*break*/, 2];
-- return [3 /*break*/, 2];
-- case 2: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- while (yield x) {
+- break;
+- }
- });
-}
-function whileStatement13() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (!x) return [3 /*break*/, 2];
-- return [4 /*yield*/, y];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 2];
-- case 2: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- while (x) {
+- yield y;
+- break;
+- }
- });
-}
-function whileStatement14() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (!x) return [3 /*break*/, 2];
-- if (1)
-- return [3 /*break*/, 2];
-- return [4 /*yield*/, y];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 0];
-- case 2: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- while (x) {
+- if (1)
+- break;
+- yield y;
+- }
- });
-}
-function whileStatement15() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- E: while (x) {
-- break E;
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- E: while (x) {
+- break E;
+- }
- });
-}
-function whileStatement16() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- if (!_a.sent()) return [3 /*break*/, 2];
-- return [3 /*break*/, 2];
-- case 2: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- F: while (yield x) {
+- break F;
+- }
- });
-}
-function whileStatement17() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (!x) return [3 /*break*/, 2];
-- return [4 /*yield*/, y];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 2];
-- case 2: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- G: while (x) {
+- yield y;
+- break G;
+- }
- });
-}
-function whileStatement18() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (!x) return [3 /*break*/, 2];
-- if (1)
-- return [3 /*break*/, 2];
-- return [4 /*yield*/, y];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 0];
-- case 2: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- H: while (x) {
+- if (1)
+- break H;
+- yield y;
+- }
- });
+async function whileStatement0() {
+ while (x) {
diff --git a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionWithStatements.js.diff b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionWithStatements.js.diff
index b5361f1888..977d69144e 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionWithStatements.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-asyncFunctionWithStatements.js.diff
@@ -5,88 +5,22 @@
//// [es5-asyncFunctionWithStatements.js]
-function withStatement0() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- with (x) {
-- y;
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- with (x) {
+- y;
+- }
- });
-}
-function withStatement1() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0: return [4 /*yield*/, x];
-- case 1:
-- _a = _b.sent();
-- _b.label = 2;
-- case 2:
-- with (_a) {
-- y;
-- }
-- _b.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- with (yield x) {
+- y;
+- }
- });
-}
-function withStatement2() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = x;
-- _b.label = 1;
-- case 1: with (_a) {
-- a;
-- return [4 /*yield*/, y];
-- }
-- case 2:
-- with (_a) {
-- _b.sent();
-- b;
-- }
-- _b.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
-- });
--}
--function withStatement3() {
-- return __awaiter(this, void 0, void 0, function () {
-- var _a, _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _a = x;
-- _c.label = 1;
-- case 1:
-- with (_a) {
-- _b = z;
-- }
-- _c.label = 2;
-- case 2: with (_a) {
-- with (_b) {
-- a;
-- return [4 /*yield*/, y];
-- }
-- }
-- case 3:
-- with (_a) {
-- with (_b) {
-- _c.sent();
-- b;
-- }
-- }
-- _c.label = 4;
-- case 4: return [2 /*return*/];
-- }
-- });
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- with (x) {
+async function withStatement0() {
+ with (x) {
+ y;
@@ -107,9 +41,22 @@
+async function withStatement3() {
+ with (x) {
+ with (z) {
-+ a;
+ a;
+- yield y;
+ await y;
-+ b;
-+ }
+ b;
+ }
+- });
+-}
+-function withStatement3() {
+- return __awaiter(this, void 0, void 0, function* () {
+- with (x) {
+- with (z) {
+- a;
+- yield y;
+- b;
+- }
+- }
+- });
+ }
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5-commonjs.js.diff b/testdata/baselines/reference/submodule/compiler/es5-commonjs.js.diff
deleted file mode 100644
index a46290e5b0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es5-commonjs.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.es5-commonjs.js
-+++ new.es5-commonjs.js
-@@= skipped -17, +17 lines =@@
- //// [es5-commonjs.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var A = /** @class */ (function () {
-- function A() {
-+class A {
-+ constructor() {
- }
-- A.prototype.B = function () {
-+ B() {
- return 42;
-- };
-- return A;
--}());
-+ }
-+}
- exports.default = A;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5-commonjs4.js.diff b/testdata/baselines/reference/submodule/compiler/es5-commonjs4.js.diff
deleted file mode 100644
index 774e767080..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es5-commonjs4.js.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- old.es5-commonjs4.js
-+++ new.es5-commonjs4.js
-@@= skipped -19, +19 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.__esModule = void 0;
--var A = /** @class */ (function () {
-- function A() {
-+class A {
-+ constructor() {
- }
-- A.prototype.B = function () {
-+ B() {
- return 42;
-- };
-- return A;
--}());
-+ }
-+}
- exports.default = A;
- exports.__esModule = 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5-declaration-amd.js.diff b/testdata/baselines/reference/submodule/compiler/es5-declaration-amd.js.diff
deleted file mode 100644
index d0777120e0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es5-declaration-amd.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.es5-declaration-amd.js
-+++ new.es5-declaration-amd.js
-@@= skipped -14, +14 lines =@@
- }
-
- //// [es5-declaration-amd.js]
--var A = /** @class */ (function () {
-- function A() {
-+class A {
-+ constructor() {
- }
-- A.prototype.B = function () {
-+ B() {
- return 42;
-- };
-- return A;
--}());
-+ }
-+}
-
-
- //// [es5-declaration-amd.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5-importHelpersAsyncFunctions.js.diff b/testdata/baselines/reference/submodule/compiler/es5-importHelpersAsyncFunctions.js.diff
index 7613ee5758..ec23565193 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-importHelpersAsyncFunctions.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-importHelpersAsyncFunctions.js.diff
@@ -6,10 +6,7 @@
exports.foo = foo;
-var tslib_1 = require("tslib");
-function foo() {
-- return tslib_1.__awaiter(this, void 0, void 0, function () {
-- return tslib_1.__generator(this, function (_a) {
-- return [2 /*return*/];
-- });
+- return tslib_1.__awaiter(this, void 0, void 0, function* () {
- });
+async function foo() {
}
@@ -23,38 +20,8 @@
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
--};
-function foo() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
- });
+async function foo() {
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5-souremap-amd.js.diff b/testdata/baselines/reference/submodule/compiler/es5-souremap-amd.js.diff
deleted file mode 100644
index 62f18df1cb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es5-souremap-amd.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.es5-souremap-amd.js
-+++ new.es5-souremap-amd.js
-@@= skipped -14, +14 lines =@@
- }
-
- //// [es5-souremap-amd.js]
--var A = /** @class */ (function () {
-- function A() {
-+class A {
-+ constructor() {
- }
-- A.prototype.B = function () {
-+ B() {
- return 42;
-- };
-- return A;
--}());
-+ }
-+}
- //# sourceMappingURL=es5-souremap-amd.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5-souremap-amd.js.map.diff b/testdata/baselines/reference/submodule/compiler/es5-souremap-amd.js.map.diff
index 4cc29c9c87..0b9eda66da 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-souremap-amd.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-souremap-amd.js.map.diff
@@ -2,7 +2,7 @@
+++ new.es5-souremap-amd.js.map
@@= skipped -0, +0 lines =@@
//// [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,MAAM,CAAC;IAEH;IAGA,CAAC;IAEM,CAAC;QAEJ,OAAO,EAAE,CAAC;IACd,CAAC;CACJ"}
+-//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgQSB7DQogICAgY29uc3RydWN0b3IoKSB7DQogICAgfQ0KICAgIEIoKSB7DQogICAgICAgIHJldHVybiA0MjsNCiAgICB9DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1lczUtc291cmVtYXAtYW1kLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXM1LXNvdXJlbWFwLWFtZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImVzNS1zb3VyZW1hcC1hbWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDO0lBRUg7SUFHQSxDQUFDO0lBRU0sQ0FBQztRQUVKLE9BQU8sRUFBRSxDQUFDO0lBQ2QsQ0FBQztDQUNKIn0=,Y2xhc3MgQQp7CiAgICBjb25zdHJ1Y3RvciAoKQogICAgewoKICAgIH0KCiAgICBwdWJsaWMgQigpCiAgICB7CiAgICAgICAgcmV0dXJuIDQyOwogICAgfQp9
+{"version":3,"file":"es5-souremap-amd.js","sourceRoot":"","sources":["es5-souremap-amd.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC;IAEH,cACA;IAAC,CAEA;IAEM,CAAC,GACR;QACI,OAAO,EAAE,CAAC;IAAA,CACb;CACJ"}
+//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgQSB7DQogICAgY29uc3RydWN0b3IoKSB7DQogICAgfQ0KICAgIEIoKSB7DQogICAgICAgIHJldHVybiA0MjsNCiAgICB9DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1lczUtc291cmVtYXAtYW1kLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXM1LXNvdXJlbWFwLWFtZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImVzNS1zb3VyZW1hcC1hbWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDO0lBRUgsY0FDQTtJQUFDLENBRUE7SUFFTSxDQUFDLEdBQ1I7UUFDSSxPQUFPLEVBQUUsQ0FBQztJQUFBLENBQ2I7Q0FDSiJ9,Y2xhc3MgQQp7CiAgICBjb25zdHJ1Y3RvciAoKQogICAgewoKICAgIH0KCiAgICBwdWJsaWMgQigpCiAgICB7CiAgICAgICAgcmV0dXJuIDQyOwogICAgfQp9
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5-souremap-amd.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/es5-souremap-amd.sourcemap.txt.diff
index 26451a2456..bb33701c3e 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-souremap-amd.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-souremap-amd.sourcemap.txt.diff
@@ -1,32 +1,12 @@
--- old.es5-souremap-amd.sourcemap.txt
+++ new.es5-souremap-amd.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:es5-souremap-amd.js
- sourceFile:es5-souremap-amd.ts
- -------------------------------------------------------------------
-->>>var A = /** @class */ (function () {
--1 >
--2 >^^^^^^^^^^^^^^^^^^^->
--1 >
-+>>>class A {
-+1 >
-+2 >^^^^^^
-+3 > ^
-+4 > ^^^^^^^^^^^^^->
-+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)
+@@= skipped -21, +21 lines =@@
---
-->>> function A() {
-+>>> constructor() {
+ >>> constructor() {
1->^^^^
-2 > ^^->
--1->class A
+2 > ^^^^^^^^^^^^^^
-+1->
+ 1->
>{
>
+2 > constructor ()
@@ -38,11 +18,10 @@
-1->^^^^
+1 >^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 3 > ^^^^^->
-1->constructor ()
- > {
- >
-+3 > ^^^^^->
+1 >{
+2 >
>
@@ -52,51 +31,36 @@
+1 >Emitted(3, 5) Source(4, 6) + SourceIndex(0)
2 >Emitted(3, 6) Source(6, 6) + SourceIndex(0)
---
-->>> A.prototype.B = function () {
-+>>> B() {
+ >>> B() {
1->^^^^
--2 > ^^^^^^^^^^^^^
--3 > ^^^
-+2 > ^
+ 2 > ^
+-3 > ^^^^^^^^^^^^^^->
+3 > ^^^
+4 > ^^^^^^^^^^^->
1->
>
> public
2 > B
--3 >
+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)
-+2 >Emitted(4, 6) Source(8, 13) + SourceIndex(0)
+ 2 >Emitted(4, 6) Source(8, 13) + SourceIndex(0)
+3 >Emitted(4, 9) Source(9, 5) + SourceIndex(0)
---
>>> return 42;
--1 >^^^^^^^^
-+1->^^^^^^^^
+ 1->^^^^^^^^
2 > ^^^^^^^
3 > ^^
4 > ^
--1 >public B()
+-1->()
- > {
+1->{
>
2 > return
3 > 42
- 4 > ;
--1 >Emitted(5, 9) Source(10, 9) + SourceIndex(0)
-+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)
- ---
-->>> };
-+>>> }
+@@= skipped -49, +54 lines =@@
1 >^^^^
2 > ^
--3 > ^^^^^^^^^->
1 >
- >
-2 > }
@@ -106,45 +70,4 @@
+1 >Emitted(6, 5) Source(10, 19) + SourceIndex(0)
2 >Emitted(6, 6) Source(11, 6) + SourceIndex(0)
---
-->>> return A;
--1->^^^^
--2 > ^^^^^^^^
--1->
-- >
--2 > }
--1->Emitted(7, 5) Source(12, 1) + SourceIndex(0)
--2 >Emitted(7, 13) Source(12, 2) + SourceIndex(0)
-----
-->>>}());
--1 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 >}
--3 >
--4 > class A
-- > {
-- > constructor ()
-- > {
-- >
-- > }
-- >
-- > public B()
-- > {
-- > 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 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >}
-+1 >Emitted(7, 2) Source(12, 2) + SourceIndex(0)
- ---
- >>>//# sourceMappingURL=es5-souremap-amd.js.map
\ No newline at end of file
+ >>>}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5-system.js.diff b/testdata/baselines/reference/submodule/compiler/es5-system.js.diff
index a3eeb2fe06..ddcbf4190f 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-system.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-system.js.diff
@@ -11,14 +11,13 @@
- return {
- setters: [],
- execute: function () {
-- A = /** @class */ (function () {
-- function A() {
+- A = class A {
+- constructor() {
- }
-- A.prototype.B = function () {
+- B() {
- return 42;
-- };
-- return A;
-- }());
+- }
+- };
- exports_1("default", A);
- }
- };
diff --git a/testdata/baselines/reference/submodule/compiler/es5-umd.js.diff b/testdata/baselines/reference/submodule/compiler/es5-umd.js.diff
deleted file mode 100644
index 1acffe2171..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es5-umd.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.es5-umd.js
-+++ new.es5-umd.js
-@@= skipped -15, +15 lines =@@
-
-
- //// [es5-umd.js]
--var A = /** @class */ (function () {
-- function A() {
-+class A {
-+ constructor() {
- }
-- A.prototype.B = function () {
-+ B() {
- return 42;
-- };
-- return A;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5-umd2.js.diff b/testdata/baselines/reference/submodule/compiler/es5-umd2.js.diff
index e159277b1b..d80aad27db 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-umd2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-umd2.js.diff
@@ -16,14 +16,13 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
-- var A = /** @class */ (function () {
-- function A() {
+- class A {
+- constructor() {
- }
-- A.prototype.B = function () {
+- B() {
- return 42;
-- };
-- return A;
-- }());
+- }
+- }
- exports.A = A;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/es5-umd3.js.diff b/testdata/baselines/reference/submodule/compiler/es5-umd3.js.diff
index 57798c42e0..53cdc9af91 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-umd3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-umd3.js.diff
@@ -15,14 +15,13 @@
-})(function (require, exports) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
-- var A = /** @class */ (function () {
-- function A() {
+- class A {
+- constructor() {
- }
-- A.prototype.B = function () {
+- B() {
- return 42;
-- };
-- return A;
-- }());
+- }
+- }
- exports.default = A;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/es5-umd4.js.diff b/testdata/baselines/reference/submodule/compiler/es5-umd4.js.diff
index 80d374d9bd..d8b6f0d52f 100644
--- a/testdata/baselines/reference/submodule/compiler/es5-umd4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5-umd4.js.diff
@@ -14,14 +14,13 @@
- }
-})(function (require, exports) {
- "use strict";
-- var A = /** @class */ (function () {
-- function A() {
+- class A {
+- constructor() {
- }
-- A.prototype.B = function () {
+- B() {
- return 42;
-- };
-- return A;
-- }());
+- }
+- }
- return A;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/es5-yieldFunctionObjectLiterals.js.diff b/testdata/baselines/reference/submodule/compiler/es5-yieldFunctionObjectLiterals.js.diff
deleted file mode 100644
index 3849276a03..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es5-yieldFunctionObjectLiterals.js.diff
+++ /dev/null
@@ -1,189 +0,0 @@
---- old.es5-yieldFunctionObjectLiterals.js
-+++ new.es5-yieldFunctionObjectLiterals.js
-@@= skipped -66, +66 lines =@@
- //// [es5-yieldFunctionObjectLiterals.js]
- // mainly to verify indentation of emitted code
- function g() { return "g"; }
--function objectLiteral1() {
-- var x, _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = {
-- a: 1
-- };
-- return [4 /*yield*/, 2];
-- case 1:
-- x = (_a.b = _b.sent(),
-- _a.c = 3,
-- _a);
-- return [2 /*return*/];
-- }
-- });
--}
--function objectLiteral2() {
-- var x, _a;
-- var _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _b = {
-- a: 1
-- };
-- _a = g();
-- return [4 /*yield*/, 2];
-- case 1:
-- x = (_b[_a] = _c.sent(),
-- _b.c = 3,
-- _b);
-- return [2 /*return*/];
-- }
-- });
--}
--function objectLiteral3() {
-- var x, _a;
-- var _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _a = {
-- a: 1
-- };
-- return [4 /*yield*/, 2];
-- case 1:
-- x = (_b = (_a.b = _c.sent(),
-- _a),
-- _b[g()] = 3,
-- _b.c = 4,
-- _b);
-- return [2 /*return*/];
-- }
-- });
--}
--function objectLiteral4() {
-- var x;
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = {
-- a: 1
-- },
-- _a[g()] = 2;
-- return [4 /*yield*/, 3];
-- case 1:
-- x = (_a.b = _b.sent(),
-- _a.c = 4,
-- _a);
-- return [2 /*return*/];
-- }
-- });
--}
--function objectLiteral5() {
-- var x, _a;
-- var _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _b = {
-- a: 1
-- };
-- _a = g();
-- return [4 /*yield*/, 2];
-- case 1:
-- x = (_b[_a] = _c.sent(),
-- _b.c = 4,
-- _b);
-- return [2 /*return*/];
-- }
-- });
--}
--function objectLiteral6() {
-- var x;
-- var _a;
-- return __generator(this, function (_b) {
-- switch (_b.label) {
-- case 0:
-- _a = {
-- a: 1
-- };
-- return [4 /*yield*/];
-- case 1:
-- x = (_a[_b.sent()] = 2,
-- _a.c = 4,
-- _a);
-- return [2 /*return*/];
-- }
-- });
--}
--function objectLiteral7() {
-- var x, _a;
-- var _b;
-- return __generator(this, function (_c) {
-- switch (_c.label) {
-- case 0:
-- _b = {
-- a: 1
-- };
-- return [4 /*yield*/];
-- case 1:
-- _a = _c.sent();
-- return [4 /*yield*/, 2];
-- case 2:
-- x = (_b[_a] = _c.sent(),
-- _b.c = 4,
-- _b);
-- return [2 /*return*/];
-- }
-- });
-+function* objectLiteral1() {
-+ const x = {
-+ a: 1,
-+ b: yield 2,
-+ c: 3,
-+ };
-+}
-+function* objectLiteral2() {
-+ const x = {
-+ a: 1,
-+ [g()]: yield 2,
-+ c: 3,
-+ };
-+}
-+function* objectLiteral3() {
-+ const x = {
-+ a: 1,
-+ b: yield 2,
-+ [g()]: 3,
-+ c: 4,
-+ };
-+}
-+function* objectLiteral4() {
-+ const x = {
-+ a: 1,
-+ [g()]: 2,
-+ b: yield 3,
-+ c: 4,
-+ };
-+}
-+function* objectLiteral5() {
-+ const x = {
-+ a: 1,
-+ [g()]: yield 2,
-+ c: 4,
-+ };
-+}
-+function* objectLiteral6() {
-+ const x = {
-+ a: 1,
-+ [yield]: 2,
-+ c: 4,
-+ };
-+}
-+function* objectLiteral7() {
-+ const x = {
-+ a: 1,
-+ [yield]: yield 2,
-+ c: 4,
-+ };
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5ExportDefaultClassDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/es5ExportDefaultClassDeclaration.js.diff
deleted file mode 100644
index e80c68a62b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es5ExportDefaultClassDeclaration.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.es5ExportDefaultClassDeclaration.js
-+++ new.es5ExportDefaultClassDeclaration.js
-@@= skipped -8, +8 lines =@@
- //// [es5ExportDefaultClassDeclaration.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.method = function () { };
-- return C;
--}());
-+class C {
-+ method() { }
-+}
- exports.default = C;
-
diff --git a/testdata/baselines/reference/submodule/compiler/es5ExportDefaultClassDeclaration2.js.diff b/testdata/baselines/reference/submodule/compiler/es5ExportDefaultClassDeclaration2.js.diff
deleted file mode 100644
index 2ea91998a1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es5ExportDefaultClassDeclaration2.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.es5ExportDefaultClassDeclaration2.js
-+++ new.es5ExportDefaultClassDeclaration2.js
-@@= skipped -8, +8 lines =@@
- //// [es5ExportDefaultClassDeclaration2.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var default_1 = /** @class */ (function () {
-- function default_1() {
-- }
-- default_1.prototype.method = function () { };
-- return default_1;
--}());
-+class default_1 {
-+ method() { }
-+}
- exports.default = default_1;
-
diff --git a/testdata/baselines/reference/submodule/compiler/es5ExportDefaultClassDeclaration3.js.diff b/testdata/baselines/reference/submodule/compiler/es5ExportDefaultClassDeclaration3.js.diff
deleted file mode 100644
index ac2d84d00a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es5ExportDefaultClassDeclaration3.js.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- old.es5ExportDefaultClassDeclaration3.js
-+++ new.es5ExportDefaultClassDeclaration3.js
-@@= skipped -18, +18 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- var before = new C();
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.method = function () {
-+class C {
-+ method() {
- return new C();
-- };
-- return C;
--}());
-+ }
-+}
- exports.default = C;
- var after = new C();
- var t = C;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5ExportEqualsDts.js.diff b/testdata/baselines/reference/submodule/compiler/es5ExportEqualsDts.js.diff
index 49a3b67713..9b20b16a39 100644
--- a/testdata/baselines/reference/submodule/compiler/es5ExportEqualsDts.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5ExportEqualsDts.js.diff
@@ -1,24 +1,6 @@
--- old.es5ExportEqualsDts.js
+++ new.es5ExportEqualsDts.js
-@@= skipped -15, +15 lines =@@
-
- //// [es5ExportEqualsDts.js]
- "use strict";
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.foo = function () {
-+class A {
-+ foo() {
- var aVal;
- return aVal;
-- };
-- return A;
--}());
-+ }
-+}
- module.exports = A;
-
+@@= skipped -26, +26 lines =@@
//// [es5ExportEqualsDts.d.ts]
declare class A {
diff --git a/testdata/baselines/reference/submodule/compiler/es5ModuleInternalNamedImports.js.diff b/testdata/baselines/reference/submodule/compiler/es5ModuleInternalNamedImports.js.diff
index ae9127c1df..96b44c8dea 100644
--- a/testdata/baselines/reference/submodule/compiler/es5ModuleInternalNamedImports.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5ModuleInternalNamedImports.js.diff
@@ -13,14 +13,11 @@
- // variable
- M.M_V = 0;
- //calss
-- var M_C = /** @class */ (function () {
-- function M_C() {
-- }
-- return M_C;
-- }());
+- class M_C {
+- }
- M.M_C = M_C;
- // instantiated module
-- var M_M;
+- let M_M;
- (function (M_M) {
- var x;
- })(M_M = M.M_M || (M.M_M = {}));
@@ -28,7 +25,7 @@
- function M_F() { }
- M.M_F = M_F;
- // enum
-- var M_E;
+- let M_E;
- (function (M_E) {
- })(M_E = M.M_E || (M.M_E = {}));
- // alias
diff --git a/testdata/baselines/reference/submodule/compiler/es5ModuleWithModuleGenAmd.js.diff b/testdata/baselines/reference/submodule/compiler/es5ModuleWithModuleGenAmd.js.diff
index 4ae47ae1a7..5d1cfa581f 100644
--- a/testdata/baselines/reference/submodule/compiler/es5ModuleWithModuleGenAmd.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es5ModuleWithModuleGenAmd.js.diff
@@ -8,14 +8,13 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
-- var A = /** @class */ (function () {
-- function A() {
+- class A {
+- constructor() {
- }
-- A.prototype.B = function () {
+- B() {
- return 42;
-- };
-- return A;
-- }());
+- }
+- }
- exports.A = A;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/es5ModuleWithModuleGenCommonjs.js.diff b/testdata/baselines/reference/submodule/compiler/es5ModuleWithModuleGenCommonjs.js.diff
deleted file mode 100644
index 51caec2ee0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es5ModuleWithModuleGenCommonjs.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.es5ModuleWithModuleGenCommonjs.js
-+++ new.es5ModuleWithModuleGenCommonjs.js
-@@= skipped -16, +16 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
-+class A {
-+ constructor() {
- }
-- A.prototype.B = function () {
-+ B() {
- return 42;
-- };
-- return A;
--}());
-+ }
-+}
- exports.A = A;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5ModuleWithoutModuleGenTarget.js.diff b/testdata/baselines/reference/submodule/compiler/es5ModuleWithoutModuleGenTarget.js.diff
deleted file mode 100644
index 8a8c694615..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es5ModuleWithoutModuleGenTarget.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.es5ModuleWithoutModuleGenTarget.js
-+++ new.es5ModuleWithoutModuleGenTarget.js
-@@= skipped -16, +16 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
-+class A {
-+ constructor() {
- }
-- A.prototype.B = function () {
-+ B() {
- return 42;
-- };
-- return A;
--}());
-+ }
-+}
- exports.A = A;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5SetterparameterDestructuringNotElided.js.diff b/testdata/baselines/reference/submodule/compiler/es5SetterparameterDestructuringNotElided.js.diff
deleted file mode 100644
index 3cfe422854..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es5SetterparameterDestructuringNotElided.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.es5SetterparameterDestructuringNotElided.js
-+++ new.es5SetterparameterDestructuringNotElided.js
-@@= skipped -8, +8 lines =@@
- };
-
- //// [es5SetterparameterDestructuringNotElided.js]
--var foo = {
-- set foo(_a) {
-- var start = _a[0], end = _a[1];
-+const foo = {
-+ set foo([start, end]) {
- void start;
- void end;
- },
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es5andes6module.js.diff b/testdata/baselines/reference/submodule/compiler/es5andes6module.js.diff
deleted file mode 100644
index 6d9ed36c6a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es5andes6module.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.es5andes6module.js
-+++ new.es5andes6module.js
-@@= skipped -15, +15 lines =@@
-
-
- //// [es5andes6module.js]
--var A = /** @class */ (function () {
-- function A() {
-+export default class A {
-+ constructor() {
- }
-- A.prototype.B = function () {
-+ B() {
- return 42;
-- };
-- return A;
--}());
--export default A;
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es6ClassSuperCodegenBug.js.diff b/testdata/baselines/reference/submodule/compiler/es6ClassSuperCodegenBug.js.diff
deleted file mode 100644
index 07e32be2e4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es6ClassSuperCodegenBug.js.diff
+++ /dev/null
@@ -1,48 +0,0 @@
---- old.es6ClassSuperCodegenBug.js
-+++ new.es6ClassSuperCodegenBug.js
-@@= skipped -15, +15 lines =@@
-
-
- //// [es6ClassSuperCodegenBug.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A(str1, str2) {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- var _this = this;
-+class A {
-+ constructor(str1, str2) { }
-+}
-+class B extends A {
-+ constructor() {
- if (true) {
-- _this = _super.call(this, 'a1', 'b1') || this;
-+ super('a1', 'b1');
- }
- else {
-- _this = _super.call(this, 'a2', 'b2') || this;
-+ super('a2', 'b2');
- }
-- return _this;
- }
-- return B;
--}(A));
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es6ClassTest.js.diff b/testdata/baselines/reference/submodule/compiler/es6ClassTest.js.diff
index bd1548f017..ed56937c71 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ClassTest.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ClassTest.js.diff
@@ -1,51 +1,29 @@
--- old.es6ClassTest.js
+++ new.es6ClassTest.js
-@@= skipped -86, +86 lines =@@
-
+@@= skipped -87, +87 lines =@@
//// [es6ClassTest.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Bar = /** @class */ (function () {
-- function Bar(n) {
-- }
-- Bar.prototype.prop1 = function (x) {
-+class Bar {
+ class Bar {
+ goo;
-+ prop1(x) {
+ prop1(x) {
return x;
-- };
-- return Bar;
--}());
-+ }
-+ constructor(n) { }
-+}
+ }
+ constructor(n) { }
+ }
// new-style class
--var Foo = /** @class */ (function (_super) {
-- __extends(Foo, _super);
-- function Foo(x, y, z) {
-- if (z === void 0) { z = 0; }
-- var _this = _super.call(this, x) || this;
-- _this.y = y;
-- _this.z = z;
-- _this.gar = 0;
-- _this.zoo = "zoo";
-- _this.x = x;
-- _this.gar = 5;
-- return _this;
+-let Foo = (() => {
+- class Foo extends Bar {
+- bar() { return 0; }
+- boo(x) { return x; }
+- constructor(x, y, z = 0) {
+- super(x);
+- this.y = y;
+- this.z = z;
+- this.gar = 0;
+- this.zoo = "zoo";
+- this.x = x;
+- this.gar = 5;
+- }
+class Foo extends Bar {
+ y;
+ z;
@@ -63,11 +41,9 @@
+ this.x = x;
+ this.gar = 5;
}
-- Foo.prototype.bar = function () { return 0; };
-- Foo.prototype.boo = function (x) { return x; };
- Foo.statVal = 0;
- return Foo;
--}(Bar));
+-})();
+}
var f = new Foo();
//class GetSetMonster {
diff --git a/testdata/baselines/reference/submodule/compiler/es6ClassTest2.js.diff b/testdata/baselines/reference/submodule/compiler/es6ClassTest2.js.diff
index 735fceec54..0615839804 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ClassTest2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ClassTest2.js.diff
@@ -1,266 +1,105 @@
--- old.es6ClassTest2.js
+++ new.es6ClassTest2.js
-@@= skipped -160, +160 lines =@@
-
+@@= skipped -161, +161 lines =@@
//// [es6ClassTest2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var BasicMonster = /** @class */ (function () {
-- function BasicMonster(name, health) {
-+class BasicMonster {
+ class BasicMonster {
+ name;
+ health;
-+ constructor(name, health) {
+ constructor(name, health) {
this.name = name;
this.health = health;
- this.isAlive = true;
}
-- BasicMonster.prototype.attack = function (target) {
-+ attack(target) {
+ attack(target) {
// WScript.Echo("Attacks " + target);
-- };
-- return BasicMonster;
--}());
-+ }
+ }
+ isAlive = true;
-+}
+ }
var m1 = new BasicMonster("1", 100);
var m2 = new BasicMonster("2", 100);
- m1.attack(m2);
+@@= skipped -15, +17 lines =@@
m1.health = 0;
console.log(m5.isAlive.toString());
--var GetSetMonster = /** @class */ (function () {
-- function GetSetMonster(name, _health) {
-+class GetSetMonster {
+ class GetSetMonster {
+ name;
+ _health;
-+ constructor(name, _health) {
+ constructor(name, _health) {
this.name = name;
this._health = _health;
- }
-- GetSetMonster.prototype.attack = function (target) {
-+ attack(target) {
- // WScript.Echo("Attacks " + target);
-- };
-- Object.defineProperty(GetSetMonster.prototype, "isAlive", {
-- // The contextual keyword "get" followed by an identifier and
-- // a curly body defines a getter in the same way that "get"
-- // defines one in an object literal.
-- get: function () {
-- return this._health > 0;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(GetSetMonster.prototype, "health", {
-- // Likewise, "set" can be used to define setters.
-- set: function (value) {
-- if (value < 0) {
-- throw new Error('Health must be non-negative.');
-- }
-- this._health = value;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return GetSetMonster;
--}());
-+ }
-+ // The contextual keyword "get" followed by an identifier and
-+ // a curly body defines a getter in the same way that "get"
-+ // defines one in an object literal.
-+ get isAlive() {
-+ return this._health > 0;
-+ }
-+ // Likewise, "set" can be used to define setters.
-+ set health(value) {
-+ if (value < 0) {
-+ throw new Error('Health must be non-negative.');
-+ }
-+ this._health = value;
-+ }
-+}
- var m3 = new BasicMonster("1", 100);
- var m4 = new BasicMonster("2", 100);
- m3.attack(m4);
+@@= skipped -27, +29 lines =@@
m3.health = 0;
var x = m5.isAlive.toString();
--var OverloadedMonster = /** @class */ (function () {
-- function OverloadedMonster(name, health) {
-+class OverloadedMonster {
+ class OverloadedMonster {
+ name;
+ health;
-+ constructor(name, health) {
+ constructor(name, health) {
this.name = name;
this.health = health;
- this.isAlive = true;
}
-- OverloadedMonster.prototype.attack = function (target) {
-+ attack(target) {
+ attack(target) {
//WScript.Echo("Attacks " + target);
-- };
-- return OverloadedMonster;
--}());
-+ }
+ }
+ isAlive = true;
-+}
+ }
var m5 = new OverloadedMonster("1");
var m6 = new OverloadedMonster("2");
- m5.attack(m6);
- m5.health = 0;
- var y = m5.isAlive.toString();
--var SplatMonster = /** @class */ (function () {
-- function SplatMonster() {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
-- }
-- }
-- SplatMonster.prototype.roar = function (name) {
-- var args = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- args[_i - 1] = arguments[_i];
-- }
-- };
-- return SplatMonster;
--}());
-+class SplatMonster {
-+ constructor(...args) { }
-+ roar(name, ...args) { }
-+}
+@@= skipped -20, +22 lines =@@
+ }
function foo() { return true; }
--var PrototypeMonster = /** @class */ (function () {
-- function PrototypeMonster() {
+ class PrototypeMonster {
+- constructor() {
- this.age = 1;
- this.b = foo();
- }
-- return PrototypeMonster;
--}());
--var SuperParent = /** @class */ (function () {
-- function SuperParent(a) {
-- }
-- SuperParent.prototype.b = function (b) {
-- };
-- SuperParent.prototype.c = function () {
-- };
-- return SuperParent;
--}());
--var SuperChild = /** @class */ (function (_super) {
-- __extends(SuperChild, _super);
-- function SuperChild() {
-- return _super.call(this, 1) || this;
-- }
-- SuperChild.prototype.b = function () {
-- _super.prototype.b.call(this, 'str');
-- };
-- SuperChild.prototype.c = function () {
-- _super.prototype.c.call(this);
-- };
-- return SuperChild;
--}(SuperParent));
--var Statics = /** @class */ (function () {
-- function Statics() {
-- }
-- Statics.baz = function () {
-+class PrototypeMonster {
+ age = 1;
+ name;
+ b = foo();
-+}
-+class SuperParent {
-+ constructor(a) {
-+ }
-+ b(b) {
-+ }
-+ c() {
-+ }
-+}
-+class SuperChild extends SuperParent {
-+ constructor() {
-+ super(1);
-+ }
-+ b() {
-+ super.b('str');
-+ }
-+ c() {
-+ super.c();
-+ }
-+}
+ }
+ class SuperParent {
+ constructor(a) {
+@@= skipped -24, +23 lines =@@
+ super.c();
+ }
+ }
+-let Statics = (() => {
+- class Statics {
+- static baz() {
+- return "";
+- }
+class Statics {
+ static foo = 1;
+ static bar;
+ static baz() {
- return "";
-- };
++ return "";
+ }
- Statics.foo = 1;
- return Statics;
--}());
-+ }
+-})();
+}
var stat = new Statics();
--var ImplementsInterface = /** @class */ (function () {
-- function ImplementsInterface() {
-+class ImplementsInterface {
+ class ImplementsInterface {
+ x;
+ z;
-+ constructor() {
+ constructor() {
this.x = 1;
this.z = "foo";
- }
-- return ImplementsInterface;
--}());
--var Visibility = /** @class */ (function () {
-- function Visibility() {
-+}
-+class Visibility {
-+ foo() { }
-+ bar() { }
+@@= skipped -19, +19 lines =@@
+ class Visibility {
+ foo() { }
+ bar() { }
+ x;
+ y;
+ z;
-+ constructor() {
+ constructor() {
this.x = 1;
this.y = 2;
}
-- Visibility.prototype.foo = function () { };
-- Visibility.prototype.bar = function () { };
-- return Visibility;
--}());
--var BaseClassWithConstructor = /** @class */ (function () {
-- function BaseClassWithConstructor(x, s) {
-+}
-+class BaseClassWithConstructor {
+ }
+ class BaseClassWithConstructor {
+ x;
+ s;
-+ constructor(x, s) {
+ constructor(x, s) {
this.x = x;
- this.s = s;
- }
-- return BaseClassWithConstructor;
--}());
-+}
- // used to test codegen
--var ChildClassWithoutConstructor = /** @class */ (function (_super) {
-- __extends(ChildClassWithoutConstructor, _super);
-- function ChildClassWithoutConstructor() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return ChildClassWithoutConstructor;
--}(BaseClassWithConstructor));
-+class ChildClassWithoutConstructor extends BaseClassWithConstructor {
-+}
- var ccwc = new ChildClassWithoutConstructor(1, "s");
\ No newline at end of file
+ this.s = s;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es6ClassTest3.js.diff b/testdata/baselines/reference/submodule/compiler/es6ClassTest3.js.diff
index fc12acdaf5..0fc3bdeb3a 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ClassTest3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ClassTest3.js.diff
@@ -1,28 +1,12 @@
--- old.es6ClassTest3.js
+++ new.es6ClassTest3.js
-@@= skipped -18, +18 lines =@@
- //// [es6ClassTest3.js]
- var M;
- (function (M) {
-- var Visibility = /** @class */ (function () {
-- function Visibility() {
-+ class Visibility {
-+ foo() { }
-+ ;
-+ bar() { }
-+ ;
+@@= skipped -23, +23 lines =@@
+ ;
+ bar() { }
+ ;
+ x;
+ y;
+ z;
-+ constructor() {
+ constructor() {
this.x = 1;
- this.y = 2;
- }
-- Visibility.prototype.foo = function () { };
-- ;
-- Visibility.prototype.bar = function () { };
-- ;
-- return Visibility;
-- }());
-+ }
- })(M || (M = {}));
\ No newline at end of file
+ this.y = 2;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es6ClassTest5.js.diff b/testdata/baselines/reference/submodule/compiler/es6ClassTest5.js.diff
index c319f57292..2170e4d0f4 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ClassTest5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ClassTest5.js.diff
@@ -1,28 +1,21 @@
--- old.es6ClassTest5.js
+++ new.es6ClassTest5.js
-@@= skipped -14, +14 lines =@@
-
+@@= skipped -15, +15 lines =@@
//// [es6ClassTest5.js]
--var C1T5 = /** @class */ (function () {
-- function C1T5() {
-- this.foo = function (i) {
+ class C1T5 {
+- constructor() {
+- this.foo = (i) => {
- return i;
- };
- }
-- return C1T5;
--}());
--var bigClass = /** @class */ (function () {
-- function bigClass() {
-- this.break = 1;
-- }
-- return bigClass;
--}());
-+class C1T5 {
+ foo = (i) => {
+ return i;
+ };
-+}
-+class bigClass {
+ }
+ class bigClass {
+- constructor() {
+- this.break = 1;
+- }
+ break = 1;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es6ClassTest7.js.diff b/testdata/baselines/reference/submodule/compiler/es6ClassTest7.js.diff
deleted file mode 100644
index 392a289446..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es6ClassTest7.js.diff
+++ /dev/null
@@ -1,30 +0,0 @@
---- old.es6ClassTest7.js
-+++ new.es6ClassTest7.js
-@@= skipped -10, +10 lines =@@
-
-
- //// [es6ClassTest7.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Bar = /** @class */ (function (_super) {
-- __extends(Bar, _super);
-- function Bar() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Bar;
--}(M.Foo));
-+class Bar extends M.Foo {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es6ClassTest8.js.diff b/testdata/baselines/reference/submodule/compiler/es6ClassTest8.js.diff
index 36429f1f47..908c4a020a 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ClassTest8.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ClassTest8.js.diff
@@ -1,59 +1,23 @@
--- old.es6ClassTest8.js
+++ new.es6ClassTest8.js
-@@= skipped -43, +43 lines =@@
-
- //// [es6ClassTest8.js]
- function f1(x) { return x; }
--var C = /** @class */ (function () {
-- function C() {
-+class C {
-+ constructor() {
- var bar = (function () {
- return bar; // 'bar' should be resolvable
- });
- var b = f1(f1(bar));
+@@= skipped -52, +52 lines =@@
}
-- return C;
--}());
--var Vector = /** @class */ (function () {
-- function Vector(x, y, z) {
-+}
-+class Vector {
+ }
+ class Vector {
+ x;
+ y;
+ z;
-+ static norm(v) { return null; }
-+ static minus(v1, v2) { return null; }
-+ static times(v1, v2) { return null; }
-+ static cross(v1, v2) { return null; }
-+ constructor(x, y, z) {
- this.x = x;
- this.y = y;
- this.z = z;
- }
-- Vector.norm = function (v) { return null; };
-- Vector.minus = function (v1, v2) { return null; };
-- Vector.times = function (v1, v2) { return null; };
-- Vector.cross = function (v1, v2) { return null; };
-- Vector.dot = function (v1, v2) { return null; };
-- return Vector;
--}());
--var Camera = /** @class */ (function () {
-- function Camera(pos, lookAt) {
-+ static dot(v1, v2) { return null; }
-+}
-+class Camera {
+ static norm(v) { return null; }
+ static minus(v1, v2) { return null; }
+ static times(v1, v2) { return null; }
+@@= skipped -12, +15 lines =@@
+ static dot(v1, v2) { return null; }
+ }
+ class Camera {
+ pos;
+ forward;
+ right;
+ up;
-+ constructor(pos, lookAt) {
+ constructor(pos, lookAt) {
this.pos = pos;
- var down = new Vector(0.0, -1.0, 0.0);
- this.forward = Vector.norm(Vector.minus(lookAt, this.pos));
- this.right = Vector.times(down, Vector.norm(Vector.cross(this.forward, down)));
- this.up = Vector.times(down, Vector.norm(Vector.cross(this.forward, this.right)));
- }
-- return Camera;
--}());
-+}
\ No newline at end of file
+ var down = new Vector(0.0, -1.0, 0.0);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es6DeclOrdering.js.diff b/testdata/baselines/reference/submodule/compiler/es6DeclOrdering.js.diff
deleted file mode 100644
index f5c88e3ad2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es6DeclOrdering.js.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- old.es6DeclOrdering.js
-+++ new.es6DeclOrdering.js
-@@= skipped -18, +18 lines =@@
-
-
- //// [es6DeclOrdering.js]
--var Bar = /** @class */ (function () {
-- function Bar(store) {
-- this._store = store; // this is an error for some reason? Unresolved symbol store
-- }
-+class Bar {
- //public bar() { }
-- Bar.prototype.foo = function () {
-+ foo() {
- return this._store.length;
-- };
-- return Bar;
--}());
-+ }
-+ constructor(store) {
-+ this._store = store; // this is an error for some reason? Unresolved symbol store
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es6ExportAllInEs5.js.diff b/testdata/baselines/reference/submodule/compiler/es6ExportAllInEs5.js.diff
deleted file mode 100644
index 964b336dc7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es6ExportAllInEs5.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.es6ExportAllInEs5.js
-+++ new.es6ExportAllInEs5.js
-@@= skipped -18, +18 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.x = exports.m = exports.c = void 0;
--var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
--}());
-+class c {
-+}
- exports.c = c;
- var m;
- (function (m) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es6ExportClauseInEs5.js.diff b/testdata/baselines/reference/submodule/compiler/es6ExportClauseInEs5.js.diff
deleted file mode 100644
index 7b9c098db9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es6ExportClauseInEs5.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.es6ExportClauseInEs5.js
-+++ new.es6ExportClauseInEs5.js
-@@= skipped -20, +20 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.x = exports.instantiatedModule = exports.c2 = exports.c = void 0;
--var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
--}());
-+class c {
-+}
- exports.c = c;
- exports.c2 = c;
- var m;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es6ExportClauseWithoutModuleSpecifierInEs5.js.diff b/testdata/baselines/reference/submodule/compiler/es6ExportClauseWithoutModuleSpecifierInEs5.js.diff
index fbde80fa62..aef2c82334 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ExportClauseWithoutModuleSpecifierInEs5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ExportClauseWithoutModuleSpecifierInEs5.js.diff
@@ -1,20 +1,6 @@
--- old.es6ExportClauseWithoutModuleSpecifierInEs5.js
+++ new.es6ExportClauseWithoutModuleSpecifierInEs5.js
-@@= skipped -22, +22 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.x = exports.m = exports.c = void 0;
--var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
--}());
-+class c {
-+}
- exports.c = c;
- var m;
- (function (m) {
-@@= skipped -15, +12 lines =@@
+@@= skipped -34, +34 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.x = exports.instantiatedModule = exports.c2 = exports.c = void 0;
diff --git a/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingDts.js.diff b/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingDts.js.diff
index 9e060fc53c..e0d627696b 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingDts.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingDts.js.diff
@@ -1,18 +1,6 @@
--- old.es6ImportDefaultBindingDts.js
+++ new.es6ImportDefaultBindingDts.js
-@@= skipped -12, +12 lines =@@
- //// [server.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
--}());
-+class c {
-+}
- exports.default = c;
- //// [client.js]
+@@= skipped -19, +19 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.x = void 0;
diff --git a/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamedImportDts.js.diff b/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamedImportDts.js.diff
index de7f22dc98..b5b4c6dc24 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamedImportDts.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamedImportDts.js.diff
@@ -1,58 +1,6 @@
--- old.es6ImportDefaultBindingFollowedWithNamedImportDts.js
+++ new.es6ImportDefaultBindingFollowedWithNamedImportDts.js
-@@= skipped -26, +26 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.x11 = exports.a12 = exports.a11 = exports.m = exports.x = exports.a = void 0;
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
-+class a {
-+}
- exports.a = a;
--var x = /** @class */ (function () {
-- function x() {
-- }
-- return x;
--}());
-+class x {
-+}
- exports.x = x;
--var m = /** @class */ (function () {
-- function m() {
-- }
-- return m;
--}());
-+class m {
-+}
- exports.m = m;
--var a11 = /** @class */ (function () {
-- function a11() {
-- }
-- return a11;
--}());
-+class a11 {
-+}
- exports.a11 = a11;
--var a12 = /** @class */ (function () {
-- function a12() {
-- }
-- return a12;
--}());
-+class a12 {
-+}
- exports.a12 = a12;
--var x11 = /** @class */ (function () {
-- function x11() {
-- }
-- return x11;
--}());
-+class x11 {
-+}
- exports.x11 = x11;
- //// [client.js]
+@@= skipped -48, +48 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.x6 = exports.x3 = exports.x5 = exports.x4 = exports.x2 = exports.x1 = void 0;
diff --git a/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamedImportDts1.js.diff b/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamedImportDts1.js.diff
index 061743b304..0b3d243a82 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamedImportDts1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamedImportDts1.js.diff
@@ -1,18 +1,6 @@
--- old.es6ImportDefaultBindingFollowedWithNamedImportDts1.js
+++ new.es6ImportDefaultBindingFollowedWithNamedImportDts1.js
-@@= skipped -20, +20 lines =@@
- //// [server.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
-+class a {
-+}
- exports.default = a;
- //// [client.js]
+@@= skipped -27, +27 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.x6 = exports.x5 = exports.x4 = exports.x3 = exports.x2 = exports.x1 = void 0;
diff --git a/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingDts.js.diff b/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingDts.js.diff
index d578c9247c..879976f3f2 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingDts.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingDts.js.diff
@@ -1,18 +1,6 @@
--- old.es6ImportDefaultBindingFollowedWithNamespaceBindingDts.js
+++ new.es6ImportDefaultBindingFollowedWithNamespaceBindingDts.js
-@@= skipped -10, +10 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.a = void 0;
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
-+class a {
-+}
- exports.a = a;
- //// [client.js]
+@@= skipped -17, +17 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.x = void 0;
diff --git a/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingDts1.js.diff b/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingDts1.js.diff
index 5869115aff..f96726c95f 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingDts1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingDts1.js.diff
@@ -7,11 +7,8 @@
-define(["require", "exports"], function (require, exports) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
-- var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
-- }());
+- class a {
+- }
- exports.default = a;
-});
+"use strict";
@@ -34,7 +31,7 @@
//// [server.d.ts]
-@@= skipped -24, +18 lines =@@
+@@= skipped -21, +18 lines =@@
}
export default a;
//// [client.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/es6ImportEqualsExportModuleCommonJsError.js.diff b/testdata/baselines/reference/submodule/compiler/es6ImportEqualsExportModuleCommonJsError.js.diff
index 8c0bc5b8e8..7b1f4e4343 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ImportEqualsExportModuleCommonJsError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ImportEqualsExportModuleCommonJsError.js.diff
@@ -1,17 +1,6 @@
--- old.es6ImportEqualsExportModuleCommonJsError.js
+++ new.es6ImportEqualsExportModuleCommonJsError.js
-@@= skipped -12, +12 lines =@@
-
- //// [a.js]
- "use strict";
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
-+class a {
-+}
- module.exports = a;
+@@= skipped -18, +18 lines =@@
//// [main.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/es6ImportEqualsExportModuleEs2015Error.js.diff b/testdata/baselines/reference/submodule/compiler/es6ImportEqualsExportModuleEs2015Error.js.diff
deleted file mode 100644
index a3af84610e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/es6ImportEqualsExportModuleEs2015Error.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.es6ImportEqualsExportModuleEs2015Error.js
-+++ new.es6ImportEqualsExportModuleEs2015Error.js
-@@= skipped -11, +11 lines =@@
-
-
- //// [a.js]
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
-+class a {
-+}
- export {};
- //// [main.js]
- import * as a from "./a";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/es6ImportNameSpaceImportDts.js.diff b/testdata/baselines/reference/submodule/compiler/es6ImportNameSpaceImportDts.js.diff
index 1d198806e2..fcb53273d5 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ImportNameSpaceImportDts.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ImportNameSpaceImportDts.js.diff
@@ -1,19 +1,6 @@
--- old.es6ImportNameSpaceImportDts.js
+++ new.es6ImportNameSpaceImportDts.js
-@@= skipped -11, +11 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.c = void 0;
--var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
--}());
-+class c {
-+}
- exports.c = c;
- ;
- //// [client.js]
+@@= skipped -19, +19 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.x = void 0;
diff --git a/testdata/baselines/reference/submodule/compiler/es6ImportNamedImportDts.js.diff b/testdata/baselines/reference/submodule/compiler/es6ImportNamedImportDts.js.diff
index f66dd27ff5..eb2109c006 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ImportNamedImportDts.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ImportNamedImportDts.js.diff
@@ -1,122 +1,6 @@
--- old.es6ImportNamedImportDts.js
+++ new.es6ImportNamedImportDts.js
-@@= skipped -48, +48 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.aaaa1 = exports.aaaa = exports.z2 = exports.z1 = exports.x111 = exports.a111 = exports.x1 = exports.a1 = exports.m = exports.x11 = exports.x = exports.a12 = exports.a11 = exports.a = void 0;
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
-+class a {
-+}
- exports.a = a;
--var a11 = /** @class */ (function () {
-- function a11() {
-- }
-- return a11;
--}());
-+class a11 {
-+}
- exports.a11 = a11;
--var a12 = /** @class */ (function () {
-- function a12() {
-- }
-- return a12;
--}());
-+class a12 {
-+}
- exports.a12 = a12;
--var x = /** @class */ (function () {
-- function x() {
-- }
-- return x;
--}());
-+class x {
-+}
- exports.x = x;
--var x11 = /** @class */ (function () {
-- function x11() {
-- }
-- return x11;
--}());
-+class x11 {
-+}
- exports.x11 = x11;
--var m = /** @class */ (function () {
-- function m() {
-- }
-- return m;
--}());
-+class m {
-+}
- exports.m = m;
--var a1 = /** @class */ (function () {
-- function a1() {
-- }
-- return a1;
--}());
-+class a1 {
-+}
- exports.a1 = a1;
--var x1 = /** @class */ (function () {
-- function x1() {
-- }
-- return x1;
--}());
-+class x1 {
-+}
- exports.x1 = x1;
--var a111 = /** @class */ (function () {
-- function a111() {
-- }
-- return a111;
--}());
-+class a111 {
-+}
- exports.a111 = a111;
--var x111 = /** @class */ (function () {
-- function x111() {
-- }
-- return x111;
--}());
-+class x111 {
-+}
- exports.x111 = x111;
--var z1 = /** @class */ (function () {
-- function z1() {
-- }
-- return z1;
--}());
-+class z1 {
-+}
- exports.z1 = z1;
--var z2 = /** @class */ (function () {
-- function z2() {
-- }
-- return z2;
--}());
-+class z2 {
-+}
- exports.z2 = z2;
--var aaaa = /** @class */ (function () {
-- function aaaa() {
-- }
-- return aaaa;
--}());
-+class aaaa {
-+}
- exports.aaaa = aaaa;
--var aaaa1 = /** @class */ (function () {
-- function aaaa1() {
-- }
-- return aaaa1;
--}());
-+class aaaa1 {
-+}
- exports.aaaa1 = aaaa1;
- //// [client.js]
+@@= skipped -94, +94 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.z2 = exports.z111 = exports.xxxx9 = exports.xxxx8 = exports.xxxx7 = exports.xxxx6 = exports.xxxx5 = exports.xxxx4 = exports.xxxx3 = exports.xxxx2 = exports.xxxx1 = exports.xxxx = void 0;
@@ -152,7 +36,7 @@
exports.z2 = new server_9.z2(); // z2 shouldn't give redeclare error
-@@= skipped -161, +119 lines =@@
+@@= skipped -73, +73 lines =@@
import { z1 } from "./server";
export declare var z111: z1;
import { z2 as z3 } from "./server";
diff --git a/testdata/baselines/reference/submodule/compiler/es6ImportNamedImportInIndirectExportAssignment.js.diff b/testdata/baselines/reference/submodule/compiler/es6ImportNamedImportInIndirectExportAssignment.js.diff
index bc3ff79a65..35e6767d87 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ImportNamedImportInIndirectExportAssignment.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ImportNamedImportInIndirectExportAssignment.js.diff
@@ -1,17 +1,6 @@
--- old.es6ImportNamedImportInIndirectExportAssignment.js
+++ new.es6ImportNamedImportInIndirectExportAssignment.js
-@@= skipped -16, +16 lines =@@
- exports.a = void 0;
- var a;
- (function (a) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- a.c = c;
+@@= skipped -22, +22 lines =@@
})(a || (exports.a = a = {}));
//// [es6ImportNamedImportInIndirectExportAssignment_1.js]
"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/es6ImportNamedImportWithTypesAndValues.js.diff b/testdata/baselines/reference/submodule/compiler/es6ImportNamedImportWithTypesAndValues.js.diff
index 8d78488ffc..a87342a45c 100644
--- a/testdata/baselines/reference/submodule/compiler/es6ImportNamedImportWithTypesAndValues.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6ImportNamedImportWithTypesAndValues.js.diff
@@ -1,28 +1,21 @@
--- old.es6ImportNamedImportWithTypesAndValues.js
+++ new.es6ImportNamedImportWithTypesAndValues.js
-@@= skipped -22, +22 lines =@@
- "use strict";
+@@= skipped -23, +23 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.C2 = exports.C = void 0;
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.prop = "hello";
- }
-- return C;
--}());
-+class C {
+ prop = "hello";
-+}
+ }
exports.C = C;
--var C2 = /** @class */ (function () {
-- function C2() {
+ class C2 {
+- constructor() {
- this.prop2 = "world";
- }
-- return C2;
--}());
-+class C2 {
+ prop2 = "world";
-+}
+ }
exports.C2 = C2;
//// [client.js]
"use strict";
@@ -33,7 +26,7 @@
exports.cVal = new server_1.C();
-@@= skipped -36, +30 lines =@@
+@@= skipped -33, +29 lines =@@
prop2: string;
}
//// [client.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/es6MemberScoping.js.diff b/testdata/baselines/reference/submodule/compiler/es6MemberScoping.js.diff
index 4d8981f0a2..0eb2216020 100644
--- a/testdata/baselines/reference/submodule/compiler/es6MemberScoping.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/es6MemberScoping.js.diff
@@ -1,29 +1,17 @@
--- old.es6MemberScoping.js
+++ new.es6MemberScoping.js
-@@= skipped -17, +17 lines =@@
-
+@@= skipped -18, +18 lines =@@
//// [es6MemberScoping.js]
--var Foo = /** @class */ (function () {
-- function Foo(store) {
+ class Foo {
+- constructor(store) {
- this._store = store; // should be an error.
- }
-- Foo.prototype.foo = function () {
-+class Foo {
+ constructor(store) { }
-+ foo() {
+ foo() {
return this._store.length;
-- };
-- return Foo;
--}());
--var Foo2 = /** @class */ (function () {
-- function Foo2() {
}
-- Foo2.Foo2 = function () { return 0; }; // should not be an error
-- return Foo2;
--}());
+ _store = store; // should be an error.
-+}
-+class Foo2 {
-+ static Foo2() { return 0; } // should not be an error
-+}
\ No newline at end of file
+ }
+ class Foo2 {
+ static Foo2() { return 0; } // should not be an error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/esModuleInteropDefaultMemberMustBeSyntacticallyDefaultExport.js.diff b/testdata/baselines/reference/submodule/compiler/esModuleInteropDefaultMemberMustBeSyntacticallyDefaultExport.js.diff
index 5f53d4890b..265e37fbe9 100644
--- a/testdata/baselines/reference/submodule/compiler/esModuleInteropDefaultMemberMustBeSyntacticallyDefaultExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/esModuleInteropDefaultMemberMustBeSyntacticallyDefaultExport.js.diff
@@ -5,8 +5,6 @@
};
Object.defineProperty(exports, "__esModule", { value: true });
-var point_1 = __importDefault(require("./point"));
--var C = point_1.default;
--var p = new C(1, 2);
+const point_1 = __importDefault(require("./point"));
-+const C = point_1.default;
-+const p = new C(1, 2);
\ No newline at end of file
+ const C = point_1.default;
+ const p = new C(1, 2);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/esModuleInteropImportCall.js.diff b/testdata/baselines/reference/submodule/compiler/esModuleInteropImportCall.js.diff
index d3aee0c45b..558a6649b8 100644
--- a/testdata/baselines/reference/submodule/compiler/esModuleInteropImportCall.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/esModuleInteropImportCall.js.diff
@@ -4,7 +4,7 @@
return result;
};
})();
--Promise.resolve().then(function () { return __importStar(require("./foo")); }).then(function (f) {
+-Promise.resolve().then(function () { return __importStar(require("./foo")); }).then(f => {
+Promise.resolve().then(() => __importStar(require("./foo"))).then(f => {
f.default;
});
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/esModuleInteropNamedDefaultImports.js.diff b/testdata/baselines/reference/submodule/compiler/esModuleInteropNamedDefaultImports.js.diff
index e33de7b671..93eefcf4dc 100644
--- a/testdata/baselines/reference/submodule/compiler/esModuleInteropNamedDefaultImports.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/esModuleInteropNamedDefaultImports.js.diff
@@ -1,28 +1,6 @@
--- old.esModuleInteropNamedDefaultImports.js
+++ new.esModuleInteropNamedDefaultImports.js
-@@= skipped -15, +15 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Bar = void 0;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- exports.default = Foo;
--var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- return Bar;
--}());
-+class Bar {
-+}
- exports.Bar = Bar;
- //// [idx.js]
- "use strict";
-@@= skipped -51, +45 lines =@@
+@@= skipped -60, +60 lines =@@
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/esModuleInteropTslibHelpers.js.diff b/testdata/baselines/reference/submodule/compiler/esModuleInteropTslibHelpers.js.diff
index 1afa9b2594..29b8bcd865 100644
--- a/testdata/baselines/reference/submodule/compiler/esModuleInteropTslibHelpers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/esModuleInteropTslibHelpers.js.diff
@@ -9,15 +9,9 @@
+const tslib_1 = require("tslib");
+const path_1 = tslib_1.__importDefault(require("path"));
path_1.default.resolve("", "../");
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- exports.Foo = Foo;
- //// [file2.js]
+ class Foo {
+ }
+@@= skipped -10, +10 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Foo2 = void 0;
@@ -26,15 +20,9 @@
+const tslib_1 = require("tslib");
+const path = tslib_1.__importStar(require("path"));
path.resolve("", "../");
--var Foo2 = /** @class */ (function () {
-- function Foo2() {
-- }
-- return Foo2;
--}());
-+class Foo2 {
-+}
- exports.Foo2 = Foo2;
- //// [file3.js]
+ class Foo2 {
+ }
+@@= skipped -10, +10 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Foo3 = void 0;
@@ -43,15 +31,9 @@
+const tslib_1 = require("tslib");
+const path_1 = tslib_1.__importDefault(require("path"));
(0, path_1.default)("", "../");
--var Foo3 = /** @class */ (function () {
-- function Foo3() {
-- }
-- return Foo3;
--}());
-+class Foo3 {
-+}
- exports.Foo3 = Foo3;
- //// [file4.js]
+ class Foo3 {
+ }
+@@= skipped -10, +10 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Bar = void 0;
diff --git a/testdata/baselines/reference/submodule/compiler/escapedIdentifiers.js.diff b/testdata/baselines/reference/submodule/compiler/escapedIdentifiers.js.diff
index be27264843..da1124568a 100644
--- a/testdata/baselines/reference/submodule/compiler/escapedIdentifiers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/escapedIdentifiers.js.diff
@@ -14,53 +14,23 @@
moduleType2.baz2 = 3;
moduleType\u0032.baz2 = 3;
// classes
--var classType1 = /** @class */ (function () {
-- function classType1() {
-- }
-- return classType1;
--}());
--var classType\u0032 = /** @class */ (function () {
-- function classType\u0032() {
-- }
-- return classType\u0032;
--}());
-+class classType1 {
+ class classType1 {
+ foo1;
-+}
-+class classType\u0032 {
+ }
+ class classType\u0032 {
+ foo2;
-+}
+ }
var classType1Object1 = new classType1();
classType1Object1.foo1 = 2;
- var classType1Object2 = new classType\u0031();
-@@= skipped -35, +31 lines =@@
- var interfaceType2Object2 = { bar2: 0 };
- interfaceType2Object2.bar2 = 2;
- // arguments
--var testClass = /** @class */ (function () {
-- function testClass() {
-- }
-- testClass.prototype.func = function (arg1, arg\u0032, arg\u0033, arg4) {
-+class testClass {
-+ func(arg1, arg\u0032, arg\u0033, arg4) {
- arg\u0031 = 1;
- arg2 = 'string';
- arg\u0033 = true;
- arg4 = 2;
-- };
-- return testClass;
--}());
-+ }
-+}
+@@= skipped -39, +41 lines =@@
+ }
// constructors
--var constructorTestClass = /** @class */ (function () {
-- function constructorTestClass(arg1, arg\u0032, arg\u0033, arg4) {
-+class constructorTestClass {
+ class constructorTestClass {
+ arg1;
+ arg2;
+ arg3;
+ arg4;
-+ constructor(arg1, arg\u0032, arg\u0033, arg4) {
+ constructor(arg1, arg\u0032, arg\u0033, arg4) {
this.arg1 = arg1;
- this.arg\u0032 = arg\u0032;
- this.arg\u0033 = arg\u0033;
@@ -68,9 +38,4 @@
+ this.arg3 = arg3;
this.arg4 = arg4;
}
-- return constructorTestClass;
--}());
-+}
- var constructorTestObject = new constructorTestClass(1, 'string', true, 2);
- constructorTestObject.arg\u0031 = 1;
- constructorTestObject.arg2 = 'string';
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/evolvingArrayTypeInAssert.js.diff b/testdata/baselines/reference/submodule/compiler/evolvingArrayTypeInAssert.js.diff
deleted file mode 100644
index f40b4542ab..0000000000
--- a/testdata/baselines/reference/submodule/compiler/evolvingArrayTypeInAssert.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.evolvingArrayTypeInAssert.js
-+++ new.evolvingArrayTypeInAssert.js
-@@= skipped -16, +16 lines =@@
- exports.unsafeCast = unsafeCast;
- function unsafeCast(_value) { }
- function yadda() {
-- var out = [];
-+ let out = [];
- out.push(100);
- unsafeCast(out);
- return out;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/excessPropertyCheckIntersectionWithIndexSignature.js.diff b/testdata/baselines/reference/submodule/compiler/excessPropertyCheckIntersectionWithIndexSignature.js.diff
index b917fed920..5156612962 100644
--- a/testdata/baselines/reference/submodule/compiler/excessPropertyCheckIntersectionWithIndexSignature.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/excessPropertyCheckIntersectionWithIndexSignature.js.diff
@@ -6,12 +6,5 @@
//// [excessPropertyCheckIntersectionWithIndexSignature.js]
-"use strict";
// Repro from #51875
--var x;
-+let x;
- x = { y: { a: 0 } }; // Error
- x = { y: { a: 0, b: 0 } };
- x = { y: { a: 0, b: 0, c: 0 } }; // Error
--var yy = {
-+const yy = {
- foo: { a: '', b: '' },
- };
\ No newline at end of file
+ let x;
+ x = { y: { a: 0 } }; // Error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/excessPropertyCheckWithEmptyObject.js.diff b/testdata/baselines/reference/submodule/compiler/excessPropertyCheckWithEmptyObject.js.diff
deleted file mode 100644
index df4e08bed8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/excessPropertyCheckWithEmptyObject.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.excessPropertyCheckWithEmptyObject.js
-+++ new.excessPropertyCheckWithEmptyObject.js
-@@= skipped -21, +21 lines =@@
- // Excess property error expected here
- Object.defineProperty(window, "prop", { value: "v1.0.0", readonly: false });
- // Excess property error expected here
--var a = { y: 10 };
-+let a = { y: 10 };
- // Excess property error expected here
--var x = { y: "hello" };
-+let x = { y: "hello" };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/excessPropertyCheckWithMultipleDiscriminants.js.diff b/testdata/baselines/reference/submodule/compiler/excessPropertyCheckWithMultipleDiscriminants.js.diff
index 0aa44b5b47..9f32319ccc 100644
--- a/testdata/baselines/reference/submodule/compiler/excessPropertyCheckWithMultipleDiscriminants.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/excessPropertyCheckWithMultipleDiscriminants.js.diff
@@ -6,62 +6,5 @@
"use strict";
-// Repro from #32657
Object.defineProperty(exports, "__esModule", { value: true });
--var foo = {
-+const foo = {
- type: "number",
- value: 10,
- multipleOf: 5, // excess property
- format: "what?"
- };
- // This has excess error because variant three is the only applicable case.
--var a = {
-+const a = {
- p1: 'left',
- p2: false,
- p3: 42,
- p4: "hello"
- };
- // This has excess error because variant two is not applicable.
--var b = {
-+const b = {
- p1: 'left',
- p2: true,
- p3: 42,
- p4: "hello"
- };
- // This has excess error because variant two is the only applicable case
--var c = {
-+const c = {
- p1: 'right',
- p2: false,
- p3: 42,
- p4: "hello"
- };
- // Should reject { b } because reduced to Common | (Common & A)
--var c1 = {
-+const c1 = {
- type: "A",
- n: 1,
- a: 1,
- b: 1 // excess property
- };
- // Should still reject { b } because reduced to Common | A, even though these are now disjoint
--var c2 = {
-+const c2 = {
- type: "A",
- n: 1,
- a: 1,
- b: 1 // excess property
- };
- // both should error due to excess properties
--var attributes = {
-+const attributes = {
- type: 'string',
- autoIncrement: true,
- required: true,
- };
--var attributes2 = {
-+const attributes2 = {
- type: 'string',
- autoIncrement: true,
- required: true,
\ No newline at end of file
+ const foo = {
+ type: "number",
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/excessPropertyCheckWithNestedArrayIntersection.js.diff b/testdata/baselines/reference/submodule/compiler/excessPropertyCheckWithNestedArrayIntersection.js.diff
deleted file mode 100644
index 833c129663..0000000000
--- a/testdata/baselines/reference/submodule/compiler/excessPropertyCheckWithNestedArrayIntersection.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.excessPropertyCheckWithNestedArrayIntersection.js
-+++ new.excessPropertyCheckWithNestedArrayIntersection.js
-@@= skipped -25, +25 lines =@@
-
-
- //// [excessPropertyCheckWithNestedArrayIntersection.js]
--var repro = {
-+const repro = {
- dataType: {
- fields: [{
- key: 'bla', // should be OK: Not excess
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/excessPropertyCheckWithUnions.js.diff b/testdata/baselines/reference/submodule/compiler/excessPropertyCheckWithUnions.js.diff
index 821ec6cb82..b1647100b5 100644
--- a/testdata/baselines/reference/submodule/compiler/excessPropertyCheckWithUnions.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/excessPropertyCheckWithUnions.js.diff
@@ -16,73 +16,15 @@
- };
- return __assign.apply(this, arguments);
-};
--var wrong = { tag: "T", a1: "extra" };
-+let wrong = { tag: "T", a1: "extra" };
+ let wrong = { tag: "T", a1: "extra" };
wrong = { tag: "A", d20: 12 };
wrong = { tag: "D" };
--var amb;
-+let amb;
- // no error for ambiguous tag, even when it could satisfy both constituents at once
- amb = { tag: "A", x: "hi" };
- amb = { tag: "A", y: 12 };
-@@= skipped -26, +14 lines =@@
- // assignability errors still work
- amb = { tag: "A" };
- amb = { tag: "A", z: true };
--var over;
-+let over;
+@@= skipped -30, +18 lines =@@
// these two are still errors despite their doubled up discriminants
over = { a: 1, b: 1, first: "ok", second: "error" };
over = { a: 1, b: 1, first: "ok", third: "error" };
--var t2 = __assign({}, t1);
+-let t2 = __assign({}, t1);
+let t2 = { ...t1 };
t0 = t2;
--var abab = {
-+const abab = {
- kind: "A",
- n: {
- a: "a",
- b: "b", // excess -- kind: "A"
- }
- };
--var abac = {
-+const abac = {
- kind: "A",
- n: {
- a: "a",
- c: "c", // ok -- kind: "A", an: { a: string } | { c: string }
- }
- };
--var obj = {
-+const obj = {
- tag: 'button',
- type: 'submit',
- // should have error here
- href: 'foo',
- };
- ;
--var dataSpecification = {
-+const dataSpecification = {
- foo: "asdfsadffsd"
- };
- // Repro from #34611
--var obj1 = { a: 'abc' }; // Error
--var obj2 = { a: 5, c: 'abc' }; // Error
-+const obj1 = { a: 'abc' }; // Error
-+const obj2 = { a: 5, c: 'abc' }; // Error
- function F1(_arg) { }
- F1({
- props: {
-- prop1: prop1,
-- prop2: prop2,
-+ prop1,
-+ prop2,
- },
- });
- function F2(_props) { }
- F2({
-- prop1: prop1,
-- prop2: prop2,
-+ prop1,
-+ prop2,
- });
\ No newline at end of file
+ const abab = {
+ kind: "A",
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/excessPropertyCheckingIntersectionWithConditional.js.diff b/testdata/baselines/reference/submodule/compiler/excessPropertyCheckingIntersectionWithConditional.js.diff
deleted file mode 100644
index b7aec45b0e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/excessPropertyCheckingIntersectionWithConditional.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.excessPropertyCheckingIntersectionWithConditional.js
-+++ new.excessPropertyCheckingIntersectionWithConditional.js
-@@= skipped -6, +6 lines =@@
- }
-
- //// [excessPropertyCheckingIntersectionWithConditional.js]
--var createDefaultExample = function (x) {
-+const createDefaultExample = (x) => {
- return { a: 1, x: x }; // okay in TS 4.7.4, error in TS 4.8.2
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/excessPropertyChecksWithNestedIntersections.js.diff b/testdata/baselines/reference/submodule/compiler/excessPropertyChecksWithNestedIntersections.js.diff
index b6ad1f40fd..f87d79cdcf 100644
--- a/testdata/baselines/reference/submodule/compiler/excessPropertyChecksWithNestedIntersections.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/excessPropertyChecksWithNestedIntersections.js.diff
@@ -7,26 +7,4 @@
-// https://github.com/Microsoft/TypeScript/issues/13813
Object.defineProperty(exports, "__esModule", { value: true });
exports.myInstance = exports.photo = exports.obj = void 0;
--var a = { a: { x: 'hello' } }; // ok
--var b = { a: { x: 2 } }; // error - types of property x are incompatible
--var c = { a: { x: 'hello', y: 2 } }; // error - y does not exist in type A
--var d = { a: { x: 'hello' }, c: 5 }; // ok
--var e = { a: { x: 2 }, c: 5 }; // error - types of property x are incompatible
--var f = { a: { x: 'hello', y: 2 }, c: 5 }; // error - y does not exist in type A
-+let a = { a: { x: 'hello' } }; // ok
-+let b = { a: { x: 2 } }; // error - types of property x are incompatible
-+let c = { a: { x: 'hello', y: 2 } }; // error - y does not exist in type A
-+let d = { a: { x: 'hello' }, c: 5 }; // ok
-+let e = { a: { x: 2 }, c: 5 }; // error - types of property x are incompatible
-+let f = { a: { x: 'hello', y: 2 }, c: 5 }; // error - y does not exist in type A
- exports.photo = {
- id: 1,
- url: '',
-@@= skipped -23, +22 lines =@@
- xyz: 2 // This should also be an error
- }
- };
--var test;
-+let test;
- test = { foo: true, bar: true, boo: true };
- test = { foo: true, bar: { foo: true, bar: true, boo: true } };
\ No newline at end of file
+ let a = { a: { x: 'hello' } }; // ok
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/excessPropertyErrorForFunctionTypes.js.diff b/testdata/baselines/reference/submodule/compiler/excessPropertyErrorForFunctionTypes.js.diff
deleted file mode 100644
index 3d93269015..0000000000
--- a/testdata/baselines/reference/submodule/compiler/excessPropertyErrorForFunctionTypes.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.excessPropertyErrorForFunctionTypes.js
-+++ new.excessPropertyErrorForFunctionTypes.js
-@@= skipped -6, +6 lines =@@
- let doesntWork: DoesntWork = { a: 1, c: 2, d: 3 }
-
- //// [excessPropertyErrorForFunctionTypes.js]
--var doesntWork = { a: 1, c: 2, d: 3 };
-+let doesntWork = { a: 1, c: 2, d: 3 };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/excessiveStackDepthFlatArray.js.diff b/testdata/baselines/reference/submodule/compiler/excessiveStackDepthFlatArray.js.diff
index 54f26d014b..0fd96a87b2 100644
--- a/testdata/baselines/reference/submodule/compiler/excessiveStackDepthFlatArray.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/excessiveStackDepthFlatArray.js.diff
@@ -1,30 +1,13 @@
--- old.excessiveStackDepthFlatArray.js
+++ new.excessiveStackDepthFlatArray.js
-@@= skipped -42, +42 lines =@@
-
-
- //// [index.js]
--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)) {
-- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
-- ar[i] = from[i];
-- }
-- }
-- return to.concat(ar || Array.prototype.slice.call(from));
--};
- configureStore({
-- middleware: __spreadArray([], defaultMiddleware, true), // Should not error
-+ middleware: [...defaultMiddleware], // Should not error
+@@= skipped -47, +47 lines =@@
});
--var Component = function () {
-- var categories = ['Fruit', 'Vegetables'];
+ const Component = () => {
+ const categories = ['Fruit', 'Vegetables'];
- return (React.createElement("ul", null,
- React.createElement("li", null, "All"),
-- categories.map(function (category) { return (React.createElement("li", { key: category }, category) // Error about 'key' only
-- ); })));
-+const Component = () => {
-+ const categories = ['Fruit', 'Vegetables'];
+- categories.map((category) => (React.createElement("li", { key: category }, category) // Error about 'key' only
+- ))));
+ return (React.createElement("ul", null, React.createElement("li", null, "All"), categories.map((category) => (React.createElement("li", { key: category }, category) // Error about 'key' only
+ ))));
};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/excessivelyLargeTupleSpread.js.diff b/testdata/baselines/reference/submodule/compiler/excessivelyLargeTupleSpread.js.diff
index d65b215c96..92979b3175 100644
--- a/testdata/baselines/reference/submodule/compiler/excessivelyLargeTupleSpread.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/excessivelyLargeTupleSpread.js.diff
@@ -5,42 +5,6 @@
//// [excessivelyLargeTupleSpread.js]
-// #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++) {
-- if (ar || !(i in from)) {
-- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
-- ar[i] = from[i];
-- }
-- }
-- return to.concat(ar || Array.prototype.slice.call(from));
--};
--var a0 = [0];
--var a1 = __spreadArray(__spreadArray([], a0, true), a0, true);
--var a2 = __spreadArray(__spreadArray([], a1, true), a1, true);
--var a3 = __spreadArray(__spreadArray([], a2, true), a2, true);
--var a4 = __spreadArray(__spreadArray([], a3, true), a3, true);
--var a5 = __spreadArray(__spreadArray([], a4, true), a4, true);
--var a6 = __spreadArray(__spreadArray([], a5, true), a5, true);
--var a7 = __spreadArray(__spreadArray([], a6, true), a6, true);
--var a8 = __spreadArray(__spreadArray([], a7, true), a7, true);
--var a9 = __spreadArray(__spreadArray([], a8, true), a8, true);
--var a10 = __spreadArray(__spreadArray([], a9, true), a9, true);
--var a11 = __spreadArray(__spreadArray([], a10, true), a10, true);
--var a12 = __spreadArray(__spreadArray([], a11, true), a11, true);
--var a13 = __spreadArray(__spreadArray([], a12, true), a12, true);
--var a14 = __spreadArray(__spreadArray([], a13, true), a13, true); // 2^14 > 10,000
-+const a0 = [0];
-+const a1 = [...a0, ...a0];
-+const a2 = [...a1, ...a1];
-+const a3 = [...a2, ...a2];
-+const a4 = [...a3, ...a3];
-+const a5 = [...a4, ...a4];
-+const a6 = [...a5, ...a5];
-+const a7 = [...a6, ...a6];
-+const a8 = [...a7, ...a7];
-+const a9 = [...a8, ...a8];
-+const a10 = [...a9, ...a9];
-+const a11 = [...a10, ...a10];
-+const a12 = [...a11, ...a11];
-+const a13 = [...a12, ...a12];
-+const a14 = [...a13, ...a13]; // 2^14 > 10,000
\ No newline at end of file
+ const a0 = [0];
+ const a1 = [...a0, ...a0];
+ const a2 = [...a1, ...a1];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exhaustiveSwitchCheckCircularity.js.diff b/testdata/baselines/reference/submodule/compiler/exhaustiveSwitchCheckCircularity.js.diff
index c79a67ed9d..993390a5ce 100644
--- a/testdata/baselines/reference/submodule/compiler/exhaustiveSwitchCheckCircularity.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exhaustiveSwitchCheckCircularity.js.diff
@@ -7,20 +7,5 @@
-"use strict";
-// Repro from #47539
function f() {
-- var foo = "aaa";
-+ let foo = "aaa";
- while (true) {
- switch (foo) {
- case "aaa":
-@@= skipped -17, +15 lines =@@
- }
- }
- function functionC() {
-- var unionVal = "A";
-+ let unionVal = "A";
- while (true) {
-- var key = void 0;
-+ let key;
- switch (unionVal) {
- case "A": {
- key = "AA";
\ No newline at end of file
+ let foo = "aaa";
+ while (true) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exhaustiveSwitchImplicitReturn.js.diff b/testdata/baselines/reference/submodule/compiler/exhaustiveSwitchImplicitReturn.js.diff
deleted file mode 100644
index 669ee48621..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exhaustiveSwitchImplicitReturn.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.exhaustiveSwitchImplicitReturn.js
-+++ new.exhaustiveSwitchImplicitReturn.js
-@@= skipped -68, +68 lines =@@
- case "a":
- return 1;
- }
-- var unusedVariable;
-+ let unusedVariable;
- }
- function foo3(bar) {
- switch (bar) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exhaustiveSwitchWithWideningLiteralTypes.js.diff b/testdata/baselines/reference/submodule/compiler/exhaustiveSwitchWithWideningLiteralTypes.js.diff
index baf68632a2..ba21c22624 100644
--- a/testdata/baselines/reference/submodule/compiler/exhaustiveSwitchWithWideningLiteralTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exhaustiveSwitchWithWideningLiteralTypes.js.diff
@@ -1,27 +1,19 @@
--- old.exhaustiveSwitchWithWideningLiteralTypes.js
+++ new.exhaustiveSwitchWithWideningLiteralTypes.js
-@@= skipped -19, +19 lines =@@
-
+@@= skipped -20, +20 lines =@@
//// [exhaustiveSwitchWithWideningLiteralTypes.js]
// Repro from #12529
--var A = /** @class */ (function () {
-- function A() {
+ class A {
+- constructor() {
- this.kind = "A"; // (property) A.kind: "A"
- }
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
++ kind = "A"; // (property) A.kind: "A"
+ }
+ class B {
+- constructor() {
- this.kind = "B"; // (property) B.kind: "B"
- }
-- return B;
--}());
-+class A {
-+ kind = "A"; // (property) A.kind: "A"
-+}
-+class B {
+ kind = "B"; // (property) B.kind: "B"
-+}
+ }
function f(value) {
- switch (value.kind) {
- case "A": return 0;
\ No newline at end of file
+ switch (value.kind) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/expandoFunctionBlockShadowing.js.diff b/testdata/baselines/reference/submodule/compiler/expandoFunctionBlockShadowing.js.diff
index a374fc2343..e1e3783a15 100644
--- a/testdata/baselines/reference/submodule/compiler/expandoFunctionBlockShadowing.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/expandoFunctionBlockShadowing.js.diff
@@ -11,25 +11,8 @@
+// https://github.com/microsoft/TypeScript/issues/56538
function X() { }
if (Math.random()) {
-- var X_1 = {};
-- X_1.test = 1;
-+ const X = {};
-+ X.test = 1;
- }
- function Y() { }
- Y.test = "foo";
--var aliasTopY = Y;
-+const aliasTopY = Y;
- if (Math.random()) {
-- var Y_1 = function Y() { };
-- Y_1.test = 42;
-- var topYcheck = aliasTopY;
-- var blockYcheck = Y_1;
-+ const Y = function Y() { };
-+ Y.test = 42;
-+ const topYcheck = aliasTopY;
-+ const blockYcheck = Y;
- }
+ const X = {};
+@@= skipped -21, +21 lines =@@
//// [expandoFunctionBlockShadowing.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/expandoFunctionContextualTypes.js.diff b/testdata/baselines/reference/submodule/compiler/expandoFunctionContextualTypes.js.diff
deleted file mode 100644
index b2ce98bed7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/expandoFunctionContextualTypes.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.expandoFunctionContextualTypes.js
-+++ new.expandoFunctionContextualTypes.js
-@@= skipped -17, +17 lines =@@
-
-
- //// [expandoFunctionContextualTypes.js]
--var MyComponent = function () { return null; };
-+const MyComponent = () => null;
- MyComponent.defaultProps = {
- color: "red"
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/expandoFunctionContextualTypesJSDocInTs.js.diff b/testdata/baselines/reference/submodule/compiler/expandoFunctionContextualTypesJSDocInTs.js.diff
deleted file mode 100644
index 4107a41671..0000000000
--- a/testdata/baselines/reference/submodule/compiler/expandoFunctionContextualTypesJSDocInTs.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.expandoFunctionContextualTypesJSDocInTs.js
-+++ new.expandoFunctionContextualTypesJSDocInTs.js
-@@= skipped -14, +14 lines =@@
- function Foo() { }
- // This comment should have no effect; this is a TS file.
- /** @type {never} */
--Foo.bar = function () { };
-+Foo.bar = () => { };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/expandoFunctionContextualTypesNoValue.js.diff b/testdata/baselines/reference/submodule/compiler/expandoFunctionContextualTypesNoValue.js.diff
index dd7bbc54d0..4720f816ff 100644
--- a/testdata/baselines/reference/submodule/compiler/expandoFunctionContextualTypesNoValue.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/expandoFunctionContextualTypesNoValue.js.diff
@@ -7,5 +7,4 @@
-var blah_1 = require("blah");
+const blah_1 = require("blah");
function Foo() { }
--blah_1.default.bar = function () { };
-+blah_1.default.bar = () => { };
\ No newline at end of file
+ blah_1.default.bar = () => { };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/expandoFunctionExpressionsWithDynamicNames.js.diff b/testdata/baselines/reference/submodule/compiler/expandoFunctionExpressionsWithDynamicNames.js.diff
index 638de336f1..91ce438ddd 100644
--- a/testdata/baselines/reference/submodule/compiler/expandoFunctionExpressionsWithDynamicNames.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/expandoFunctionExpressionsWithDynamicNames.js.diff
@@ -7,14 +7,7 @@
-// https://github.com/microsoft/TypeScript/issues/54809
Object.defineProperty(exports, "__esModule", { value: true });
exports.expr2 = exports.expr = void 0;
--var s = "X";
--var expr = function () { };
+// https://github.com/microsoft/TypeScript/issues/54809
-+const s = "X";
-+const expr = () => { };
- exports.expr = expr;
- exports.expr[s] = 0;
--var expr2 = function () { };
-+const expr2 = function () { };
- exports.expr2 = expr2;
- exports.expr2[s] = 0;
+ const s = "X";
+ const expr = () => { };
+ exports.expr = expr;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/expandoFunctionNestedAssigments.js.diff b/testdata/baselines/reference/submodule/compiler/expandoFunctionNestedAssigments.js.diff
index 238a7c6455..458d8901f4 100644
--- a/testdata/baselines/reference/submodule/compiler/expandoFunctionNestedAssigments.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/expandoFunctionNestedAssigments.js.diff
@@ -1,35 +1,6 @@
--- old.expandoFunctionNestedAssigments.js
+++ new.expandoFunctionNestedAssigments.js
-@@= skipped -55, +55 lines =@@
- //// [expandoFunctionNestedAssigments.js]
- function Foo() {
- }
--var d = (Foo.inVariableInit = 1);
--function bar(p) {
-- if (p === void 0) { p = (Foo.inNestedFunction = 1); }
-+let d = (Foo.inVariableInit = 1);
-+function bar(p = (Foo.inNestedFunction = 1)) {
- }
- (Foo.bla = { foo: 1 }).foo = (Foo.baz = 1) + (Foo.bar = 0);
- if (Foo.fromIf = 1) {
-@@= skipped -26, +25 lines =@@
- Foo.fromForBodyNested = 1;
- }
- }
--for (var _i = 0, _a = (Foo.forOf = []); _i < _a.length; _i++) {
-- var f = _a[_i];
-+for (let f of (Foo.forOf = [])) {
- Foo.fromForOfBody = 1;
- {
- Foo.fromForOfBodyNested = 1;
- }
- }
--for (var f in (Foo.forIn = [])) {
-+for (let f in (Foo.forIn = [])) {
- Foo.fromForInBody = 1;
- {
- Foo.fromForInBodyNested = 1;
-@@= skipped -17, +16 lines =@@
+@@= skipped -96, +96 lines =@@
//// [expandoFunctionNestedAssigments.d.ts]
declare function Foo(): void;
diff --git a/testdata/baselines/reference/submodule/compiler/expandoFunctionNestedAssigmentsDeclared.js.diff b/testdata/baselines/reference/submodule/compiler/expandoFunctionNestedAssigmentsDeclared.js.diff
deleted file mode 100644
index 827283c726..0000000000
--- a/testdata/baselines/reference/submodule/compiler/expandoFunctionNestedAssigmentsDeclared.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.expandoFunctionNestedAssigmentsDeclared.js
-+++ new.expandoFunctionNestedAssigmentsDeclared.js
-@@= skipped -97, +97 lines =@@
- Foo.fromForBodyNested = 1;
- }
- }
--for (var _i = 0, _a = (Foo.forOf = []); _i < _a.length; _i++) {
-- var f = _a[_i];
-+for (let f of (Foo.forOf = [])) {
- Foo.fromForOfBody = 1;
- {
- Foo.fromForOfBodyNested = 1;
- }
- }
--for (var f in (Foo.forIn = [])) {
-+for (let f in (Foo.forIn = [])) {
- Foo.fromForInBody = 1;
- {
- Foo.fromForInBodyNested = 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.js.diff b/testdata/baselines/reference/submodule/compiler/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.js.diff
index e96f02854d..131d8587e6 100644
--- a/testdata/baselines/reference/submodule/compiler/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.js.diff
@@ -16,11 +16,11 @@
-var __param = (this && this.__param) || function (paramIndex, decorator) {
- return function (target, key) { decorator(target, key, paramIndex); }
-};
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Foo.prototype.f = function (user) { };
+-let Foo = (() => {
- var _a, _b, _c, _d;
+- class Foo {
+- f(user) { }
+- }
- __decorate([
- __param(0, decorate),
- __metadata("design:type", Function),
@@ -28,7 +28,7 @@
- __metadata("design:returntype", void 0)
- ], Foo.prototype, "f", null);
- return Foo;
--}());
+-})();
+class Foo {
+ f(user) { }
+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/explicitAnyAfterSpreadNoImplicitAnyError.js.diff b/testdata/baselines/reference/submodule/compiler/explicitAnyAfterSpreadNoImplicitAnyError.js.diff
index 531165eb60..22552dd439 100644
--- a/testdata/baselines/reference/submodule/compiler/explicitAnyAfterSpreadNoImplicitAnyError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/explicitAnyAfterSpreadNoImplicitAnyError.js.diff
@@ -16,6 +16,5 @@
- return __assign.apply(this, arguments);
-};
-(__assign({ a: [] }, null));
--var x;
+({ a: [], ...null });
-+let x;
\ No newline at end of file
+ let x;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportAlreadySeen.js.diff b/testdata/baselines/reference/submodule/compiler/exportAlreadySeen.js.diff
deleted file mode 100644
index ed1f27270d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportAlreadySeen.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.exportAlreadySeen.js
-+++ new.exportAlreadySeen.js
-@@= skipped -26, +26 lines =@@
- M.x = 1;
- function f() { }
- M.f = f;
-- var N;
-+ let N;
- (function (N) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- N.C = C;
- })(N = M.N || (M.N = {}));
- })(M || (M = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportArrayBindingPattern.js.diff b/testdata/baselines/reference/submodule/compiler/exportArrayBindingPattern.js.diff
index a1ce014c5d..4ab85963d1 100644
--- a/testdata/baselines/reference/submodule/compiler/exportArrayBindingPattern.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportArrayBindingPattern.js.diff
@@ -1,10 +1,8 @@
--- old.exportArrayBindingPattern.js
+++ new.exportArrayBindingPattern.js
-@@= skipped -9, +9 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -10, +10 lines =@@
exports.b = exports.a = void 0;
// issue: https://github.com/Microsoft/TypeScript/issues/10778
--var _a = [1, 2, 3], a = _a[0], b = _a[2];
+ const [a, , b] = [1, 2, 3];
-exports.a = a;
--exports.b = b;
-+const [a, , b] = [1, 2, 3];
\ No newline at end of file
+-exports.b = b;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportAssignClassAndModule.js.diff b/testdata/baselines/reference/submodule/compiler/exportAssignClassAndModule.js.diff
index 3b27e5cc49..beedbe07ed 100644
--- a/testdata/baselines/reference/submodule/compiler/exportAssignClassAndModule.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportAssignClassAndModule.js.diff
@@ -1,17 +1,10 @@
--- old.exportAssignClassAndModule.js
+++ new.exportAssignClassAndModule.js
-@@= skipped -19, +19 lines =@@
-
+@@= skipped -20, +20 lines =@@
//// [exportAssignClassAndModule_0.js]
"use strict";
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
+ class Foo {
+ x;
-+}
+ }
module.exports = Foo;
- //// [exportAssignClassAndModule_1.js]
- "use strict";
\ No newline at end of file
+ //// [exportAssignClassAndModule_1.js]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportAssignmentClass.js.diff b/testdata/baselines/reference/submodule/compiler/exportAssignmentClass.js.diff
index 4a1e466540..1a787fda49 100644
--- a/testdata/baselines/reference/submodule/compiler/exportAssignmentClass.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportAssignmentClass.js.diff
@@ -7,12 +7,11 @@
-//// [exportAssignmentClass_A.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
-- var C = /** @class */ (function () {
-- function C() {
+- class C {
+- constructor() {
- this.p = 0;
- }
-- return C;
-- }());
+- }
- return C;
-});
//// [exportAssignmentClass_B.js]
diff --git a/testdata/baselines/reference/submodule/compiler/exportAssignmentOfGenericType1.js.diff b/testdata/baselines/reference/submodule/compiler/exportAssignmentOfGenericType1.js.diff
index 0d753c541c..ce07b3d30b 100644
--- a/testdata/baselines/reference/submodule/compiler/exportAssignmentOfGenericType1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportAssignmentOfGenericType1.js.diff
@@ -6,11 +6,8 @@
//// [exportAssignmentOfGenericType1_0.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
-- var T = /** @class */ (function () {
-- function T() {
-- }
-- return T;
-- }());
+- class T {
+- }
- return T;
-});
+"use strict";
@@ -19,31 +16,11 @@
+}
+module.exports = T;
//// [exportAssignmentOfGenericType1_1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
-define(["require", "exports", "exportAssignmentOfGenericType1_0"], function (require, exports, q) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
-- var M = /** @class */ (function (_super) {
-- __extends(M, _super);
-- function M() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return M;
-- }(q));
+- class M extends q {
+- }
- var m;
- var r = m.foo;
-});
diff --git a/testdata/baselines/reference/submodule/compiler/exportAssignmentWithExports.js.diff b/testdata/baselines/reference/submodule/compiler/exportAssignmentWithExports.js.diff
deleted file mode 100644
index b65a80a4b3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportAssignmentWithExports.js.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- old.exportAssignmentWithExports.js
-+++ new.exportAssignmentWithExports.js
-@@= skipped -7, +7 lines =@@
- //// [exportAssignmentWithExports.js]
- "use strict";
- exports.C = void 0;
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var D = /** @class */ (function () {
-- function D() {
-- }
-- return D;
--}());
-+class C {
-+}
-+class D {
-+}
- module.exports = D;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportClassExtendingIntersection.js.diff b/testdata/baselines/reference/submodule/compiler/exportClassExtendingIntersection.js.diff
index 1cc444edda..3ae7308b38 100644
--- a/testdata/baselines/reference/submodule/compiler/exportClassExtendingIntersection.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportClassExtendingIntersection.js.diff
@@ -1,95 +1,38 @@
--- old.exportClassExtendingIntersection.js
+++ new.exportClassExtendingIntersection.js
-@@= skipped -38, +38 lines =@@
- "use strict";
+@@= skipped -39, +39 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyBaseClass = void 0;
--var MyBaseClass = /** @class */ (function () {
-- function MyBaseClass(value) {
-- }
-- return MyBaseClass;
--}());
-+class MyBaseClass {
+ class MyBaseClass {
+ baseProperty;
-+ constructor(value) { }
-+}
+ constructor(value) { }
+ }
exports.MyBaseClass = MyBaseClass;
- //// [MixinClass.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -9, +10 lines =@@
exports.MyMixin = MyMixin;
function MyMixin(base) {
-- return /** @class */ (function (_super) {
-- __extends(class_1, _super);
-- function class_1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return class_1;
-- }(base));
-+ return class extends base {
+ return class extends base {
+ mixinProperty;
-+ };
+ };
}
//// [FinalClass.js]
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyExtendedClass = void 0;
-var BaseClass_1 = require("./BaseClass");
-var MixinClass_1 = require("./MixinClass");
--var MyExtendedClass = /** @class */ (function (_super) {
-- __extends(MyExtendedClass, _super);
-- function MyExtendedClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return MyExtendedClass;
--}((0, MixinClass_1.MyMixin)(BaseClass_1.MyBaseClass)));
+const BaseClass_1 = require("./BaseClass");
+const MixinClass_1 = require("./MixinClass");
-+class MyExtendedClass extends (0, MixinClass_1.MyMixin)(BaseClass_1.MyBaseClass) {
+ class MyExtendedClass extends (0, MixinClass_1.MyMixin)(BaseClass_1.MyBaseClass) {
+ extendedClassProperty;
-+}
+ }
exports.MyExtendedClass = MyExtendedClass;
//// [Main.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var FinalClass_1 = require("./FinalClass");
-var MixinClass_1 = require("./MixinClass");
--var myExtendedClass = new FinalClass_1.MyExtendedClass('string');
--var AnotherMixedClass = (0, MixinClass_1.MyMixin)(FinalClass_1.MyExtendedClass);
+const FinalClass_1 = require("./FinalClass");
+const MixinClass_1 = require("./MixinClass");
-+const myExtendedClass = new FinalClass_1.MyExtendedClass('string');
-+const AnotherMixedClass = (0, MixinClass_1.MyMixin)(FinalClass_1.MyExtendedClass);
-
-
- //// [BaseClass.d.ts]
\ No newline at end of file
+ const myExtendedClass = new FinalClass_1.MyExtendedClass('string');
+ const AnotherMixedClass = (0, MixinClass_1.MyMixin)(FinalClass_1.MyExtendedClass);
diff --git a/testdata/baselines/reference/submodule/compiler/exportDeclarationInInternalModule.js.diff b/testdata/baselines/reference/submodule/compiler/exportDeclarationInInternalModule.js.diff
index 7bd047fac6..532003c1eb 100644
--- a/testdata/baselines/reference/submodule/compiler/exportDeclarationInInternalModule.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportDeclarationInInternalModule.js.diff
@@ -1,64 +1,14 @@
--- old.exportDeclarationInInternalModule.js
+++ new.exportDeclarationInInternalModule.js
-@@= skipped -19, +19 lines =@@
-
-
- //// [exportDeclarationInInternalModule.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Bbb = /** @class */ (function () {
-- function Bbb() {
-- }
-- return Bbb;
--}());
--var Aaa = /** @class */ (function (_super) {
-- __extends(Aaa, _super);
-- function Aaa() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Aaa;
--}(Bbb));
-+class Bbb {
-+}
-+class Aaa extends Bbb {
-+}
- (function (Aaa) {
-- var SomeType = /** @class */ (function () {
-- function SomeType() {
-- }
-- return SomeType;
-- }());
-+ class SomeType {
-+ }
- Aaa.SomeType = SomeType;
- })(Aaa || (Aaa = {}));
- (function (Bbb) {
-- var SomeType = /** @class */ (function () {
-- function SomeType() {
-- }
-- return SomeType;
-- }());
-+ class SomeType {
-+ }
+@@= skipped -32, +32 lines =@@
+ class SomeType {
+ }
Bbb.SomeType = SomeType;
+ export * from Aaa; // this line causes the nullref
})(Bbb || (Bbb = {}));
var a;
-@@= skipped -58, +30 lines =@@
+@@= skipped -16, +17 lines =@@
declare namespace Bbb {
export class SomeType {
}
diff --git a/testdata/baselines/reference/submodule/compiler/exportDeclarationsInAmbientNamespaces.js.diff b/testdata/baselines/reference/submodule/compiler/exportDeclarationsInAmbientNamespaces.js.diff
deleted file mode 100644
index 9575ac25f3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportDeclarationsInAmbientNamespaces.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.exportDeclarationsInAmbientNamespaces.js
-+++ new.exportDeclarationsInAmbientNamespaces.js
-@@= skipped -10, +10 lines =@@
-
-
- //// [exportDeclarationsInAmbientNamespaces.js]
--Q.try(function () { });
-+Q.try(() => { });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportDefaultAbstractClass.js.diff b/testdata/baselines/reference/submodule/compiler/exportDefaultAbstractClass.js.diff
index d240134caf..b297e0f6f6 100644
--- a/testdata/baselines/reference/submodule/compiler/exportDefaultAbstractClass.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportDefaultAbstractClass.js.diff
@@ -1,71 +1,19 @@
--- old.exportDefaultAbstractClass.js
+++ new.exportDefaultAbstractClass.js
-@@= skipped -13, +13 lines =@@
-
- //// [a.js]
+@@= skipped -15, +15 lines =@@
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
+ class A {
+ a;
-+}
+ }
exports.default = A;
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class B extends A {
-+}
- new B().a.toExponential();
+ class B extends A {
+@@= skipped -8, +9 lines =@@
//// [b.js]
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
-var a_1 = require("./a");
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(a_1.default));
+const a_1 = require("./a");
-+class C extends a_1.default {
-+}
+ class C extends a_1.default {
+ }
new C().a.toExponential();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportDefaultClassAndValue.js.diff b/testdata/baselines/reference/submodule/compiler/exportDefaultClassAndValue.js.diff
deleted file mode 100644
index ffcdbfbb9b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportDefaultClassAndValue.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.exportDefaultClassAndValue.js
-+++ new.exportDefaultClassAndValue.js
-@@= skipped -8, +8 lines =@@
- //// [exportDefaultClassAndValue.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var foo = 1;
-+const foo = 1;
- exports.default = foo;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- exports.default = Foo;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportDefaultClassInNamespace.js.diff b/testdata/baselines/reference/submodule/compiler/exportDefaultClassInNamespace.js.diff
index 56fce75156..d19bd1bec2 100644
--- a/testdata/baselines/reference/submodule/compiler/exportDefaultClassInNamespace.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportDefaultClassInNamespace.js.diff
@@ -4,23 +4,15 @@
//// [exportDefaultClassInNamespace.js]
var ns_class;
(function (ns_class) {
-- var default_1 = /** @class */ (function () {
-- function default_1() {
-- }
-- return default_1;
-- }());
-- ns_class.default_1 = default_1;
+- class default_1 {
+ class {
-+ }
+ }
+- ns_class.default_1 = default_1;
})(ns_class || (ns_class = {}));
var ns_abstract_class;
(function (ns_abstract_class) {
-- var default_2 = /** @class */ (function () {
-- function default_2() {
-- }
-- return default_2;
-- }());
-- ns_abstract_class.default_2 = default_2;
+- class default_2 {
+ class {
-+ }
+ }
+- ns_abstract_class.default_2 = default_2;
})(ns_abstract_class || (ns_abstract_class = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportDefaultFunctionInNamespace.js.diff b/testdata/baselines/reference/submodule/compiler/exportDefaultFunctionInNamespace.js.diff
index e5c84d4391..67251ef572 100644
--- a/testdata/baselines/reference/submodule/compiler/exportDefaultFunctionInNamespace.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportDefaultFunctionInNamespace.js.diff
@@ -12,33 +12,6 @@
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
--};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
-};
var ns_function;
(function (ns_function) {
@@ -49,9 +22,7 @@
var ns_async_function;
(function (ns_async_function) {
- default function () {
-- return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) {
-- return [2 /*return*/];
-- }); });
+- return __awaiter(this, void 0, void 0, function* () { });
- }
- ns_async_function.default_2 = default_2;
+ async function () { }
diff --git a/testdata/baselines/reference/submodule/compiler/exportDefaultInterfaceClassAndValue.js.diff b/testdata/baselines/reference/submodule/compiler/exportDefaultInterfaceClassAndValue.js.diff
deleted file mode 100644
index 3dfc37ceca..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportDefaultInterfaceClassAndValue.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.exportDefaultInterfaceClassAndValue.js
-+++ new.exportDefaultInterfaceClassAndValue.js
-@@= skipped -9, +9 lines =@@
- //// [exportDefaultInterfaceClassAndValue.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var foo = 1;
-+const foo = 1;
- exports.default = foo;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- exports.default = Foo;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportDefaultParenthesize.js.diff b/testdata/baselines/reference/submodule/compiler/exportDefaultParenthesize.js.diff
deleted file mode 100644
index 8ff800fffd..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportDefaultParenthesize.js.diff
+++ /dev/null
@@ -1,68 +0,0 @@
---- old.exportDefaultParenthesize.js
-+++ new.exportDefaultParenthesize.js
-@@= skipped -36, +36 lines =@@
-
-
- //// [commalist.js]
--var _a;
--export default (_a = {},
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a['foo' + ''] = 42,
-- _a);
-+export default {
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+ ['foo' + '']: 42,
-+};
- //// [comma.js]
--var _a;
--export default (_a = {},
-- _a['foo'] = 42,
-- _a);
-+export default {
-+ ['foo']: 42
-+};
- //// [functionexpression.js]
--export default (function () { return 42; });
-+export default () => 42;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportDefaultProperty.js.diff b/testdata/baselines/reference/submodule/compiler/exportDefaultProperty.js.diff
index c47559b93f..94bf307b34 100644
--- a/testdata/baselines/reference/submodule/compiler/exportDefaultProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportDefaultProperty.js.diff
@@ -1,37 +1,19 @@
--- old.exportDefaultProperty.js
+++ new.exportDefaultProperty.js
-@@= skipped -43, +43 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- var A;
- (function (A) {
-- var B = /** @class */ (function () {
-- function B(b) {
-- }
-- return B;
-- }());
-+ class B {
-+ constructor(b) { }
-+ }
- A.B = B;
- (function (B) {
- B.b = 0;
-@@= skipped -19, +17 lines =@@
+@@= skipped -60, +60 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
///
-var foobar_1 = require("foobar");
-var X = foobar_1.default.X;
-var foobarx_1 = require("foobarx");
--var x = X;
--var x2 = foobarx_1.default;
--var a_1 = require("./a");
--var b = new a_1.default(a_1.default.b);
--var b_1 = require("./b");
+const foobar_1 = require("foobar");
+const foobarx_1 = require("foobarx");
-+const x = X;
-+const x2 = foobarx_1.default;
+ const x = X;
+ const x2 = foobarx_1.default;
+-var a_1 = require("./a");
+const a_1 = require("./a");
-+const b = new a_1.default(a_1.default.b);
+ const b = new a_1.default(a_1.default.b);
+-var b_1 = require("./b");
+const b_1 = require("./b");
b_1.default + 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportDefaultProperty2.js.diff b/testdata/baselines/reference/submodule/compiler/exportDefaultProperty2.js.diff
index d9be98bdbf..5fa7c36278 100644
--- a/testdata/baselines/reference/submodule/compiler/exportDefaultProperty2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportDefaultProperty2.js.diff
@@ -1,22 +1,15 @@
--- old.exportDefaultProperty2.js
+++ new.exportDefaultProperty2.js
-@@= skipped -17, +17 lines =@@
- //// [a.js]
+@@= skipped -18, +18 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ static B;
-+}
+ }
exports.default = C.B;
//// [b.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var a_1 = require("./a");
--var x = { c: a_1.default };
+const a_1 = require("./a");
-+const x = { c: a_1.default };
\ No newline at end of file
+ const x = { c: a_1.default };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportDefaultQualifiedNameNoError.js.diff b/testdata/baselines/reference/submodule/compiler/exportDefaultQualifiedNameNoError.js.diff
index 74d8fb8eab..f804de7c97 100644
--- a/testdata/baselines/reference/submodule/compiler/exportDefaultQualifiedNameNoError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportDefaultQualifiedNameNoError.js.diff
@@ -4,12 +4,12 @@
//// [code.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
--var C = /** @class */ (function () {
-- function C() {
+-let C = (() => {
+- class C {
- }
- C.x = 0;
- return C;
--}());
+-})();
+class C {
+ static x = 0;
+}
diff --git a/testdata/baselines/reference/submodule/compiler/exportDefaultTypeAndClass.js.diff b/testdata/baselines/reference/submodule/compiler/exportDefaultTypeAndClass.js.diff
deleted file mode 100644
index 2a92bd9ae6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportDefaultTypeAndClass.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.exportDefaultTypeAndClass.js
-+++ new.exportDefaultTypeAndClass.js
-@@= skipped -8, +8 lines =@@
- //// [exportDefaultTypeAndClass.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- exports.default = Foo;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportDefaultTypeClassAndValue.js.diff b/testdata/baselines/reference/submodule/compiler/exportDefaultTypeClassAndValue.js.diff
deleted file mode 100644
index 92cf2a530e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportDefaultTypeClassAndValue.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.exportDefaultTypeClassAndValue.js
-+++ new.exportDefaultTypeClassAndValue.js
-@@= skipped -10, +10 lines =@@
- //// [exportDefaultTypeClassAndValue.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var foo = 1;
-+const foo = 1;
- exports.default = foo;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- exports.default = Foo;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=amd,target=es5).js.diff b/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=amd,target=es5).js.diff
index 7658278340..c30d046ef8 100644
--- a/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=amd,target=es5).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=amd,target=es5).js.diff
@@ -8,7 +8,7 @@
- "use strict";
- var _a;
- Object.defineProperty(exports, "__esModule", { value: true });
-- exports._b = _a = [];
+- _a = [];
-});
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=commonjs,target=es5).js.diff b/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=commonjs,target=es5).js.diff
index 94c42b85a4..7cd9ae9902 100644
--- a/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=commonjs,target=es5).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=commonjs,target=es5).js.diff
@@ -6,5 +6,5 @@
"use strict";
-var _a;
Object.defineProperty(exports, "__esModule", { value: true });
--exports._b = _a = [];
+-_a = [];
+[] = [];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=es2015,target=es5).js.diff b/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=es2015,target=es5).js.diff
deleted file mode 100644
index 7b5fce3922..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=es2015,target=es5).js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.exportEmptyArrayBindingPattern(module=es2015,target=es5).js
-+++ new.exportEmptyArrayBindingPattern(module=es2015,target=es5).js
-@@= skipped -3, +3 lines =@@
- export const [] = [];
-
- //// [exportEmptyArrayBindingPattern.js]
--var _a;
--export var _b = _a = [];
-+export const [] = [];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=esnext,target=es5).js.diff b/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=esnext,target=es5).js.diff
deleted file mode 100644
index 3d38555a8f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=esnext,target=es5).js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.exportEmptyArrayBindingPattern(module=esnext,target=es5).js
-+++ new.exportEmptyArrayBindingPattern(module=esnext,target=es5).js
-@@= skipped -3, +3 lines =@@
- export const [] = [];
-
- //// [exportEmptyArrayBindingPattern.js]
--var _a;
--export var _b = _a = [];
-+export const [] = [];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=system,target=es5).js.diff b/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=system,target=es5).js.diff
index b31283529b..9adaf5d08f 100644
--- a/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=system,target=es5).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportEmptyArrayBindingPattern(module=system,target=es5).js.diff
@@ -6,12 +6,12 @@
//// [exportEmptyArrayBindingPattern.js]
-System.register([], function (exports_1, context_1) {
- "use strict";
-- var _a, _b;
+- var _a;
- var __moduleName = context_1 && context_1.id;
- return {
- setters: [],
- execute: function () {
-- exports_1("_b", _b = _a = []);
+- _a = [];
- }
- };
-});
diff --git a/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=amd,target=es5).js.diff b/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=amd,target=es5).js.diff
index 51f96fd991..0966a5e766 100644
--- a/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=amd,target=es5).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=amd,target=es5).js.diff
@@ -8,7 +8,7 @@
- "use strict";
- var _a;
- Object.defineProperty(exports, "__esModule", { value: true });
-- exports._b = _a = {};
+- _a = {};
-});
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=commonjs,target=es5).js.diff b/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=commonjs,target=es5).js.diff
index daca748a76..c2493909c9 100644
--- a/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=commonjs,target=es5).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=commonjs,target=es5).js.diff
@@ -6,5 +6,5 @@
"use strict";
-var _a;
Object.defineProperty(exports, "__esModule", { value: true });
--exports._b = _a = {};
+-_a = {};
+({} = {});
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=es2015,target=es5).js.diff b/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=es2015,target=es5).js.diff
deleted file mode 100644
index b96d248765..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=es2015,target=es5).js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.exportEmptyObjectBindingPattern(module=es2015,target=es5).js
-+++ new.exportEmptyObjectBindingPattern(module=es2015,target=es5).js
-@@= skipped -3, +3 lines =@@
- export const {} = {};
-
- //// [exportEmptyObjectBindingPattern.js]
--var _a;
--export var _b = _a = {};
-+export const {} = {};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=esnext,target=es5).js.diff b/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=esnext,target=es5).js.diff
deleted file mode 100644
index 2d2de9ee0e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=esnext,target=es5).js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.exportEmptyObjectBindingPattern(module=esnext,target=es5).js
-+++ new.exportEmptyObjectBindingPattern(module=esnext,target=es5).js
-@@= skipped -3, +3 lines =@@
- export const {} = {};
-
- //// [exportEmptyObjectBindingPattern.js]
--var _a;
--export var _b = _a = {};
-+export const {} = {};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=system,target=es5).js.diff b/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=system,target=es5).js.diff
index 5b64ebec54..93985f1655 100644
--- a/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=system,target=es5).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportEmptyObjectBindingPattern(module=system,target=es5).js.diff
@@ -6,12 +6,12 @@
//// [exportEmptyObjectBindingPattern.js]
-System.register([], function (exports_1, context_1) {
- "use strict";
-- var _a, _b;
+- var _a;
- var __moduleName = context_1 && context_1.id;
- return {
- setters: [],
- execute: function () {
-- exports_1("_b", _b = _a = {});
+- _a = {};
- }
- };
-});
diff --git a/testdata/baselines/reference/submodule/compiler/exportEqualsAmd.js.diff b/testdata/baselines/reference/submodule/compiler/exportEqualsAmd.js.diff
index 1954ae48e5..a35e55efc0 100644
--- a/testdata/baselines/reference/submodule/compiler/exportEqualsAmd.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportEqualsAmd.js.diff
@@ -6,8 +6,7 @@
//// [exportEqualsAmd.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
-- var _a;
-- return (_a = {}, _a["hi"] = "there", _a);
+- return { ["hi"]: "there" };
-});
+"use strict";
+module.exports = { ["hi"]: "there" };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportEqualsCommonJs.js.diff b/testdata/baselines/reference/submodule/compiler/exportEqualsCommonJs.js.diff
deleted file mode 100644
index 1a1b490f26..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportEqualsCommonJs.js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.exportEqualsCommonJs.js
-+++ new.exportEqualsCommonJs.js
-@@= skipped -4, +4 lines =@@
-
- //// [exportEqualsCommonJs.js]
- "use strict";
--var _a;
--module.exports = (_a = {}, _a["hi"] = "there", _a);
-+module.exports = { ["hi"]: "there" };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportEqualsProperty.js.diff b/testdata/baselines/reference/submodule/compiler/exportEqualsProperty.js.diff
index 534c5ac6d0..8e802fff75 100644
--- a/testdata/baselines/reference/submodule/compiler/exportEqualsProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportEqualsProperty.js.diff
@@ -1,36 +1,18 @@
--- old.exportEqualsProperty.js
+++ new.exportEqualsProperty.js
-@@= skipped -41, +41 lines =@@
- "use strict";
- var A;
- (function (A) {
-- var B = /** @class */ (function () {
-- function B(b) {
-- }
-- return B;
-- }());
-+ class B {
-+ constructor(b) { }
-+ }
- A.B = B;
- (function (B) {
- B.b = 0;
-@@= skipped -18, +16 lines =@@
+@@= skipped -57, +57 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
///
-var foobar_1 = require("foobar");
-var X2 = require("foobarx");
--var x = foobar_1.X;
--var x2 = X2;
--var B = require("./a");
--var b = new B(B.b);
--var fooLength = require("./b");
+const foobar_1 = require("foobar");
+const X2 = require("foobarx");
-+const x = foobar_1.X;
-+const x2 = X2;
+ const x = foobar_1.X;
+ const x2 = X2;
+-var B = require("./a");
+const B = require("./a");
-+const b = new B(B.b);
+ const b = new B(B.b);
+-var fooLength = require("./b");
+const fooLength = require("./b");
fooLength + 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportEqualsProperty2.js.diff b/testdata/baselines/reference/submodule/compiler/exportEqualsProperty2.js.diff
index 959601fbbc..8c18c82539 100644
--- a/testdata/baselines/reference/submodule/compiler/exportEqualsProperty2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportEqualsProperty2.js.diff
@@ -1,22 +1,15 @@
--- old.exportEqualsProperty2.js
+++ new.exportEqualsProperty2.js
-@@= skipped -16, +16 lines =@@
-
+@@= skipped -17, +17 lines =@@
//// [a.js]
"use strict";
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ static B;
-+}
+ }
module.exports = C.B;
//// [b.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var B = require("./a");
--var x = { c: B };
+const B = require("./a");
-+const x = { c: B };
\ No newline at end of file
+ const x = { c: B };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportEqualsUmd.js.diff b/testdata/baselines/reference/submodule/compiler/exportEqualsUmd.js.diff
index 96b3295f05..2cd5e665c2 100644
--- a/testdata/baselines/reference/submodule/compiler/exportEqualsUmd.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportEqualsUmd.js.diff
@@ -14,8 +14,7 @@
- }
-})(function (require, exports) {
- "use strict";
-- var _a;
-- return (_a = {}, _a["hi"] = "there", _a);
+- return { ["hi"]: "there" };
-});
+"use strict";
+module.exports = { ["hi"]: "there" };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportImport.js.diff b/testdata/baselines/reference/submodule/compiler/exportImport.js.diff
index 3578035a48..5faaa66b68 100644
--- a/testdata/baselines/reference/submodule/compiler/exportImport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportImport.js.diff
@@ -6,12 +6,11 @@
//// [w1.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
-- var Widget1 = /** @class */ (function () {
-- function Widget1() {
+- class Widget1 {
+- constructor() {
- this.name = 'one';
- }
-- return Widget1;
-- }());
+- }
- return Widget1;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/exportImportAndClodule.js.diff b/testdata/baselines/reference/submodule/compiler/exportImportAndClodule.js.diff
index 279ad63d72..7e1ebb6309 100644
--- a/testdata/baselines/reference/submodule/compiler/exportImportAndClodule.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportImportAndClodule.js.diff
@@ -1,19 +1,10 @@
--- old.exportImportAndClodule.js
+++ new.exportImportAndClodule.js
-@@= skipped -23, +23 lines =@@
- //// [exportImportAndClodule.js]
+@@= skipped -24, +24 lines =@@
var K;
(function (K) {
-- var L = /** @class */ (function () {
-- function L(name) {
-+ class L {
+ class L {
+ name;
-+ constructor(name) {
+ constructor(name) {
this.name = name;
- }
-- return L;
-- }());
-+ }
- K.L = L;
- (function (L) {
- L.y = 12;
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportImportCanSubstituteConstEnumForValue.js.diff b/testdata/baselines/reference/submodule/compiler/exportImportCanSubstituteConstEnumForValue.js.diff
index e617d4c331..dfa5fdacb1 100644
--- a/testdata/baselines/reference/submodule/compiler/exportImportCanSubstituteConstEnumForValue.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportImportCanSubstituteConstEnumForValue.js.diff
@@ -39,27 +39,20 @@
- var ViewModels;
+ let ViewModels;
(function (ViewModels) {
-- var SomeUsagesOfTheseConsts = /** @class */ (function () {
-- function SomeUsagesOfTheseConsts() {
+ ViewModels.ReExportedEnum = Dialogs.DialogResult;
+ /**
+ * Not exported to show difference. No javascript is emmitted (as expected)
+ */
+ var DialogButtons = Dialogs.MessageBoxButtons;
+ ViewModels.Callback = Dialogs.DialogResultCallback;
-+ class SomeUsagesOfTheseConsts {
-+ constructor() {
+ class SomeUsagesOfTheseConsts {
+ constructor() {
// these do get replaced by the const value
-- var value1 = 1 /* ReExportedEnum.Cancel */;
+- const value1 = 1 /* ReExportedEnum.Cancel */;
+ const value1 = ViewModels.ReExportedEnum.Cancel;
console.log(value1);
-- var value2 = 2 /* DialogButtons.OKCancel */;
+- const value2 = 2 /* DialogButtons.OKCancel */;
+ const value2 = DialogButtons.OKCancel;
console.log(value2);
}
-- return SomeUsagesOfTheseConsts;
-- }());
-+ }
- ViewModels.SomeUsagesOfTheseConsts = SomeUsagesOfTheseConsts;
- })(ViewModels = MsPortalFx.ViewModels || (MsPortalFx.ViewModels = {}));
- })(MsPortalFx || (MsPortalFx = {}));
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportInterfaceClassAndValueWithDuplicatesInImportList.js.diff b/testdata/baselines/reference/submodule/compiler/exportInterfaceClassAndValueWithDuplicatesInImportList.js.diff
deleted file mode 100644
index 922c153a45..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportInterfaceClassAndValueWithDuplicatesInImportList.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.exportInterfaceClassAndValueWithDuplicatesInImportList.js
-+++ new.exportInterfaceClassAndValueWithDuplicatesInImportList.js
-@@= skipped -11, +11 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Foo = exports.foo = void 0;
--var foo = 1;
-+const foo = 1;
- exports.foo = foo;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- exports.Foo = Foo;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportObjectRest(module=es2015,target=es5).js.diff b/testdata/baselines/reference/submodule/compiler/exportObjectRest(module=es2015,target=es5).js.diff
index 67ae884b7c..d76b066c0f 100644
--- a/testdata/baselines/reference/submodule/compiler/exportObjectRest(module=es2015,target=es5).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportObjectRest(module=es2015,target=es5).js.diff
@@ -5,5 +5,5 @@
//// [exportObjectRest.js]
-var _a;
--export var x = (_a = { x: 'x', y: 'y' }, _a).x, rest = __rest(_a, ["x"]);
+-export const { x } = (_a = { x: 'x', y: 'y' }, _a), rest = __rest(_a, ["x"]);
+export const { x, ...rest } = { x: 'x', y: 'y' };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportObjectRest(module=esnext,target=es5).js.diff b/testdata/baselines/reference/submodule/compiler/exportObjectRest(module=esnext,target=es5).js.diff
index 0a6f185bb4..fdeae6fac4 100644
--- a/testdata/baselines/reference/submodule/compiler/exportObjectRest(module=esnext,target=es5).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportObjectRest(module=esnext,target=es5).js.diff
@@ -5,5 +5,5 @@
//// [exportObjectRest.js]
-var _a;
--export var x = (_a = { x: 'x', y: 'y' }, _a).x, rest = __rest(_a, ["x"]);
+-export const { x } = (_a = { x: 'x', y: 'y' }, _a), rest = __rest(_a, ["x"]);
+export const { x, ...rest } = { x: 'x', y: 'y' };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportPrivateType.js.diff b/testdata/baselines/reference/submodule/compiler/exportPrivateType.js.diff
index a29f11f599..610eb8a589 100644
--- a/testdata/baselines/reference/submodule/compiler/exportPrivateType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportPrivateType.js.diff
@@ -1,26 +1,11 @@
--- old.exportPrivateType.js
+++ new.exportPrivateType.js
-@@= skipped -34, +34 lines =@@
- //// [exportPrivateType.js]
+@@= skipped -35, +35 lines =@@
var foo;
(function (foo) {
-- var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
-- }());
-- var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- C2.prototype.test = function () { return true; };
-- return C2;
-- }());
-+ class C1 {
+ class C1 {
+ x;
+ y;
-+ }
-+ class C2 {
-+ test() { return true; }
-+ }
- })(foo || (foo = {}));
- var y = foo.g; // Exported variable 'y' has or is using private type 'foo.C2'.
\ No newline at end of file
+ }
+ class C2 {
+ test() { return true; }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportStarFromEmptyModule.js.diff b/testdata/baselines/reference/submodule/compiler/exportStarFromEmptyModule.js.diff
index 3613cda1ed..432060c372 100644
--- a/testdata/baselines/reference/submodule/compiler/exportStarFromEmptyModule.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportStarFromEmptyModule.js.diff
@@ -1,32 +1,19 @@
--- old.exportStarFromEmptyModule.js
+++ new.exportStarFromEmptyModule.js
-@@= skipped -25, +25 lines =@@
- "use strict";
+@@= skipped -26, +26 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
+ class A {
+ static r;
-+}
+ }
exports.A = A;
//// [exportStarFromEmptyModule_module2.js]
- // empty
-@@= skipped -28, +26 lines =@@
- exports.A = void 0;
+@@= skipped -25, +26 lines =@@
__exportStar(require("./exportStarFromEmptyModule_module2"), exports);
__exportStar(require("./exportStarFromEmptyModule_module1"), exports);
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
+ class A {
+ static q;
-+}
+ }
exports.A = A;
//// [exportStarFromEmptyModule_module4.js]
"use strict";
@@ -36,7 +23,7 @@
var s;
X.A.q;
X.A.r; // Error
-@@= skipped -20, +18 lines =@@
+@@= skipped -16, +17 lines =@@
static r: any;
}
//// [exportStarFromEmptyModule_module2.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/exportStarNotElided.js.diff b/testdata/baselines/reference/submodule/compiler/exportStarNotElided.js.diff
index f7893c825f..713223991b 100644
--- a/testdata/baselines/reference/submodule/compiler/exportStarNotElided.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportStarNotElided.js.diff
@@ -1,15 +1,6 @@
--- old.exportStarNotElided.js
+++ new.exportStarNotElided.js
-@@= skipped -16, +16 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.register = register;
--var r = [];
-+const r = [];
- function register(data) {
- r.push(data);
- }
-@@= skipped -28, +28 lines =@@
+@@= skipped -44, +44 lines =@@
//// [data1.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/exportToString.js.diff b/testdata/baselines/reference/submodule/compiler/exportToString.js.diff
deleted file mode 100644
index 1083e4f81a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportToString.js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.exportToString.js
-+++ new.exportToString.js
-@@= skipped -8, +8 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.toString = void 0;
--var toString = 0;
-+const toString = 0;
- exports.toString = toString;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportVisibility.js.diff b/testdata/baselines/reference/submodule/compiler/exportVisibility.js.diff
deleted file mode 100644
index 1674709bf1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/exportVisibility.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.exportVisibility.js
-+++ new.exportVisibility.js
-@@= skipped -15, +15 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.foo = exports.Foo = void 0;
- exports.test = test;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- exports.Foo = Foo;
- exports.foo = new Foo();
- function test(foo) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/exportedBlockScopedDeclarations.js.diff b/testdata/baselines/reference/submodule/compiler/exportedBlockScopedDeclarations.js.diff
index e7980f668c..936f163296 100644
--- a/testdata/baselines/reference/submodule/compiler/exportedBlockScopedDeclarations.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportedBlockScopedDeclarations.js.diff
@@ -8,19 +8,19 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.bar1 = exports.bar = void 0;
-- var foo = foo; // compile error
+- const foo = foo; // compile error
- exports.bar = exports.bar; // should be compile error
- function f() {
-- var bar = bar; // compile error
+- const bar = bar; // compile error
- }
- var NS;
- (function (NS) {
- NS.bar = NS.bar; // should be compile error
- })(NS || (NS = {}));
-- var foo1 = foo1; // compile error
+- let foo1 = foo1; // compile error
- exports.bar1 = exports.bar1; // should be compile error
- function f1() {
-- var bar1 = bar1; // compile error
+- let bar1 = bar1; // compile error
- }
- var NS1;
- (function (NS1) {
diff --git a/testdata/baselines/reference/submodule/compiler/exportingContainingVisibleType.js.diff b/testdata/baselines/reference/submodule/compiler/exportingContainingVisibleType.js.diff
index 79b24854b2..cec4e1b09b 100644
--- a/testdata/baselines/reference/submodule/compiler/exportingContainingVisibleType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/exportingContainingVisibleType.js.diff
@@ -8,21 +8,11 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.x = void 0;
-- var Foo = /** @class */ (function () {
-- function Foo() {
+- class Foo {
+- get foo() {
+- var i;
+- return i; // Should be fine (previous bug report visibility error).
- }
-- Object.defineProperty(Foo.prototype, "foo", {
-- get: function () {
-- var i;
-- return i; // Should be fine (previous bug report visibility error).
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return Foo;
-- }());
-- exports.x = 5;
--});
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.x = void 0;
@@ -30,6 +20,8 @@
+ get foo() {
+ var i;
+ return i; // Should be fine (previous bug report visibility error).
-+ }
+ }
+- exports.x = 5;
+-});
+}
+exports.x = 5;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/expressionTypeNodeShouldError.js.diff b/testdata/baselines/reference/submodule/compiler/expressionTypeNodeShouldError.js.diff
deleted file mode 100644
index 82144a6764..0000000000
--- a/testdata/baselines/reference/submodule/compiler/expressionTypeNodeShouldError.js.diff
+++ /dev/null
@@ -1,59 +0,0 @@
---- old.expressionTypeNodeShouldError.js
-+++ new.expressionTypeNodeShouldError.js
-@@= skipped -47, +47 lines =@@
-
-
- //// [string.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.foo = function () {
-- var x;
-+class C {
-+ foo() {
-+ const x;
- typeof (this.foo);
-- };
-- return C;
--}());
--var nodes = document.getElementsByTagName("li");
-+ }
-+}
-+const nodes = document.getElementsByTagName("li");
- typeof (nodes.item(0));
- //// [number.js]
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- C2.prototype.foo = function () {
-- var x;
-+class C2 {
-+ foo() {
-+ const x;
- typeof (this.foo);
-- };
-- return C2;
--}());
--var nodes2 = document.getElementsByTagName("li");
-+ }
-+}
-+const nodes2 = document.getElementsByTagName("li");
- typeof (nodes.item(0));
- //// [boolean.js]
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- C3.prototype.foo = function () {
-- var x;
-+class C3 {
-+ foo() {
-+ const x;
- typeof (this.foo);
-- };
-- return C3;
--}());
--var nodes3 = document.getElementsByTagName("li");
-+ }
-+}
-+const nodes3 = document.getElementsByTagName("li");
- typeof (nodes.item(0));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/expressionWithJSDocTypeArguments.js.diff b/testdata/baselines/reference/submodule/compiler/expressionWithJSDocTypeArguments.js.diff
index fc4c23d132..269ca2f526 100644
--- a/testdata/baselines/reference/submodule/compiler/expressionWithJSDocTypeArguments.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/expressionWithJSDocTypeArguments.js.diff
@@ -7,25 +7,21 @@
-"use strict";
// Repro from #51802
function foo(x) { return x; }
--var Bar = /** @class */ (function () {
-- function Bar(x) {
-+class Bar {
+ class Bar {
+ x;
-+ constructor(x) {
+ constructor(x) {
this.x = x;
}
-- return Bar;
--}());
-+}
+ }
// Errors expected on all of the following
--var WhatFoo = foo>;
--var HuhFoo = foo;
--var NopeFoo = foo;
--var ComeOnFoo = foo?string>;
--var WhatBar = Bar>;
--var HuhBar = Bar;
--var NopeBar = Bar;
--var ComeOnBar = Bar?string>;
+-const WhatFoo = foo>;
+-const HuhFoo = foo;
+-const NopeFoo = foo;
+-const ComeOnFoo = foo?string>;
+-const WhatBar = Bar>;
+-const HuhBar = Bar;
+-const NopeBar = Bar;
+-const ComeOnBar = Bar?string>;
+const WhatFoo = foo;
+const HuhFoo = foo;
+const NopeFoo = foo;
diff --git a/testdata/baselines/reference/submodule/compiler/expressionsForbiddenInParameterInitializers.js.diff b/testdata/baselines/reference/submodule/compiler/expressionsForbiddenInParameterInitializers.js.diff
index 14f8a041c6..2367d8dab0 100644
--- a/testdata/baselines/reference/submodule/compiler/expressionsForbiddenInParameterInitializers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/expressionsForbiddenInParameterInitializers.js.diff
@@ -12,78 +12,14 @@
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
--};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
-};
Object.defineProperty(exports, "__esModule", { value: true });
exports.foo = foo;
exports.foo2 = foo2;
-function foo(_a) {
-- return __awaiter(this, arguments, void 0, function (_b) {
-- var _c, foo, _d;
-- return __generator(this, function (_e) {
-- switch (_e.label) {
-- case 0:
-- _c = _b.foo;
-- if (!(_c === void 0)) return [3 /*break*/, 2];
-- return [4 /*yield*/, Promise.resolve().then(function () { return require("./bar"); })];
-- case 1:
-- _d = _e.sent();
-- return [3 /*break*/, 3];
-- case 2:
-- _d = _c;
-- _e.label = 3;
-- case 3:
-- foo = _d;
-- return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, arguments, void 0, function* ({ foo = yield Promise.resolve().then(function () { return require("./bar"); }) }) {
- });
+async function foo({ foo = await Promise.resolve().then(() => require("./bar")) }) {
}
--function foo2(_a) {
-- var _b, foo, _c;
-- return __generator(this, function (_d) {
-- switch (_d.label) {
-- case 0:
-- _b = _a.foo;
-- if (!(_b === void 0)) return [3 /*break*/, 2];
-- return [4 /*yield*/, "a"];
-- case 1:
-- _c = _d.sent();
-- return [3 /*break*/, 3];
-- case 2:
-- _c = _b;
-- _d.label = 3;
-- case 3:
-- foo = _c;
-- return [2 /*return*/];
-- }
-- });
-+function* foo2({ foo = yield "a" }) {
+ function* foo2({ foo = yield "a" }) {
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/extBaseClass1.js.diff b/testdata/baselines/reference/submodule/compiler/extBaseClass1.js.diff
index fe137b0f97..58736232a0 100644
--- a/testdata/baselines/reference/submodule/compiler/extBaseClass1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/extBaseClass1.js.diff
@@ -1,69 +1,22 @@
--- old.extBaseClass1.js
+++ new.extBaseClass1.js
-@@= skipped -21, +21 lines =@@
-
-
- //// [extBaseClass1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
+@@= skipped -24, +24 lines =@@
var M;
(function (M) {
-- var B = /** @class */ (function () {
-- function B() {
+ class B {
+- constructor() {
- this.x = 10;
- }
-- return B;
-- }());
-+ class B {
+ x = 10;
-+ }
+ }
M.B = B;
-- var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
-- }(B));
-+ class C extends B {
-+ }
+ class C extends B {
+@@= skipped -10, +8 lines =@@
M.C = C;
})(M || (M = {}));
(function (M) {
-- var C2 = /** @class */ (function (_super) {
-- __extends(C2, _super);
-- function C2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C2;
-- }(M.B));
+- class C2 extends M.B {
+ class C2 extends B {
-+ }
+ }
M.C2 = C2;
- })(M || (M = {}));
- var N;
- (function (N) {
-- var C3 = /** @class */ (function (_super) {
-- __extends(C3, _super);
-- function C3() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C3;
-- }(M.B));
-+ class C3 extends M.B {
-+ }
- N.C3 = C3;
- })(N || (N = {}));
\ No newline at end of file
+ })(M || (M = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/extBaseClass2.js.diff b/testdata/baselines/reference/submodule/compiler/extBaseClass2.js.diff
deleted file mode 100644
index 3c9560d8f3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/extBaseClass2.js.diff
+++ /dev/null
@@ -1,47 +0,0 @@
---- old.extBaseClass2.js
-+++ new.extBaseClass2.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [extBaseClass2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var N;
- (function (N) {
-- var C4 = /** @class */ (function (_super) {
-- __extends(C4, _super);
-- function C4() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C4;
-- }(M.B));
-+ class C4 extends M.B {
-+ }
- N.C4 = C4;
- })(N || (N = {}));
- var M;
- (function (M) {
-- var C5 = /** @class */ (function (_super) {
-- __extends(C5, _super);
-- function C5() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C5;
-- }(B));
-+ class C5 extends B {
-+ }
- M.C5 = C5;
- })(M || (M = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/extendAndImplementTheSameBaseType.js.diff b/testdata/baselines/reference/submodule/compiler/extendAndImplementTheSameBaseType.js.diff
index 3ec02d2e68..727d0136ee 100644
--- a/testdata/baselines/reference/submodule/compiler/extendAndImplementTheSameBaseType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/extendAndImplementTheSameBaseType.js.diff
@@ -1,45 +1,10 @@
--- old.extendAndImplementTheSameBaseType.js
+++ new.extendAndImplementTheSameBaseType.js
-@@= skipped -15, +15 lines =@@
- d.foo;
+@@= skipped -16, +16 lines =@@
//// [extendAndImplementTheSameBaseType.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.bar = function () { };
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- D.prototype.baz = function () { };
-- return D;
--}(C));
-+class C {
+ class C {
+ foo;
-+ bar() { }
-+}
-+class D extends C {
-+ baz() { }
-+}
- var c;
- var d = new D();
- d.bar();
\ No newline at end of file
+ bar() { }
+ }
+ class D extends C {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/extendAndImplementTheSameBaseType2.js.diff b/testdata/baselines/reference/submodule/compiler/extendAndImplementTheSameBaseType2.js.diff
index b0353c9cfc..21a9efaaec 100644
--- a/testdata/baselines/reference/submodule/compiler/extendAndImplementTheSameBaseType2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/extendAndImplementTheSameBaseType2.js.diff
@@ -1,47 +1,10 @@
--- old.extendAndImplementTheSameBaseType2.js
+++ new.extendAndImplementTheSameBaseType2.js
-@@= skipped -18, +18 lines =@@
- var r4: number = d.bar();
+@@= skipped -19, +19 lines =@@
//// [extendAndImplementTheSameBaseType2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.bar = function () {
-+class C {
+ class C {
+ foo;
-+ bar() {
+ bar() {
return null;
-- };
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- return _super !== null && _super.apply(this, arguments) || this;
- }
-- D.prototype.baz = function () { };
-- return D;
--}(C));
-+}
-+class D extends C {
-+ baz() { }
-+}
- var d = new D();
- var r = d.foo;
- var r2 = d.foo;
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/extendBaseClassBeforeItsDeclared.js.diff b/testdata/baselines/reference/submodule/compiler/extendBaseClassBeforeItsDeclared.js.diff
index 4e4d43e091..e96422730d 100644
--- a/testdata/baselines/reference/submodule/compiler/extendBaseClassBeforeItsDeclared.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/extendBaseClassBeforeItsDeclared.js.diff
@@ -1,40 +1,10 @@
--- old.extendBaseClassBeforeItsDeclared.js
+++ new.extendBaseClassBeforeItsDeclared.js
-@@= skipped -5, +5 lines =@@
- class base { constructor (public n: number) { } }
-
- //// [extendBaseClassBeforeItsDeclared.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var derived = /** @class */ (function (_super) {
-- __extends(derived, _super);
-- function derived() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return derived;
--}(base));
--var base = /** @class */ (function () {
-- function base(n) {
-+class derived extends base {
-+}
-+class base {
+@@= skipped -8, +8 lines =@@
+ class derived extends base {
+ }
+ class base {
+ n;
-+ constructor(n) {
+ constructor(n) {
this.n = n;
- }
-- return base;
--}());
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/extendConstructSignatureInInterface.js.diff b/testdata/baselines/reference/submodule/compiler/extendConstructSignatureInInterface.js.diff
deleted file mode 100644
index 9923a9aebc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/extendConstructSignatureInInterface.js.diff
+++ /dev/null
@@ -1,32 +0,0 @@
---- old.extendConstructSignatureInInterface.js
-+++ new.extendConstructSignatureInInterface.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [extendConstructSignatureInInterface.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var CStatic;
--var E = /** @class */ (function (_super) {
-- __extends(E, _super);
-- function E() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return E;
--}(CStatic));
-+class E extends CStatic {
-+}
- var e = new E(1);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/extendFromAny.js.diff b/testdata/baselines/reference/submodule/compiler/extendFromAny.js.diff
index dbc3bed1cb..7668d6323a 100644
--- a/testdata/baselines/reference/submodule/compiler/extendFromAny.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/extendFromAny.js.diff
@@ -4,37 +4,20 @@
//// [extendFromAny.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this.known = 1;
-- return _this;
+-let C = (() => {
+- class C extends Base {
+- constructor() {
+- super(...arguments);
+- this.known = 1;
+- }
- }
- C.sknown = 2;
- return C;
--}(Base));
--var c = new C();
+-})();
+class C extends Base {
+ known = 1;
+ static sknown = 2;
+}
-+let c = new C();
+ let c = new C();
c.known.length; // error, 'known' has no 'length' property
- C.sknown.length; // error, 'sknown' has no 'length' property
- c.unknown.length; // ok, unknown: any
\ No newline at end of file
+ C.sknown.length; // error, 'sknown' has no 'length' property
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/extendNonClassSymbol1.js.diff b/testdata/baselines/reference/submodule/compiler/extendNonClassSymbol1.js.diff
deleted file mode 100644
index 52e885c94e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/extendNonClassSymbol1.js.diff
+++ /dev/null
@@ -1,40 +0,0 @@
---- old.extendNonClassSymbol1.js
-+++ new.extendNonClassSymbol1.js
-@@= skipped -5, +5 lines =@@
- class C extends x { } // error, could not find symbol xs
-
- //// [extendNonClassSymbol1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.foo = function () { };
-- return A;
--}());
-+class A {
-+ foo() { }
-+}
- var x = A;
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(x)); // error, could not find symbol xs
-+class C extends x {
-+} // error, could not find symbol xs
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/extendNonClassSymbol2.js.diff b/testdata/baselines/reference/submodule/compiler/extendNonClassSymbol2.js.diff
deleted file mode 100644
index d47f59cebb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/extendNonClassSymbol2.js.diff
+++ /dev/null
@@ -1,34 +0,0 @@
---- old.extendNonClassSymbol2.js
-+++ new.extendNonClassSymbol2.js
-@@= skipped -7, +7 lines =@@
- class C extends Foo {} // error, could not find symbol Foo
-
- //// [extendNonClassSymbol2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- function Foo() {
- this.x = 1;
- }
- var x = new Foo(); // legal, considered a constructor function
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(Foo)); // error, could not find symbol Foo
-+class C extends Foo {
-+} // error, could not find symbol Foo
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/extendPrivateConstructorClass.js.diff b/testdata/baselines/reference/submodule/compiler/extendPrivateConstructorClass.js.diff
deleted file mode 100644
index b2907d05b8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/extendPrivateConstructorClass.js.diff
+++ /dev/null
@@ -1,30 +0,0 @@
---- old.extendPrivateConstructorClass.js
-+++ new.extendPrivateConstructorClass.js
-@@= skipped -11, +11 lines =@@
-
-
- //// [extendPrivateConstructorClass.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(abc.XYZ));
-+class C extends abc.XYZ {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/extendingClassFromAliasAndUsageInIndexer.js.diff b/testdata/baselines/reference/submodule/compiler/extendingClassFromAliasAndUsageInIndexer.js.diff
index 400cdb1837..a59c81ff2f 100644
--- a/testdata/baselines/reference/submodule/compiler/extendingClassFromAliasAndUsageInIndexer.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/extendingClassFromAliasAndUsageInIndexer.js.diff
@@ -1,79 +1,29 @@
--- old.extendingClassFromAliasAndUsageInIndexer.js
+++ new.extendingClassFromAliasAndUsageInIndexer.js
-@@= skipped -35, +35 lines =@@
- "use strict";
+@@= skipped -36, +36 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Model = void 0;
--var Model = /** @class */ (function () {
-- function Model() {
-- }
-- return Model;
--}());
-+class Model {
+ class Model {
+ someData;
-+}
+ }
exports.Model = Model;
//// [extendingClassFromAliasAndUsageInIndexer_moduleA.js]
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.VisualizationModel = void 0;
-var Backbone = require("./extendingClassFromAliasAndUsageInIndexer_backbone");
--var VisualizationModel = /** @class */ (function (_super) {
-- __extends(VisualizationModel, _super);
-- function VisualizationModel() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return VisualizationModel;
--}(Backbone.Model));
+const Backbone = require("./extendingClassFromAliasAndUsageInIndexer_backbone");
-+class VisualizationModel extends Backbone.Model {
-+}
+ class VisualizationModel extends Backbone.Model {
+ }
exports.VisualizationModel = VisualizationModel;
- //// [extendingClassFromAliasAndUsageInIndexer_moduleB.js]
+@@= skipped -14, +15 lines =@@
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.VisualizationModel = void 0;
-var Backbone = require("./extendingClassFromAliasAndUsageInIndexer_backbone");
--var VisualizationModel = /** @class */ (function (_super) {
-- __extends(VisualizationModel, _super);
-- function VisualizationModel() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return VisualizationModel;
--}(Backbone.Model));
+const Backbone = require("./extendingClassFromAliasAndUsageInIndexer_backbone");
-+class VisualizationModel extends Backbone.Model {
-+}
+ class VisualizationModel extends Backbone.Model {
+ }
exports.VisualizationModel = VisualizationModel;
//// [extendingClassFromAliasAndUsageInIndexer_main.js]
"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/extendsClauseAlreadySeen.js.diff b/testdata/baselines/reference/submodule/compiler/extendsClauseAlreadySeen.js.diff
deleted file mode 100644
index ab7b4bcb85..0000000000
--- a/testdata/baselines/reference/submodule/compiler/extendsClauseAlreadySeen.js.diff
+++ /dev/null
@@ -1,39 +0,0 @@
---- old.extendsClauseAlreadySeen.js
-+++ new.extendsClauseAlreadySeen.js
-@@= skipped -8, +8 lines =@@
- }
-
- //// [extendsClauseAlreadySeen.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- D.prototype.baz = function () { };
-- return D;
--}(C));
-+class C {
-+}
-+class D extends C extends C {
-+ baz() { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/extendsClauseAlreadySeen2.js.diff b/testdata/baselines/reference/submodule/compiler/extendsClauseAlreadySeen2.js.diff
deleted file mode 100644
index 0d3d2a2c38..0000000000
--- a/testdata/baselines/reference/submodule/compiler/extendsClauseAlreadySeen2.js.diff
+++ /dev/null
@@ -1,39 +0,0 @@
---- old.extendsClauseAlreadySeen2.js
-+++ new.extendsClauseAlreadySeen2.js
-@@= skipped -8, +8 lines =@@
- }
-
- //// [extendsClauseAlreadySeen2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- D.prototype.baz = function () { };
-- return D;
--}(C));
-+class C {
-+}
-+class D extends C extends C {
-+ baz() { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/extendsUntypedModule.js.diff b/testdata/baselines/reference/submodule/compiler/extendsUntypedModule.js.diff
index 0eb86c075c..d056bffce9 100644
--- a/testdata/baselines/reference/submodule/compiler/extendsUntypedModule.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/extendsUntypedModule.js.diff
@@ -1,35 +1,11 @@
--- old.extendsUntypedModule.js
+++ new.extendsUntypedModule.js
-@@= skipped -13, +13 lines =@@
-
- //// [a.js]
+@@= skipped -15, +15 lines =@@
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.A = void 0;
-var foo_1 = require("foo");
--var A = /** @class */ (function (_super) {
-- __extends(A, _super);
-- function A() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return A;
--}(foo_1.default));
+const foo_1 = require("foo");
-+class A extends foo_1.default {
-+}
+ class A extends foo_1.default {
+ }
exports.A = A;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/externModule.js.diff b/testdata/baselines/reference/submodule/compiler/externModule.js.diff
deleted file mode 100644
index aad019b3e5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/externModule.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.externModule.js
-+++ new.externModule.js
-@@= skipped -44, +44 lines =@@
- declare;
- module;
- {
-- var XDate = /** @class */ (function () {
-- function XDate() {
-- }
-- return XDate;
-- }());
-- export { XDate };
-+ export class XDate {
-+ }
- }
- var d = new XDate();
- d.getDay();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/externalModuleAssignToVar.js.diff b/testdata/baselines/reference/submodule/compiler/externalModuleAssignToVar.js.diff
index cac46db007..ebfeee4a4b 100644
--- a/testdata/baselines/reference/submodule/compiler/externalModuleAssignToVar.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/externalModuleAssignToVar.js.diff
@@ -8,31 +8,22 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.C = void 0;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
+- class C {
+- }
- exports.C = C;
-});
-//// [externalModuleAssignToVar_core_require2.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
+- class C {
+- }
- return C;
-});
-//// [externalModuleAssignToVar_ext.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
-- var D = /** @class */ (function () {
-- function D() {
-- }
-- return D;
-- }());
+- class D {
+- }
- return D;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/externalModuleExportingGenericClass.js.diff b/testdata/baselines/reference/submodule/compiler/externalModuleExportingGenericClass.js.diff
index f9f2c92f98..33c84a2710 100644
--- a/testdata/baselines/reference/submodule/compiler/externalModuleExportingGenericClass.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/externalModuleExportingGenericClass.js.diff
@@ -1,17 +1,11 @@
--- old.externalModuleExportingGenericClass.js
+++ new.externalModuleExportingGenericClass.js
-@@= skipped -15, +15 lines =@@
-
+@@= skipped -16, +16 lines =@@
//// [externalModuleExportingGenericClass_file0.js]
"use strict";
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ foo;
-+}
+ }
module.exports = C;
//// [externalModuleExportingGenericClass_file1.js]
"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/externalModuleImmutableBindings.js.diff b/testdata/baselines/reference/submodule/compiler/externalModuleImmutableBindings.js.diff
index c630e05e71..e2cc255977 100644
--- a/testdata/baselines/reference/submodule/compiler/externalModuleImmutableBindings.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/externalModuleImmutableBindings.js.diff
@@ -8,47 +8,4 @@
+const stuff = require("./f1");
var n = 'baz';
stuff.x = 0;
- stuff['x'] = 1;
-@@= skipped -19, +19 lines =@@
- (stuff['blah'])++;
- (stuff[n])++;
- for (stuff.x in []) { }
--for (var _i = 0, _a = []; _i < _a.length; _i++) {
-- stuff.x = _a[_i];
--}
-+for (stuff.x of []) { }
- for (stuff['x'] in []) { }
--for (var _b = 0, _c = []; _b < _c.length; _b++) {
-- stuff['x'] = _c[_b];
--}
-+for (stuff['x'] of []) { }
- for (stuff.blah in []) { }
--for (var _d = 0, _e = []; _d < _e.length; _d++) {
-- stuff.blah = _e[_d];
--}
-+for (stuff.blah of []) { }
- for (stuff[n] in []) { }
--for (var _f = 0, _g = []; _f < _g.length; _f++) {
-- stuff[n] = _g[_f];
--}
-+for (stuff[n] of []) { }
- for ((stuff.x) in []) { }
--for (var _h = 0, _j = []; _h < _j.length; _h++) {
-- (stuff.x) = _j[_h];
--}
-+for ((stuff.x) of []) { }
- for ((stuff['x']) in []) { }
--for (var _k = 0, _l = []; _k < _l.length; _k++) {
-- (stuff['x']) = _l[_k];
--}
-+for ((stuff['x']) of []) { }
- for ((stuff.blah) in []) { }
--for (var _m = 0, _o = []; _m < _o.length; _m++) {
-- (stuff.blah) = _o[_m];
--}
-+for ((stuff.blah) of []) { }
- for ((stuff[n]) in []) { }
--for (var _p = 0, _q = []; _p < _q.length; _p++) {
-- (stuff[n]) = _q[_p];
--}
-+for ((stuff[n]) of []) { }
\ No newline at end of file
+ stuff['x'] = 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/externalModuleQualification.js.diff b/testdata/baselines/reference/submodule/compiler/externalModuleQualification.js.diff
index fdb7a1cdc5..b070e19d13 100644
--- a/testdata/baselines/reference/submodule/compiler/externalModuleQualification.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/externalModuleQualification.js.diff
@@ -1,27 +1,10 @@
--- old.externalModuleQualification.js
+++ new.externalModuleQualification.js
-@@= skipped -17, +17 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -18, +18 lines =@@
exports.DiffEditor = exports.ID = void 0;
exports.ID = "test";
--var DiffEditor = /** @class */ (function () {
-- function DiffEditor(id) {
-- if (id === void 0) { id = exports.ID; }
-+class DiffEditor {
+ class DiffEditor {
+ previousDiffAction;
-+ constructor(id = exports.ID) {
+ constructor(id = exports.ID) {
}
-- return DiffEditor;
--}());
-+}
- exports.DiffEditor = DiffEditor;
--var NavigateAction = /** @class */ (function () {
-- function NavigateAction() {
-+class NavigateAction {
-+ f(editor) {
- }
-- NavigateAction.prototype.f = function (editor) {
-- };
-- return NavigateAction;
--}());
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/fallbackToBindingPatternForTypeInference.js.diff b/testdata/baselines/reference/submodule/compiler/fallbackToBindingPatternForTypeInference.js.diff
deleted file mode 100644
index 38390a36a1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/fallbackToBindingPatternForTypeInference.js.diff
+++ /dev/null
@@ -1,31 +0,0 @@
---- old.fallbackToBindingPatternForTypeInference.js
-+++ new.fallbackToBindingPatternForTypeInference.js
-@@= skipped -9, +9 lines =@@
-
-
- //// [fallbackToBindingPatternForTypeInference.js]
--trans(function (_a) {
-- var a = _a.a;
-- return a;
--});
--trans(function (_a) {
-- var b = _a[0], c = _a[1];
-- return 'foo';
--});
--trans(function (_a) {
-- var _b = _a.d, e = _b[0], f = _b[1];
-- return 'foo';
--});
--trans(function (_a) {
-- var g = _a[0].g, h = _a[1].h;
-- return 'foo';
--});
--trans(function (_a) {
-- var a = _a.a, _b = _a.b, b = _b === void 0 ? 10 : _b;
-- return a;
--});
-+trans(({ a }) => a);
-+trans(([b, c]) => 'foo');
-+trans(({ d: [e, f] }) => 'foo');
-+trans(([{ g }, { h }]) => 'foo');
-+trans(({ a, b = 10 }) => a);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/fatArrowSelf.js.diff b/testdata/baselines/reference/submodule/compiler/fatArrowSelf.js.diff
index cc3c7426f2..f25d6019ef 100644
--- a/testdata/baselines/reference/submodule/compiler/fatArrowSelf.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/fatArrowSelf.js.diff
@@ -1,45 +1,10 @@
--- old.fatArrowSelf.js
+++ new.fatArrowSelf.js
-@@= skipped -28, +28 lines =@@
- //// [fatArrowSelf.js]
- var Events;
- (function (Events) {
-- var EventEmitter = /** @class */ (function () {
-- function EventEmitter() {
-+ class EventEmitter {
-+ addListener(type, listener) {
- }
-- EventEmitter.prototype.addListener = function (type, listener) {
-- };
-- return EventEmitter;
-- }());
-+ }
- Events.EventEmitter = EventEmitter;
- })(Events || (Events = {}));
+@@= skipped -37, +37 lines =@@
var Consumer;
(function (Consumer) {
-- var EventEmitterConsummer = /** @class */ (function () {
-- function EventEmitterConsummer(emitter) {
-+ class EventEmitterConsummer {
+ class EventEmitterConsummer {
+ emitter;
-+ constructor(emitter) {
+ constructor(emitter) {
this.emitter = emitter;
- }
-- EventEmitterConsummer.prototype.register = function () {
-- var _this = this;
-- this.emitter.addListener('change', function (e) {
-- _this.changed();
-+ register() {
-+ this.emitter.addListener('change', (e) => {
-+ this.changed();
- });
-- };
-- EventEmitterConsummer.prototype.changed = function () {
-- };
-- return EventEmitterConsummer;
-- }());
-+ }
-+ changed() {
-+ }
-+ }
- })(Consumer || (Consumer = {}));
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/fatarrowfunctions.js.diff b/testdata/baselines/reference/submodule/compiler/fatarrowfunctions.js.diff
deleted file mode 100644
index a94409e7c2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/fatarrowfunctions.js.diff
+++ /dev/null
@@ -1,51 +0,0 @@
---- old.fatarrowfunctions.js
-+++ new.fatarrowfunctions.js
-@@= skipped -49, +49 lines =@@
- function foo(x) {
- return x();
- }
--foo(function (x, y, z) { return x + y + z; });
--foo(function (x, y, z) { return x + y + z; });
--foo(function (x, y, z) { return x + y + z; });
--foo(function (x, y, z) { return x + y + z; });
--foo(function (x, y, z) { return x + y + z; });
--foo(function () { return 0; });
--foo(function (x, y, z) { return x + y + z; });
--foo(function (x, y, z) { return x + y + z; });
--foo(function (x, y, z) { return x + y + z; });
--foo(function (x, y, z) { return x + y + z; });
--foo(function (x, y, z) { return x + y + z; });
--foo(function () { return 0; });
--foo((function (x) { return x; }));
--foo(function (x) { return x * x; });
--var y = function (x) { return x * x; };
--var z = function (x) { return x * x; };
--var w = function () { return 3; };
-+foo((x, y, z) => { return x + y + z; });
-+foo((x, y, z) => { return x + y + z; });
-+foo((x, y, z) => { return x + y + z; });
-+foo((x, y, z) => { return x + y + z; });
-+foo((x, y, z) => { return x + y + z; });
-+foo(() => { return 0; });
-+foo((x, y, z) => x + y + z);
-+foo((x, y, z) => x + y + z);
-+foo((x, y, z) => { return x + y + z; });
-+foo((x, y, z) => { return x + y + z; });
-+foo((x, y, z) => { return x + y + z; });
-+foo(() => { return 0; });
-+foo(((x) => x));
-+foo(x => x * x);
-+var y = x => x * x;
-+var z = (x) => x * x;
-+var w = () => 3;
- function ternaryTest(isWhile) {
- var f = isWhile ? function (n) { return n > 0; } : function (n) { return n === 0; };
- }
- var messenger = {
- message: "Hello World",
- start: function () {
-- var _this = this;
-- setTimeout(function () { _this.message.toString(); }, 3000);
-+ setTimeout(() => { this.message.toString(); }, 3000);
- }
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsErrors.js.diff b/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsErrors.js.diff
index c8c9a84c68..fe743429e8 100644
--- a/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsErrors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsErrors.js.diff
@@ -1,41 +1,11 @@
--- old.fatarrowfunctionsErrors.js
+++ new.fatarrowfunctionsErrors.js
-@@= skipped -14, +14 lines =@@
- var x4= (...a: any[]) { };
+@@= skipped -15, +15 lines =@@
//// [fatarrowfunctionsErrors.js]
--foo(function () {
-- var Far = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- Far[_i] = arguments[_i];
-- }
-- return 0;
--});
+ foo((...Far) => { return 0; });
-foo((1), { return: 0 });
--foo(function (x) { return x; });
--foo(function (x) {
-- if (x === void 0) { x = 0; }
-- return x;
--});
-+foo((...Far) => { return 0; });
+foo((1), { return: 0, });
-+foo((x) => { return x; });
-+foo((x = 0) => { return x; });
- var y = x, number;
- x * x;
--false ? (function () { return null; }) : null;
-+false ? (() => null) : null;
- // missing fatarrow
--var x1 = function () { };
--var x2 = function (a) { };
--var x3 = function (a) { };
--var x4 = function () {
-- var a = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- a[_i] = arguments[_i];
-- }
--};
-+var x1 = () => { };
-+var x2 = (a) => { };
-+var x3 = (a) => { };
-+var x4 = (...a) => { };
\ No newline at end of file
+ foo((x) => { return x; });
+ foo((x = 0) => { return x; });
+ var y = x, number;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsInFunctionParameterDefaults.js.diff b/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsInFunctionParameterDefaults.js.diff
deleted file mode 100644
index 01a7bf87e3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsInFunctionParameterDefaults.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.fatarrowfunctionsInFunctionParameterDefaults.js
-+++ new.fatarrowfunctionsInFunctionParameterDefaults.js
-@@= skipped -11, +11 lines =@@
-
-
- //// [fatarrowfunctionsInFunctionParameterDefaults.js]
--function fn(x, y) {
-- var _this = this;
-- if (x === void 0) { x = function () { return _this; }; }
-- if (y === void 0) { y = x(); }
-+function fn(x = () => this, y = x()) {
- // should be 4
- return y;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsOptionalArgs.js.diff b/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsOptionalArgs.js.diff
deleted file mode 100644
index 6879aba653..0000000000
--- a/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsOptionalArgs.js.diff
+++ /dev/null
@@ -1,330 +0,0 @@
---- old.fatarrowfunctionsOptionalArgs.js
-+++ new.fatarrowfunctionsOptionalArgs.js
-@@= skipped -135, +135 lines =@@
- //// [fatarrowfunctionsOptionalArgs.js]
- // valid
- // no params
--(function () { return 1; });
--// one param, no type
--(function (arg) { return 2; });
--// one param, no type
--(function (arg) { return 2; });
-+() => 1;
-+// one param, no type
-+(arg) => 2;
-+// one param, no type
-+arg => 2;
- // one param, no type with default value
--(function (arg) {
-- if (arg === void 0) { arg = 1; }
-- return 3;
--});
-+(arg = 1) => 3;
- // one param, no type, optional
--(function (arg) { return 4; });
-+(arg) => 4;
- // typed param
--(function (arg) { return 5; });
-+(arg) => 5;
- // typed param with default value
--(function (arg) {
-- if (arg === void 0) { arg = 0; }
-- return 6;
--});
-+(arg = 0) => 6;
- // optional param
--(function (arg) { return 7; });
-+(arg) => 7;
- // var arg param
--(function () {
-- var arg = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- arg[_i] = arguments[_i];
-- }
-- return 8;
--});
-+(...arg) => 8;
- // multiple arguments
--(function (arg1, arg2) { return 12; });
--(function (arg1, arg2) {
-- if (arg1 === void 0) { arg1 = 1; }
-- if (arg2 === void 0) { arg2 = 3; }
-- return 13;
--});
--(function (arg1, arg2) { return 14; });
--(function (arg1, arg2) { return 15; });
--(function (arg1, arg2) {
-- if (arg1 === void 0) { arg1 = 0; }
-- if (arg2 === void 0) { arg2 = 1; }
-- return 16;
--});
--(function (arg1, arg2) { return 17; });
--(function (arg1) {
-- var arg2 = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- arg2[_i - 1] = arguments[_i];
-- }
-- return 18;
--});
--(function (arg1, arg2) { return 19; });
-+(arg1, arg2) => 12;
-+(arg1 = 1, arg2 = 3) => 13;
-+(arg1, arg2) => 14;
-+(arg1, arg2) => 15;
-+(arg1 = 0, arg2 = 1) => 16;
-+(arg1, arg2) => 17;
-+(arg1, ...arg2) => 18;
-+(arg1, arg2) => 19;
- // in paren
--(function () { return 21; });
--(function (arg) { return 22; });
--(function (arg) {
-- if (arg === void 0) { arg = 1; }
-- return 23;
--});
--(function (arg) { return 24; });
--(function (arg) { return 25; });
--(function (arg) {
-- if (arg === void 0) { arg = 0; }
-- return 26;
--});
--(function (arg) { return 27; });
--(function () {
-- var arg = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- arg[_i] = arguments[_i];
-- }
-- return 28;
--});
-+(() => 21);
-+((arg) => 22);
-+((arg = 1) => 23);
-+((arg) => 24);
-+((arg) => 25);
-+((arg = 0) => 26);
-+((arg) => 27);
-+((...arg) => 28);
- // in multiple paren
--((((function (arg) { return 32; }))));
-+(((((arg) => { return 32; }))));
- // in ternary exression
--false ? function () { return 41; } : null;
--false ? function (arg) { return 42; } : null;
--false ? function (arg) {
-- if (arg === void 0) { arg = 1; }
-- return 43;
--} : null;
--false ? function (arg) { return 44; } : null;
--false ? function (arg) { return 45; } : null;
--false ? function (arg) { return 46; } : null;
--false ? function (arg) {
-- if (arg === void 0) { arg = 0; }
-- return 47;
--} : null;
--false ? function () {
-- var arg = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- arg[_i] = arguments[_i];
-- }
-- return 48;
--} : null;
-+false ? () => 41 : null;
-+false ? (arg) => 42 : null;
-+false ? (arg = 1) => 43 : null;
-+false ? (arg) => 44 : null;
-+false ? (arg) => 45 : null;
-+false ? (arg) => 46 : null;
-+false ? (arg = 0) => 47 : null;
-+false ? (...arg) => 48 : null;
- // in ternary exression within paren
--false ? (function () { return 51; }) : null;
--false ? (function (arg) { return 52; }) : null;
--false ? (function (arg) {
-- if (arg === void 0) { arg = 1; }
-- return 53;
--}) : null;
--false ? (function (arg) { return 54; }) : null;
--false ? (function (arg) { return 55; }) : null;
--false ? (function (arg) { return 56; }) : null;
--false ? (function (arg) {
-- if (arg === void 0) { arg = 0; }
-- return 57;
--}) : null;
--false ? (function () {
-- var arg = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- arg[_i] = arguments[_i];
-- }
-- return 58;
--}) : null;
-+false ? (() => 51) : null;
-+false ? ((arg) => 52) : null;
-+false ? ((arg = 1) => 53) : null;
-+false ? ((arg) => 54) : null;
-+false ? ((arg) => 55) : null;
-+false ? ((arg) => 56) : null;
-+false ? ((arg = 0) => 57) : null;
-+false ? ((...arg) => 58) : null;
- // ternary exression's else clause
--false ? null : function () { return 61; };
--false ? null : function (arg) { return 62; };
--false ? null : function (arg) {
-- if (arg === void 0) { arg = 1; }
-- return 63;
--};
--false ? null : function (arg) { return 64; };
--false ? null : function (arg) { return 65; };
--false ? null : function (arg) { return 66; };
--false ? null : function (arg) {
-- if (arg === void 0) { arg = 0; }
-- return 67;
--};
--false ? null : function () {
-- var arg = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- arg[_i] = arguments[_i];
-- }
-- return 68;
--};
-+false ? null : () => 61;
-+false ? null : (arg) => 62;
-+false ? null : (arg = 1) => 63;
-+false ? null : (arg) => 64;
-+false ? null : (arg) => 65;
-+false ? null : (arg) => 66;
-+false ? null : (arg = 0) => 67;
-+false ? null : (...arg) => 68;
- // nested ternary expressions
--(function (a) { return a; }) ? function (b) { return b; } : function (c) { return c; };
-+((a) => { return a; }) ? (b) => { return b; } : (c) => { return c; };
- //multiple levels
--(function (a) { return a; });
--(function (b) { return function (c) { return 81; }; });
--(function (c) { return function (d) { return 82; }; });
-+(a) => { return a; };
-+(b) => (c) => 81;
-+(c) => (d) => 82;
- // In Expressions
--(function (arg) { return 90; }) instanceof Function;
--(function (arg) {
-- if (arg === void 0) { arg = 1; }
-- return 91;
--}) instanceof Function;
--(function (arg) { return 92; }) instanceof Function;
--(function (arg) { return 93; }) instanceof Function;
--(function (arg) {
-- if (arg === void 0) { arg = 1; }
-- return 94;
--}) instanceof Function;
--(function (arg) { return 95; }) instanceof Function;
--(function () {
-- var arg = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- arg[_i] = arguments[_i];
-- }
-- return 96;
--}) instanceof Function;
--'' + (function (arg) { return 100; });
--(function (arg) { return 0; }) + '' + (function (arg) { return 101; });
--(function (arg) {
-- if (arg === void 0) { arg = 1; }
-- return 0;
--}) + '' + (function (arg) {
-- if (arg === void 0) { arg = 2; }
-- return 102;
--});
--(function (arg) { return 0; }) + '' + (function (arg) { return 103; });
--(function (arg) { return 0; }) + '' + (function (arg) { return 104; });
--(function (arg) {
-- if (arg === void 0) { arg = 1; }
-- return 0;
--}) + '' + (function (arg) {
-- if (arg === void 0) { arg = 2; }
-- return 105;
--});
--(function (arg) {
-- if (arg === void 0) { arg = 1; }
-- return 0;
--}) + '' + (function (arg) {
-- if (arg === void 0) { arg = 2; }
-- return 106;
--});
--(function () {
-- var arg = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- arg[_i] = arguments[_i];
-- }
-- return 0;
--}) + '' + (function () {
-- var arg = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- arg[_i] = arguments[_i];
-- }
-- return 107;
--});
--(function (arg1, arg2) { return 0; }) + '' + (function (arg1, arg2) { return 108; });
--(function (arg1) {
-- var arg2 = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- arg2[_i - 1] = arguments[_i];
-- }
-- return 0;
--}) + '' + (function (arg1) {
-- var arg2 = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- arg2[_i - 1] = arguments[_i];
-- }
-- return 108;
--});
-+((arg) => 90) instanceof Function;
-+((arg = 1) => 91) instanceof Function;
-+((arg) => 92) instanceof Function;
-+((arg) => 93) instanceof Function;
-+((arg = 1) => 94) instanceof Function;
-+((arg) => 95) instanceof Function;
-+((...arg) => 96) instanceof Function;
-+'' + ((arg) => 100);
-+((arg) => 0) + '' + ((arg) => 101);
-+((arg = 1) => 0) + '' + ((arg = 2) => 102);
-+((arg) => 0) + '' + ((arg) => 103);
-+((arg) => 0) + '' + ((arg) => 104);
-+((arg = 1) => 0) + '' + ((arg = 2) => 105);
-+((arg = 1) => 0) + '' + ((arg = 2) => 106);
-+((...arg) => 0) + '' + ((...arg) => 107);
-+((arg1, arg2) => 0) + '' + ((arg1, arg2) => 108);
-+((arg1, ...arg2) => 0) + '' + ((arg1, ...arg2) => 108);
- // Function Parameters
--function foo() {
-- var arg = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- arg[_i] = arguments[_i];
-- }
--}
--foo(function (a) { return 110; }, (function (a) { return 111; }), function (a) {
-+function foo(...arg) { }
-+foo((a) => 110, ((a) => 111), (a) => {
- return 112;
--}, function (a) { return 113; }, function (a, b) { return 114; }, function (a) { return 115; }, function (a) {
-- if (a === void 0) { a = 0; }
-- return 116;
--}, function (a) {
-- if (a === void 0) { a = 0; }
-- return 117;
--}, function (a) {
-- if (a === void 0) { a = 0; }
-- return 118;
--}, function () {
-- var a = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- a[_i] = arguments[_i];
-- }
-- return 119;
--}, function (a, b) {
-- if (b === void 0) { b = 0; }
-- var c = [];
-- for (var _i = 2; _i < arguments.length; _i++) {
-- c[_i - 2] = arguments[_i];
-- }
-- return 120;
--}, function (a) { return function (b) { return function (c) { return 121; }; }; }, false ? function (a) { return 0; } : function (b) { return 122; });
-+}, (a) => 113, (a, b) => 114, (a) => 115, (a = 0) => 116, (a = 0) => 117, (a = 0) => 118, (...a) => 119, (a, b = 0, ...c) => 120, (a) => (b) => (c) => 121, false ? (a) => 0 : (b) => 122);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsOptionalArgsErrors1.js.diff b/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsOptionalArgsErrors1.js.diff
deleted file mode 100644
index a8e9e3184b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsOptionalArgsErrors1.js.diff
+++ /dev/null
@@ -1,38 +0,0 @@
---- old.fatarrowfunctionsOptionalArgsErrors1.js
-+++ new.fatarrowfunctionsOptionalArgsErrors1.js
-@@= skipped -9, +9 lines =@@
- (arg1 = 1, arg2) => 1;
-
- //// [fatarrowfunctionsOptionalArgsErrors1.js]
--(function (arg1, arg2) { return 101; });
--(function () {
-- var arg = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- arg[_i] = arguments[_i];
-- }
-- return 102;
--});
--(function () {
-- var arg = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- arg[_i] = arguments[_i];
-- }
-- return 103;
--});
--(function () {
-- var arg = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- arg[_i] = arguments[_i];
-- }
-- return 104;
--});
-+(arg1, arg2) => 101;
-+(...arg) => 102;
-+(...arg) => 103;
-+(...arg = []) => 104;
- // Uninitialized parameter makes the initialized one required
--(function (arg1, arg2) {
-- if (arg1 === void 0) { arg1 = 1; }
-- return 1;
--});
-+(arg1 = 1, arg2) => 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsOptionalArgsErrors3.js.diff b/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsOptionalArgsErrors3.js.diff
deleted file mode 100644
index 511951b551..0000000000
--- a/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsOptionalArgsErrors3.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.fatarrowfunctionsOptionalArgsErrors3.js
-+++ new.fatarrowfunctionsOptionalArgsErrors3.js
-@@= skipped -4, +4 lines =@@
-
-
- //// [fatarrowfunctionsOptionalArgsErrors3.js]
--(function () {
-- var = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- [_i] = arguments[_i];
-- }
-- return 105;
--});
-+(...) => 105;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsOptionalArgsErrors4.js.diff b/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsOptionalArgsErrors4.js.diff
deleted file mode 100644
index 6570cdd454..0000000000
--- a/testdata/baselines/reference/submodule/compiler/fatarrowfunctionsOptionalArgsErrors4.js.diff
+++ /dev/null
@@ -1,56 +0,0 @@
---- old.fatarrowfunctionsOptionalArgsErrors4.js
-+++ new.fatarrowfunctionsOptionalArgsErrors4.js
-@@= skipped -24, +24 lines =@@
- );
-
- //// [fatarrowfunctionsOptionalArgsErrors4.js]
--false ? function (arg) {
-- if (arg === void 0) { arg = 0; }
-- return 47;
--} : null;
--false ? (function (arg) {
-- if (arg === void 0) { arg = 0; }
-- return 57;
--}) : null;
--false ? null : function (arg) {
-- if (arg === void 0) { arg = 0; }
-- return 67;
--};
--(function (arg) {
-- if (arg === void 0) { arg = 1; }
-- return 0;
--}) + '' + (function (arg) {
-- if (arg === void 0) { arg = 2; }
-- return 106;
--});
--foo(function (a) { return 110; }, (function (a) { return 111; }), function (a) {
-+false ? (arg = 0) => 47 : null;
-+false ? ((arg = 0) => 57) : null;
-+false ? null : (arg = 0) => 67;
-+((arg = 1) => 0) + '' + ((arg = 2) => 106);
-+foo((a) => 110, ((a) => 111), (a) => {
- return 112;
--}, function (a) { return 113; }, function (a, b) { return 114; }, function (a) { return 115; }, function (a) {
-- if (a === void 0) { a = 0; }
-- return 116;
--}, function (a) {
-- if (a === void 0) { a = 0; }
-- return 117;
--}, function (a) {
-- if (a === void 0) { a = 0; }
-- return 118;
--}, function () {
-- var a = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- a[_i] = arguments[_i];
-- }
-- return 119;
--}, function (a, b) {
-- if (b === void 0) { b = 0; }
-- var c = [];
-- for (var _i = 2; _i < arguments.length; _i++) {
-- c[_i - 2] = arguments[_i];
-- }
-- return 120;
--}, function (a) { return function (b) { return function (c) { return 121; }; }; }, false ? function (a) { return 0; } : function (b) { return 122; });
-+}, (a) => 113, (a, b) => 114, (a) => 115, (a = 0) => 116, (a = 0) => 117, (a = 0) => 118, (...a) => 119, (a, b = 0, ...c) => 120, (a) => (b) => (c) => 121, false ? (a) => 0 : (b) => 122);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/fieldAndGetterWithSameName.js.diff b/testdata/baselines/reference/submodule/compiler/fieldAndGetterWithSameName.js.diff
index 4d4cb459ee..820e653b3d 100644
--- a/testdata/baselines/reference/submodule/compiler/fieldAndGetterWithSameName.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/fieldAndGetterWithSameName.js.diff
@@ -8,16 +8,9 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.C = void 0;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- Object.defineProperty(C.prototype, "x", {
-- get: function () { return 1; },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
-- }());
+- class C {
+- get x() { return 1; }
+- }
- exports.C = C;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/fillInMissingTypeArgsOnConstructCalls.js.diff b/testdata/baselines/reference/submodule/compiler/fillInMissingTypeArgsOnConstructCalls.js.diff
index de82a1e7fc..7bdca63aff 100644
--- a/testdata/baselines/reference/submodule/compiler/fillInMissingTypeArgsOnConstructCalls.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/fillInMissingTypeArgsOnConstructCalls.js.diff
@@ -1,15 +1,9 @@
--- old.fillInMissingTypeArgsOnConstructCalls.js
+++ new.fillInMissingTypeArgsOnConstructCalls.js
-@@= skipped -7, +7 lines =@@
-
+@@= skipped -8, +8 lines =@@
//// [fillInMissingTypeArgsOnConstructCalls.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
+ class A {
+ list;
-+}
+ }
var a = new A();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/firstMatchRegExpMatchArray.js.diff b/testdata/baselines/reference/submodule/compiler/firstMatchRegExpMatchArray.js.diff
index 748efb9145..7263dbe607 100644
--- a/testdata/baselines/reference/submodule/compiler/firstMatchRegExpMatchArray.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/firstMatchRegExpMatchArray.js.diff
@@ -5,11 +5,6 @@
//// [firstMatchRegExpMatchArray.js]
-"use strict";
--var match = ''.match(/ /);
-+const match = ''.match(/ /);
+ const match = ''.match(/ /);
if (match !== null) {
-- var foo = match[0];
-- var bar = match[1];
-+ const foo = match[0];
-+ const bar = match[1];
- }
\ No newline at end of file
+ const foo = match[0];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/fixingTypeParametersRepeatedly1.js.diff b/testdata/baselines/reference/submodule/compiler/fixingTypeParametersRepeatedly1.js.diff
deleted file mode 100644
index d281327d81..0000000000
--- a/testdata/baselines/reference/submodule/compiler/fixingTypeParametersRepeatedly1.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.fixingTypeParametersRepeatedly1.js
-+++ new.fixingTypeParametersRepeatedly1.js
-@@= skipped -9, +9 lines =@@
- g("", x => null, x => x.toLowerCase());
-
- //// [fixingTypeParametersRepeatedly1.js]
--f("", function (x) { return null; }, function (x) { return x.toLowerCase(); });
--g("", function (x) { return null; }, function (x) { return x.toLowerCase(); });
-+f("", x => null, x => x.toLowerCase());
-+g("", x => null, x => x.toLowerCase());
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/fixingTypeParametersRepeatedly2.js.diff b/testdata/baselines/reference/submodule/compiler/fixingTypeParametersRepeatedly2.js.diff
deleted file mode 100644
index 78951ce81c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/fixingTypeParametersRepeatedly2.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.fixingTypeParametersRepeatedly2.js
-+++ new.fixingTypeParametersRepeatedly2.js
-@@= skipped -20, +20 lines =@@
-
- //// [fixingTypeParametersRepeatedly2.js]
- var derived;
--var result = foo(derived, function (d) { return d.toBase(); });
--var result = bar(derived, function (d) { return d.toBase(); });
-+var result = foo(derived, d => d.toBase());
-+var result = bar(derived, d => d.toBase());
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/fixingTypeParametersRepeatedly3.js.diff b/testdata/baselines/reference/submodule/compiler/fixingTypeParametersRepeatedly3.js.diff
deleted file mode 100644
index 419815bfa8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/fixingTypeParametersRepeatedly3.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.fixingTypeParametersRepeatedly3.js
-+++ new.fixingTypeParametersRepeatedly3.js
-@@= skipped -20, +20 lines =@@
-
- //// [fixingTypeParametersRepeatedly3.js]
- var derived;
--var result = foo(derived, function (d) { return d.toBase(); });
--var result2 = bar(derived, function (d) { return d.toBase(); });
-+var result = foo(derived, d => d.toBase());
-+var result2 = bar(derived, d => d.toBase());
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/flowControlTypeGuardThenSwitch.js.diff b/testdata/baselines/reference/submodule/compiler/flowControlTypeGuardThenSwitch.js.diff
deleted file mode 100644
index ba60ec6257..0000000000
--- a/testdata/baselines/reference/submodule/compiler/flowControlTypeGuardThenSwitch.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.flowControlTypeGuardThenSwitch.js
-+++ new.flowControlTypeGuardThenSwitch.js
-@@= skipped -46, +46 lines =@@
- function isBoth(x) {
- return true;
- }
--var foo = undefined;
-+let foo = undefined;
- if (isBoth(foo)) {
- switch (foo.kind) {
- case Kind.A:
-- var myA = foo; // Should not be an error
-+ const myA = foo; // Should not be an error
- break;
- case Kind.B:
-- var myB = foo;
-+ const myB = foo;
- break;
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/flowInFinally1.js.diff b/testdata/baselines/reference/submodule/compiler/flowInFinally1.js.diff
deleted file mode 100644
index 2150e5c144..0000000000
--- a/testdata/baselines/reference/submodule/compiler/flowInFinally1.js.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- old.flowInFinally1.js
-+++ new.flowInFinally1.js
-@@= skipped -16, +16 lines =@@
- }
-
- //// [flowInFinally1.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.method = function () { };
-- return A;
--}());
--var a = null;
-+class A {
-+ constructor() { }
-+ method() { }
-+}
-+let a = null;
- try {
- a = new A();
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/forInStrictNullChecksNoError.js.diff b/testdata/baselines/reference/submodule/compiler/forInStrictNullChecksNoError.js.diff
deleted file mode 100644
index 476a7bfe2e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/forInStrictNullChecksNoError.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.forInStrictNullChecksNoError.js
-+++ new.forInStrictNullChecksNoError.js
-@@= skipped -9, +9 lines =@@
-
- //// [forInStrictNullChecksNoError.js]
- function f(x) {
-- for (var key in x) { // 1
-+ for (const key in x) { // 1
- console.log(x[key]); // 2
- }
- x["no"]; // should still error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/forLoopEndingMultilineComments.js.diff b/testdata/baselines/reference/submodule/compiler/forLoopEndingMultilineComments.js.diff
deleted file mode 100644
index 98bb0ad5db..0000000000
--- a/testdata/baselines/reference/submodule/compiler/forLoopEndingMultilineComments.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.forLoopEndingMultilineComments.js
-+++ new.forLoopEndingMultilineComments.js
-@@= skipped -26, +26 lines =@@
- function consoleTestResultHandler(testResult) {
- // needed to get colors to show up when passing through Grunt
- void a;
-- for (var _i = 0, a_1 = a; _i < a_1.length; _i++) {
-- var q = a_1[_i];
-+ for (const q of a) {
- void a;
- /* eslint-disable no-console */
- if (a) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/forLoopWithDestructuringDoesNotElideFollowingStatement.js.diff b/testdata/baselines/reference/submodule/compiler/forLoopWithDestructuringDoesNotElideFollowingStatement.js.diff
index c46175ddb1..ea2e506ff8 100644
--- a/testdata/baselines/reference/submodule/compiler/forLoopWithDestructuringDoesNotElideFollowingStatement.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/forLoopWithDestructuringDoesNotElideFollowingStatement.js.diff
@@ -15,11 +15,9 @@
- }
- return t;
-};
--var array = [{ a: 0, b: 1 }];
--for (var _i = 0, array_1 = array; _i < array_1.length; _i++) {
-- var _a = array_1[_i];
-- var a = _a.a, rest = __rest(_a, ["a"]);
-+let array = [{ a: 0, b: 1 }];
+ let array = [{ a: 0, b: 1 }];
+-for (let _a of array) {
+- let { a } = _a, rest = __rest(_a, ["a"]);
+for (let { a, ...rest } of array)
void a;
-}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/forOfStringConstituents.js.diff b/testdata/baselines/reference/submodule/compiler/forOfStringConstituents.js.diff
deleted file mode 100644
index 6709266433..0000000000
--- a/testdata/baselines/reference/submodule/compiler/forOfStringConstituents.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.forOfStringConstituents.js
-+++ new.forOfStringConstituents.js
-@@= skipped -10, +10 lines =@@
- for (y of x.y);
-
- //// [forOfStringConstituents.js]
--for (var _i = 0, _a = x.y; _i < _a.length; _i++) {
-- y = _a[_i];
-+for (y of x.y)
- ;
--}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/forOfTransformsExpression.js.diff b/testdata/baselines/reference/submodule/compiler/forOfTransformsExpression.js.diff
deleted file mode 100644
index 34e1d4c13c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/forOfTransformsExpression.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.forOfTransformsExpression.js
-+++ new.forOfTransformsExpression.js
-@@= skipped -8, +8 lines =@@
-
- //// [forOfTransformsExpression.js]
- // 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++) {
-- var item = _a[_i];
-+let items = [{ name: "A" }, { name: "C" }, { name: "B" }];
-+for (var item of items.sort((a, b) => a.name.localeCompare(b.name))) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/forwardRefInClassProperties.js.diff b/testdata/baselines/reference/submodule/compiler/forwardRefInClassProperties.js.diff
index 23c4c0ed3f..512ed20ca3 100644
--- a/testdata/baselines/reference/submodule/compiler/forwardRefInClassProperties.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/forwardRefInClassProperties.js.diff
@@ -4,10 +4,16 @@
//// [forwardRefInClassProperties.js]
--var Test = /** @class */ (function () {
-- function Test() {
-- this._b = this._a; // undefined, no error/warning
-- this._a = 3;
+-let Test = (() => {
+- class Test {
+- constructor() {
+- this._b = this._a; // undefined, no error/warning
+- this._a = 3;
+- }
+- method() {
+- let a = b; // Property 'b' is used before its initialization.
+- let b = 3;
+- }
+class Test {
+ _b = this._a; // undefined, no error/warning
+ _a = 3;
@@ -17,12 +23,8 @@
+ let a = b; // Property 'b' is used before its initialization.
+ let b = 3;
}
-- Test.prototype.method = function () {
-- var a = b; // Property 'b' is used before its initialization.
-- var b = 3;
-- };
- Test._B = Test._A; // undefined, no error/warning
- Test._A = 3;
- return Test;
--}());
+-})();
+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/forwardRefInTypeDeclaration(strict=false).js.diff b/testdata/baselines/reference/submodule/compiler/forwardRefInTypeDeclaration(strict=false).js.diff
index 38c190bdcc..e8ff4b3490 100644
--- a/testdata/baselines/reference/submodule/compiler/forwardRefInTypeDeclaration(strict=false).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/forwardRefInTypeDeclaration(strict=false).js.diff
@@ -1,27 +1,16 @@
--- old.forwardRefInTypeDeclaration(strict=false).js
+++ new.forwardRefInTypeDeclaration(strict=false).js
-@@= skipped -29, +29 lines =@@
-
-
- //// [forwardRefInTypeDeclaration.js]
--var s1 = "x";
--var s2 = "x";
--var s3 = "x";
--var s4 = "x";
--var s5 = "x";
--var Cls2 = /** @class */ (function () {
-- function Cls2() {
+@@= skipped -34, +34 lines =@@
+ const s3 = "x";
+ const s4 = "x";
+ const s5 = "x";
+-let Cls2 = (() => {
+- class Cls2 {
- }
- Cls2.b = "b";
- return Cls2;
--}());
--var obj2 = { d: 'd' };
-+const s1 = "x";
-+const s2 = "x";
-+const s3 = "x";
-+const s4 = "x";
-+const s5 = "x";
+-})();
+class Cls2 {
+ static b = "b";
+}
-+const obj2 = { d: 'd' };
\ No newline at end of file
+ const obj2 = { d: 'd' };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/forwardRefInTypeDeclaration(strict=true).js.diff b/testdata/baselines/reference/submodule/compiler/forwardRefInTypeDeclaration(strict=true).js.diff
index a511695491..76eeeaccd4 100644
--- a/testdata/baselines/reference/submodule/compiler/forwardRefInTypeDeclaration(strict=true).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/forwardRefInTypeDeclaration(strict=true).js.diff
@@ -5,24 +5,18 @@
//// [forwardRefInTypeDeclaration.js]
-"use strict";
--var s1 = "x";
--var s2 = "x";
--var s3 = "x";
--var s4 = "x";
--var s5 = "x";
--var Cls2 = /** @class */ (function () {
-- function Cls2() {
+ const s1 = "x";
+ const s2 = "x";
+ const s3 = "x";
+ const s4 = "x";
+ const s5 = "x";
+-let Cls2 = (() => {
+- class Cls2 {
- }
- Cls2.b = "b";
- return Cls2;
--}());
--var obj2 = { d: 'd' };
-+const s1 = "x";
-+const s2 = "x";
-+const s3 = "x";
-+const s4 = "x";
-+const s5 = "x";
+-})();
+class Cls2 {
+ static b = "b";
+}
-+const obj2 = { d: 'd' };
\ No newline at end of file
+ const obj2 = { d: 'd' };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/freshLiteralInference.js.diff b/testdata/baselines/reference/submodule/compiler/freshLiteralInference.js.diff
deleted file mode 100644
index a72550fb4d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/freshLiteralInference.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.freshLiteralInference.js
-+++ new.freshLiteralInference.js
-@@= skipped -17, +17 lines =@@
-
-
- //// [freshLiteralInference.js]
--var value = f1("1"); // regular "1"
--var x1 = value; // regular "1"
--var obj2 = f2({ value: "1" }); // { value: regular "1" }
--var x2 = obj2.value; // regular "1"
--var obj3 = f3({ value: "1" }); // before: { value: fresh "1" }
--var x3 = obj3.value; // before: string, after: "1"
-+const value = f1("1"); // regular "1"
-+let x1 = value; // regular "1"
-+const obj2 = f2({ value: "1" }); // { value: regular "1" }
-+let x2 = obj2.value; // regular "1"
-+const obj3 = f3({ value: "1" }); // before: { value: fresh "1" }
-+let x3 = obj3.value; // before: string, after: "1"
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/freshLiteralTypesInIntersections.js.diff b/testdata/baselines/reference/submodule/compiler/freshLiteralTypesInIntersections.js.diff
index 9e1cd72c3e..1a4ac6adf4 100644
--- a/testdata/baselines/reference/submodule/compiler/freshLiteralTypesInIntersections.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/freshLiteralTypesInIntersections.js.diff
@@ -6,6 +6,5 @@
//// [freshLiteralTypesInIntersections.js]
-"use strict";
-// Repro from #19657
--var q = func("x", ["x"]);
-+const q = func("x", ["x"]);
+ const q = func("x", ["x"]);
q("x");
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/funClodule.js.diff b/testdata/baselines/reference/submodule/compiler/funClodule.js.diff
deleted file mode 100644
index 48555cda77..0000000000
--- a/testdata/baselines/reference/submodule/compiler/funClodule.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.funClodule.js
-+++ new.funClodule.js
-@@= skipped -26, +26 lines =@@
- function x() { }
- foo3.x = x;
- })(foo3 || (foo3 = {}));
--var foo3 = /** @class */ (function () {
-- function foo3() {
-- }
-- return foo3;
--}()); // Should error
-+class foo3 {
-+} // Should error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/funcdecl.js.diff b/testdata/baselines/reference/submodule/compiler/funcdecl.js.diff
deleted file mode 100644
index be5f6ee6b5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/funcdecl.js.diff
+++ /dev/null
@@ -1,39 +0,0 @@
---- old.funcdecl.js
-+++ new.funcdecl.js
-@@= skipped -95, +95 lines =@@
- function withOptionalParams(a) {
- }
- var withOptionalParamsVar = withOptionalParams;
--function withInitializedParams(a, b0, b, c) {
-- if (b === void 0) { b = 30; }
-- if (c === void 0) { c = "string value"; }
-+function withInitializedParams(a, b0, b = 30, c = "string value") {
- }
- var withInitializedParamsVar = withInitializedParams;
--function withOptionalInitializedParams(a, c) {
-- if (c === void 0) { c = "hello string"; }
-+function withOptionalInitializedParams(a, c = "hello string") {
- }
- var withOptionalInitializedParamsVar = withOptionalInitializedParams;
--function withRestParams(a) {
-- var myRestParameter = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- myRestParameter[_i - 1] = arguments[_i];
-- }
-+function withRestParams(a, ...myRestParameter) {
- return myRestParameter;
- }
- var withRestParamsVar = withRestParams;
-@@= skipped -28, +21 lines =@@
- }
- m2.foo = foo;
- })(m2 || (m2 = {}));
--m2.foo(function () {
-+m2.foo(() => {
- var b = 30;
- return b;
- });
--var f2 = function () {
-+var f2 = () => {
- return "string";
- };
diff --git a/testdata/baselines/reference/submodule/compiler/functionAndPropertyNameConflict.js.diff b/testdata/baselines/reference/submodule/compiler/functionAndPropertyNameConflict.js.diff
deleted file mode 100644
index fc4e5ea39f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionAndPropertyNameConflict.js.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- old.functionAndPropertyNameConflict.js
-+++ new.functionAndPropertyNameConflict.js
-@@= skipped -8, +8 lines =@@
- }
-
- //// [functionAndPropertyNameConflict.js]
--var C65 = /** @class */ (function () {
-- function C65() {
-+class C65 {
-+ aaaaa() { }
-+ get aaaaa() {
-+ return 1;
- }
-- C65.prototype.aaaaa = function () { };
-- Object.defineProperty(C65.prototype, "aaaaa", {
-- get: function () {
-- return 1;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C65;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionArgShadowing.js.diff b/testdata/baselines/reference/submodule/compiler/functionArgShadowing.js.diff
index 5f53c31a68..f4991e5f84 100644
--- a/testdata/baselines/reference/submodule/compiler/functionArgShadowing.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/functionArgShadowing.js.diff
@@ -1,40 +1,10 @@
--- old.functionArgShadowing.js
+++ new.functionArgShadowing.js
-@@= skipped -16, +16 lines =@@
- }
-
- //// [functionArgShadowing.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.foo = function () { };
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- B.prototype.bar = function () { };
-- return B;
--}());
-+class A {
-+ foo() { }
-+}
-+class B {
-+ bar() { }
-+}
- function foo(x) {
- var x = new B();
+@@= skipped -27, +27 lines =@@
x.bar(); // the property bar does not exist on a value of type A
}
--var C = /** @class */ (function () {
-- function C(p) {
-+class C {
+ class C {
+ p;
-+ constructor(p) {
+ constructor(p) {
this.p = p;
- var p;
- var n = p;
- }
-- return C;
--}());
-+}
\ No newline at end of file
+ var p;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionAssignabilityWithArrayLike01(strict=false).js.diff b/testdata/baselines/reference/submodule/compiler/functionAssignabilityWithArrayLike01(strict=false).js.diff
deleted file mode 100644
index 86d004d1e1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionAssignabilityWithArrayLike01(strict=false).js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.functionAssignabilityWithArrayLike01(strict=false).js
-+++ new.functionAssignabilityWithArrayLike01(strict=false).js
-@@= skipped -5, +5 lines =@@
-
- //// [functionAssignabilityWithArrayLike01.js]
- function func() { }
--var array = func;
-+const array = func;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionAssignabilityWithArrayLike01(strict=true).js.diff b/testdata/baselines/reference/submodule/compiler/functionAssignabilityWithArrayLike01(strict=true).js.diff
index 893773fc73..54d593f8ce 100644
--- a/testdata/baselines/reference/submodule/compiler/functionAssignabilityWithArrayLike01(strict=true).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/functionAssignabilityWithArrayLike01(strict=true).js.diff
@@ -6,5 +6,4 @@
//// [functionAssignabilityWithArrayLike01.js]
-"use strict";
function func() { }
--var array = func;
-+const array = func;
\ No newline at end of file
+ const array = func;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionAssignment.js.diff b/testdata/baselines/reference/submodule/compiler/functionAssignment.js.diff
deleted file mode 100644
index 16f490bb01..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionAssignment.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.functionAssignment.js
-+++ new.functionAssignment.js
-@@= skipped -47, +47 lines =@@
- var x = barbaz.get(function () { });
- });
- function f2(n) { }
--f2(function () {
-+f2(() => {
- var n = '';
- n = 4;
- });
- function f3(a) { }
- f3({ a: 0, b: 0 });
- function callb(a) { }
--callb(function (a) { a.length; });
-+callb((a) => { a.length; });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionCall10.js.diff b/testdata/baselines/reference/submodule/compiler/functionCall10.js.diff
deleted file mode 100644
index c3e70643c4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionCall10.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.functionCall10.js
-+++ new.functionCall10.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [functionCall10.js]
--function foo() {
-- var a = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- a[_i] = arguments[_i];
-- }
--}
-+function foo(...a) { }
- ;
- foo(0, 1);
- foo('foo');
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionCall13.js.diff b/testdata/baselines/reference/submodule/compiler/functionCall13.js.diff
deleted file mode 100644
index d18c67fe3c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionCall13.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.functionCall13.js
-+++ new.functionCall13.js
-@@= skipped -9, +9 lines =@@
-
-
- //// [functionCall13.js]
--function foo(a) {
-- var b = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- b[_i - 1] = arguments[_i];
-- }
--}
-+function foo(a, ...b) { }
- foo('foo', 1);
- foo('foo');
- foo();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionCall14.js.diff b/testdata/baselines/reference/submodule/compiler/functionCall14.js.diff
deleted file mode 100644
index 48610b1c94..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionCall14.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.functionCall14.js
-+++ new.functionCall14.js
-@@= skipped -9, +9 lines =@@
-
-
- //// [functionCall14.js]
--function foo(a) {
-- var b = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- b[_i - 1] = arguments[_i];
-- }
--}
-+function foo(a, ...b) { }
- foo('foo', 1);
- foo('foo');
- foo();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionCall15.js.diff b/testdata/baselines/reference/submodule/compiler/functionCall15.js.diff
deleted file mode 100644
index dc3f1d999e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionCall15.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.functionCall15.js
-+++ new.functionCall15.js
-@@= skipped -3, +3 lines =@@
- function foo(a?:string, b?:number, ...b:number[]){}
-
- //// [functionCall15.js]
--function foo(a, b) {
-- var b = [];
-- for (var _i = 2; _i < arguments.length; _i++) {
-- b[_i - 2] = arguments[_i];
-- }
--}
-+function foo(a, b, ...b) { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionCall16.js.diff b/testdata/baselines/reference/submodule/compiler/functionCall16.js.diff
deleted file mode 100644
index f3e66dee18..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionCall16.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.functionCall16.js
-+++ new.functionCall16.js
-@@= skipped -10, +10 lines =@@
-
-
- //// [functionCall16.js]
--function foo(a, b) {
-- var c = [];
-- for (var _i = 2; _i < arguments.length; _i++) {
-- c[_i - 2] = arguments[_i];
-- }
--}
-+function foo(a, b, ...c) { }
- foo('foo', 1);
- foo('foo');
- foo('foo', 'bar');
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionCall17.js.diff b/testdata/baselines/reference/submodule/compiler/functionCall17.js.diff
deleted file mode 100644
index 86aeb321ee..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionCall17.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.functionCall17.js
-+++ new.functionCall17.js
-@@= skipped -10, +10 lines =@@
-
-
- //// [functionCall17.js]
--function foo(a, b, c) {
-- var d = [];
-- for (var _i = 3; _i < arguments.length; _i++) {
-- d[_i - 3] = arguments[_i];
-- }
--}
-+function foo(a, b, c, ...d) { }
- foo('foo', 1);
- foo('foo');
- foo();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionCall5.js.diff b/testdata/baselines/reference/submodule/compiler/functionCall5.js.diff
index 75e6f9e6ca..3d399b9eec 100644
--- a/testdata/baselines/reference/submodule/compiler/functionCall5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/functionCall5.js.diff
@@ -1,17 +1,10 @@
--- old.functionCall5.js
+++ new.functionCall5.js
-@@= skipped -7, +7 lines =@@
- //// [functionCall5.js]
+@@= skipped -8, +8 lines =@@
var m1;
(function (m1) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
+ class c1 {
+ a;
-+ }
+ }
m1.c1 = c1;
- })(m1 || (m1 = {}));
- function foo() { return new m1.c1(); }
\ No newline at end of file
+ })(m1 || (m1 = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionCall7.js.diff b/testdata/baselines/reference/submodule/compiler/functionCall7.js.diff
index af40e57716..0a2d359937 100644
--- a/testdata/baselines/reference/submodule/compiler/functionCall7.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/functionCall7.js.diff
@@ -1,17 +1,10 @@
--- old.functionCall7.js
+++ new.functionCall7.js
-@@= skipped -12, +12 lines =@@
- //// [functionCall7.js]
+@@= skipped -13, +13 lines =@@
var m1;
(function (m1) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
+ class c1 {
+ a;
-+ }
+ }
m1.c1 = c1;
- })(m1 || (m1 = {}));
- function foo(a) { a.a = 1; }
\ No newline at end of file
+ })(m1 || (m1 = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionExpressionAndLambdaMatchesFunction.js.diff b/testdata/baselines/reference/submodule/compiler/functionExpressionAndLambdaMatchesFunction.js.diff
deleted file mode 100644
index d1caa97a67..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionExpressionAndLambdaMatchesFunction.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.functionExpressionAndLambdaMatchesFunction.js
-+++ new.functionExpressionAndLambdaMatchesFunction.js
-@@= skipped -11, +11 lines =@@
-
-
- //// [functionExpressionAndLambdaMatchesFunction.js]
--var CDoc = /** @class */ (function () {
-- function CDoc() {
-+class CDoc {
-+ constructor() {
- function doSomething(a) {
- }
-- doSomething(function () { return undefined; });
-+ doSomething(() => undefined);
- doSomething(function () { });
- }
-- return CDoc;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionExpressionInWithBlock.js.diff b/testdata/baselines/reference/submodule/compiler/functionExpressionInWithBlock.js.diff
deleted file mode 100644
index 8248074f76..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionExpressionInWithBlock.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.functionExpressionInWithBlock.js
-+++ new.functionExpressionInWithBlock.js
-@@= skipped -12, +12 lines =@@
- function x() {
- with ({}) {
- function f() {
-- var _this = this;
-- (function () { return _this; });
-+ () => this;
- }
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionLikeInParameterInitializer.js.diff b/testdata/baselines/reference/submodule/compiler/functionLikeInParameterInitializer.js.diff
index eba99d77ae..077530f91b 100644
--- a/testdata/baselines/reference/submodule/compiler/functionLikeInParameterInitializer.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/functionLikeInParameterInitializer.js.diff
@@ -1,46 +1,13 @@
--- old.functionLikeInParameterInitializer.js
+++ new.functionLikeInParameterInitializer.js
-@@= skipped -28, +28 lines =@@
- exports.baz2 = baz2;
- exports.baz3 = baz3;
+@@= skipped -41, +41 lines =@@
+ }
// error
--function bar(func) {
-- if (func === void 0) { func = function () { return foo; }; }
-- var foo = "in";
--}
--// error
--function baz1(func) {
-- if (func === void 0) { func = { f: function () { return foo; } }; }
-- var foo = "in";
--}
--// error
--function baz2(func) {
-- if (func === void 0) { func = function () { return foo; }; }
-- var foo = "in";
--}
--// error
--function baz3(func) {
-- if (func === void 0) { func = /** @class */ (function () {
-- function class_1() {
-- this.x = foo;
-- }
-- return class_1;
-- }()); }
-- var foo = "in";
-+function bar(func = () => foo) {
-+ let foo = "in";
-+}
-+// error
-+function baz1(func = { f() { return foo; } }) {
-+ let foo = "in";
-+}
-+// error
-+function baz2(func = function () { return foo; }) {
-+ let foo = "in";
-+}
-+// error
-+function baz3(func = class {
+ function baz3(func = class {
+- constructor() {
+- this.x = foo;
+- }
+ x = foo;
-+}) {
-+ let foo = "in";
+ }) {
+ let foo = "in";
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionOverloadAmbiguity1.js.diff b/testdata/baselines/reference/submodule/compiler/functionOverloadAmbiguity1.js.diff
deleted file mode 100644
index 944715628e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionOverloadAmbiguity1.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.functionOverloadAmbiguity1.js
-+++ new.functionOverloadAmbiguity1.js
-@@= skipped -13, +13 lines =@@
-
- //// [functionOverloadAmbiguity1.js]
- function callb(a) { }
--callb(function (a) { a.length; }); // error, chose first overload
-+callb((a) => { a.length; }); // error, chose first overload
- function callb2(a) { }
--callb2(function (a) { a.length; }); // ok, chose first overload
-+callb2((a) => { a.length; }); // ok, chose first overload
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionOverloads43.js.diff b/testdata/baselines/reference/submodule/compiler/functionOverloads43.js.diff
deleted file mode 100644
index 9876974c8d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionOverloads43.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.functionOverloads43.js
-+++ new.functionOverloads43.js
-@@= skipped -14, +14 lines =@@
- var y = foo([{a: 100}]);
-
- //// [functionOverloads43.js]
--function foo(_a) {
-- var x = _a[0];
-+function foo([x]) {
- if (x) {
- return x.a;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionOverloads44.js.diff b/testdata/baselines/reference/submodule/compiler/functionOverloads44.js.diff
deleted file mode 100644
index 3cf886abc4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionOverloads44.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.functionOverloads44.js
-+++ new.functionOverloads44.js
-@@= skipped -24, +24 lines =@@
- var y2 = foo2([{a: 100}]);
-
- //// [functionOverloads44.js]
--function foo1(_a) {
-- var x = _a[0];
-+function foo1([x]) {
- return undefined;
- }
--function foo2(_a) {
-- var x = _a[0];
-+function foo2([x]) {
- return undefined;
- }
- var x1 = foo1([{ a: "str" }]);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionOverloads45.js.diff b/testdata/baselines/reference/submodule/compiler/functionOverloads45.js.diff
deleted file mode 100644
index 32199333a8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionOverloads45.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.functionOverloads45.js
-+++ new.functionOverloads45.js
-@@= skipped -24, +24 lines =@@
- var y2 = foo2([{a: 100}]);
-
- //// [functionOverloads45.js]
--function foo1(_a) {
-- var x = _a[0];
-+function foo1([x]) {
- return undefined;
- }
--function foo2(_a) {
-- var x = _a[0];
-+function foo2([x]) {
- return undefined;
- }
- var x1 = foo1([{ a: "str" }]);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionOverloads5.js.diff b/testdata/baselines/reference/submodule/compiler/functionOverloads5.js.diff
deleted file mode 100644
index a3938959fa..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionOverloads5.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.functionOverloads5.js
-+++ new.functionOverloads5.js
-@@= skipped -7, +7 lines =@@
-
-
- //// [functionOverloads5.js]
--var baz = /** @class */ (function () {
-- function baz() {
-- }
-- baz.prototype.foo = function (bar) { };
-- return baz;
--}());
-+class baz {
-+ foo(bar) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionOverloads6.js.diff b/testdata/baselines/reference/submodule/compiler/functionOverloads6.js.diff
deleted file mode 100644
index ed3d430a0c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionOverloads6.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.functionOverloads6.js
-+++ new.functionOverloads6.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [functionOverloads6.js]
--var foo = /** @class */ (function () {
-- function foo() {
-- }
-- foo.fnOverload = function (foo) { };
-- return foo;
--}());
-+class foo {
-+ static fnOverload(foo) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionOverloads7.js.diff b/testdata/baselines/reference/submodule/compiler/functionOverloads7.js.diff
deleted file mode 100644
index 284556ebb4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionOverloads7.js.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- old.functionOverloads7.js
-+++ new.functionOverloads7.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [functionOverloads7.js]
--var foo = /** @class */ (function () {
-- function foo() {
-- }
-- foo.prototype.bar = function (foo) { return "foo"; };
-- foo.prototype.n = function () {
-+class foo {
-+ bar(foo) { return "foo"; }
-+ n() {
- var foo = this.bar();
- foo = this.bar("test");
-- };
-- return foo;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionOverloadsOutOfOrder.js.diff b/testdata/baselines/reference/submodule/compiler/functionOverloadsOutOfOrder.js.diff
deleted file mode 100644
index 29bd53252f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionOverloadsOutOfOrder.js.diff
+++ /dev/null
@@ -1,32 +0,0 @@
---- old.functionOverloadsOutOfOrder.js
-+++ new.functionOverloadsOutOfOrder.js
-@@= skipped -17, +17 lines =@@
- }
-
- //// [functionOverloadsOutOfOrder.js]
--var d = /** @class */ (function () {
-- function d() {
-- }
-- d.prototype.foo = function (ns) {
-- return ns.toString();
-- };
-- return d;
--}());
--var e = /** @class */ (function () {
-- function e() {
-- }
-- e.prototype.foo = function (ns) {
-- return ns.toString();
-- };
-- return e;
--}());
-+class d {
-+ foo(ns) {
-+ return ns.toString();
-+ }
-+}
-+class e {
-+ foo(ns) {
-+ return ns.toString();
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionOverloadsRecursiveGenericReturnType.js.diff b/testdata/baselines/reference/submodule/compiler/functionOverloadsRecursiveGenericReturnType.js.diff
index bd8ae046f7..29fd0c4e1b 100644
--- a/testdata/baselines/reference/submodule/compiler/functionOverloadsRecursiveGenericReturnType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/functionOverloadsRecursiveGenericReturnType.js.diff
@@ -1,30 +1,13 @@
--- old.functionOverloadsRecursiveGenericReturnType.js
+++ new.functionOverloadsRecursiveGenericReturnType.js
-@@= skipped -16, +16 lines =@@
-
+@@= skipped -17, +17 lines =@@
//// [functionOverloadsRecursiveGenericReturnType.js]
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--function Choice() {
-- var v_args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- v_args[_i] = arguments[_i];
-- }
-+class B {
+ class B {
+ id;
-+}
-+class A {
+ }
+ class A {
+ GetEnumerator;
-+}
-+function Choice(...v_args) {
- return new A();
- }
\ No newline at end of file
+ }
+ function Choice(...v_args) {
+ return new A();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionParameterArityMismatch.js.diff b/testdata/baselines/reference/submodule/compiler/functionParameterArityMismatch.js.diff
deleted file mode 100644
index e64199c76a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionParameterArityMismatch.js.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- old.functionParameterArityMismatch.js
-+++ new.functionParameterArityMismatch.js
-@@= skipped -18, +18 lines =@@
-
-
- //// [functionParameterArityMismatch.js]
--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)) {
-- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
-- ar[i] = from[i];
-- }
-- }
-- return to.concat(ar || Array.prototype.slice.call(from));
--};
- f1();
- f1(1, 2);
- f1(1, 2, 3, 4);
-@@= skipped -16, +7 lines =@@
- f2(1, 2, 3);
- f2(1, 2, 3, 4, 5);
- f2(1, 2, 3, 4, 5, 6, 7);
--f2.apply(void 0, __spreadArray([1, 2, 3, 4, 5], [6, 7], false));
-+f2(1, 2, 3, 4, 5, ...[6, 7]);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionSubtypingOfVarArgs.js.diff b/testdata/baselines/reference/submodule/compiler/functionSubtypingOfVarArgs.js.diff
index 5a77ec0d46..0f191798b5 100644
--- a/testdata/baselines/reference/submodule/compiler/functionSubtypingOfVarArgs.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/functionSubtypingOfVarArgs.js.diff
@@ -1,50 +1,13 @@
--- old.functionSubtypingOfVarArgs.js
+++ new.functionSubtypingOfVarArgs.js
-@@= skipped -16, +16 lines =@@
-
+@@= skipped -17, +17 lines =@@
//// [functionSubtypingOfVarArgs.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var EventBase = /** @class */ (function () {
-- function EventBase() {
+ class EventBase {
+- constructor() {
- this._listeners = [];
- }
-- EventBase.prototype.add = function (listener) {
-+class EventBase {
+ _listeners = [];
-+ add(listener) {
+ add(listener) {
this._listeners.push(listener);
-- };
-- return EventBase;
--}());
--var StringEvent = /** @class */ (function (_super) {
-- __extends(StringEvent, _super);
-- function StringEvent() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- StringEvent.prototype.add = function (listener) {
-- _super.prototype.add.call(this, listener);
-- };
-- return StringEvent;
--}(EventBase));
-+ }
-+}
-+class StringEvent extends EventBase {
-+ add(listener) {
-+ super.add(listener);
-+ }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionSubtypingOfVarArgs2.js.diff b/testdata/baselines/reference/submodule/compiler/functionSubtypingOfVarArgs2.js.diff
index 7a312bec1c..a65bccd207 100644
--- a/testdata/baselines/reference/submodule/compiler/functionSubtypingOfVarArgs2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/functionSubtypingOfVarArgs2.js.diff
@@ -1,50 +1,13 @@
--- old.functionSubtypingOfVarArgs2.js
+++ new.functionSubtypingOfVarArgs2.js
-@@= skipped -16, +16 lines =@@
-
+@@= skipped -17, +17 lines =@@
//// [functionSubtypingOfVarArgs2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var EventBase = /** @class */ (function () {
-- function EventBase() {
+ class EventBase {
+- constructor() {
- this._listeners = [];
- }
-- EventBase.prototype.add = function (listener) {
-+class EventBase {
+ _listeners = [];
-+ add(listener) {
+ add(listener) {
this._listeners.push(listener);
-- };
-- return EventBase;
--}());
--var StringEvent = /** @class */ (function (_super) {
-- __extends(StringEvent, _super);
-- function StringEvent() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- StringEvent.prototype.add = function (listener) {
-- _super.prototype.add.call(this, listener);
-- };
-- return StringEvent;
--}(EventBase));
-+ }
-+}
-+class StringEvent extends EventBase {
-+ add(listener) {
-+ super.add(listener);
-+ }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionTypeArgumentAssignmentCompat.js.diff b/testdata/baselines/reference/submodule/compiler/functionTypeArgumentAssignmentCompat.js.diff
deleted file mode 100644
index e92188c54b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionTypeArgumentAssignmentCompat.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.functionTypeArgumentAssignmentCompat.js
-+++ new.functionTypeArgumentAssignmentCompat.js
-@@= skipped -16, +16 lines =@@
-
- //// [functionTypeArgumentAssignmentCompat.js]
- var f;
--var g = function () { return []; };
-+var g = () => [];
- f = g;
- var s = f("str").toUpperCase();
- console.log(s);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithAnyReturnTypeAndNoReturnExpression.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithAnyReturnTypeAndNoReturnExpression.js.diff
deleted file mode 100644
index f5b4b90514..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithAnyReturnTypeAndNoReturnExpression.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.functionWithAnyReturnTypeAndNoReturnExpression.js
-+++ new.functionWithAnyReturnTypeAndNoReturnExpression.js
-@@= skipped -8, +8 lines =@@
- //// [functionWithAnyReturnTypeAndNoReturnExpression.js]
- // All should be allowed
- function f() { }
--var f2 = function () { };
--var f3 = function () { };
-+var f2 = () => { };
-+var f3 = () => { };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements1.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements1.js.diff
deleted file mode 100644
index 3a49a35fff..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements1.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements1.js
-+++ new.functionWithDefaultParameterWithNoStatements1.js
-@@= skipped -3, +3 lines =@@
- function foo(x = 0) { }
-
- //// [functionWithDefaultParameterWithNoStatements1.js]
--function foo(x) {
-- if (x === void 0) { x = 0; }
--}
-+function foo(x = 0) { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements10.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements10.js.diff
deleted file mode 100644
index b3b91a7c4c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements10.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements10.js
-+++ new.functionWithDefaultParameterWithNoStatements10.js
-@@= skipped -6, +6 lines =@@
- }
-
- //// [functionWithDefaultParameterWithNoStatements10.js]
--function foo(a) {
-- if (a === void 0) { a = [0]; }
--}
--function bar(a) {
-- if (a === void 0) { a = [0]; }
-+function foo(a = [0]) { }
-+function bar(a = [0]) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements11.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements11.js.diff
deleted file mode 100644
index 823c9960bd..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements11.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements11.js
-+++ new.functionWithDefaultParameterWithNoStatements11.js
-@@= skipped -9, +9 lines =@@
-
- //// [functionWithDefaultParameterWithNoStatements11.js]
- var v;
--function foo(a) {
-- if (a === void 0) { a = v[0]; }
--}
--function bar(a) {
-- if (a === void 0) { a = v[0]; }
-+function foo(a = v[0]) { }
-+function bar(a = v[0]) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements12.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements12.js.diff
deleted file mode 100644
index 44d34efe68..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements12.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements12.js
-+++ new.functionWithDefaultParameterWithNoStatements12.js
-@@= skipped -9, +9 lines =@@
-
- //// [functionWithDefaultParameterWithNoStatements12.js]
- var v;
--function foo(a) {
-- if (a === void 0) { a = (v); }
--}
--function bar(a) {
-- if (a === void 0) { a = (v); }
-+function foo(a = (v)) { }
-+function bar(a = (v)) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements13.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements13.js.diff
deleted file mode 100644
index a56ebcd877..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements13.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements13.js
-+++ new.functionWithDefaultParameterWithNoStatements13.js
-@@= skipped -9, +9 lines =@@
-
- //// [functionWithDefaultParameterWithNoStatements13.js]
- var v;
--function foo(a) {
-- if (a === void 0) { a = [1 + 1]; }
--}
--function bar(a) {
-- if (a === void 0) { a = [1 + 1]; }
-+function foo(a = [1 + 1]) { }
-+function bar(a = [1 + 1]) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements14.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements14.js.diff
deleted file mode 100644
index 019f4b4a26..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements14.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements14.js
-+++ new.functionWithDefaultParameterWithNoStatements14.js
-@@= skipped -9, +9 lines =@@
-
- //// [functionWithDefaultParameterWithNoStatements14.js]
- var v;
--function foo(a) {
-- if (a === void 0) { a = v[1 + 1]; }
--}
--function bar(a) {
-- if (a === void 0) { a = v[1 + 1]; }
-+function foo(a = v[1 + 1]) { }
-+function bar(a = v[1 + 1]) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements15.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements15.js.diff
deleted file mode 100644
index 28fd2d6284..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements15.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements15.js
-+++ new.functionWithDefaultParameterWithNoStatements15.js
-@@= skipped -9, +9 lines =@@
-
- //// [functionWithDefaultParameterWithNoStatements15.js]
- var v;
--function foo(a) {
-- if (a === void 0) { a = (1 + 1); }
--}
--function bar(a) {
-- if (a === void 0) { a = (1 + 1); }
-+function foo(a = (1 + 1)) { }
-+function bar(a = (1 + 1)) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements16.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements16.js.diff
deleted file mode 100644
index 0a79f83ab3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements16.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements16.js
-+++ new.functionWithDefaultParameterWithNoStatements16.js
-@@= skipped -9, +9 lines =@@
-
- //// [functionWithDefaultParameterWithNoStatements16.js]
- var v;
--function foo(a) {
-- if (a === void 0) { a = bar(); }
--}
--function bar(a) {
-- if (a === void 0) { a = foo(); }
-+function foo(a = bar()) { }
-+function bar(a = foo()) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements2.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements2.js.diff
deleted file mode 100644
index 7ce282a14d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements2.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements2.js
-+++ new.functionWithDefaultParameterWithNoStatements2.js
-@@= skipped -4, +4 lines =@@
- }
-
- //// [functionWithDefaultParameterWithNoStatements2.js]
--function foo(x) {
-- if (x === void 0) { x = 0; }
-+function foo(x = 0) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements3.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements3.js.diff
deleted file mode 100644
index 42f2f0f57b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements3.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements3.js
-+++ new.functionWithDefaultParameterWithNoStatements3.js
-@@= skipped -6, +6 lines =@@
- }
-
- //// [functionWithDefaultParameterWithNoStatements3.js]
--function foo(a) {
-- if (a === void 0) { a = ""; }
--}
--function bar(a) {
-- if (a === void 0) { a = ""; }
-+function foo(a = "") { }
-+function bar(a = "") {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements4.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements4.js.diff
deleted file mode 100644
index 5022cdff4c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements4.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements4.js
-+++ new.functionWithDefaultParameterWithNoStatements4.js
-@@= skipped -6, +6 lines =@@
- }
-
- //// [functionWithDefaultParameterWithNoStatements4.js]
--function foo(a) {
-- if (a === void 0) { a = ""; }
--}
--function bar(a) {
-- if (a === void 0) { a = ""; }
-+function foo(a = ``) { }
-+function bar(a = ``) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements5.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements5.js.diff
deleted file mode 100644
index 8078a38064..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements5.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements5.js
-+++ new.functionWithDefaultParameterWithNoStatements5.js
-@@= skipped -6, +6 lines =@@
- }
-
- //// [functionWithDefaultParameterWithNoStatements5.js]
--function foo(a) {
-- if (a === void 0) { a = 0; }
--}
--function bar(a) {
-- if (a === void 0) { a = 0; }
-+function foo(a = 0) { }
-+function bar(a = 0) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements6.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements6.js.diff
deleted file mode 100644
index 538e20aa37..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements6.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements6.js
-+++ new.functionWithDefaultParameterWithNoStatements6.js
-@@= skipped -6, +6 lines =@@
- }
-
- //// [functionWithDefaultParameterWithNoStatements6.js]
--function foo(a) {
-- if (a === void 0) { a = true; }
--}
--function bar(a) {
-- if (a === void 0) { a = true; }
-+function foo(a = true) { }
-+function bar(a = true) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements7.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements7.js.diff
deleted file mode 100644
index 658df30a02..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements7.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements7.js
-+++ new.functionWithDefaultParameterWithNoStatements7.js
-@@= skipped -6, +6 lines =@@
- }
-
- //// [functionWithDefaultParameterWithNoStatements7.js]
--function foo(a) {
-- if (a === void 0) { a = false; }
--}
--function bar(a) {
-- if (a === void 0) { a = false; }
-+function foo(a = false) { }
-+function bar(a = false) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements8.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements8.js.diff
deleted file mode 100644
index 6e259d26ce..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements8.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements8.js
-+++ new.functionWithDefaultParameterWithNoStatements8.js
-@@= skipped -6, +6 lines =@@
- }
-
- //// [functionWithDefaultParameterWithNoStatements8.js]
--function foo(a) {
-- if (a === void 0) { a = undefined; }
--}
--function bar(a) {
-- if (a === void 0) { a = undefined; }
-+function foo(a = undefined) { }
-+function bar(a = undefined) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements9.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements9.js.diff
deleted file mode 100644
index f6ca6a9c7b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements9.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.functionWithDefaultParameterWithNoStatements9.js
-+++ new.functionWithDefaultParameterWithNoStatements9.js
-@@= skipped -6, +6 lines =@@
- }
-
- //// [functionWithDefaultParameterWithNoStatements9.js]
--function foo(a) {
-- if (a === void 0) { a = console.log; }
--}
--function bar(a) {
-- if (a === void 0) { a = console.log; }
-+function foo(a = console.log) { }
-+function bar(a = console.log) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionWithSameNameAsField.js.diff b/testdata/baselines/reference/submodule/compiler/functionWithSameNameAsField.js.diff
index ca01e78092..4ca88776a6 100644
--- a/testdata/baselines/reference/submodule/compiler/functionWithSameNameAsField.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/functionWithSameNameAsField.js.diff
@@ -1,20 +1,10 @@
--- old.functionWithSameNameAsField.js
+++ new.functionWithSameNameAsField.js
-@@= skipped -10, +10 lines =@@
-
+@@= skipped -11, +11 lines =@@
//// [functionWithSameNameAsField.js]
--var TestProgressBar = /** @class */ (function () {
-- function TestProgressBar() {
-- }
-- TestProgressBar.prototype.total = function (total) {
-+class TestProgressBar {
+ class TestProgressBar {
+ total;
-+ total(total) {
+ total(total) {
this.total = total;
- return this;
-- };
-- return TestProgressBar;
--}());
-+ }
-+}
\ No newline at end of file
+ return this;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionsInClassExpressions.js.diff b/testdata/baselines/reference/submodule/compiler/functionsInClassExpressions.js.diff
index 1ce987002b..24b344deb4 100644
--- a/testdata/baselines/reference/submodule/compiler/functionsInClassExpressions.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/functionsInClassExpressions.js.diff
@@ -1,26 +1,18 @@
--- old.functionsInClassExpressions.js
+++ new.functionsInClassExpressions.js
-@@= skipped -12, +12 lines =@@
- }
-
+@@= skipped -14, +14 lines =@@
//// [functionsInClassExpressions.js]
--var Foo = /** @class */ (function () {
-- function class_1() {
-- var _this = this;
+ let Foo = class {
+ constructor() {
- this.bar = 0;
-- this.inc = function () {
-- _this.bar++;
+- this.inc = () => {
+- this.bar++;
- };
-+let Foo = class {
-+ constructor() {
this.bar++;
}
-- class_1.prototype.m = function () { return this.bar; };
-- return class_1;
--}());
+ bar = 0;
+ inc = () => {
+ this.bar++;
+ };
-+ m() { return this.bar; }
-+};
\ No newline at end of file
+ m() { return this.bar; }
+ };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/functionsMissingReturnStatementsAndExpressions.js.diff b/testdata/baselines/reference/submodule/compiler/functionsMissingReturnStatementsAndExpressions.js.diff
deleted file mode 100644
index 1afd22bdc5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/functionsMissingReturnStatementsAndExpressions.js.diff
+++ /dev/null
@@ -1,93 +0,0 @@
---- old.functionsMissingReturnStatementsAndExpressions.js
-+++ new.functionsMissingReturnStatementsAndExpressions.js
-@@= skipped -243, +243 lines =@@
- function f23() {
- // Error; because `undefined | number` becomes `number` without strictNullChecks.
- }
--var f30 = function () {
-+const f30 = () => {
- // Ok, contextual type for implicit return is `undefined`
- };
--var f31 = function () {
-+const f31 = () => {
- // Ok, contextual type for expression-less return is `undefined`
- return;
- };
--var f32 = function () {
-+const f32 = () => {
- // Error, contextual type for implicit return isn't just `undefined`
- };
--var f33 = function () {
-+const f33 = () => {
- // Error, contextual type for expression-less return isn't just `undefined`
- return;
- };
--var C = /** @class */ (function () {
-- function C() {
-- }
-- Object.defineProperty(C.prototype, "m1", {
-- get: function () {
-- // Errors; get accessors must return a value.
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C.prototype, "m2", {
-- get: function () {
-- // Permissible; returns undefined.
-- return;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C.prototype, "m3", {
-- get: function () {
-- return "Okay, because this is a return expression.";
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C.prototype, "m4", {
-- get: function () {
-- // Fine since this consists of a single throw statement.
-- throw null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C.prototype, "m5", {
-- get: function () {
-- // Not fine, since we can *only* consist of a single throw statement
-- // if no return statements are present but we are a get accessor.
-- throw null;
-- throw undefined.
-- ;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
--}());
-+class C {
-+ get m1() {
-+ // Errors; get accessors must return a value.
-+ }
-+ get m2() {
-+ // Permissible; returns undefined.
-+ return;
-+ }
-+ get m3() {
-+ return "Okay, because this is a return expression.";
-+ }
-+ get m4() {
-+ // Fine since this consists of a single throw statement.
-+ throw null;
-+ }
-+ get m5() {
-+ // Not fine, since we can *only* consist of a single throw statement
-+ // if no return statements are present but we are a get accessor.
-+ throw null;
-+ throw undefined.
-+ ;
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/fuzzy.js.diff b/testdata/baselines/reference/submodule/compiler/fuzzy.js.diff
index e97aed6418..fb2dc48915 100644
--- a/testdata/baselines/reference/submodule/compiler/fuzzy.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/fuzzy.js.diff
@@ -1,33 +1,10 @@
--- old.fuzzy.js
+++ new.fuzzy.js
-@@= skipped -34, +34 lines =@@
- //// [fuzzy.js]
+@@= skipped -35, +35 lines =@@
var M;
(function (M) {
-- var C = /** @class */ (function () {
-- function C(x) {
-+ class C {
+ class C {
+ x;
-+ constructor(x) {
+ constructor(x) {
this.x = x;
- }
-- C.prototype.works = function () {
-+ works() {
- return ({ anything: 1 });
-- };
-- C.prototype.doesntWork = function () {
-+ }
-+ doesntWork() {
- return { anything: 1, oneI: this };
-- };
-- C.prototype.worksToo = function () {
-+ }
-+ worksToo() {
- return ({ oneI: this });
-- };
-- return C;
-- }());
-+ }
-+ }
- M.C = C;
- })(M || (M = {}));
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/generativeRecursionWithTypeOf.js.diff b/testdata/baselines/reference/submodule/compiler/generativeRecursionWithTypeOf.js.diff
index fe4a8713c2..13a003ed26 100644
--- a/testdata/baselines/reference/submodule/compiler/generativeRecursionWithTypeOf.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/generativeRecursionWithTypeOf.js.diff
@@ -1,19 +1,10 @@
--- old.generativeRecursionWithTypeOf.js
+++ new.generativeRecursionWithTypeOf.js
-@@= skipped -12, +12 lines =@@
- }
-
+@@= skipped -14, +14 lines =@@
//// [generativeRecursionWithTypeOf.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.foo = function (x) { };
-- return C;
--}());
-+class C {
-+ static foo(x) { }
+ class C {
+ static foo(x) { }
+ type;
-+}
+ }
var M;
- (function (M) {
- function f(x) {
\ No newline at end of file
+ (function (M) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/generatorTransformFinalLabel.js.diff b/testdata/baselines/reference/submodule/compiler/generatorTransformFinalLabel.js.diff
index 288db306b8..738795692e 100644
--- a/testdata/baselines/reference/submodule/compiler/generatorTransformFinalLabel.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/generatorTransformFinalLabel.js.diff
@@ -5,19 +5,13 @@
//// [generatorTransformFinalLabel.js]
-function test(skip) {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (!!skip) return [3 /*break*/, 2];
-- return [4 /*yield*/, 1];
-- case 1:
-- _a.sent();
-- return [3 /*break*/, 3];
-- case 2: throw Error('test');
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- if (!skip) {
+- yield 1;
+- }
+- else {
+- throw Error('test');
+- }
- });
+async function test(skip) {
+ if (!skip) {
diff --git a/testdata/baselines/reference/submodule/compiler/genericArray1.js.diff b/testdata/baselines/reference/submodule/compiler/genericArray1.js.diff
index 5704fc65ee..e90d5f35fc 100644
--- a/testdata/baselines/reference/submodule/compiler/genericArray1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericArray1.js.diff
@@ -1,11 +1,6 @@
--- old.genericArray1.js
+++ new.genericArray1.js
-@@= skipped -27, +27 lines =@@
- length: number;
- }
- */
--var lengths = ["a", "b", "c"].map(function (x) { return x.length; });
-+var lengths = ["a", "b", "c"].map(x => x.length);
+@@= skipped -31, +31 lines =@@
//// [genericArray1.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/genericArrayWithoutTypeAnnotation.js.diff b/testdata/baselines/reference/submodule/compiler/genericArrayWithoutTypeAnnotation.js.diff
deleted file mode 100644
index 054ab5e3c0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericArrayWithoutTypeAnnotation.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.genericArrayWithoutTypeAnnotation.js
-+++ new.genericArrayWithoutTypeAnnotation.js
-@@= skipped -9, +9 lines =@@
-
-
- //// [genericArrayWithoutTypeAnnotation.js]
--var Bar = /** @class */ (function () {
-- function Bar() {
-+class Bar {
-+ getBar(foo) {
- }
-- Bar.prototype.getBar = function (foo) {
-- };
-- return Bar;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericAssignmentCompatWithInterfaces1.js.diff b/testdata/baselines/reference/submodule/compiler/genericAssignmentCompatWithInterfaces1.js.diff
deleted file mode 100644
index 2a618a71d8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericAssignmentCompatWithInterfaces1.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.genericAssignmentCompatWithInterfaces1.js
-+++ new.genericAssignmentCompatWithInterfaces1.js
-@@= skipped -21, +21 lines =@@
-
-
- //// [genericAssignmentCompatWithInterfaces1.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.compareTo = function (other) { return 1; };
-- return A;
--}());
-+class A {
-+ compareTo(other) { return 1; }
-+}
- var z = { x: new A() };
- var a1 = { x: new A() };
- var a2 = function () {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericBaseClassLiteralProperty.js.diff b/testdata/baselines/reference/submodule/compiler/genericBaseClassLiteralProperty.js.diff
index c8321af2f9..629184eaa4 100644
--- a/testdata/baselines/reference/submodule/compiler/genericBaseClassLiteralProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericBaseClassLiteralProperty.js.diff
@@ -1,45 +1,11 @@
--- old.genericBaseClassLiteralProperty.js
+++ new.genericBaseClassLiteralProperty.js
-@@= skipped -14, +14 lines =@@
- }
+@@= skipped -15, +15 lines =@@
//// [genericBaseClassLiteralProperty.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var BaseClass = /** @class */ (function () {
-- function BaseClass() {
-- }
-- return BaseClass;
--}());
--var SubClass = /** @class */ (function (_super) {
-- __extends(SubClass, _super);
-- function SubClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- SubClass.prototype.Error = function () {
-+class BaseClass {
+ class BaseClass {
+ _getValue1;
+ _getValue2;
-+}
-+class SubClass extends BaseClass {
-+ Error() {
- var x = this._getValue1();
- var y = this._getValue2();
-- };
-- return SubClass;
--}(BaseClass));
-+ }
-+}
\ No newline at end of file
+ }
+ class SubClass extends BaseClass {
+ Error() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericBaseClassLiteralProperty2.js.diff b/testdata/baselines/reference/submodule/compiler/genericBaseClassLiteralProperty2.js.diff
index 41889e557c..d25e49f121 100644
--- a/testdata/baselines/reference/submodule/compiler/genericBaseClassLiteralProperty2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericBaseClassLiteralProperty2.js.diff
@@ -1,52 +1,10 @@
--- old.genericBaseClassLiteralProperty2.js
+++ new.genericBaseClassLiteralProperty2.js
-@@= skipped -17, +17 lines =@@
-
-
- //// [genericBaseClassLiteralProperty2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var CollectionItem2 = /** @class */ (function () {
-- function CollectionItem2() {
-- }
-- return CollectionItem2;
--}());
--var BaseCollection2 = /** @class */ (function () {
-- function BaseCollection2() {
-+class CollectionItem2 {
-+}
-+class BaseCollection2 {
+@@= skipped -20, +20 lines =@@
+ class CollectionItem2 {
+ }
+ class BaseCollection2 {
+ _itemsByKey;
-+ constructor() {
+ constructor() {
this._itemsByKey = {};
- }
-- return BaseCollection2;
--}());
--var DataView2 = /** @class */ (function (_super) {
-- __extends(DataView2, _super);
-- function DataView2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- DataView2.prototype.fillItems = function (item) {
-+}
-+class DataView2 extends BaseCollection2 {
-+ fillItems(item) {
- this._itemsByKey['dummy'] = item;
-- };
-- return DataView2;
--}(BaseCollection2));
-+ }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericCallWithFixedArguments.js.diff b/testdata/baselines/reference/submodule/compiler/genericCallWithFixedArguments.js.diff
deleted file mode 100644
index 40b816e036..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericCallWithFixedArguments.js.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- old.genericCallWithFixedArguments.js
-+++ new.genericCallWithFixedArguments.js
-@@= skipped -9, +9 lines =@@
-
-
- //// [genericCallWithFixedArguments.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.foo = function () { };
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- B.prototype.bar = function () { };
-- return B;
--}());
-+class A {
-+ foo() { }
-+}
-+class B {
-+ bar() { }
-+}
- function g(x) { }
- g(7); // the parameter list is fixed, so this should not error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericCallWithinOwnBodyCastTypeParameterIdentity.js.diff b/testdata/baselines/reference/submodule/compiler/genericCallWithinOwnBodyCastTypeParameterIdentity.js.diff
index cad463d514..fce0cfae13 100644
--- a/testdata/baselines/reference/submodule/compiler/genericCallWithinOwnBodyCastTypeParameterIdentity.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericCallWithinOwnBodyCastTypeParameterIdentity.js.diff
@@ -5,35 +5,6 @@
//// [genericCallWithinOwnBodyCastTypeParameterIdentity.js]
-"use strict";
--var toThenable = function (fn) {
-- return function (input) {
-- var result = fn(input);
-- return {
-- then: function (onFulfilled) {
-- return toThenable(onFulfilled)(result);
-- }
-- };
-+const toThenable = (fn) => (input) => {
-+ const result = fn(input);
-+ return {
-+ then(onFulfilled) {
-+ return toThenable(onFulfilled)(result);
-+ }
- };
- };
--var toThenableInferred = function (fn) {
-- return function (input) {
-- var result = fn(input);
-- return {
-- then: function (onFulfilled) {
-- return toThenableInferred(onFulfilled)(result);
-- }
-- };
-+const toThenableInferred = (fn) => (input) => {
-+ const result = fn(input);
-+ return {
-+ then(onFulfilled) {
-+ return toThenableInferred(onFulfilled)(result);
-+ }
- };
- };
\ No newline at end of file
+ const toThenable = (fn) => (input) => {
+ const result = fn(input);
+ return {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericCallbacksAndClassHierarchy.js.diff b/testdata/baselines/reference/submodule/compiler/genericCallbacksAndClassHierarchy.js.diff
index bbed45594f..cc0c97680f 100644
--- a/testdata/baselines/reference/submodule/compiler/genericCallbacksAndClassHierarchy.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericCallbacksAndClassHierarchy.js.diff
@@ -1,71 +1,14 @@
--- old.genericCallbacksAndClassHierarchy.js
+++ new.genericCallbacksAndClassHierarchy.js
-@@= skipped -25, +25 lines =@@
- }
-
- //// [genericCallbacksAndClassHierarchy.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
+@@= skipped -28, +28 lines =@@
var M;
(function (M) {
-- var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
-- }());
-+ class C1 {
+ class C1 {
+ value;
-+ }
+ }
M.C1 = C1;
-- var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
-- }());
-+ class A {
+ class A {
+ dummy;
-+ }
+ }
M.A = A;
-- var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
-- }(C1));
-+ class B extends C1 {
-+ }
- M.B = B;
-- var D = /** @class */ (function () {
-- function D() {
-- }
-- D.prototype._subscribe = function (viewModel) {
-- var f = function (newValue) { };
-+ class D {
-+ _subscribe(viewModel) {
-+ var f = (newValue) => { };
- var v = viewModel.value;
- // both of these should work
- v.subscribe(f);
-- v.subscribe(function (newValue) { });
-- };
-- return D;
-- }());
-+ v.subscribe((newValue) => { });
-+ }
-+ }
- M.D = D;
- })(M || (M = {}));
\ No newline at end of file
+ class B extends C1 {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericChainedCalls.js.diff b/testdata/baselines/reference/submodule/compiler/genericChainedCalls.js.diff
deleted file mode 100644
index abb8bfb2cf..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericChainedCalls.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.genericChainedCalls.js
-+++ new.genericChainedCalls.js
-@@= skipped -16, +16 lines =@@
-
-
- //// [genericChainedCalls.js]
--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(); });
--var s1 = v1.func(function (num) { return num.toString(); });
--var s2 = s1.func(function (str) { return str.length; }); // should also error
--var s3 = s2.func(function (num) { return num.toString(); });
-+var r1 = v1.func(num => num.toString())
-+ .func(str => str.length) // error, number doesn't have a length
-+ .func(num => num.toString());
-+var s1 = v1.func(num => num.toString());
-+var s2 = s1.func(str => str.length); // should also error
-+var s3 = s2.func(num => num.toString());
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericClassImplementingGenericInterfaceFromAnotherModule.js.diff b/testdata/baselines/reference/submodule/compiler/genericClassImplementingGenericInterfaceFromAnotherModule.js.diff
deleted file mode 100644
index a0281da404..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericClassImplementingGenericInterfaceFromAnotherModule.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.genericClassImplementingGenericInterfaceFromAnotherModule.js
-+++ new.genericClassImplementingGenericInterfaceFromAnotherModule.js
-@@= skipped -11, +11 lines =@@
- //// [genericClassImplementingGenericInterfaceFromAnotherModule.js]
- var bar;
- (function (bar) {
-- var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
-- }());
-+ class Foo {
-+ }
- bar.Foo = Foo;
- })(bar || (bar = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/genericClassInheritsConstructorFromNonGenericClass.js.diff b/testdata/baselines/reference/submodule/compiler/genericClassInheritsConstructorFromNonGenericClass.js.diff
deleted file mode 100644
index cb9e355afe..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericClassInheritsConstructorFromNonGenericClass.js.diff
+++ /dev/null
@@ -1,47 +0,0 @@
---- old.genericClassInheritsConstructorFromNonGenericClass.js
-+++ new.genericClassInheritsConstructorFromNonGenericClass.js
-@@= skipped -7, +7 lines =@@
- }
-
- //// [genericClassInheritsConstructorFromNonGenericClass.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function (_super) {
-- __extends(A, _super);
-- function A() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return A;
--}(B));
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(C));
--var C = /** @class */ (function () {
-- function C(p) {
-- }
-- return C;
--}());
-+class A extends B {
-+}
-+class B extends C {
-+}
-+class C {
-+ constructor(p) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericClassPropertyInheritanceSpecialization.js.diff b/testdata/baselines/reference/submodule/compiler/genericClassPropertyInheritanceSpecialization.js.diff
index d03f43cf24..c348469440 100644
--- a/testdata/baselines/reference/submodule/compiler/genericClassPropertyInheritanceSpecialization.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericClassPropertyInheritanceSpecialization.js.diff
@@ -1,24 +1,7 @@
--- old.genericClassPropertyInheritanceSpecialization.js
+++ new.genericClassPropertyInheritanceSpecialization.js
-@@= skipped -77, +77 lines =@@
-
-
+@@= skipped -79, +79 lines =@@
//// [genericClassPropertyInheritanceSpecialization.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
var Portal;
(function (Portal) {
- var Controls;
@@ -27,25 +10,15 @@
- var Validators;
+ let Validators;
(function (Validators) {
-- var Validator = /** @class */ (function () {
-- function Validator(message) {
-- }
-- Validator.prototype.destroy = function () { };
-- Validator.prototype._validate = function (value) { return 0; };
-- return Validator;
-- }());
-+ class Validator {
+ class Validator {
+ _subscription;
+ message;
+ validationState;
+ validate;
-+ constructor(message) { }
-+ destroy() { }
-+ _validate(value) { return 0; }
-+ }
- Validators.Validator = Validator;
- })(Validators = Controls.Validators || (Controls.Validators = {}));
- })(Controls = Portal.Controls || (Portal.Controls = {}));
+ constructor(message) { }
+ destroy() { }
+ _validate(value) { return 0; }
+@@= skipped -15, +19 lines =@@
})(Portal || (Portal = {}));
var PortalFx;
(function (PortalFx) {
@@ -58,28 +31,14 @@
- var Validators;
+ let Validators;
(function (Validators) {
-- var Validator = /** @class */ (function (_super) {
-- __extends(Validator, _super);
-- function Validator(message) {
-- return _super.call(this, message) || this;
-+ class Validator extends Portal.Controls.Validators.Validator {
-+ constructor(message) {
-+ super(message);
- }
-- return Validator;
-- }(Portal.Controls.Validators.Validator));
-+ }
- Validators.Validator = Validator;
- })(Validators = Controls.Validators || (Controls.Validators = {}));
- })(Controls = ViewModels.Controls || (ViewModels.Controls = {}));
+ class Validator extends Portal.Controls.Validators.Validator {
+ constructor(message) {
+@@= skipped -17, +17 lines =@@
})(ViewModels = PortalFx.ViewModels || (PortalFx.ViewModels = {}));
})(PortalFx || (PortalFx = {}));
--var ViewModel = /** @class */ (function () {
-- function ViewModel() {
+ class ViewModel {
+- constructor() {
- this.validators = ko.observableArray();
- }
-- return ViewModel;
--}());
-+class ViewModel {
+ validators = ko.observableArray();
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericClassStaticMethod.js.diff b/testdata/baselines/reference/submodule/compiler/genericClassStaticMethod.js.diff
deleted file mode 100644
index 703c97625c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericClassStaticMethod.js.diff
+++ /dev/null
@@ -1,45 +0,0 @@
---- old.genericClassStaticMethod.js
-+++ new.genericClassStaticMethod.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [genericClassStaticMethod.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Foo.getFoo = function () {
-- };
-- return Foo;
--}());
--var Bar = /** @class */ (function (_super) {
-- __extends(Bar, _super);
-- function Bar() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Bar.getFoo = function () {
-- };
-- return Bar;
--}(Foo));
-+class Foo {
-+ static getFoo() {
-+ }
-+}
-+class Bar extends Foo {
-+ static getFoo() {
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericClassWithStaticFactory.js.diff b/testdata/baselines/reference/submodule/compiler/genericClassWithStaticFactory.js.diff
index 55fe01c8c2..ad11c0d8a0 100644
--- a/testdata/baselines/reference/submodule/compiler/genericClassWithStaticFactory.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericClassWithStaticFactory.js.diff
@@ -1,160 +1,14 @@
--- old.genericClassWithStaticFactory.js
+++ new.genericClassWithStaticFactory.js
-@@= skipped -145, +145 lines =@@
- //// [genericClassWithStaticFactory.js]
+@@= skipped -146, +146 lines =@@
var Editor;
(function (Editor) {
-- var List = /** @class */ (function () {
-- function List(isHead, data) {
-+ class List {
+ class List {
+ isHead;
+ data;
+ next;
+ prev;
+ listFactory;
-+ constructor(isHead, data) {
+ constructor(isHead, data) {
this.isHead = isHead;
- this.data = data;
- this.listFactory = new ListFactory();
- }
-- List.prototype.add = function (data) {
-+ add(data) {
- var entry = this.listFactory.MakeEntry(data);
- this.prev.next = entry;
- entry.next = this;
- entry.prev = this.prev;
- this.prev = entry;
- return entry;
-- };
-- List.prototype.count = function () {
-+ }
-+ count() {
- var entry;
- var i;
- entry = this.next;
-@@= skipped -22, +27 lines =@@
- entry = entry.next;
- }
- return (i);
-- };
-- List.prototype.isEmpty = function () {
-+ }
-+ isEmpty() {
- return (this.next == this);
-- };
-- List.prototype.first = function () {
-+ }
-+ first() {
- if (this.isEmpty()) {
- return this.next.data;
- }
- else {
- return null;
- }
-- };
-- List.prototype.pushEntry = function (entry) {
-+ }
-+ pushEntry(entry) {
- entry.isHead = false;
- entry.next = this.next;
- entry.prev = this;
- this.next = entry;
- entry.next.prev = entry; // entry.next.prev does not show intellisense, but entry.prev.prev does
-- };
-- List.prototype.push = function (data) {
-+ }
-+ push(data) {
- var entry = this.listFactory.MakeEntry(data);
- entry.data = data;
- entry.isHead = false;
-@@= skipped -27, +27 lines =@@
- entry.prev = this;
- this.next = entry;
- entry.next.prev = entry; // entry.next.prev does not show intellisense, but entry.prev.prev does
-- };
-- List.prototype.popEntry = function (head) {
-+ }
-+ popEntry(head) {
- if (this.next.isHead) {
- return null;
- }
- else {
- return this.listFactory.RemoveEntry(this.next);
- }
-- };
-- List.prototype.insertEntry = function (entry) {
-+ }
-+ insertEntry(entry) {
- entry.isHead = false;
- this.prev.next = entry;
- entry.next = this;
- entry.prev = this.prev;
- this.prev = entry;
- return entry;
-- };
-- List.prototype.insertAfter = function (data) {
-+ }
-+ insertAfter(data) {
- var entry = this.listFactory.MakeEntry(data);
- entry.next = this.next;
- entry.prev = this;
- this.next = entry;
- entry.next.prev = entry; // entry.next.prev does not show intellisense, but entry.prev.prev does
- return entry;
-- };
-- List.prototype.insertEntryBefore = function (entry) {
-+ }
-+ insertEntryBefore(entry) {
- this.prev.next = entry;
- entry.next = this;
- entry.prev = this.prev;
- this.prev = entry;
- return entry;
-- };
-- List.prototype.insertBefore = function (data) {
-+ }
-+ insertBefore(data) {
- var entry = this.listFactory.MakeEntry(data);
- return this.insertEntryBefore(entry);
-- };
-- return List;
-- }());
-+ }
-+ }
- Editor.List = List;
-- var ListFactory = /** @class */ (function () {
-- function ListFactory() {
-- }
-- ListFactory.prototype.MakeHead = function () {
-+ class ListFactory {
-+ MakeHead() {
- var entry = new List(true, null);
- entry.prev = entry;
- entry.next = entry;
- return entry;
-- };
-- ListFactory.prototype.MakeEntry = function (data) {
-+ }
-+ MakeEntry(data) {
- var entry = new List(false, data);
- entry.prev = entry;
- entry.next = entry;
- return entry;
-- };
-- ListFactory.prototype.RemoveEntry = function (entry) {
-+ }
-+ RemoveEntry(entry) {
- if (entry == null) {
- return null;
- }
-@@= skipped -67, +64 lines =@@
- entry.prev.next = entry.next;
- return entry;
- }
-- };
-- return ListFactory;
-- }());
-+ }
-+ }
- Editor.ListFactory = ListFactory;
- })(Editor || (Editor = {}));
\ No newline at end of file
+ this.data = data;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericClassWithStaticsUsingTypeArguments.js.diff b/testdata/baselines/reference/submodule/compiler/genericClassWithStaticsUsingTypeArguments.js.diff
index 9552264032..0a9021b60f 100644
--- a/testdata/baselines/reference/submodule/compiler/genericClassWithStaticsUsingTypeArguments.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericClassWithStaticsUsingTypeArguments.js.diff
@@ -4,10 +4,11 @@
//// [genericClassWithStaticsUsingTypeArguments.js]
// Should be error to use 'T' in all declarations within Foo.
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Foo.f = function (xs) {
+-let Foo = (() => {
+- class Foo {
+- static f(xs) {
+- return xs.reverse();
+- }
+class Foo {
+ static a = (n) => { };
+ static b;
@@ -15,13 +16,12 @@
+ static d = false || ((x) => x || undefined)(null);
+ static e = function (x) { return null; };
+ static f(xs) {
- return xs.reverse();
-- };
-- Foo.a = function (n) { };
++ return xs.reverse();
+ }
+- Foo.a = (n) => { };
- Foo.c = [];
-- Foo.d = false || (function (x) { return x || undefined; })(null);
+- Foo.d = false || ((x) => x || undefined)(null);
- Foo.e = function (x) { return null; };
- return Foo;
--}());
-+ }
+-})();
+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericClasses0.js.diff b/testdata/baselines/reference/submodule/compiler/genericClasses0.js.diff
index efd3eb3b48..6c42e160fc 100644
--- a/testdata/baselines/reference/submodule/compiler/genericClasses0.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericClasses0.js.diff
@@ -1,21 +1,14 @@
--- old.genericClasses0.js
+++ new.genericClasses0.js
-@@= skipped -9, +9 lines =@@
- var y = v1.x; // should be 'string'
+@@= skipped -10, +10 lines =@@
//// [genericClasses0.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ x;
-+}
+ }
var v1;
var y = v1.x; // should be 'string'
-
-@@= skipped -14, +12 lines =@@
+@@= skipped -10, +11 lines =@@
x: T;
}
declare var v1: C;
diff --git a/testdata/baselines/reference/submodule/compiler/genericClasses1.js.diff b/testdata/baselines/reference/submodule/compiler/genericClasses1.js.diff
index 33471d1c4a..4a2761f1fc 100644
--- a/testdata/baselines/reference/submodule/compiler/genericClasses1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericClasses1.js.diff
@@ -1,21 +1,14 @@
--- old.genericClasses1.js
+++ new.genericClasses1.js
-@@= skipped -9, +9 lines =@@
- var y = v1.x; // should be 'string'
+@@= skipped -10, +10 lines =@@
//// [genericClasses1.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ x;
-+}
+ }
var v1 = new C();
var y = v1.x; // should be 'string'
-
-@@= skipped -14, +12 lines =@@
+@@= skipped -10, +11 lines =@@
x: T;
}
declare var v1: C;
diff --git a/testdata/baselines/reference/submodule/compiler/genericClasses2.js.diff b/testdata/baselines/reference/submodule/compiler/genericClasses2.js.diff
index 9e09b459ce..b1631843d1 100644
--- a/testdata/baselines/reference/submodule/compiler/genericClasses2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericClasses2.js.diff
@@ -1,23 +1,16 @@
--- old.genericClasses2.js
+++ new.genericClasses2.js
-@@= skipped -17, +17 lines =@@
- var z = v1.z.a; // should be 'number'
+@@= skipped -18, +18 lines =@@
//// [genericClasses2.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ x;
+ y;
+ z;
-+}
+ }
var v1;
var y = v1.x; // should be 'string'
- var w = v1.y.a; // should be 'string'
-@@= skipped -21, +21 lines =@@
+@@= skipped -17, +20 lines =@@
z: Foo;
}
declare var v1: C;
diff --git a/testdata/baselines/reference/submodule/compiler/genericClasses3.js.diff b/testdata/baselines/reference/submodule/compiler/genericClasses3.js.diff
index f6e7811974..e8a3a6a883 100644
--- a/testdata/baselines/reference/submodule/compiler/genericClasses3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericClasses3.js.diff
@@ -1,47 +1,18 @@
--- old.genericClasses3.js
+++ new.genericClasses3.js
-@@= skipped -19, +19 lines =@@
-
+@@= skipped -20, +20 lines =@@
//// [genericClasses3.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(B));
-+class B {
+ class B {
+ a;
+ b;
-+}
-+class C extends B {
+ }
+ class C extends B {
+ x;
-+}
+ }
var v2;
var y = v2.x; // should be 'string'
- var u = v2.a; // should be 'string'
-@@= skipped -42, +22 lines =@@
+@@= skipped -18, +21 lines =@@
x: T;
}
declare var v2: C;
diff --git a/testdata/baselines/reference/submodule/compiler/genericClasses4.js.diff b/testdata/baselines/reference/submodule/compiler/genericClasses4.js.diff
index 4b658ca3ba..0c80e3a412 100644
--- a/testdata/baselines/reference/submodule/compiler/genericClasses4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericClasses4.js.diff
@@ -1,34 +1,11 @@
--- old.genericClasses4.js
+++ new.genericClasses4.js
-@@= skipped -20, +20 lines =@@
-
+@@= skipped -21, +21 lines =@@
//// [genericClasses4.js]
// once caused stack overflow
--var Vec2_T = /** @class */ (function () {
-- function Vec2_T(x, y) {
-+class Vec2_T {
+ class Vec2_T {
+ x;
+ y;
-+ constructor(x, y) {
+ constructor(x, y) {
this.x = x;
- this.y = y;
- }
-- Vec2_T.prototype.fmap = function (f) {
-+ fmap(f) {
- var x = f(this.x);
- var y = f(this.y);
- var retval = new Vec2_T(x, y);
- return retval;
-- };
-- Vec2_T.prototype.apply = function (f) {
-+ }
-+ apply(f) {
- var x = f.x(this.x);
- var y = f.y(this.y);
- var retval = new Vec2_T(x, y);
- return retval;
-- };
-- return Vec2_T;
--}());
-+ }
-+}
\ No newline at end of file
+ this.y = y;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericClassesInModule.js.diff b/testdata/baselines/reference/submodule/compiler/genericClassesInModule.js.diff
deleted file mode 100644
index c2ce3462ad..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericClassesInModule.js.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- old.genericClassesInModule.js
-+++ new.genericClassesInModule.js
-@@= skipped -12, +12 lines =@@
- //// [genericClassesInModule.js]
- var Foo;
- (function (Foo) {
-- var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
-- }());
-+ class B {
-+ }
- Foo.B = B;
-- var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
-- }());
-+ class A {
-+ }
- Foo.A = A;
- })(Foo || (Foo = {}));
- var a = new Foo.B();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericClassesInModule2.js.diff b/testdata/baselines/reference/submodule/compiler/genericClassesInModule2.js.diff
index f823929828..63f574ea1e 100644
--- a/testdata/baselines/reference/submodule/compiler/genericClassesInModule2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericClassesInModule2.js.diff
@@ -8,23 +8,21 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.B = exports.A = void 0;
-- var A = /** @class */ (function () {
-- function A(callback) {
+- class A {
+- constructor(callback) {
- this.callback = callback;
- var child = new B(this);
- }
-- A.prototype.AAA = function (callback) {
+- AAA(callback) {
- var child = new B(this);
-- };
-- return A;
-- }());
+- }
+- }
- exports.A = A;
-- var B = /** @class */ (function () {
-- function B(parent) {
+- class B {
+- constructor(parent) {
- this.parent = parent;
- }
-- return B;
-- }());
+- }
- exports.B = B;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/genericCloduleInModule.js.diff b/testdata/baselines/reference/submodule/compiler/genericCloduleInModule.js.diff
deleted file mode 100644
index 2912bb6fc5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericCloduleInModule.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.genericCloduleInModule.js
-+++ new.genericCloduleInModule.js
-@@= skipped -16, +16 lines =@@
- //// [genericCloduleInModule.js]
- var A;
- (function (A) {
-- var B = /** @class */ (function () {
-- function B() {
-- }
-- B.prototype.foo = function () { };
-- B.bar = function () { };
-- return B;
-- }());
-+ class B {
-+ foo() { }
-+ static bar() { }
-+ }
- A.B = B;
- (function (B) {
- B.x = 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericCloduleInModule2.js.diff b/testdata/baselines/reference/submodule/compiler/genericCloduleInModule2.js.diff
deleted file mode 100644
index b63d4f8f07..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericCloduleInModule2.js.diff
+++ /dev/null
@@ -1,25 +0,0 @@
---- old.genericCloduleInModule2.js
-+++ new.genericCloduleInModule2.js
-@@= skipped -19, +19 lines =@@
- //// [genericCloduleInModule2.js]
- var A;
- (function (A) {
-- var B = /** @class */ (function () {
-- function B() {
-- }
-- B.prototype.foo = function () { };
-- B.bar = function () { };
-- return B;
-- }());
-+ class B {
-+ foo() { }
-+ static bar() { }
-+ }
- A.B = B;
- })(A || (A = {}));
- (function (A) {
-- var B;
-+ let B;
- (function (B) {
- B.x = 1;
- })(B = A.B || (A.B = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericCloneReturnTypes.js.diff b/testdata/baselines/reference/submodule/compiler/genericCloneReturnTypes.js.diff
index 97eba7f7b2..0967b854fe 100644
--- a/testdata/baselines/reference/submodule/compiler/genericCloneReturnTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericCloneReturnTypes.js.diff
@@ -1,25 +1,11 @@
--- old.genericCloneReturnTypes.js
+++ new.genericCloneReturnTypes.js
-@@= skipped -27, +27 lines =@@
- b = b3;
+@@= skipped -28, +28 lines =@@
//// [genericCloneReturnTypes.js]
--var Bar = /** @class */ (function () {
-- function Bar(x) {
-+class Bar {
+ class Bar {
+ size;
+ t;
-+ constructor(x) {
+ constructor(x) {
this.size = x;
- }
-- Bar.prototype.clone = function () {
-+ clone() {
- return new Bar(this.size);
-- };
-- return Bar;
--}());
-+ }
-+}
- var b;
- var b2 = b.clone();
- var b3;
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericCloneReturnTypes2.js.diff b/testdata/baselines/reference/submodule/compiler/genericCloneReturnTypes2.js.diff
index f20612df69..d7976a4dd4 100644
--- a/testdata/baselines/reference/submodule/compiler/genericCloneReturnTypes2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericCloneReturnTypes2.js.diff
@@ -1,26 +1,11 @@
--- old.genericCloneReturnTypes2.js
+++ new.genericCloneReturnTypes2.js
-@@= skipped -17, +17 lines =@@
- var d: MyList = a.clone(); // error
+@@= skipped -18, +18 lines =@@
//// [genericCloneReturnTypes2.js]
--var MyList = /** @class */ (function () {
-- function MyList(n) {
-+class MyList {
+ class MyList {
+ size;
+ data;
-+ constructor(n) {
+ constructor(n) {
this.size = n;
- this.data = new Array(this.size);
- }
-- MyList.prototype.clone = function () {
-+ clone() {
- return new MyList(this.size);
-- };
-- return MyList;
--}());
-+ }
-+}
- var a;
- var b = a.clone(); // ok
- var c = a.clone(); // bug was there was an error on this line
\ No newline at end of file
+ this.data = new Array(this.size);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericCombinators2.js.diff b/testdata/baselines/reference/submodule/compiler/genericCombinators2.js.diff
deleted file mode 100644
index d9ba1ff5c5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericCombinators2.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.genericCombinators2.js
-+++ new.genericCombinators2.js
-@@= skipped -20, +20 lines =@@
- //// [genericCombinators2.js]
- var _;
- var c2;
--var rf1 = function (x, y) { return x.toFixed(); };
--var r5a = _.map(c2, function (x, y) { return x.toFixed(); });
-+var rf1 = (x, y) => { return x.toFixed(); };
-+var r5a = _.map(c2, (x, y) => { return x.toFixed(); });
- var r5b = _.map(c2, rf1);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericConstraint1.js.diff b/testdata/baselines/reference/submodule/compiler/genericConstraint1.js.diff
deleted file mode 100644
index 67651ee221..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericConstraint1.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.genericConstraint1.js
-+++ new.genericConstraint1.js
-@@= skipped -10, +10 lines =@@
- x.bar2(2, "");
-
- //// [genericConstraint1.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.bar2 = function (x, y) {
-+class C {
-+ bar2(x, y) {
- return null;
-- };
-- return C;
--}());
-+ }
-+}
- var x = new C();
- x.bar2(2, "");
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericConstraint2.js.diff b/testdata/baselines/reference/submodule/compiler/genericConstraint2.js.diff
index e92782c443..7cb9f05300 100644
--- a/testdata/baselines/reference/submodule/compiler/genericConstraint2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericConstraint2.js.diff
@@ -1,24 +1,10 @@
--- old.genericConstraint2.js
+++ new.genericConstraint2.js
-@@= skipped -30, +30 lines =@@
- return 1;
+@@= skipped -31, +31 lines =@@
return x.comparer(y);
}
--var ComparableString = /** @class */ (function () {
-- function ComparableString(currentValue) {
-+class ComparableString {
+ class ComparableString {
+ currentValue;
-+ constructor(currentValue) {
+ constructor(currentValue) {
this.currentValue = currentValue;
- }
-- ComparableString.prototype.localeCompare = function (other) {
-+ localeCompare(other) {
- return 0;
-- };
-- return ComparableString;
--}());
-+ }
-+}
- var a = new ComparableString("a");
- var b = new ComparableString("b");
- var c = compare(a, b);
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericConstraintDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/genericConstraintDeclaration.js.diff
deleted file mode 100644
index b2252a2be4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericConstraintDeclaration.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.genericConstraintDeclaration.js
-+++ new.genericConstraintDeclaration.js
-@@= skipped -10, +10 lines =@@
-
-
- //// [genericConstraintDeclaration.js]
--var List = /** @class */ (function () {
-- function List() {
-- }
-- List.empty = function () { return null; };
-- return List;
--}());
-+class List {
-+ static empty() { return null; }
-+}
-
-
- //// [genericConstraintDeclaration.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericConstraintOnExtendedBuiltinTypes.js.diff b/testdata/baselines/reference/submodule/compiler/genericConstraintOnExtendedBuiltinTypes.js.diff
index d9120f4a40..2b4991d68a 100644
--- a/testdata/baselines/reference/submodule/compiler/genericConstraintOnExtendedBuiltinTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericConstraintOnExtendedBuiltinTypes.js.diff
@@ -1,57 +1,26 @@
--- old.genericConstraintOnExtendedBuiltinTypes.js
+++ new.genericConstraintOnExtendedBuiltinTypes.js
-@@= skipped -28, +28 lines =@@
- }
-
+@@= skipped -30, +30 lines =@@
//// [genericConstraintOnExtendedBuiltinTypes.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
var EndGate;
(function (EndGate) {
- var Tweening;
+ let Tweening;
(function (Tweening) {
-- var Tween = /** @class */ (function () {
-- function Tween(from) {
-+ class Tween {
+ class Tween {
+ _from;
-+ constructor(from) {
+ constructor(from) {
this._from = from.Clone();
}
-- return Tween;
-- }());
-+ }
- Tweening.Tween = Tween;
+@@= skipped -11, +12 lines =@@
})(Tweening = EndGate.Tweening || (EndGate.Tweening = {}));
})(EndGate || (EndGate = {}));
(function (EndGate) {
- var Tweening;
+ let Tweening;
(function (Tweening) {
-- var NumberTween = /** @class */ (function (_super) {
-- __extends(NumberTween, _super);
-- function NumberTween(from) {
-- return _super.call(this, from) || this;
+- class NumberTween extends Tweening.Tween {
+ class NumberTween extends Tween {
-+ constructor(from) {
-+ super(from);
- }
-- return NumberTween;
-- }(Tweening.Tween));
-+ }
- Tweening.NumberTween = NumberTween;
- })(Tweening = EndGate.Tweening || (EndGate.Tweening = {}));
- })(EndGate || (EndGate = {}));
\ No newline at end of file
+ constructor(from) {
+ super(from);
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericConstraintOnExtendedBuiltinTypes2.js.diff b/testdata/baselines/reference/submodule/compiler/genericConstraintOnExtendedBuiltinTypes2.js.diff
index 280ee0dae3..a01f10a4ce 100644
--- a/testdata/baselines/reference/submodule/compiler/genericConstraintOnExtendedBuiltinTypes2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericConstraintOnExtendedBuiltinTypes2.js.diff
@@ -1,57 +1,26 @@
--- old.genericConstraintOnExtendedBuiltinTypes2.js
+++ new.genericConstraintOnExtendedBuiltinTypes2.js
-@@= skipped -27, +27 lines =@@
- }
-
+@@= skipped -29, +29 lines =@@
//// [genericConstraintOnExtendedBuiltinTypes2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
var EndGate;
(function (EndGate) {
- var Tweening;
+ let Tweening;
(function (Tweening) {
-- var Tween = /** @class */ (function () {
-- function Tween(from) {
-+ class Tween {
+ class Tween {
+ _from;
-+ constructor(from) {
+ constructor(from) {
this._from = from.Clone();
}
-- return Tween;
-- }());
-+ }
- Tweening.Tween = Tween;
+@@= skipped -11, +12 lines =@@
})(Tweening = EndGate.Tweening || (EndGate.Tweening = {}));
})(EndGate || (EndGate = {}));
(function (EndGate) {
- var Tweening;
+ let Tweening;
(function (Tweening) {
-- var NumberTween = /** @class */ (function (_super) {
-- __extends(NumberTween, _super);
-- function NumberTween(from) {
-- return _super.call(this, from) || this;
+- class NumberTween extends Tweening.Tween {
+ class NumberTween extends Tween {
-+ constructor(from) {
-+ super(from);
- }
-- return NumberTween;
-- }(Tweening.Tween));
-+ }
- Tweening.NumberTween = NumberTween;
- })(Tweening = EndGate.Tweening || (EndGate.Tweening = {}));
- })(EndGate || (EndGate = {}));
\ No newline at end of file
+ constructor(from) {
+ super(from);
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericContextualTypingSpecialization.js.diff b/testdata/baselines/reference/submodule/compiler/genericContextualTypingSpecialization.js.diff
deleted file mode 100644
index be37974dcc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericContextualTypingSpecialization.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.genericContextualTypingSpecialization.js
-+++ new.genericContextualTypingSpecialization.js
-@@= skipped -5, +5 lines =@@
-
- //// [genericContextualTypingSpecialization.js]
- var b;
--b.reduce(function (c, d) { return c + d; }, 0); // should not error on '+'
-+b.reduce((c, d) => c + d, 0); // should not error on '+'
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericDefaults.js.diff b/testdata/baselines/reference/submodule/compiler/genericDefaults.js.diff
index 7d28c40f90..e38e2c9f68 100644
--- a/testdata/baselines/reference/submodule/compiler/genericDefaults.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericDefaults.js.diff
@@ -1,115 +1,6 @@
--- old.genericDefaults.js
+++ new.genericDefaults.js
-@@= skipped -811, +811 lines =@@
- f20(a);
- f20(a, b);
- f20(a, b, d);
--var i00c00 = x.a;
--var i00c01 = x.a;
--var i01c00 = x.a;
--var i01c01 = x.a;
--var i02c00 = x.a;
--var i02c01 = x.a;
--var i02c02 = x.a;
--var i02c03 = x.a;
--var i02c04 = x.a;
--var i03c00 = x.a;
--var i03c01 = x.a;
--var i03c02 = x.a;
--var i03c03 = x.a;
--var i03c04 = x.a;
--var i05c00 = x.a;
--var i05c01 = x.a;
--var i06c00 = x.a;
--var i06c01 = x.a;
--var i06c02 = x.a;
--var i07c00 = x.a;
--var i07c01 = x.b;
--var i07c02 = x.a;
--var i07c03 = x.b;
--var Base01c00 = new Base01();
--var Base01c01 = new Base01(1);
--var Base01c02 = new Base01();
--var Base01c03 = new Base01(1);
--var Derived01c00 = new Derived01();
--var Derived01c01 = new Derived01(1);
--var Derived01c02 = new Derived01();
--var Derived01c03 = new Derived01(1);
--var Derived02c00 = new Derived02();
--var Derived02c01 = new Derived02(1);
--var Derived02c02 = new Derived02();
--var Derived02c03 = new Derived02(1);
--var Derived03c00 = new Derived03(ab);
--var Derived03c01 = Derived03c00.a;
--var t00c00 = x.a;
--var t00c01 = x.a;
--var t01c00 = x.a;
--var t01c01 = x.a;
--var t02c00 = x.a;
--var t02c01 = x.a;
--var t02c02 = x.a;
--var t02c03 = x.a;
--var t02c04 = x.a;
--var t03c00 = x.a;
--var t03c01 = x.a;
--var t03c02 = x.a;
--var t03c03 = x.a;
--var t03c04 = x.a;
-+const i00c00 = x.a;
-+const i00c01 = x.a;
-+const i01c00 = x.a;
-+const i01c01 = x.a;
-+const i02c00 = x.a;
-+const i02c01 = x.a;
-+const i02c02 = x.a;
-+const i02c03 = x.a;
-+const i02c04 = x.a;
-+const i03c00 = x.a;
-+const i03c01 = x.a;
-+const i03c02 = x.a;
-+const i03c03 = x.a;
-+const i03c04 = x.a;
-+const i05c00 = x.a;
-+const i05c01 = x.a;
-+const i06c00 = x.a;
-+const i06c01 = x.a;
-+const i06c02 = x.a;
-+const i07c00 = x.a;
-+const i07c01 = x.b;
-+const i07c02 = x.a;
-+const i07c03 = x.b;
-+const Base01c00 = new Base01();
-+const Base01c01 = new Base01(1);
-+const Base01c02 = new Base01();
-+const Base01c03 = new Base01(1);
-+const Derived01c00 = new Derived01();
-+const Derived01c01 = new Derived01(1);
-+const Derived01c02 = new Derived01();
-+const Derived01c03 = new Derived01(1);
-+const Derived02c00 = new Derived02();
-+const Derived02c01 = new Derived02(1);
-+const Derived02c02 = new Derived02();
-+const Derived02c03 = new Derived02(1);
-+const Derived03c00 = new Derived03(ab);
-+const Derived03c01 = Derived03c00.a;
-+const t00c00 = x.a;
-+const t00c01 = x.a;
-+const t01c00 = x.a;
-+const t01c01 = x.a;
-+const t02c00 = x.a;
-+const t02c01 = x.a;
-+const t02c02 = x.a;
-+const t02c03 = x.a;
-+const t02c04 = x.a;
-+const t03c00 = x.a;
-+const t03c01 = x.a;
-+const t03c02 = x.a;
-+const t03c03 = x.a;
-+const t03c04 = x.a;
-
-
- //// [genericDefaults.d.ts]
-@@= skipped -81, +81 lines =@@
+@@= skipped -892, +892 lines =@@
declare const ab: AB;
declare const bc: BC;
declare const x: any;
diff --git a/testdata/baselines/reference/submodule/compiler/genericDerivedTypeWithSpecializedBase.js.diff b/testdata/baselines/reference/submodule/compiler/genericDerivedTypeWithSpecializedBase.js.diff
index 9d8433662d..c5f9c209e3 100644
--- a/testdata/baselines/reference/submodule/compiler/genericDerivedTypeWithSpecializedBase.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericDerivedTypeWithSpecializedBase.js.diff
@@ -1,42 +1,13 @@
--- old.genericDerivedTypeWithSpecializedBase.js
+++ new.genericDerivedTypeWithSpecializedBase.js
-@@= skipped -14, +14 lines =@@
-
+@@= skipped -15, +15 lines =@@
//// [genericDerivedTypeWithSpecializedBase.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class A {
+ class A {
+ x;
-+}
-+class B extends A {
+ }
+ class B extends A {
+ y;
-+}
+ }
var x;
- var y;
- x = y; // error
\ No newline at end of file
+ var y;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericDerivedTypeWithSpecializedBase2.js.diff b/testdata/baselines/reference/submodule/compiler/genericDerivedTypeWithSpecializedBase2.js.diff
index 59beee2e3f..39ae8bc7da 100644
--- a/testdata/baselines/reference/submodule/compiler/genericDerivedTypeWithSpecializedBase2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericDerivedTypeWithSpecializedBase2.js.diff
@@ -1,42 +1,13 @@
--- old.genericDerivedTypeWithSpecializedBase2.js
+++ new.genericDerivedTypeWithSpecializedBase2.js
-@@= skipped -14, +14 lines =@@
-
+@@= skipped -15, +15 lines =@@
//// [genericDerivedTypeWithSpecializedBase2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class A {
+ class A {
+ x;
-+}
-+class B extends A {
+ }
+ class B extends A {
+ y;
-+}
+ }
var x;
- var y;
- x = y; // error
\ No newline at end of file
+ var y;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericFunctionHasFreshTypeArgs.js.diff b/testdata/baselines/reference/submodule/compiler/genericFunctionHasFreshTypeArgs.js.diff
deleted file mode 100644
index dd150a208f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericFunctionHasFreshTypeArgs.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.genericFunctionHasFreshTypeArgs.js
-+++ new.genericFunctionHasFreshTypeArgs.js
-@@= skipped -6, +6 lines =@@
- //// [genericFunctionHasFreshTypeArgs.js]
- function f(p) { }
- ;
--f(function (x) { return f(function (y) { return x = y; }); });
-+f(x => f(y => x = y));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericFunctionInference2.js.diff b/testdata/baselines/reference/submodule/compiler/genericFunctionInference2.js.diff
index 3c15a99066..57fccd601a 100644
--- a/testdata/baselines/reference/submodule/compiler/genericFunctionInference2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericFunctionInference2.js.diff
@@ -5,24 +5,6 @@
//// [genericFunctionInference2.js]
-// Repro from #30685
--var myReducer1 = combineReducers({
-- combined: combineReducers({ foo: foo }),
--});
--var myReducer2 = combineReducers({
-- combined: combineReducers({ foo: foo }),
--});
--var enhancer4 = withH(function (props) { return ({
-- onChange: function (props) { return function (e) { }; },
-- onSubmit: function (props) { return function (e) { }; },
--}); });
-+const myReducer1 = combineReducers({
-+ combined: combineReducers({ foo }),
-+});
-+const myReducer2 = combineReducers({
-+ combined: combineReducers({ foo }),
-+});
-+const enhancer4 = withH((props) => ({
-+ onChange: (props) => (e) => { },
-+ onSubmit: (props) => (e) => { },
-+}));
- enhancer4.onChange(null);
\ No newline at end of file
+ const myReducer1 = combineReducers({
+ combined: combineReducers({ foo }),
+ });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericFunctionTypedArgumentsAreFixed.js.diff b/testdata/baselines/reference/submodule/compiler/genericFunctionTypedArgumentsAreFixed.js.diff
deleted file mode 100644
index 71cc7f9be0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericFunctionTypedArgumentsAreFixed.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.genericFunctionTypedArgumentsAreFixed.js
-+++ new.genericFunctionTypedArgumentsAreFixed.js
-@@= skipped -4, +4 lines =@@
- map((a) => a.length, [1]);
-
- //// [genericFunctionTypedArgumentsAreFixed.js]
--map(function (a) { return a.length; }, [1]);
-+map((a) => a.length, [1]);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericFunctions2.js.diff b/testdata/baselines/reference/submodule/compiler/genericFunctions2.js.diff
deleted file mode 100644
index 94331bb5cd..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericFunctions2.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.genericFunctions2.js
-+++ new.genericFunctions2.js
-@@= skipped -9, +9 lines =@@
-
- //// [genericFunctions2.js]
- var myItems;
--var lengths = map(myItems, function (x) { return x.length; });
-+var lengths = map(myItems, x => x.length);
-
-
- //// [genericFunctions2.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericFunctionsAndConditionalInference.js.diff b/testdata/baselines/reference/submodule/compiler/genericFunctionsAndConditionalInference.js.diff
deleted file mode 100644
index a4793beedf..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericFunctionsAndConditionalInference.js.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- old.genericFunctionsAndConditionalInference.js
-+++ new.genericFunctionsAndConditionalInference.js
-@@= skipped -43, +43 lines =@@
- function foo(obj) {
- return unboxify(obj);
- }
--var qq = foo({ u: { value: 10 }, v: { value: 'hello' } }); // { u: U, v: V } but should be { u: number, v: string }
--var left = {};
--var right = {};
--var ok = function (at) { return ({ lr: at.lr(at.str, at.num) }); };
--var orphaned = function (at) { return at.dict(ok(at)); };
--var leftOk = ok(left);
--var leftOrphaned = orphaned(left);
--var rightOk = ok(right);
--var rightOrphaned = orphaned(right);
-+let qq = foo({ u: { value: 10 }, v: { value: 'hello' } }); // { u: U, v: V } but should be { u: number, v: string }
-+const left = {};
-+const right = {};
-+const ok = (at) => ({ lr: at.lr(at.str, at.num) });
-+const orphaned = (at) => at.dict(ok(at));
-+const leftOk = ok(left);
-+const leftOrphaned = orphaned(left);
-+const rightOk = ok(right);
-+const rightOrphaned = orphaned(right);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericFunctionsNotContextSensitive.js.diff b/testdata/baselines/reference/submodule/compiler/genericFunctionsNotContextSensitive.js.diff
index 43568a3149..e734247968 100644
--- a/testdata/baselines/reference/submodule/compiler/genericFunctionsNotContextSensitive.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericFunctionsNotContextSensitive.js.diff
@@ -6,7 +6,5 @@
//// [genericFunctionsNotContextSensitive.js]
-"use strict";
// Repro from #37110
--var f = function (_) { return _; };
--var a = f(function (_) { return function (_) { return ({}); }; }); // (_: K) => (_: G) => {}
-+const f = (_) => _;
-+const a = f((_) => _ => ({})); // (_: K) => (_: G) => {}
\ No newline at end of file
+ const f = (_) => _;
+ const a = f((_) => _ => ({})); // (_: K) => (_: G) => {}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericFunctionsWithOptionalParameters3.js.diff b/testdata/baselines/reference/submodule/compiler/genericFunctionsWithOptionalParameters3.js.diff
deleted file mode 100644
index bdbd850c8b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericFunctionsWithOptionalParameters3.js.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- old.genericFunctionsWithOptionalParameters3.js
-+++ new.genericFunctionsWithOptionalParameters3.js
-@@= skipped -17, +17 lines =@@
-
-
- //// [genericFunctionsWithOptionalParameters3.js]
--var Collection = /** @class */ (function () {
-- function Collection() {
-- }
-- Collection.prototype.add = function (x) { };
-- return Collection;
--}());
-+class Collection {
-+ add(x) { }
-+}
- var utils;
- var c = new Collection();
--var r3 = utils.mapReduce(c, function (x) { return 1; }, function (y) { return new Date(); });
--var r4 = utils.mapReduce(c, function (x) { return 1; }, function (y) { return new Date(); });
--var f1 = function (x) { return 1; };
--var f2 = function (y) { return new Date(); };
-+var r3 = utils.mapReduce(c, (x) => { return 1; }, (y) => { return new Date(); });
-+var r4 = utils.mapReduce(c, (x) => { return 1; }, (y) => { return new Date(); });
-+var f1 = (x) => { return 1; };
-+var f2 = (y) => { return new Date(); };
- var r5 = utils.mapReduce(c, f1, f2);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericFunduleInModule2.js.diff b/testdata/baselines/reference/submodule/compiler/genericFunduleInModule2.js.diff
deleted file mode 100644
index 02f36561dc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericFunduleInModule2.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.genericFunduleInModule2.js
-+++ new.genericFunduleInModule2.js
-@@= skipped -20, +20 lines =@@
- A.B = B;
- })(A || (A = {}));
- (function (A) {
-- var B;
-+ let B;
- (function (B) {
- B.x = 1;
- })(B = A.B || (A.B = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericGetter.js.diff b/testdata/baselines/reference/submodule/compiler/genericGetter.js.diff
index b7db748f73..e3068d1a32 100644
--- a/testdata/baselines/reference/submodule/compiler/genericGetter.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericGetter.js.diff
@@ -1,25 +1,10 @@
--- old.genericGetter.js
+++ new.genericGetter.js
-@@= skipped -11, +11 lines =@@
- var r: string = c.x;
+@@= skipped -12, +12 lines =@@
//// [genericGetter.js]
--var C = /** @class */ (function () {
-- function C() {
-+class C {
+ class C {
+ data;
-+ get x() {
-+ return this.data;
- }
-- Object.defineProperty(C.prototype, "x", {
-- get: function () {
-- return this.data;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
--}());
-+}
- var c = new C();
- var r = c.x;
\ No newline at end of file
+ get x() {
+ return this.data;
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericGetter2.js.diff b/testdata/baselines/reference/submodule/compiler/genericGetter2.js.diff
index d5cb5e81fe..c1c9458174 100644
--- a/testdata/baselines/reference/submodule/compiler/genericGetter2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericGetter2.js.diff
@@ -1,31 +1,10 @@
--- old.genericGetter2.js
+++ new.genericGetter2.js
-@@= skipped -10, +10 lines =@@
+@@= skipped -13, +13 lines =@@
+ class A {
}
-
- //// [genericGetter2.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var C = /** @class */ (function () {
-- function C() {
-- }
-- Object.defineProperty(C.prototype, "x", {
-- get: function () {
-- return this.data;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
--}());
-+class A {
-+}
-+class C {
+ class C {
+ data;
-+ get x() {
-+ return this.data;
-+ }
-+}
\ No newline at end of file
+ get x() {
+ return this.data;
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericGetter3.js.diff b/testdata/baselines/reference/submodule/compiler/genericGetter3.js.diff
index 94819226fb..2aaafc68bb 100644
--- a/testdata/baselines/reference/submodule/compiler/genericGetter3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericGetter3.js.diff
@@ -1,33 +1,10 @@
--- old.genericGetter3.js
+++ new.genericGetter3.js
-@@= skipped -13, +13 lines =@@
- var r: string = c.x;
-
- //// [genericGetter3.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var C = /** @class */ (function () {
-- function C() {
-- }
-- Object.defineProperty(C.prototype, "x", {
-- get: function () {
-- return this.data;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
--}());
-+class A {
-+}
-+class C {
+@@= skipped -16, +16 lines =@@
+ class A {
+ }
+ class C {
+ data;
-+ get x() {
-+ return this.data;
-+ }
-+}
- var c = new C();
- var r = c.x;
\ No newline at end of file
+ get x() {
+ return this.data;
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericImplements.js.diff b/testdata/baselines/reference/submodule/compiler/genericImplements.js.diff
index 6d79111b7f..c83c5ef615 100644
--- a/testdata/baselines/reference/submodule/compiler/genericImplements.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericImplements.js.diff
@@ -1,59 +1,14 @@
--- old.genericImplements.js
+++ new.genericImplements.js
-@@= skipped -22, +22 lines =@@
- } // { f: () => T }
+@@= skipped -23, +23 lines =@@
//// [genericImplements.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--;
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
--;
--// OK
--var X = /** @class */ (function () {
-- function X() {
-- }
-- X.prototype.f = function () { return undefined; };
-- return X;
--}()); // { f: () => { b; } }
--// OK
--var Y = /** @class */ (function () {
-- function Y() {
-- }
-- Y.prototype.f = function () { return undefined; };
-- return Y;
--}()); // { f: () => { a; } }
--// OK
--var Z = /** @class */ (function () {
-- function Z() {
-- }
-- Z.prototype.f = function () { return undefined; };
-- return Z;
--}()); // { f: () => T }
-+class A {
+ class A {
+ a;
-+}
-+;
-+class B {
+ }
+ ;
+ class B {
+ b;
-+}
-+;
-+// OK
-+class X {
-+ f() { return undefined; }
-+} // { f: () => { b; } }
-+// OK
-+class Y {
-+ f() { return undefined; }
-+} // { f: () => { a; } }
-+// OK
-+class Z {
-+ f() { return undefined; }
-+} // { f: () => T }
\ No newline at end of file
+ }
+ ;
+ // OK
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericIndexedAccessMethodIntersectionCanBeAccessed.js.diff b/testdata/baselines/reference/submodule/compiler/genericIndexedAccessMethodIntersectionCanBeAccessed.js.diff
deleted file mode 100644
index 8c60534306..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericIndexedAccessMethodIntersectionCanBeAccessed.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.genericIndexedAccessMethodIntersectionCanBeAccessed.js
-+++ new.genericIndexedAccessMethodIntersectionCanBeAccessed.js
-@@= skipped -25, +25 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.createService = void 0;
--var createService = function (ServiceCtr) {
-- Object.keys(ServiceCtr).forEach(function (key) {
-- var method = (ServiceCtr)[key];
-- var __$daemonMode = method.__$daemonMode, __$action = method.__$action, id = method.id;
-+const createService = (ServiceCtr) => {
-+ Object.keys(ServiceCtr).forEach(key => {
-+ const method = (ServiceCtr)[key];
-+ const { __$daemonMode, __$action, id } = method;
- });
- };
- exports.createService = createService;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericIndexedAccessVarianceComparisonResultCorrect.js.diff b/testdata/baselines/reference/submodule/compiler/genericIndexedAccessVarianceComparisonResultCorrect.js.diff
index 8cfe1b277a..7f4caa3c6f 100644
--- a/testdata/baselines/reference/submodule/compiler/genericIndexedAccessVarianceComparisonResultCorrect.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericIndexedAccessVarianceComparisonResultCorrect.js.diff
@@ -1,30 +1,23 @@
--- old.genericIndexedAccessVarianceComparisonResultCorrect.js
+++ new.genericIndexedAccessVarianceComparisonResultCorrect.js
-@@= skipped -28, +28 lines =@@
- c = d;
+@@= skipped -29, +29 lines =@@
//// [genericIndexedAccessVarianceComparisonResultCorrect.js]
--var A = /** @class */ (function () {
-- function A() {
+ class A {
+- constructor() {
- this.x = 'A';
- this.y = 0;
- }
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
++ x = 'A';
++ y = 0;
+ }
+ class B {
+- constructor() {
- this.x = 'B';
- this.z = true;
- }
-- return B;
--}());
-+class A {
-+ x = 'A';
-+ y = 0;
-+}
-+class B {
+ x = 'B';
+ z = true;
-+}
+ }
b = a; // should be no error
c = d;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericInference1.js.diff b/testdata/baselines/reference/submodule/compiler/genericInference1.js.diff
deleted file mode 100644
index 83bf780bf7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericInference1.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.genericInference1.js
-+++ new.genericInference1.js
-@@= skipped -3, +3 lines =@@
- ['a', 'b', 'c'].map(x => x.length);
-
- //// [genericInference1.js]
--['a', 'b', 'c'].map(function (x) { return x.length; });
-+['a', 'b', 'c'].map(x => x.length);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericInferenceDefaultTypeParameter.js.diff b/testdata/baselines/reference/submodule/compiler/genericInferenceDefaultTypeParameter.js.diff
index f0fe2cc5bf..58907b3091 100644
--- a/testdata/baselines/reference/submodule/compiler/genericInferenceDefaultTypeParameter.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericInferenceDefaultTypeParameter.js.diff
@@ -6,9 +6,6 @@
//// [genericInferenceDefaultTypeParameter.js]
-"use strict";
-// Repro from #50858
--f1(function (event) { });
--f1(function (event) { });
--f1(function (event) { });
-+f1(event => { });
-+f1(event => { });
-+f1(event => { });
\ No newline at end of file
+ f1(event => { });
+ f1(event => { });
+ f1(event => { });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericInferenceDefaultTypeParameterJsxReact.js.diff b/testdata/baselines/reference/submodule/compiler/genericInferenceDefaultTypeParameterJsxReact.js.diff
index c3913dfad3..fb30d959fd 100644
--- a/testdata/baselines/reference/submodule/compiler/genericInferenceDefaultTypeParameterJsxReact.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericInferenceDefaultTypeParameterJsxReact.js.diff
@@ -15,6 +15,4 @@
+const react_1 = __importDefault(require("react"));
function Component(props) {
return react_1.default.createElement(react_1.default.Fragment, null);
- }
--var v1 = react_1.default.createElement(Component, { onClick: function (e) { return e.preventDefault(); } });
-+const v1 = react_1.default.createElement(Component, { onClick: e => e.preventDefault() });
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericInheritedDefaultConstructors.js.diff b/testdata/baselines/reference/submodule/compiler/genericInheritedDefaultConstructors.js.diff
index 0bbcb2d4fc..9ad4b447a0 100644
--- a/testdata/baselines/reference/submodule/compiler/genericInheritedDefaultConstructors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericInheritedDefaultConstructors.js.diff
@@ -1,40 +1,12 @@
--- old.genericInheritedDefaultConstructors.js
+++ new.genericInheritedDefaultConstructors.js
-@@= skipped -12, +12 lines =@@
-
+@@= skipped -13, +13 lines =@@
//// [genericInheritedDefaultConstructors.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class A {
+ class A {
+ a;
-+}
-+class B extends A {
+ }
+ class B extends A {
+ b;
-+}
+ }
var c = B; // shouldn't error here
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericInstanceOf.js.diff b/testdata/baselines/reference/submodule/compiler/genericInstanceOf.js.diff
index cb5320ec8e..2ab812f48a 100644
--- a/testdata/baselines/reference/submodule/compiler/genericInstanceOf.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericInstanceOf.js.diff
@@ -1,24 +1,11 @@
--- old.genericInstanceOf.js
+++ new.genericInstanceOf.js
-@@= skipped -13, +13 lines =@@
- }
+@@= skipped -14, +14 lines =@@
//// [genericInstanceOf.js]
--var C = /** @class */ (function () {
-- function C(a, b) {
-+class C {
+ class C {
+ a;
+ b;
-+ constructor(a, b) {
+ constructor(a, b) {
this.a = a;
- this.b = b;
- }
-- C.prototype.foo = function () {
-+ foo() {
- if (this.a instanceof this.b) {
- }
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
+ this.b = b;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericInterfaceImplementation.js.diff b/testdata/baselines/reference/submodule/compiler/genericInterfaceImplementation.js.diff
deleted file mode 100644
index dddf705e3c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericInterfaceImplementation.js.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- old.genericInterfaceImplementation.js
-+++ new.genericInterfaceImplementation.js
-@@= skipped -18, +18 lines =@@
-
-
- //// [genericInterfaceImplementation.js]
--var None = /** @class */ (function () {
-- function None() {
-- }
-- None.prototype.get = function () {
-+class None {
-+ get() {
- throw null;
-- };
-- None.prototype.flatten = function () {
-+ }
-+ flatten() {
- return new None();
-- };
-- return None;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericInterfaceTypeCall.js.diff b/testdata/baselines/reference/submodule/compiler/genericInterfaceTypeCall.js.diff
deleted file mode 100644
index b1f52b9bac..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericInterfaceTypeCall.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.genericInterfaceTypeCall.js
-+++ new.genericInterfaceTypeCall.js
-@@= skipped -18, +18 lines =@@
- //// [genericInterfaceTypeCall.js]
- var foo;
- var test;
--test.fail(function (arg) { return foo.reject(arg); });
--test.fail2(function (arg) { return foo.reject(arg); }); // Error: Supplied parameters do not match any signature of call target
-+test.fail(arg => foo.reject(arg));
-+test.fail2(arg => foo.reject(arg)); // Error: Supplied parameters do not match any signature of call target
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericInterfacesWithoutTypeArguments.js.diff b/testdata/baselines/reference/submodule/compiler/genericInterfacesWithoutTypeArguments.js.diff
deleted file mode 100644
index aa883052e0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericInterfacesWithoutTypeArguments.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.genericInterfacesWithoutTypeArguments.js
-+++ new.genericInterfacesWithoutTypeArguments.js
-@@= skipped -7, +7 lines =@@
-
-
- //// [genericInterfacesWithoutTypeArguments.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
- var i;
- var c;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericIsNeverEmptyObject.js.diff b/testdata/baselines/reference/submodule/compiler/genericIsNeverEmptyObject.js.diff
index 1a196e2c78..d646870406 100644
--- a/testdata/baselines/reference/submodule/compiler/genericIsNeverEmptyObject.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericIsNeverEmptyObject.js.diff
@@ -29,12 +29,10 @@
- return t;
-};
function test(obj) {
-- var a = obj.a, rest = __rest(obj, ["a"]);
+- let { a } = obj, rest = __rest(obj, ["a"]);
- return __assign(__assign({}, rest), { b: a });
+ let { a, ...rest } = obj;
+ return { ...rest, b: a };
}
--var o1 = { a: 'hello', x: 42 };
--var o2 = test(o1);
-+let o1 = { a: 'hello', x: 42 };
-+let o2 = test(o1);
\ No newline at end of file
+ let o1 = { a: 'hello', x: 42 };
+ let o2 = test(o1);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericLambaArgWithoutTypeArguments.js.diff b/testdata/baselines/reference/submodule/compiler/genericLambaArgWithoutTypeArguments.js.diff
deleted file mode 100644
index 31aecbc74e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericLambaArgWithoutTypeArguments.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.genericLambaArgWithoutTypeArguments.js
-+++ new.genericLambaArgWithoutTypeArguments.js
-@@= skipped -13, +13 lines =@@
- function foo(a) {
- return null;
- }
--foo(function (arg) { return arg.x; });
-+foo((arg) => { return arg.x; });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericMappedTypeAsClause.js.diff b/testdata/baselines/reference/submodule/compiler/genericMappedTypeAsClause.js.diff
index 8d8af5684e..f850b4d1de 100644
--- a/testdata/baselines/reference/submodule/compiler/genericMappedTypeAsClause.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericMappedTypeAsClause.js.diff
@@ -5,21 +5,6 @@
//// [genericMappedTypeAsClause.js]
-"use strict";
--var foo1 = { aFoo: 'test', bFoo: 42 };
--var foo2 = { bFoo: 'bar' }; // Error
-+const foo1 = { aFoo: 'test', bFoo: 42 };
-+const foo2 = { bFoo: 'bar' }; // Error
- function f1() {
-- var x1 = 42; // Error
-- var x2 = 'test'; // Error
-- var x3 = [1, 2, 3]; // Error
-- var x4 = false; // Error
-- var x5 = { a: 'bar', b: 42 }; // Error
-- var x6 = undefined; // Error
-+ const x1 = 42; // Error
-+ const x2 = 'test'; // Error
-+ const x3 = [1, 2, 3]; // Error
-+ const x4 = false; // Error
-+ const x5 = { a: 'bar', b: 42 }; // Error
-+ const x6 = undefined; // Error
- }
\ No newline at end of file
+ const foo1 = { aFoo: 'test', bFoo: 42 };
+ const foo2 = { bFoo: 'bar' }; // Error
+ function f1() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericMemberFunction.js.diff b/testdata/baselines/reference/submodule/compiler/genericMemberFunction.js.diff
index 72ceab13d1..53c59b86c6 100644
--- a/testdata/baselines/reference/submodule/compiler/genericMemberFunction.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericMemberFunction.js.diff
@@ -8,39 +8,29 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.BuildResult = exports.FileWithErrors = exports.BuildError = void 0;
-- var BuildError = /** @class */ (function () {
-- function BuildError() {
-- }
-- BuildError.prototype.parent = function () {
+- class BuildError {
+- parent() {
- return undefined;
-- };
-- return BuildError;
-- }());
-- exports.BuildError = BuildError;
-- var FileWithErrors = /** @class */ (function () {
-- function FileWithErrors() {
- }
-- FileWithErrors.prototype.errors = function () {
+- }
+- exports.BuildError = BuildError;
+- class FileWithErrors {
+- errors() {
- return undefined;
-- };
-- FileWithErrors.prototype.parent = function () {
+- }
+- parent() {
- return undefined;
-- };
-- return FileWithErrors;
-- }());
-- exports.FileWithErrors = FileWithErrors;
-- var BuildResult = /** @class */ (function () {
-- function BuildResult() {
- }
-- BuildResult.prototype.merge = function (other) {
-- var _this = this;
+- }
+- exports.FileWithErrors = FileWithErrors;
+- class BuildResult {
+- merge(other) {
- a.b.c.d.e.f.g = 0;
-- removedFiles.forEach(function (each) {
-- _this.removeFile(each);
+- removedFiles.forEach((each) => {
+- this.removeFile(each);
- });
-- };
-- return BuildResult;
-- }());
+- }
+- }
- exports.BuildResult = BuildResult;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/genericMergedDeclarationUsingTypeParameter2.js.diff b/testdata/baselines/reference/submodule/compiler/genericMergedDeclarationUsingTypeParameter2.js.diff
deleted file mode 100644
index b719eae181..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericMergedDeclarationUsingTypeParameter2.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.genericMergedDeclarationUsingTypeParameter2.js
-+++ new.genericMergedDeclarationUsingTypeParameter2.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [genericMergedDeclarationUsingTypeParameter2.js]
--var foo = /** @class */ (function () {
-- function foo(x) {
-- }
-- return foo;
--}());
-+class foo {
-+ constructor(x) { }
-+}
- (function (foo) {
- var y = 1;
- })(foo || (foo = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericObjectCreationWithoutTypeArgs.js.diff b/testdata/baselines/reference/submodule/compiler/genericObjectCreationWithoutTypeArgs.js.diff
deleted file mode 100644
index 7b0214f78b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericObjectCreationWithoutTypeArgs.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.genericObjectCreationWithoutTypeArgs.js
-+++ new.genericObjectCreationWithoutTypeArgs.js
-@@= skipped -11, +11 lines =@@
-
-
- //// [genericObjectCreationWithoutTypeArgs.js]
--var SS = /** @class */ (function () {
-- function SS() {
-- }
-- return SS;
--}());
-+class SS {
-+}
- var x1 = new SS(); // OK
- var x2 = new SS; // OK
- var x3 = new SS(); // OK
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericObjectLitReturnType.js.diff b/testdata/baselines/reference/submodule/compiler/genericObjectLitReturnType.js.diff
deleted file mode 100644
index 44d35eae7f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericObjectLitReturnType.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.genericObjectLitReturnType.js
-+++ new.genericObjectLitReturnType.js
-@@= skipped -13, +13 lines =@@
-
-
- //// [genericObjectLitReturnType.js]
--var X = /** @class */ (function () {
-- function X() {
-- }
-- X.prototype.f = function (t) { return { a: t }; };
-- return X;
--}());
-+class X {
-+ f(t) { return { a: t }; }
-+}
- var x;
- var t1 = x.f(5);
- t1.a = 5; // Should not error: t1 should have type {a: number}, instead has type {a: T}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericObjectSpreadResultInSwitch.js.diff b/testdata/baselines/reference/submodule/compiler/genericObjectSpreadResultInSwitch.js.diff
index 8ae4618e64..53e064df97 100644
--- a/testdata/baselines/reference/submodule/compiler/genericObjectSpreadResultInSwitch.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericObjectSpreadResultInSwitch.js.diff
@@ -15,28 +15,11 @@
- }
- return t;
-};
--var getType = function (params) {
-- var
-+const getType = (params) => {
-+ const {
+ const getType = (params) => {
+ const {
// Omit
-- foo = params.foo, rest = __rest(params, ["foo"]);
+- foo } = params, rest = __rest(params, ["foo"]);
+ foo, ...rest } = params;
return rest;
};
- switch (params.tag) {
- case 'a': {
- // TS 4.2: number
- // TS 4.3: string | number
-- var result = getType(params).type;
-+ const result = getType(params).type;
- break;
- }
- case 'b': {
- // TS 4.2: string
- // TS 4.3: string | number
-- var result = getType(params).type;
-+ const result = getType(params).type;
- break;
- }
- }
\ No newline at end of file
+ switch (params.tag) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericOfACloduleType1.js.diff b/testdata/baselines/reference/submodule/compiler/genericOfACloduleType1.js.diff
deleted file mode 100644
index 8b56637ba4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericOfACloduleType1.js.diff
+++ /dev/null
@@ -1,38 +0,0 @@
---- old.genericOfACloduleType1.js
-+++ new.genericOfACloduleType1.js
-@@= skipped -14, +14 lines =@@
- var g2 = new G() // was: error Type reference cannot refer to container 'M.C'.
-
- //// [genericOfACloduleType1.js]
--var G = /** @class */ (function () {
-- function G() {
-- }
-- G.prototype.bar = function (x) { return x; };
-- return G;
--}());
-+class G {
-+ bar(x) { return x; }
-+}
- var M;
- (function (M) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.foo = function () { };
-- return C;
-- }());
-+ class C {
-+ foo() { }
-+ }
- M.C = C;
- (function (C) {
-- var X = /** @class */ (function () {
-- function X() {
-- }
-- return X;
-- }());
-+ class X {
-+ }
- C.X = X;
- })(C = M.C || (M.C = {}));
- var g1 = new G();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericOfACloduleType2.js.diff b/testdata/baselines/reference/submodule/compiler/genericOfACloduleType2.js.diff
deleted file mode 100644
index 36742cc728..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericOfACloduleType2.js.diff
+++ /dev/null
@@ -1,38 +0,0 @@
---- old.genericOfACloduleType2.js
-+++ new.genericOfACloduleType2.js
-@@= skipped -17, +17 lines =@@
- }
-
- //// [genericOfACloduleType2.js]
--var G = /** @class */ (function () {
-- function G() {
-- }
-- G.prototype.bar = function (x) { return x; };
-- return G;
--}());
-+class G {
-+ bar(x) { return x; }
-+}
- var M;
- (function (M) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.foo = function () { };
-- return C;
-- }());
-+ class C {
-+ foo() { }
-+ }
- M.C = C;
- (function (C) {
-- var X = /** @class */ (function () {
-- function X() {
-- }
-- return X;
-- }());
-+ class X {
-+ }
- C.X = X;
- })(C = M.C || (M.C = {}));
- var g1 = new G();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericOverloadSignatures.js.diff b/testdata/baselines/reference/submodule/compiler/genericOverloadSignatures.js.diff
deleted file mode 100644
index 92fa471386..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericOverloadSignatures.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.genericOverloadSignatures.js
-+++ new.genericOverloadSignatures.js
-@@= skipped -33, +33 lines =@@
-
- //// [genericOverloadSignatures.js]
- function f(a) { }
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
--}());
-+class C2 {
-+}
- var b;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericParameterAssignability1.js.diff b/testdata/baselines/reference/submodule/compiler/genericParameterAssignability1.js.diff
deleted file mode 100644
index 5b473d2c2e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericParameterAssignability1.js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.genericParameterAssignability1.js
-+++ new.genericParameterAssignability1.js
-@@= skipped -6, +6 lines =@@
-
- //// [genericParameterAssignability1.js]
- function f(x) { return null; }
--var r = function (x) { return x; };
-+var r = (x) => x;
- r = f; // should be allowed
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericPrototypeProperty.js.diff b/testdata/baselines/reference/submodule/compiler/genericPrototypeProperty.js.diff
index 9101e016c6..1bdedd95ff 100644
--- a/testdata/baselines/reference/submodule/compiler/genericPrototypeProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericPrototypeProperty.js.diff
@@ -1,19 +1,10 @@
--- old.genericPrototypeProperty.js
+++ new.genericPrototypeProperty.js
-@@= skipped -11, +11 lines =@@
- var r3 = r.foo(null);
+@@= skipped -12, +12 lines =@@
//// [genericPrototypeProperty.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.foo = function (x) { return null; };
-- return C;
--}());
-+class C {
+ class C {
+ x;
-+ foo(x) { return null; }
-+}
- var r = C.prototype;
- // should be any
- var r2 = r.x;
\ No newline at end of file
+ foo(x) { return null; }
+ }
+ var r = C.prototype;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericPrototypeProperty2.js.diff b/testdata/baselines/reference/submodule/compiler/genericPrototypeProperty2.js.diff
index dd1d51c02a..a16ecdde61 100644
--- a/testdata/baselines/reference/submodule/compiler/genericPrototypeProperty2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericPrototypeProperty2.js.diff
@@ -1,57 +1,17 @@
--- old.genericPrototypeProperty2.js
+++ new.genericPrototypeProperty2.js
-@@= skipped -17, +17 lines =@@
- }
+@@= skipped -18, +18 lines =@@
//// [genericPrototypeProperty2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var BaseEvent = /** @class */ (function () {
-- function BaseEvent() {
-- }
-- return BaseEvent;
--}());
--var MyEvent = /** @class */ (function (_super) {
-- __extends(MyEvent, _super);
-- function MyEvent() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return MyEvent;
--}(BaseEvent));
--var BaseEventWrapper = /** @class */ (function () {
-- function BaseEventWrapper() {
-- }
-- return BaseEventWrapper;
--}());
--var MyEventWrapper = /** @class */ (function (_super) {
-- __extends(MyEventWrapper, _super);
-- function MyEventWrapper() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return MyEventWrapper;
--}(BaseEventWrapper));
-+class BaseEvent {
+ class BaseEvent {
+ target;
-+}
-+class MyEvent extends BaseEvent {
+ }
+ class MyEvent extends BaseEvent {
+ target;
-+}
-+class BaseEventWrapper {
+ }
+ class BaseEventWrapper {
+ t;
-+}
-+class MyEventWrapper extends BaseEventWrapper {
+ }
+ class MyEventWrapper extends BaseEventWrapper {
+ t; // any satisfies constraint and passes assignability check between 'target' properties
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericPrototypeProperty3.js.diff b/testdata/baselines/reference/submodule/compiler/genericPrototypeProperty3.js.diff
index 2560eb826f..5a1c5f2da8 100644
--- a/testdata/baselines/reference/submodule/compiler/genericPrototypeProperty3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericPrototypeProperty3.js.diff
@@ -1,57 +1,17 @@
--- old.genericPrototypeProperty3.js
+++ new.genericPrototypeProperty3.js
-@@= skipped -16, +16 lines =@@
- }
+@@= skipped -17, +17 lines =@@
//// [genericPrototypeProperty3.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var BaseEvent = /** @class */ (function () {
-- function BaseEvent() {
-- }
-- return BaseEvent;
--}());
--var MyEvent = /** @class */ (function (_super) {
-- __extends(MyEvent, _super);
-- function MyEvent() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return MyEvent;
--}(BaseEvent));
--var BaseEventWrapper = /** @class */ (function () {
-- function BaseEventWrapper() {
-- }
-- return BaseEventWrapper;
--}());
--var MyEventWrapper = /** @class */ (function (_super) {
-- __extends(MyEventWrapper, _super);
-- function MyEventWrapper() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return MyEventWrapper;
--}(BaseEventWrapper));
-+class BaseEvent {
+ class BaseEvent {
+ target;
-+}
-+class MyEvent extends BaseEvent {
+ }
+ class MyEvent extends BaseEvent {
+ target;
-+}
-+class BaseEventWrapper {
+ }
+ class BaseEventWrapper {
+ t;
-+}
-+class MyEventWrapper extends BaseEventWrapper {
+ }
+ class MyEventWrapper extends BaseEventWrapper {
+ t;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericRecursiveImplicitConstructorErrors2.js.diff b/testdata/baselines/reference/submodule/compiler/genericRecursiveImplicitConstructorErrors2.js.diff
deleted file mode 100644
index 1ae96eb802..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericRecursiveImplicitConstructorErrors2.js.diff
+++ /dev/null
@@ -1,62 +0,0 @@
---- old.genericRecursiveImplicitConstructorErrors2.js
-+++ new.genericRecursiveImplicitConstructorErrors2.js
-@@= skipped -28, +28 lines =@@
-
-
- //// [genericRecursiveImplicitConstructorErrors2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var TypeScript2;
- (function (TypeScript2) {
- ;
- ;
- ;
-- var PullSymbolVisibility;
-+ let PullSymbolVisibility;
- (function (PullSymbolVisibility) {
- PullSymbolVisibility[PullSymbolVisibility["Private"] = 0] = "Private";
- PullSymbolVisibility[PullSymbolVisibility["Public"] = 1] = "Public";
- })(PullSymbolVisibility = TypeScript2.PullSymbolVisibility || (TypeScript2.PullSymbolVisibility = {}));
-- var PullSymbol = /** @class */ (function () {
-- function PullSymbol(name, declKind) {
-+ class PullSymbol {
-+ constructor(name, declKind) {
- }
- // link methods
-- PullSymbol.prototype.addOutgoingLink = function (linkTo, kind) {
-- };
-- PullSymbol.prototype.getType = function () {
-+ addOutgoingLink(linkTo, kind) {
-+ }
-+ getType() {
- return undefined;
-- };
-- return PullSymbol;
-- }());
-+ }
-+ }
- TypeScript2.PullSymbol = PullSymbol;
-- var PullTypeSymbol = /** @class */ (function (_super) {
-- __extends(PullTypeSymbol, _super);
-- function PullTypeSymbol() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return PullTypeSymbol;
-- }(PullSymbol));
-+ class PullTypeSymbol extends PullSymbol {
-+ }
- TypeScript2.PullTypeSymbol = PullTypeSymbol;
- })(TypeScript2 || (TypeScript2 = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericRecursiveImplicitConstructorErrors3.js.diff b/testdata/baselines/reference/submodule/compiler/genericRecursiveImplicitConstructorErrors3.js.diff
index 508342caf6..fb7d411c9f 100644
--- a/testdata/baselines/reference/submodule/compiler/genericRecursiveImplicitConstructorErrors3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericRecursiveImplicitConstructorErrors3.js.diff
@@ -1,78 +1,30 @@
--- old.genericRecursiveImplicitConstructorErrors3.js
+++ new.genericRecursiveImplicitConstructorErrors3.js
-@@= skipped -32, +32 lines =@@
-
-
- //// [genericRecursiveImplicitConstructorErrors3.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var TypeScript;
- (function (TypeScript) {
-- var MemberName = /** @class */ (function () {
-- function MemberName() {
-+ class MemberName {
-+ static create(arg1, arg2, arg3) {
- }
-- MemberName.create = function (arg1, arg2, arg3) {
-- };
-- return MemberName;
-- }());
-+ }
- TypeScript.MemberName = MemberName;
+@@= skipped -42, +42 lines =@@
})(TypeScript || (TypeScript = {}));
(function (TypeScript) {
-- var PullSymbol = /** @class */ (function () {
-- function PullSymbol() {
+ class PullSymbol {
+- constructor() {
- this.type = null;
- }
-- return PullSymbol;
-- }());
-+ class PullSymbol {
+ type = null;
-+ }
+ }
TypeScript.PullSymbol = PullSymbol;
-- var PullTypeSymbol = /** @class */ (function (_super) {
-- __extends(PullTypeSymbol, _super);
-- function PullTypeSymbol() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this._elementType = null;
-- return _this;
+ class PullTypeSymbol extends PullSymbol {
+- constructor() {
+- super(...arguments);
+- this._elementType = null;
- }
-- PullTypeSymbol.prototype.toString = function (scopeSymbol, useConstraintInName) {
-+ class PullTypeSymbol extends PullSymbol {
+ _elementType = null;
-+ toString(scopeSymbol, useConstraintInName) {
+ toString(scopeSymbol, useConstraintInName) {
var s = this.getScopedNameEx(scopeSymbol, useConstraintInName).toString();
return s;
-- };
-- PullTypeSymbol.prototype.getScopedNameEx = function (scopeSymbol, useConstraintInName, getPrettyTypeName, getTypeParamMarkerInfo) {
-+ }
-+ getScopedNameEx(scopeSymbol, useConstraintInName, getPrettyTypeName, getTypeParamMarkerInfo) {
- if (this.isArray()) {
- var elementMemberName = this._elementType ?
+@@= skipped -20, +15 lines =@@
(this._elementType.isArray() || this._elementType.isNamedTypeSymbol() ?
this._elementType.getScopedNameEx(scopeSymbol, false, getPrettyTypeName, getTypeParamMarkerInfo) :
this._elementType.getMemberTypeNameEx(false, scopeSymbol, getPrettyTypeName)) : 1;
- return TypeScript.MemberName.create(elementMemberName, "", "[]");
+ return MemberName.create(elementMemberName, "", "[]");
}
-- };
-- return PullTypeSymbol;
-- }(PullSymbol));
-+ }
-+ }
- TypeScript.PullTypeSymbol = PullTypeSymbol;
- })(TypeScript || (TypeScript = {}));
\ No newline at end of file
+ }
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericReduce.js.diff b/testdata/baselines/reference/submodule/compiler/genericReduce.js.diff
deleted file mode 100644
index 1692ee5a66..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericReduce.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.genericReduce.js
-+++ new.genericReduce.js
-@@= skipped -16, +16 lines =@@
-
- //// [genericReduce.js]
- 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; });
--var n2 = b.reduceRight(function (x, y) { return x + y; });
-+var b = a.map(s => s.length);
-+var n1 = b.reduce((x, y) => x + y);
-+var n2 = b.reduceRight((x, y) => x + y);
- n1.x = "fail"; // should error, as 'n1' should be type 'number', not 'any'.
- n1.toExponential(2); // should not error if 'n1' is correctly number.
- n2.x = "fail"; // should error, as 'n2' should be type 'number', not 'any'.
- n2.toExponential(2); // should not error if 'n2' is correctly number.
--var n3 = b.reduce(function (x, y) { return x + y; }, ""); // Initial value is of type string
-+var n3 = b.reduce((x, y) => x + y, ""); // Initial value is of type string
- n3.toExponential(2); // should error if 'n3' is correctly type 'string'
- n3.charAt(0); // should not error if 'n3' is correctly type 'string'
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericRestArgs.js.diff b/testdata/baselines/reference/submodule/compiler/genericRestArgs.js.diff
deleted file mode 100644
index 7c8f058f5c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericRestArgs.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.genericRestArgs.js
-+++ new.genericRestArgs.js
-@@= skipped -14, +14 lines =@@
- var a2Gc = makeArrayG(1, ""); // error
-
- //// [genericRestArgs.js]
--function makeArrayG() {
-- var items = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- items[_i] = arguments[_i];
-- }
-- return items;
--}
-+function makeArrayG(...items) { return items; }
- var a1Ga = makeArrayG(1, ""); // no error
- var a1Gb = makeArrayG(1, "");
- var a1Gc = makeArrayG(1, "");
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericRestTypes.js.diff b/testdata/baselines/reference/submodule/compiler/genericRestTypes.js.diff
index 2864410db9..327b439fef 100644
--- a/testdata/baselines/reference/submodule/compiler/genericRestTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericRestTypes.js.diff
@@ -7,32 +7,5 @@
-"use strict";
-// Repro from #25793
function assignmentWithComplexRest() {
-- var fn1 = function (x) {
-- var _ = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- _[_i - 1] = arguments[_i];
-- }
-- return x;
-- };
-- var fn2 = fn1;
-+ const fn1 = (x, ..._) => x;
-+ const fn2 = fn1;
- }
- function assignmentWithComplexRest2() {
-- var fn1 = function (cb) { };
-- var fn2 = fn1;
-+ const fn1 = (cb) => { };
-+ const fn2 = fn1;
- }
- function assignmentWithComplexRest3() {
-- var fn1 = function (x) {
-- var _ = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- _[_i - 1] = arguments[_i];
-- }
-- return x;
-- };
-- var fn2 = fn1;
-+ const fn1 = (x, ..._) => x;
-+ const fn2 = fn1;
- }
\ No newline at end of file
+ const fn1 = (x, ..._) => x;
+ const fn2 = fn1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericReturnTypeFromGetter1.js.diff b/testdata/baselines/reference/submodule/compiler/genericReturnTypeFromGetter1.js.diff
index 70a5e35af4..04f3743f2b 100644
--- a/testdata/baselines/reference/submodule/compiler/genericReturnTypeFromGetter1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericReturnTypeFromGetter1.js.diff
@@ -8,17 +8,9 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.DbSet = void 0;
-- var DbSet = /** @class */ (function () {
-- function DbSet() {
-- }
-- Object.defineProperty(DbSet.prototype, "entityType", {
-- get: function () { return this._entityType; } // used to ICE without return type annotation
-- ,
-- enumerable: false,
-- configurable: true
-- });
-- return DbSet;
-- }());
+- class DbSet {
+- get entityType() { return this._entityType; } // used to ICE without return type annotation
+- }
- exports.DbSet = DbSet;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/genericReversingTypeParameters.js.diff b/testdata/baselines/reference/submodule/compiler/genericReversingTypeParameters.js.diff
index eea24c6f60..bd794a3ba6 100644
--- a/testdata/baselines/reference/submodule/compiler/genericReversingTypeParameters.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericReversingTypeParameters.js.diff
@@ -1,21 +1,10 @@
--- old.genericReversingTypeParameters.js
+++ new.genericReversingTypeParameters.js
-@@= skipped -12, +12 lines =@@
- var r2b = i.get(1);
+@@= skipped -13, +13 lines =@@
//// [genericReversingTypeParameters.js]
--var BiMap = /** @class */ (function () {
-- function BiMap() {
-- }
-- BiMap.prototype.get = function (key) { return null; };
-- BiMap.prototype.inverse = function () { return null; };
-- return BiMap;
--}());
-+class BiMap {
+ class BiMap {
+ inverseBiMap;
-+ get(key) { return null; }
-+ inverse() { return null; }
-+}
- var b = new BiMap();
- var r1 = b.get('');
- var i = b.inverse(); // used to get the type wrong here.
\ No newline at end of file
+ get(key) { return null; }
+ inverse() { return null; }
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericReversingTypeParameters2.js.diff b/testdata/baselines/reference/submodule/compiler/genericReversingTypeParameters2.js.diff
index 81ec915c7e..e8c97130c8 100644
--- a/testdata/baselines/reference/submodule/compiler/genericReversingTypeParameters2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericReversingTypeParameters2.js.diff
@@ -1,21 +1,10 @@
--- old.genericReversingTypeParameters2.js
+++ new.genericReversingTypeParameters2.js
-@@= skipped -11, +11 lines =@@
- var r2b = i.get(1);
+@@= skipped -12, +12 lines =@@
//// [genericReversingTypeParameters2.js]
--var BiMap = /** @class */ (function () {
-- function BiMap() {
-- }
-- BiMap.prototype.get = function (key) { return null; };
-- BiMap.prototype.inverse = function () { return null; };
-- return BiMap;
--}());
-+class BiMap {
+ class BiMap {
+ inverseBiMap;
-+ get(key) { return null; }
-+ inverse() { return null; }
-+}
- var b = new BiMap();
- var i = b.inverse(); // used to get the type wrong here.
- var r2b = i.get(1);
\ No newline at end of file
+ get(key) { return null; }
+ inverse() { return null; }
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericSpecializations1.js.diff b/testdata/baselines/reference/submodule/compiler/genericSpecializations1.js.diff
deleted file mode 100644
index 2a5b0b6a30..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericSpecializations1.js.diff
+++ /dev/null
@@ -1,33 +0,0 @@
---- old.genericSpecializations1.js
-+++ new.genericSpecializations1.js
-@@= skipped -17, +17 lines =@@
- }
-
- //// [genericSpecializations1.js]
--var IntFooBad = /** @class */ (function () {
-- function IntFooBad() {
-- }
-- IntFooBad.prototype.foo = function (x) { return null; };
-- return IntFooBad;
--}());
--var StringFoo2 = /** @class */ (function () {
-- function StringFoo2() {
-- }
-- StringFoo2.prototype.foo = function (x) { return null; };
-- return StringFoo2;
--}());
--var StringFoo3 = /** @class */ (function () {
-- function StringFoo3() {
-- }
-- StringFoo3.prototype.foo = function (x) { return null; };
-- return StringFoo3;
--}());
-+class IntFooBad {
-+ foo(x) { return null; }
-+}
-+class StringFoo2 {
-+ foo(x) { return null; }
-+}
-+class StringFoo3 {
-+ foo(x) { return null; }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericSpecializations2.js.diff b/testdata/baselines/reference/submodule/compiler/genericSpecializations2.js.diff
deleted file mode 100644
index 9a5eb0110f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericSpecializations2.js.diff
+++ /dev/null
@@ -1,45 +0,0 @@
---- old.genericSpecializations2.js
-+++ new.genericSpecializations2.js
-@@= skipped -21, +21 lines =@@
-
-
- //// [genericSpecializations2.js]
--var IFoo = /** @class */ (function () {
-- function IFoo() {
-- }
-- IFoo.prototype.foo = function (x) {
-+class IFoo {
-+ foo(x) {
- return null;
-- };
-- return IFoo;
--}());
--var IntFooBad = /** @class */ (function () {
-- function IntFooBad() {
-- }
-- IntFooBad.prototype.foo = function (x) { return null; };
-- return IntFooBad;
--}());
--var StringFoo2 = /** @class */ (function () {
-- function StringFoo2() {
-- }
-- StringFoo2.prototype.foo = function (x) { return null; };
-- return StringFoo2;
--}());
--var StringFoo3 = /** @class */ (function () {
-- function StringFoo3() {
-- }
-- StringFoo3.prototype.foo = function (x) { return null; };
-- return StringFoo3;
--}());
-+ }
-+}
-+class IntFooBad {
-+ foo(x) { return null; }
-+}
-+class StringFoo2 {
-+ foo(x) { return null; }
-+}
-+class StringFoo3 {
-+ foo(x) { return null; }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericSpecializations3.js.diff b/testdata/baselines/reference/submodule/compiler/genericSpecializations3.js.diff
deleted file mode 100644
index 93876c546b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericSpecializations3.js.diff
+++ /dev/null
@@ -1,49 +0,0 @@
---- old.genericSpecializations3.js
-+++ new.genericSpecializations3.js
-@@= skipped -39, +39 lines =@@
- //// [genericSpecializations3.js]
- var iFoo;
- iFoo.foo(1);
--var IntFooBad = /** @class */ (function () {
-- function IntFooBad() {
-- }
-- IntFooBad.prototype.foo = function (x) { return null; };
-- return IntFooBad;
--}());
-+class IntFooBad {
-+ foo(x) { return null; }
-+}
- var intFooBad;
--var IntFoo = /** @class */ (function () {
-- function IntFoo() {
-- }
-- IntFoo.prototype.foo = function (x) { return null; };
-- return IntFoo;
--}());
-+class IntFoo {
-+ foo(x) { return null; }
-+}
- var intFoo;
--var StringFoo2 = /** @class */ (function () {
-- function StringFoo2() {
-- }
-- StringFoo2.prototype.foo = function (x) { return null; };
-- return StringFoo2;
--}());
-+class StringFoo2 {
-+ foo(x) { return null; }
-+}
- var stringFoo2;
- stringFoo2.foo("hm");
- intFoo = stringFoo2; // error
- stringFoo2 = intFoo; // error
--var StringFoo3 = /** @class */ (function () {
-- function StringFoo3() {
-- }
-- StringFoo3.prototype.foo = function (x) { return null; };
-- return StringFoo3;
--}());
-+class StringFoo3 {
-+ foo(x) { return null; }
-+}
- var stringFoo3;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericStaticAnyTypeFunction.js.diff b/testdata/baselines/reference/submodule/compiler/genericStaticAnyTypeFunction.js.diff
deleted file mode 100644
index c3e706319d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericStaticAnyTypeFunction.js.diff
+++ /dev/null
@@ -1,25 +0,0 @@
---- old.genericStaticAnyTypeFunction.js
-+++ new.genericStaticAnyTypeFunction.js
-@@= skipped -20, +20 lines =@@
-
-
- //// [genericStaticAnyTypeFunction.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.one = function (source, value) {
-+class A {
-+ static one(source, value) {
- return source;
-- };
-- A.goo = function () { return 0; };
-- A.two = function (source) {
-+ }
-+ static goo() { return 0; }
-+ static two(source) {
- return this.one(source, 42); // should not error
-- };
-- return A;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericTemplateOverloadResolution.js.diff b/testdata/baselines/reference/submodule/compiler/genericTemplateOverloadResolution.js.diff
deleted file mode 100644
index 91b4d1fa4d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericTemplateOverloadResolution.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.genericTemplateOverloadResolution.js
-+++ new.genericTemplateOverloadResolution.js
-@@= skipped -13, +13 lines =@@
-
-
- //// [genericTemplateOverloadResolution.js]
--var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
-- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
-- return cooked;
--};
--expect(fooFn(__makeTemplateObject([""], [""])));
-+expect(fooFn ``);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericTypeAssertions1.js.diff b/testdata/baselines/reference/submodule/compiler/genericTypeAssertions1.js.diff
deleted file mode 100644
index 3d05c4d2d4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericTypeAssertions1.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.genericTypeAssertions1.js
-+++ new.genericTypeAssertions1.js
-@@= skipped -6, +6 lines =@@
- var r2: A = >>foo; // error
-
- //// [genericTypeAssertions1.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.foo = function (x) { };
-- return A;
--}());
-+class A {
-+ foo(x) { }
-+}
- var foo = new A();
- var r = new A(); // error
- var r2 = foo; // error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericTypeAssertions2.js.diff b/testdata/baselines/reference/submodule/compiler/genericTypeAssertions2.js.diff
deleted file mode 100644
index 1c4851282b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericTypeAssertions2.js.diff
+++ /dev/null
@@ -1,47 +0,0 @@
---- old.genericTypeAssertions2.js
-+++ new.genericTypeAssertions2.js
-@@= skipped -15, +15 lines =@@
- var r5: A = >[]; // error
-
- //// [genericTypeAssertions2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.foo = function (x) { };
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- B.prototype.bar = function () {
-+class A {
-+ foo(x) { }
-+}
-+class B extends A {
-+ bar() {
- return null;
-- };
-- return B;
--}(A));
-+ }
-+}
- var foo = new A();
- var r = new B();
- var r2 = new B(); // error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericTypeAssertions3.js.diff b/testdata/baselines/reference/submodule/compiler/genericTypeAssertions3.js.diff
deleted file mode 100644
index 5174997945..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericTypeAssertions3.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.genericTypeAssertions3.js
-+++ new.genericTypeAssertions3.js
-@@= skipped -5, +5 lines =@@
-
-
- //// [genericTypeAssertions3.js]
--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
-+var r = ((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 = ((x) => { return null; }); // no error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericTypeAssertions4.js.diff b/testdata/baselines/reference/submodule/compiler/genericTypeAssertions4.js.diff
deleted file mode 100644
index 90689cba7d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericTypeAssertions4.js.diff
+++ /dev/null
@@ -1,55 +0,0 @@
---- old.genericTypeAssertions4.js
-+++ new.genericTypeAssertions4.js
-@@= skipped -27, +27 lines =@@
- }
-
- //// [genericTypeAssertions4.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.foo = function () { return ""; };
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- B.prototype.bar = function () { return 1; };
-- return B;
--}(A));
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- C.prototype.baz = function () { return 1; };
-- return C;
--}(A));
-+class A {
-+ foo() { return ""; }
-+}
-+class B extends A {
-+ bar() { return 1; }
-+}
-+class C extends A {
-+ baz() { return 1; }
-+}
- var a;
- var b;
- var c;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericTypeAssertions6.js.diff b/testdata/baselines/reference/submodule/compiler/genericTypeAssertions6.js.diff
deleted file mode 100644
index dfb3068411..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericTypeAssertions6.js.diff
+++ /dev/null
@@ -1,56 +0,0 @@
---- old.genericTypeAssertions6.js
-+++ new.genericTypeAssertions6.js
-@@= skipped -26, +26 lines =@@
- var c: A = >b;
-
- //// [genericTypeAssertions6.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A(x) {
-+class A {
-+ constructor(x) {
- var y = x;
- var z = x;
- }
-- A.prototype.f = function (x, y) {
-+ f(x, y) {
- x = y;
- y = x;
-- };
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
- }
-- B.prototype.g = function (x) {
-+}
-+class B extends A {
-+ g(x) {
- var a = x;
- var b = x;
- var c = new Date();
- var d = new Date();
- var e = new Date();
-- };
-- return B;
--}(A));
-+ }
-+}
- var b;
- var c = b;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericTypeConstraints.js.diff b/testdata/baselines/reference/submodule/compiler/genericTypeConstraints.js.diff
deleted file mode 100644
index b2a199bb72..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericTypeConstraints.js.diff
+++ /dev/null
@@ -1,56 +0,0 @@
---- old.genericTypeConstraints.js
-+++ new.genericTypeConstraints.js
-@@= skipped -15, +15 lines =@@
- }
-
- //// [genericTypeConstraints.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Foo.prototype.fooMethod = function () { };
-- return Foo;
--}());
--var FooExtended = /** @class */ (function () {
-- function FooExtended() {
-- }
-- return FooExtended;
--}());
--var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- return Bar;
--}());
--var BarExtended = /** @class */ (function (_super) {
-- __extends(BarExtended, _super);
-- function BarExtended() {
-- return _super.call(this) || this;
-- }
-- return BarExtended;
--}(Bar));
-+class Foo {
-+ fooMethod() { }
-+}
-+class FooExtended {
-+}
-+class Bar {
-+}
-+class BarExtended extends Bar {
-+ constructor() {
-+ super();
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericTypeParameterEquivalence2.js.diff b/testdata/baselines/reference/submodule/compiler/genericTypeParameterEquivalence2.js.diff
deleted file mode 100644
index faa24b780d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericTypeParameterEquivalence2.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.genericTypeParameterEquivalence2.js
-+++ new.genericTypeParameterEquivalence2.js
-@@= skipped -75, +75 lines =@@
- // filter :: (a->bool) -> [a] -> [a]
- function filter(f, ar) {
- var ret = [];
-- forEach(ar, function (el) {
-+ forEach(ar, (el) => {
- if (f(el)) {
- ret.push(el);
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericTypeReferencesRequireTypeArgs.js.diff b/testdata/baselines/reference/submodule/compiler/genericTypeReferencesRequireTypeArgs.js.diff
deleted file mode 100644
index 82acb35376..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericTypeReferencesRequireTypeArgs.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.genericTypeReferencesRequireTypeArgs.js
-+++ new.genericTypeReferencesRequireTypeArgs.js
-@@= skipped -13, +13 lines =@@
-
-
- //// [genericTypeReferencesRequireTypeArgs.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.foo = function () { return null; };
-- return C;
--}());
-+class C {
-+ foo() { return null; }
-+}
- var c1; // error
- var i1; // error
- var c2; // should be an error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericTypeUsedWithoutTypeArguments1.js.diff b/testdata/baselines/reference/submodule/compiler/genericTypeUsedWithoutTypeArguments1.js.diff
deleted file mode 100644
index 1650cbf3f3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericTypeUsedWithoutTypeArguments1.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.genericTypeUsedWithoutTypeArguments1.js
-+++ new.genericTypeUsedWithoutTypeArguments1.js
-@@= skipped -5, +5 lines =@@
-
-
- //// [genericTypeUsedWithoutTypeArguments1.js]
--var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- return Bar;
--}());
-+class Bar {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericTypeWithCallableMembers.js.diff b/testdata/baselines/reference/submodule/compiler/genericTypeWithCallableMembers.js.diff
index 53ec8834aa..50080f93ee 100644
--- a/testdata/baselines/reference/submodule/compiler/genericTypeWithCallableMembers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericTypeWithCallableMembers.js.diff
@@ -1,24 +1,11 @@
--- old.genericTypeWithCallableMembers.js
+++ new.genericTypeWithCallableMembers.js
-@@= skipped -14, +14 lines =@@
-
+@@= skipped -15, +15 lines =@@
//// [genericTypeWithCallableMembers.js]
--var C = /** @class */ (function () {
-- function C(data, data2) {
-+class C {
+ class C {
+ data;
+ data2;
-+ constructor(data, data2) {
+ constructor(data, data2) {
this.data = data;
- this.data2 = data2;
- }
-- C.prototype.create = function () {
-+ create() {
- var x = new this.data(); // no error
- var x2 = new this.data2(); // was error, shouldn't be
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
+ this.data2 = data2;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericTypeWithNonGenericBaseMisMatch.js.diff b/testdata/baselines/reference/submodule/compiler/genericTypeWithNonGenericBaseMisMatch.js.diff
deleted file mode 100644
index aa7b59dd43..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericTypeWithNonGenericBaseMisMatch.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.genericTypeWithNonGenericBaseMisMatch.js
-+++ new.genericTypeWithNonGenericBaseMisMatch.js
-@@= skipped -11, +11 lines =@@
-
-
- //// [genericTypeWithNonGenericBaseMisMatch.js]
--var X = /** @class */ (function () {
-- function X() {
-- }
-- X.prototype.f = function (a) { };
-- return X;
--}());
-+class X {
-+ f(a) { }
-+}
- var x = new X();
- var i = x; // Should not be allowed -- type of 'f' is incompatible with 'I'
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericWithCallSignatures1.js.diff b/testdata/baselines/reference/submodule/compiler/genericWithCallSignatures1.js.diff
index fa58171c19..2666903efc 100644
--- a/testdata/baselines/reference/submodule/compiler/genericWithCallSignatures1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericWithCallSignatures1.js.diff
@@ -1,19 +1,10 @@
--- old.genericWithCallSignatures1.js
+++ new.genericWithCallSignatures1.js
-@@= skipped -20, +20 lines =@@
- //// [genericWithCallSignatures_0.js]
+@@= skipped -21, +21 lines =@@
//// [genericWithCallSignatures_1.js]
///
--var MyClass = /** @class */ (function () {
-- function MyClass() {
-- }
-- MyClass.prototype.myMethod = function () {
-+class MyClass {
+ class MyClass {
+ callableThing;
-+ myMethod() {
+ myMethod() {
var x = this.callableThing();
-- };
-- return MyClass;
--}());
-+ }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericWithIndexerOfTypeParameterType1.js.diff b/testdata/baselines/reference/submodule/compiler/genericWithIndexerOfTypeParameterType1.js.diff
index e473bd89d3..f1d35d5475 100644
--- a/testdata/baselines/reference/submodule/compiler/genericWithIndexerOfTypeParameterType1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericWithIndexerOfTypeParameterType1.js.diff
@@ -1,22 +1,13 @@
--- old.genericWithIndexerOfTypeParameterType1.js
+++ new.genericWithIndexerOfTypeParameterType1.js
-@@= skipped -10, +10 lines =@@
- var value: string = lazyArray.array()["test"]; // used to be an error
+@@= skipped -11, +11 lines =@@
//// [genericWithIndexerOfTypeParameterType1.js]
--var LazyArray = /** @class */ (function () {
-- function LazyArray() {
+ class LazyArray {
+- constructor() {
- this.objects = {};
- }
-- LazyArray.prototype.array = function () {
-+class LazyArray {
+ objects = {};
-+ array() {
+ array() {
return this.objects;
-- };
-- return LazyArray;
--}());
-+ }
-+}
- var lazyArray = new LazyArray();
- var value = lazyArray.array()["test"]; // used to be an error
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericWithIndexerOfTypeParameterType2.js.diff b/testdata/baselines/reference/submodule/compiler/genericWithIndexerOfTypeParameterType2.js.diff
index 8f55f3e185..cb6d350b76 100644
--- a/testdata/baselines/reference/submodule/compiler/genericWithIndexerOfTypeParameterType2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericWithIndexerOfTypeParameterType2.js.diff
@@ -4,53 +4,22 @@
//// [genericWithIndexerOfTypeParameterType2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
-define(["require", "exports"], function (require, exports) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.ListItem = exports.CollectionItem = exports.List = exports.Collection = void 0;
-- var Collection = /** @class */ (function () {
-- function Collection() {
-- }
-- return Collection;
-- }());
+- class Collection {
+- }
- exports.Collection = Collection;
-- var List = /** @class */ (function (_super) {
-- __extends(List, _super);
-- function List() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- List.prototype.Bar = function () { };
-- return List;
-- }(Collection));
+- class List extends Collection {
+- Bar() { }
+- }
- exports.List = List;
-- var CollectionItem = /** @class */ (function () {
-- function CollectionItem() {
-- }
-- return CollectionItem;
-- }());
+- class CollectionItem {
+- }
- exports.CollectionItem = CollectionItem;
-- var ListItem = /** @class */ (function (_super) {
-- __extends(ListItem, _super);
-- function ListItem() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return ListItem;
-- }(CollectionItem));
+- class ListItem extends CollectionItem {
+- }
- exports.ListItem = ListItem;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/genericWithNoConstraintComparableWithCurlyCurly.js.diff b/testdata/baselines/reference/submodule/compiler/genericWithNoConstraintComparableWithCurlyCurly.js.diff
index 06cc0b6826..b70eed9488 100644
--- a/testdata/baselines/reference/submodule/compiler/genericWithNoConstraintComparableWithCurlyCurly.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericWithNoConstraintComparableWithCurlyCurly.js.diff
@@ -6,32 +6,5 @@
//// [genericWithNoConstraintComparableWithCurlyCurly.js]
-"use strict";
function foo() {
-- var x = {};
-+ let x = {};
- x;
- }
- function bar() {
-- var x = {};
-+ let x = {};
- x;
- }
- function baz() {
-- var x = {};
-+ let x = {};
- x;
- }
- function bat() {
-- var x = {};
-+ let x = {};
- x;
- }
- function no() {
-- var x = {};
-+ let x = {};
- x; // should error
- }
- function yes() {
-- var x = {};
-+ let x = {};
- x;
- }
\ No newline at end of file
+ let x = {};
+ x;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericWithOpenTypeParameters1.js.diff b/testdata/baselines/reference/submodule/compiler/genericWithOpenTypeParameters1.js.diff
deleted file mode 100644
index f30c0b2124..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericWithOpenTypeParameters1.js.diff
+++ /dev/null
@@ -1,25 +0,0 @@
---- old.genericWithOpenTypeParameters1.js
-+++ new.genericWithOpenTypeParameters1.js
-@@= skipped -13, +13 lines =@@
-
-
- //// [genericWithOpenTypeParameters1.js]
--var B = /** @class */ (function () {
-- function B() {
-- }
-- B.prototype.foo = function (x) { return null; };
-- return B;
--}());
-+class B {
-+ foo(x) { return null; }
-+}
- var x;
- x.foo(1); // no error
--var f = function (x) { return x.foo(1); }; // error
--var f2 = function (x) { return x.foo(1); }; // error
--var f3 = function (x) { return x.foo(1); }; // error
--var f4 = function (x) { return x.foo(1); }; // no error
-+var f = (x) => { return x.foo(1); }; // error
-+var f2 = (x) => { return x.foo(1); }; // error
-+var f3 = (x) => { return x.foo(1); }; // error
-+var f4 = (x) => { return x.foo(1); }; // no error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/generics3.js.diff b/testdata/baselines/reference/submodule/compiler/generics3.js.diff
index 51f8dbe838..6d3d981dfe 100644
--- a/testdata/baselines/reference/submodule/compiler/generics3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/generics3.js.diff
@@ -1,17 +1,10 @@
--- old.generics3.js
+++ new.generics3.js
-@@= skipped -9, +9 lines =@@
- a = b; // Ok - should be identical
+@@= skipped -10, +10 lines =@@
//// [generics3.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ x;
-+}
+ }
var a;
- var b;
- a = b; // Ok - should be identical
\ No newline at end of file
+ var b;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/generics4.js.diff b/testdata/baselines/reference/submodule/compiler/generics4.js.diff
index 65a7a46018..eaa7c739b5 100644
--- a/testdata/baselines/reference/submodule/compiler/generics4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/generics4.js.diff
@@ -1,17 +1,10 @@
--- old.generics4.js
+++ new.generics4.js
-@@= skipped -9, +9 lines =@@
- a = b; // Not ok - return types of "f" are different
+@@= skipped -10, +10 lines =@@
//// [generics4.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ x;
-+}
+ }
var a;
- var b;
- a = b; // Not ok - return types of "f" are different
\ No newline at end of file
+ var b;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/generics4NoError.js.diff b/testdata/baselines/reference/submodule/compiler/generics4NoError.js.diff
index b9b6eab727..52dcce6db6 100644
--- a/testdata/baselines/reference/submodule/compiler/generics4NoError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/generics4NoError.js.diff
@@ -1,16 +1,10 @@
--- old.generics4NoError.js
+++ new.generics4NoError.js
-@@= skipped -8, +8 lines =@@
-
+@@= skipped -9, +9 lines =@@
//// [generics4NoError.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ x;
-+}
+ }
var a;
- var b;
+ var b;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericsAndHigherOrderFunctions.js.diff b/testdata/baselines/reference/submodule/compiler/genericsAndHigherOrderFunctions.js.diff
deleted file mode 100644
index 9663346115..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericsAndHigherOrderFunctions.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.genericsAndHigherOrderFunctions.js
-+++ new.genericsAndHigherOrderFunctions.js
-@@= skipped -20, +20 lines =@@
-
- //// [genericsAndHigherOrderFunctions.js]
- // no errors expected
--var combine = function (f) {
-- return function (g) {
-- return function (x) { return f(g(x)); };
-- };
--};
--var foo = function (g) {
-- return function (h) {
-- return function (f) { return h(combine(f)(g)); };
-- };
--};
-+var combine = (f) => (g) => (x) => f(g(x));
-+var foo = (g) => (h) => (f) => h(combine(f)(g));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericsWithDuplicateTypeParameters1.js.diff b/testdata/baselines/reference/submodule/compiler/genericsWithDuplicateTypeParameters1.js.diff
deleted file mode 100644
index e2562158b3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/genericsWithDuplicateTypeParameters1.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.genericsWithDuplicateTypeParameters1.js
-+++ new.genericsWithDuplicateTypeParameters1.js
-@@= skipped -20, +20 lines =@@
- //// [genericsWithDuplicateTypeParameters1.js]
- function f() { }
- function f2(a, b) { return null; }
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.f = function () { };
-- C.prototype.f2 = function (a, b) { return null; };
-- return C;
--}());
-+class C {
-+ f() { }
-+ f2(a, b) { return null; }
-+}
- var m = {
- a: function f() { },
- b: function f2(a, b) { return null; }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/genericsWithoutTypeParameters1.js.diff b/testdata/baselines/reference/submodule/compiler/genericsWithoutTypeParameters1.js.diff
index f39634e8a9..2ac2c3883f 100644
--- a/testdata/baselines/reference/submodule/compiler/genericsWithoutTypeParameters1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/genericsWithoutTypeParameters1.js.diff
@@ -1,43 +1,11 @@
--- old.genericsWithoutTypeParameters1.js
+++ new.genericsWithoutTypeParameters1.js
-@@= skipped -35, +35 lines =@@
- }
-
- //// [genericsWithoutTypeParameters1.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.foo = function () { return null; };
-- return C;
--}());
-+class C {
-+ foo() { return null; }
-+}
- var c1;
- var i1;
- var c2;
-@@= skipped -13, +10 lines =@@
- function foo(x, y) { }
- function foo2(x, y) { }
+@@= skipped -47, +47 lines =@@
var x = { a: new C() };
--var x2 = { a: { bar: function () { return 1; } } };
--var D = /** @class */ (function () {
-- function D() {
-- }
-- return D;
--}());
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+var x2 = { a: { bar() { return 1; } } };
-+class D {
+ var x2 = { a: { bar() { return 1; } } };
+ class D {
+ x;
+ y;
-+}
-+class A {
-+}
- function f(x) {
- return null;
+ }
+ class A {
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/getAccessorWithImpliedReturnTypeAndFunctionClassMerge.js.diff b/testdata/baselines/reference/submodule/compiler/getAccessorWithImpliedReturnTypeAndFunctionClassMerge.js.diff
deleted file mode 100644
index b82a5f8d8c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/getAccessorWithImpliedReturnTypeAndFunctionClassMerge.js.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- old.getAccessorWithImpliedReturnTypeAndFunctionClassMerge.js
-+++ new.getAccessorWithImpliedReturnTypeAndFunctionClassMerge.js
-@@= skipped -31, +31 lines =@@
- //// [getAccessorWithImpliedReturnTypeAndFunctionClassMerge.js]
- var MyModule;
- (function (MyModule) {
-- var MyClass = /** @class */ (function () {
-- function MyClass() {
-+ class MyClass {
-+ get myGetter() {
-+ var obj = {};
-+ return obj;
- }
-- Object.defineProperty(MyClass.prototype, "myGetter", {
-- get: function () {
-- var obj = {};
-- return obj;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return MyClass;
-- }());
-+ }
- MyModule.MyClass = MyClass;
- })(MyModule || (MyModule = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/getAndSetAsMemberNames.js.diff b/testdata/baselines/reference/submodule/compiler/getAndSetAsMemberNames.js.diff
index f0ef74308e..69c31c0317 100644
--- a/testdata/baselines/reference/submodule/compiler/getAndSetAsMemberNames.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/getAndSetAsMemberNames.js.diff
@@ -1,62 +1,34 @@
--- old.getAndSetAsMemberNames.js
+++ new.getAndSetAsMemberNames.js
-@@= skipped -23, +23 lines =@@
-
+@@= skipped -24, +24 lines =@@
//// [getAndSetAsMemberNames.js]
--var C1 = /** @class */ (function () {
-- function C1() {
+ class C1 {
+- constructor() {
- this.get = 1;
- }
-- return C1;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
--}());
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- C3.prototype.set = function (x) {
-+class C1 {
+ set;
+ get = 1;
-+}
-+class C2 {
+ }
+ class C2 {
+ set;
-+}
-+class C3 {
-+ set(x) {
- return x + 1;
-- };
-- return C3;
--}());
--var C4 = /** @class */ (function () {
-- function C4() {
+ }
+ class C3 {
+ set(x) {
+@@= skipped -12, +12 lines =@@
+ }
+ }
+ class C4 {
+- constructor() {
- this.get = true;
- }
-- return C4;
--}());
--var C5 = /** @class */ (function () {
-- function C5() {
++ get = true;
+ }
+ class C5 {
+- constructor() {
- this.set = function () { return true; };
- }
-- C5.prototype.get = function () { return true; };
-- Object.defineProperty(C5.prototype, "t", {
-- set: function (x) { },
-- enumerable: false,
-- configurable: true
-- });
-- return C5;
--}());
-+ }
-+}
-+class C4 {
-+ get = true;
-+}
-+class C5 {
+ set = function () { return true; };
-+ get() { return true; }
-+ set t(x) { }
-+}
\ No newline at end of file
+ get() { return true; }
+ set t(x) { }
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/getAndSetNotIdenticalType.js.diff b/testdata/baselines/reference/submodule/compiler/getAndSetNotIdenticalType.js.diff
deleted file mode 100644
index d444c13d2f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/getAndSetNotIdenticalType.js.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- old.getAndSetNotIdenticalType.js
-+++ new.getAndSetNotIdenticalType.js
-@@= skipped -8, +8 lines =@@
- }
-
- //// [getAndSetNotIdenticalType.js]
--var C = /** @class */ (function () {
-- function C() {
-+class C {
-+ get x() {
-+ return 1;
- }
-- Object.defineProperty(C.prototype, "x", {
-- get: function () {
-- return 1;
-- },
-- set: function (v) { },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
--}());
-+ set x(v) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/getAndSetNotIdenticalType2.js.diff b/testdata/baselines/reference/submodule/compiler/getAndSetNotIdenticalType2.js.diff
index 9a6fd31b80..3c5e0132a9 100644
--- a/testdata/baselines/reference/submodule/compiler/getAndSetNotIdenticalType2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/getAndSetNotIdenticalType2.js.diff
@@ -1,41 +1,13 @@
--- old.getAndSetNotIdenticalType2.js
+++ new.getAndSetNotIdenticalType2.js
-@@= skipped -17, +17 lines =@@
- x.x = r;
+@@= skipped -18, +18 lines =@@
//// [getAndSetNotIdenticalType2.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var C = /** @class */ (function () {
-- function C() {
-- }
-- Object.defineProperty(C.prototype, "x", {
-- get: function () {
-- return this.data;
-- },
-- set: function (v) {
-- this.data = v;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
--}());
-+class A {
+ class A {
+ foo;
-+}
-+class C {
+ }
+ class C {
+ data;
-+ get x() {
-+ return this.data;
-+ }
-+ set x(v) {
-+ this.data = v;
-+ }
-+}
- var x = new C();
- var r = x.x;
- x.x = r;
\ No newline at end of file
+ get x() {
+ return this.data;
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/getAndSetNotIdenticalType3.js.diff b/testdata/baselines/reference/submodule/compiler/getAndSetNotIdenticalType3.js.diff
index 8626ad819d..69ce5f0e8e 100644
--- a/testdata/baselines/reference/submodule/compiler/getAndSetNotIdenticalType3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/getAndSetNotIdenticalType3.js.diff
@@ -1,41 +1,13 @@
--- old.getAndSetNotIdenticalType3.js
+++ new.getAndSetNotIdenticalType3.js
-@@= skipped -17, +17 lines =@@
- x.x = r;
+@@= skipped -18, +18 lines =@@
//// [getAndSetNotIdenticalType3.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var C = /** @class */ (function () {
-- function C() {
-- }
-- Object.defineProperty(C.prototype, "x", {
-- get: function () {
-- return this.data;
-- },
-- set: function (v) {
-- this.data = v;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
--}());
-+class A {
+ class A {
+ foo;
-+}
-+class C {
+ }
+ class C {
+ data;
-+ get x() {
-+ return this.data;
-+ }
-+ set x(v) {
-+ this.data = v;
-+ }
-+}
- var x = new C();
- var r = x.x;
- x.x = r;
\ No newline at end of file
+ get x() {
+ return this.data;
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/getParameterNameAtPosition.js.diff b/testdata/baselines/reference/submodule/compiler/getParameterNameAtPosition.js.diff
index a7f4f74cbd..6faee97c2a 100644
--- a/testdata/baselines/reference/submodule/compiler/getParameterNameAtPosition.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/getParameterNameAtPosition.js.diff
@@ -6,5 +6,4 @@
//// [getParameterNameAtPosition.js]
-"use strict";
-// Repro from #30171
--cases(fn(function (opts) { }));
-+cases(fn(opts => { }));
\ No newline at end of file
+ cases(fn(opts => { }));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/getSetEnumerable.js.diff b/testdata/baselines/reference/submodule/compiler/getSetEnumerable.js.diff
deleted file mode 100644
index 9b7ccc51c1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/getSetEnumerable.js.diff
+++ /dev/null
@@ -1,64 +0,0 @@
---- old.getSetEnumerable.js
-+++ new.getSetEnumerable.js
-@@= skipped -28, +28 lines =@@
-
-
- //// [getSetEnumerable.js]
--var GetSetEnumerableClassGet = /** @class */ (function () {
-- function GetSetEnumerableClassGet() {
-- }
-- Object.defineProperty(GetSetEnumerableClassGet.prototype, "prop", {
-- get: function () { return true; },
-- enumerable: false,
-- configurable: true
-- });
-- return GetSetEnumerableClassGet;
--}());
--var GetSetEnumerableClassSet = /** @class */ (function () {
-- function GetSetEnumerableClassSet() {
-- }
-- Object.defineProperty(GetSetEnumerableClassSet.prototype, "prop", {
-- set: function (value) { },
-- enumerable: false,
-- configurable: true
-- });
-- return GetSetEnumerableClassSet;
--}());
--var GetSetEnumerableClassGetSet = /** @class */ (function () {
-- function GetSetEnumerableClassGetSet() {
-- }
-- Object.defineProperty(GetSetEnumerableClassGetSet.prototype, "prop", {
-- get: function () { return true; },
-- set: function (value) { },
-- enumerable: false,
-- configurable: true
-- });
-- return GetSetEnumerableClassGetSet;
--}());
--var GetSetEnumerableObjectGet = {
-- get prop() { return true; }
--};
--var GetSetEnumerableObjectSet = {
-- set prop(value) { }
--};
--var GetSetEnumerableObjectGetSet = {
-+class GetSetEnumerableClassGet {
-+ get prop() { return true; }
-+}
-+class GetSetEnumerableClassSet {
-+ set prop(value) { }
-+}
-+class GetSetEnumerableClassGetSet {
-+ get prop() { return true; }
-+ set prop(value) { }
-+}
-+const GetSetEnumerableObjectGet = {
-+ get prop() { return true; }
-+};
-+const GetSetEnumerableObjectSet = {
-+ set prop(value) { }
-+};
-+const GetSetEnumerableObjectGetSet = {
- get prop() { return true; },
- set prop(value) { }
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/getterControlFlowStrictNull.js.diff b/testdata/baselines/reference/submodule/compiler/getterControlFlowStrictNull.js.diff
deleted file mode 100644
index 3e605634a1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/getterControlFlowStrictNull.js.diff
+++ /dev/null
@@ -1,71 +0,0 @@
---- old.getterControlFlowStrictNull.js
-+++ new.getterControlFlowStrictNull.js
-@@= skipped -32, +32 lines =@@
- }
-
- //// [getterControlFlowStrictNull.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.a = function () {
-+class A {
-+ a() {
- if (Math.random() > 0.5) {
- return '';
- }
- // it does error here as expected
-- };
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- Object.defineProperty(B.prototype, "a", {
-- get: function () {
-- if (Math.random() > 0.5) {
-- return '';
-- }
-- // it should error here because it returns undefined
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return B;
--}());
--var C = /** @class */ (function () {
-- function C() {
-- }
-- Object.defineProperty(C.prototype, "a", {
-- get: function () {
-- if (Math.random() > 0.5) {
-- return 0;
-- }
-- // it should error here because it returns undefined
-- },
-- set: function (value) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
--}());
-+ }
-+}
-+class B {
-+ get a() {
-+ if (Math.random() > 0.5) {
-+ return '';
-+ }
-+ // it should error here because it returns undefined
-+ }
-+}
-+class C {
-+ get a() {
-+ if (Math.random() > 0.5) {
-+ return 0;
-+ }
-+ // it should error here because it returns undefined
-+ }
-+ set a(value) {
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/getterMissingReturnError.js.diff b/testdata/baselines/reference/submodule/compiler/getterMissingReturnError.js.diff
deleted file mode 100644
index 71af9c17b6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/getterMissingReturnError.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.getterMissingReturnError.js
-+++ new.getterMissingReturnError.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [getterMissingReturnError.js]
--var test = /** @class */ (function () {
-- function test() {
-+class test {
-+ get p2() {
- }
-- Object.defineProperty(test.prototype, "p2", {
-- get: function () {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return test;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/getterThatThrowsShouldNotNeedReturn.js.diff b/testdata/baselines/reference/submodule/compiler/getterThatThrowsShouldNotNeedReturn.js.diff
deleted file mode 100644
index fb079b15d2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/getterThatThrowsShouldNotNeedReturn.js.diff
+++ /dev/null
@@ -1,29 +0,0 @@
---- old.getterThatThrowsShouldNotNeedReturn.js
-+++ new.getterThatThrowsShouldNotNeedReturn.js
-@@= skipped -11, +11 lines =@@
-
-
- //// [getterThatThrowsShouldNotNeedReturn.js]
--var Greeter = /** @class */ (function () {
-- function Greeter() {
-- }
-- Object.defineProperty(Greeter.prototype, "greet", {
-- get: function () {
-- throw ''; // should not raise an error
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Greeter.prototype.greeting = function () {
-- throw ''; // should not raise an error
-- };
-- return Greeter;
--}());
-+class Greeter {
-+ get greet() {
-+ throw ''; // should not raise an error
-+ }
-+ greeting() {
-+ throw ''; // should not raise an error
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/gettersAndSettersAccessibility.js.diff b/testdata/baselines/reference/submodule/compiler/gettersAndSettersAccessibility.js.diff
deleted file mode 100644
index 58f6e929af..0000000000
--- a/testdata/baselines/reference/submodule/compiler/gettersAndSettersAccessibility.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.gettersAndSettersAccessibility.js
-+++ new.gettersAndSettersAccessibility.js
-@@= skipped -7, +7 lines =@@
-
-
- //// [gettersAndSettersAccessibility.js]
--var C99 = /** @class */ (function () {
-- function C99() {
-- }
-- Object.defineProperty(C99.prototype, "Baz", {
-- get: function () { return 0; },
-- set: function (n) { } // error - accessors do not agree in visibility
-- ,
-- enumerable: false,
-- configurable: true
-- });
-- return C99;
--}());
-+class C99 {
-+ get Baz() { return 0; }
-+ set Baz(n) { } // error - accessors do not agree in visibility
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/gettersAndSettersErrors.js.diff b/testdata/baselines/reference/submodule/compiler/gettersAndSettersErrors.js.diff
index 4448e0a3a8..6f0f1df6b9 100644
--- a/testdata/baselines/reference/submodule/compiler/gettersAndSettersErrors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/gettersAndSettersErrors.js.diff
@@ -1,51 +1,18 @@
--- old.gettersAndSettersErrors.js
+++ new.gettersAndSettersErrors.js
-@@= skipped -18, +18 lines =@@
-
+@@= skipped -19, +19 lines =@@
//// [gettersAndSettersErrors.js]
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.Foo = 0; // error - duplicate identifier Foo - confirmed
- }
-- Object.defineProperty(C.prototype, "Foo", {
-- get: function () { return "foo"; } // ok
-- ,
-- set: function (foo) { } // ok
-- ,
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C.prototype, "Goo", {
-- get: function (v) { return null; } // error - getters must not have a parameter
-- ,
-- set: function (v) { } // error - setters must not specify a return type
-- ,
-- enumerable: false,
-- configurable: true
-- });
-- return C;
--}());
--var E = /** @class */ (function () {
-- function E() {
-- }
-- Object.defineProperty(E.prototype, "Baz", {
-- get: function () { return 0; },
-- set: function (n) { } // error - accessors do not agree in visibility
-- ,
-- enumerable: false,
-- configurable: true
-- });
-- return E;
--}());
-+class C {
-+ get Foo() { return "foo"; } // ok
-+ set Foo(foo) { } // ok
+ get Foo() { return "foo"; } // ok
+ set Foo(foo) { } // ok
+ Foo = 0; // error - duplicate identifier Foo - confirmed
-+ get Goo(v) { return null; } // error - getters must not have a parameter
+ get Goo(v) { return null; } // error - getters must not have a parameter
+- set Goo(v): string { } // error - setters must not specify a return type
+ set Goo(v) { } // error - setters must not specify a return type
-+}
-+class E {
-+ get Baz() { return 0; }
-+ set Baz(n) { } // error - accessors do not agree in visibility
-+}
\ No newline at end of file
+ }
+ class E {
+ get Baz() { return 0; }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/gettersAndSettersTypesAgree.js.diff b/testdata/baselines/reference/submodule/compiler/gettersAndSettersTypesAgree.js.diff
deleted file mode 100644
index 88d35a4a92..0000000000
--- a/testdata/baselines/reference/submodule/compiler/gettersAndSettersTypesAgree.js.diff
+++ /dev/null
@@ -1,35 +0,0 @@
---- old.gettersAndSettersTypesAgree.js
-+++ new.gettersAndSettersTypesAgree.js
-@@= skipped -12, +12 lines =@@
- var o2 = {get Foo(){return 0;}, set Foo(val:number){}}; // ok - types agree
-
- //// [gettersAndSettersTypesAgree.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- Object.defineProperty(C.prototype, "Foo", {
-- get: function () { return "foo"; } // ok
-- ,
-- set: function (foo) { } // ok - type inferred from getter return statement
-- ,
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C.prototype, "Bar", {
-- get: function () { return "foo"; } // ok
-- ,
-- set: function (bar) { } // ok - type must be declared
-- ,
-- enumerable: false,
-- configurable: true
-- });
-- return C;
--}());
-+class C {
-+ get Foo() { return "foo"; } // ok
-+ set Foo(foo) { } // ok - type inferred from getter return statement
-+ get Bar() { return "foo"; } // ok
-+ set Bar(bar) { } // ok - type must be declared
-+}
- var o1 = { get Foo() { return 0; }, set Foo(val) { } }; // ok - types agree (inference)
- var o2 = { get Foo() { return 0; }, set Foo(val) { } }; // ok - types agree
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/giant.js.diff b/testdata/baselines/reference/submodule/compiler/giant.js.diff
index 56cacfffa8..745792e25c 100644
--- a/testdata/baselines/reference/submodule/compiler/giant.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/giant.js.diff
@@ -22,124 +22,66 @@
-
- MAX DEPTH 3 LEVELS
- */
-- var p = "propName";
+- const p = "propName";
- var V;
- function F() { }
- ;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.pF = function () { };
-- C.prototype.rF = function () { };
-- C.prototype.pgF = function () { };
-- Object.defineProperty(C.prototype, "pgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- C.prototype.psF = function (param) { };
-- Object.defineProperty(C.prototype, "psF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- C.prototype.rgF = function () { };
-- Object.defineProperty(C.prototype, "rgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- C.prototype.rsF = function (param) { };
-- Object.defineProperty(C.prototype, "rsF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- C.tF = function () { };
-- C.tsF = function (param) { };
-- Object.defineProperty(C, "tsF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- C.tgF = function () { };
-- Object.defineProperty(C, "tgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
-- }());
+- class C {
+- constructor() { }
+- pF() { }
+- rF() { }
+- pgF() { }
+- get pgF() { }
+- psF(param) { }
+- set psF(param) { }
+- rgF() { }
+- get rgF() { }
+- rsF(param) { }
+- set rsF(param) { }
+- static tF() { }
+- static tsF(param) { }
+- static set tsF(param) { }
+- static tgF() { }
+- static get tgF() { }
+- }
- var M;
- (function (M_1) {
- var V;
- function F() { }
- ;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.pF = function () { };
-- C.prototype.rF = function () { };
-- C.prototype.pgF = function () { };
-- Object.defineProperty(C.prototype, "pgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- C.prototype.psF = function (param) { };
-- Object.defineProperty(C.prototype, "psF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- C.prototype.rgF = function () { };
-- Object.defineProperty(C.prototype, "rgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- C.prototype.rsF = function (param) { };
-- Object.defineProperty(C.prototype, "rsF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- C.tF = function () { };
-- C.tsF = function (param) { };
-- Object.defineProperty(C, "tsF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- C.tgF = function () { };
-- Object.defineProperty(C, "tgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
-- }());
-- var M;
+- class C {
+- constructor() { }
+- pF() { }
+- rF() { }
+- pgF() { }
+- get pgF() { }
+- psF(param) { }
+- set psF(param) { }
+- rgF() { }
+- get rgF() { }
+- rsF(param) { }
+- set rsF(param) { }
+- static tF() { }
+- static tsF(param) { }
+- static set tsF(param) { }
+- static tgF() { }
+- static get tgF() { }
+- }
+- let M;
- (function (M) {
- var V;
- function F() { }
- ;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
+- class C {
+- }
- ;
- ;
- ;
- function eF() { }
- M.eF = eF;
- ;
-- var eC = /** @class */ (function () {
-- function eC() {
-- }
-- return eC;
-- }());
+- class eC {
+- }
- M.eC = eC;
- ;
- ;
@@ -151,72 +93,40 @@
- function eF() { }
- M_1.eF = eF;
- ;
-- var eC = /** @class */ (function () {
-- function eC() {
-- }
-- eC.prototype.pF = function () { };
-- eC.prototype.rF = function () { };
-- eC.prototype.pgF = function () { };
-- Object.defineProperty(eC.prototype, "pgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.prototype.psF = function (param) { };
-- Object.defineProperty(eC.prototype, "psF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.prototype.rgF = function () { };
-- Object.defineProperty(eC.prototype, "rgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.prototype.rsF = function (param) { };
-- Object.defineProperty(eC.prototype, "rsF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.tF = function () { };
-- eC.tsF = function (param) { };
-- Object.defineProperty(eC, "tsF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.tgF = function () { };
-- Object.defineProperty(eC, "tgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- return eC;
-- }());
+- class eC {
+- constructor() { }
+- pF() { }
+- rF() { }
+- pgF() { }
+- get pgF() { }
+- psF(param) { }
+- set psF(param) { }
+- rgF() { }
+- get rgF() { }
+- rsF(param) { }
+- set rsF(param) { }
+- static tF() { }
+- static tsF(param) { }
+- static set tsF(param) { }
+- static tgF() { }
+- static get tgF() { }
+- }
- M_1.eC = eC;
-- var eM;
+- let eM;
- (function (eM) {
- var V;
- function F() { }
- ;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
+- class C {
+- }
- ;
- ;
- ;
- function eF() { }
- eM.eF = eF;
- ;
-- var eC = /** @class */ (function () {
-- function eC() {
-- }
-- return eC;
-- }());
+- class eC {
+- }
- eM.eC = eC;
- ;
- ;
@@ -229,121 +139,63 @@
- })(M || (M = {}));
- function eF() { }
- ;
-- var eC = /** @class */ (function () {
-- function eC() {
-- }
-- eC.prototype.pF = function () { };
-- eC.prototype.rF = function () { };
-- eC.prototype.pgF = function () { };
-- Object.defineProperty(eC.prototype, "pgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.prototype.psF = function (param) { };
-- Object.defineProperty(eC.prototype, "psF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.prototype.rgF = function () { };
-- Object.defineProperty(eC.prototype, "rgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.prototype.rsF = function (param) { };
-- Object.defineProperty(eC.prototype, "rsF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.tF = function () { };
-- eC.tsF = function (param) { };
-- Object.defineProperty(eC, "tsF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.tgF = function () { };
-- Object.defineProperty(eC, "tgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- return eC;
-- }());
+- class eC {
+- constructor() { }
+- pF() { }
+- rF() { }
+- pgF() { }
+- get pgF() { }
+- psF(param) { }
+- set psF(param) { }
+- rgF() { }
+- get rgF() { }
+- rsF(param) { }
+- set rsF(param) { }
+- static tF() { }
+- static tsF(param) { }
+- static set tsF(param) { }
+- static tgF() { }
+- static get tgF() { }
+- }
- exports.eC = eC;
- var eM;
- (function (eM_1) {
- var V;
- function F() { }
- ;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.pF = function () { };
-- C.prototype.rF = function () { };
-- C.prototype.pgF = function () { };
-- Object.defineProperty(C.prototype, "pgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- C.prototype.psF = function (param) { };
-- Object.defineProperty(C.prototype, "psF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- C.prototype.rgF = function () { };
-- Object.defineProperty(C.prototype, "rgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- C.prototype.rsF = function (param) { };
-- Object.defineProperty(C.prototype, "rsF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- C.tF = function () { };
-- C.tsF = function (param) { };
-- Object.defineProperty(C, "tsF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- C.tgF = function () { };
-- Object.defineProperty(C, "tgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
-- }());
-- var M;
+- class C {
+- constructor() { }
+- pF() { }
+- rF() { }
+- pgF() { }
+- get pgF() { }
+- psF(param) { }
+- set psF(param) { }
+- rgF() { }
+- get rgF() { }
+- rsF(param) { }
+- set rsF(param) { }
+- static tF() { }
+- static tsF(param) { }
+- static set tsF(param) { }
+- static tgF() { }
+- static get tgF() { }
+- }
+- let M;
- (function (M) {
- var V;
- function F() { }
- ;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
+- class C {
+- }
- ;
- ;
- ;
- function eF() { }
- M.eF = eF;
- ;
-- var eC = /** @class */ (function () {
-- function eC() {
-- }
-- return eC;
-- }());
+- class eC {
+- }
- M.eC = eC;
- ;
- ;
@@ -355,72 +207,40 @@
- function eF() { }
- eM_1.eF = eF;
- ;
-- var eC = /** @class */ (function () {
-- function eC() {
-- }
-- eC.prototype.pF = function () { };
-- eC.prototype.rF = function () { };
-- eC.prototype.pgF = function () { };
-- Object.defineProperty(eC.prototype, "pgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.prototype.psF = function (param) { };
-- Object.defineProperty(eC.prototype, "psF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.prototype.rgF = function () { };
-- Object.defineProperty(eC.prototype, "rgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.prototype.rsF = function (param) { };
-- Object.defineProperty(eC.prototype, "rsF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.tF = function () { };
-- eC.tsF = function (param) { };
-- Object.defineProperty(eC, "tsF", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- eC.tgF = function () { };
-- Object.defineProperty(eC, "tgF", {
-- get: function () { },
-- enumerable: false,
-- configurable: true
-- });
-- return eC;
-- }());
+- class eC {
+- constructor() { }
+- pF() { }
+- rF() { }
+- pgF() { }
+- get pgF() { }
+- psF(param) { }
+- set psF(param) { }
+- rgF() { }
+- get rgF() { }
+- rsF(param) { }
+- set rsF(param) { }
+- static tF() { }
+- static tsF(param) { }
+- static set tsF(param) { }
+- static tgF() { }
+- static get tgF() { }
+- }
- eM_1.eC = eC;
-- var eM;
+- let eM;
- (function (eM) {
- var V;
- function F() { }
- ;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
+- class C {
+- }
- ;
- ;
- ;
- function eF() { }
- eM.eF = eF;
- ;
-- var eC = /** @class */ (function () {
-- function eC() {
-- }
-- return eC;
-- }());
+- class eC {
+- }
- eM.eC = eC;
- ;
- ;
@@ -681,7 +501,7 @@
declare const p = "propName";
export declare var eV: any;
export declare function eF(): void;
-@@= skipped -457, +270 lines =@@
+@@= skipped -277, +270 lines =@@
static get tgF(): any;
}
export interface eI {
diff --git a/testdata/baselines/reference/submodule/compiler/globalIsContextualKeyword.js.diff b/testdata/baselines/reference/submodule/compiler/globalIsContextualKeyword.js.diff
deleted file mode 100644
index 824394da37..0000000000
--- a/testdata/baselines/reference/submodule/compiler/globalIsContextualKeyword.js.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- old.globalIsContextualKeyword.js
-+++ new.globalIsContextualKeyword.js
-@@= skipped -19, +19 lines =@@
-
- //// [globalIsContextualKeyword.js]
- function a() {
-- var global = 1;
-+ let global = 1;
- }
- function b() {
-- var global = /** @class */ (function () {
-- function global() {
-- }
-- return global;
-- }());
-+ class global {
-+ }
- }
- function foo(global) {
- }
--var obj = {
-+let obj = {
- global: "123"
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/globalThisCapture.js.diff b/testdata/baselines/reference/submodule/compiler/globalThisCapture.js.diff
deleted file mode 100644
index 639c2493ef..0000000000
--- a/testdata/baselines/reference/submodule/compiler/globalThisCapture.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.globalThisCapture.js
-+++ new.globalThisCapture.js
-@@= skipped -10, +10 lines =@@
-
-
- //// [globalThisCapture.js]
--var _this = this;
- // Add a lambda to ensure global 'this' capture is triggered
--(function () { return _this.window; });
-+(() => this.window);
- var parts = [];
- // Ensure that the generated code is correct
- parts[0];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/grammarAmbiguities1.js.diff b/testdata/baselines/reference/submodule/compiler/grammarAmbiguities1.js.diff
deleted file mode 100644
index 9feec59e6c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/grammarAmbiguities1.js.diff
+++ /dev/null
@@ -1,27 +0,0 @@
---- old.grammarAmbiguities1.js
-+++ new.grammarAmbiguities1.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [grammarAmbiguities1.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.foo = function () { };
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- B.prototype.bar = function () { };
-- return B;
--}());
-+class A {
-+ foo() { }
-+}
-+class B {
-+ bar() { }
-+}
- function f(x) { return x; }
- function g(x) { return f(x); }
- g(7);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/heterogeneousArrayAndOverloads.js.diff b/testdata/baselines/reference/submodule/compiler/heterogeneousArrayAndOverloads.js.diff
deleted file mode 100644
index 1ad287e0d1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/heterogeneousArrayAndOverloads.js.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- old.heterogeneousArrayAndOverloads.js
-+++ new.heterogeneousArrayAndOverloads.js
-@@= skipped -13, +13 lines =@@
- }
-
- //// [heterogeneousArrayAndOverloads.js]
--var arrTest = /** @class */ (function () {
-- function arrTest() {
-- }
-- arrTest.prototype.test = function (arg1) { };
-- arrTest.prototype.callTest = function () {
-+class arrTest {
-+ test(arg1) { }
-+ callTest() {
- this.test([1, 2, 3, 5]);
- this.test(["hi"]);
- this.test([]);
- this.test([1, 2, "hi", 5]); // Error
-- };
-- return arrTest;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/higherOrderMappedIndexLookupInference.js.diff b/testdata/baselines/reference/submodule/compiler/higherOrderMappedIndexLookupInference.js.diff
deleted file mode 100644
index bdd01219b2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/higherOrderMappedIndexLookupInference.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.higherOrderMappedIndexLookupInference.js
-+++ new.higherOrderMappedIndexLookupInference.js
-@@= skipped -41, +41 lines =@@
- a = b;
- b = a;
- }
--var h = f;
-+const h = f;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/identicalGenericConditionalsWithInferRelated.js.diff b/testdata/baselines/reference/submodule/compiler/identicalGenericConditionalsWithInferRelated.js.diff
deleted file mode 100644
index 7524c29e2d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/identicalGenericConditionalsWithInferRelated.js.diff
+++ /dev/null
@@ -1,25 +0,0 @@
---- old.identicalGenericConditionalsWithInferRelated.js
-+++ new.identicalGenericConditionalsWithInferRelated.js
-@@= skipped -34, +34 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- function f(arg) {
-- var x = null;
-- var y = null;
-+ let x = null;
-+ let y = null;
- x = y; // is err, should be ok
- y = x; // is err, should be ok
- }
--var Y = /** @class */ (function () {
-- function Y() {
-- }
-- Y.prototype.decode = function (ctor) {
-+class Y {
-+ decode(ctor) {
- throw new Error();
-- };
-- return Y;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/identicalTypesNoDifferByCheckOrder.js.diff b/testdata/baselines/reference/submodule/compiler/identicalTypesNoDifferByCheckOrder.js.diff
deleted file mode 100644
index 4ef179743b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/identicalTypesNoDifferByCheckOrder.js.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- old.identicalTypesNoDifferByCheckOrder.js
-+++ new.identicalTypesNoDifferByCheckOrder.js
-@@= skipped -38, +38 lines =@@
- needsComponentOfSomeProps2({ renderAs: comp2 });
-
- //// [identicalTypesNoDifferByCheckOrder.js]
--function needsComponentOfSomeProps3() {
-- var x = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- x[_i] = arguments[_i];
-- }
--}
--var comp3 = null;
-+function needsComponentOfSomeProps3(...x) { }
-+const comp3 = null;
- needsComponentOfSomeProps3({ renderAs: comp3 });
--function needsComponentOfSomeProps2() {
-- var x = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- x[_i] = arguments[_i];
-- }
--}
--var comp2 = null;
-+function needsComponentOfSomeProps2(...x) { }
-+const comp2 = null;
- needsComponentOfSomeProps2({ renderAs: comp2 });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/identifierStartAfterNumericLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/identifierStartAfterNumericLiteral.js.diff
deleted file mode 100644
index 50a8d14d3c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/identifierStartAfterNumericLiteral.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.identifierStartAfterNumericLiteral.js
-+++ new.identifierStartAfterNumericLiteral.js
-@@= skipped -29, +29 lines =@@
-
-
- //// [identifierStartAfterNumericLiteral.js]
--var valueIn = 3 in [null];
-+let valueIn = 3 in [null];
- 3;
- a[null];
- 123;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/ignoredJsxAttributes.js.diff b/testdata/baselines/reference/submodule/compiler/ignoredJsxAttributes.js.diff
index 58a0eb23ef..39292a7044 100644
--- a/testdata/baselines/reference/submodule/compiler/ignoredJsxAttributes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/ignoredJsxAttributes.js.diff
@@ -9,13 +9,7 @@
+///
// Repro from #44797
-var React = require("react");
--var props = {
+const React = require("react");
-+let props = {
+ let props = {
foo: "",
- "data-yadda": 42, // Error
- };
--var x1 = React.createElement(Yadda, { foo: "hello", "data-yadda": 42 });
--var x2 = React.createElement(Yadda, { bar: "hello", "data-yadda": 42 }); // Error
-+let x1 = React.createElement(Yadda, { foo: "hello", "data-yadda": 42 });
-+let x2 = React.createElement(Yadda, { bar: "hello", "data-yadda": 42 }); // Error
\ No newline at end of file
+ "data-yadda": 42, // Error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/illegalModifiersOnClassElements.js.diff b/testdata/baselines/reference/submodule/compiler/illegalModifiersOnClassElements.js.diff
index 09f04b096e..8f7fb384ca 100644
--- a/testdata/baselines/reference/submodule/compiler/illegalModifiersOnClassElements.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/illegalModifiersOnClassElements.js.diff
@@ -1,15 +1,11 @@
--- old.illegalModifiersOnClassElements.js
+++ new.illegalModifiersOnClassElements.js
-@@= skipped -6, +6 lines =@@
- }
+@@= skipped -7, +7 lines =@@
//// [illegalModifiersOnClassElements.js]
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.bar = 1;
- }
-- return C;
--}());
-+class C {
+ export bar = 1;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/illegalSuperCallsInConstructor.js.diff b/testdata/baselines/reference/submodule/compiler/illegalSuperCallsInConstructor.js.diff
index 96ef7f91d8..a94d173b8b 100644
--- a/testdata/baselines/reference/submodule/compiler/illegalSuperCallsInConstructor.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/illegalSuperCallsInConstructor.js.diff
@@ -1,57 +1,10 @@
--- old.illegalSuperCallsInConstructor.js
+++ new.illegalSuperCallsInConstructor.js
-@@= skipped -22, +22 lines =@@
- }
+@@= skipped -23, +23 lines =@@
//// [illegalSuperCallsInConstructor.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Base = /** @class */ (function () {
-- function Base() {
-- }
-- return Base;
--}());
--var Derived = /** @class */ (function (_super) {
-- __extends(Derived, _super);
-- function Derived() {
-- var _this = this;
-- var r2 = function () { return _this = _super.call(this) || this; };
-- var r3 = function () { _this = _super.call(this) || this; };
-- var r4 = function () { _this = _super.call(this) || this; };
-+class Base {
+ class Base {
+ x;
-+}
-+class Derived extends Base {
-+ constructor() {
-+ var r2 = () => super();
-+ var r3 = () => { super(); };
-+ var r4 = function () { super(); };
- var r5 = {
- get foo() {
-- _this = _super.call(this) || this;
-+ super();
- return 1;
- },
- set foo(v) {
-- _this = _super.call(this) || this;
-+ super();
- }
- };
-- return _this;
- }
-- return Derived;
--}(Base));
-+}
\ No newline at end of file
+ }
+ class Derived extends Base {
+ constructor() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implementClausePrecedingExtends.js.diff b/testdata/baselines/reference/submodule/compiler/implementClausePrecedingExtends.js.diff
index adde265281..d88f002055 100644
--- a/testdata/baselines/reference/submodule/compiler/implementClausePrecedingExtends.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/implementClausePrecedingExtends.js.diff
@@ -1,38 +1,10 @@
--- old.implementClausePrecedingExtends.js
+++ new.implementClausePrecedingExtends.js
-@@= skipped -4, +4 lines =@@
- class D implements C extends C { }
+@@= skipped -5, +5 lines =@@
//// [implementClausePrecedingExtends.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return D;
--}(C));
-+class C {
+ class C {
+ foo;
-+}
-+class D extends C {
-+}
\ No newline at end of file
+ }
+ class D extends C {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implementGenericWithMismatchedTypes.js.diff b/testdata/baselines/reference/submodule/compiler/implementGenericWithMismatchedTypes.js.diff
index e951dff8e6..62094db9bf 100644
--- a/testdata/baselines/reference/submodule/compiler/implementGenericWithMismatchedTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/implementGenericWithMismatchedTypes.js.diff
@@ -6,29 +6,6 @@
//// [implementGenericWithMismatchedTypes.js]
-// 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 () {
-- function C() {
-- }
-- C.prototype.foo = function (x) {
-- return null;
-- };
-- return C;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- C2.prototype.foo = function (x) {
-- return null;
-- };
-- return C2;
--}());
-+class C {
-+ foo(x) {
-+ return null;
-+ }
-+}
-+class C2 {
-+ foo(x) {
-+ return null;
-+ }
-+}
\ No newline at end of file
+ class C {
+ foo(x) {
+ return null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implementInterfaceAnyMemberWithVoid.js.diff b/testdata/baselines/reference/submodule/compiler/implementInterfaceAnyMemberWithVoid.js.diff
deleted file mode 100644
index 28d486f4c1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/implementInterfaceAnyMemberWithVoid.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.implementInterfaceAnyMemberWithVoid.js
-+++ new.implementInterfaceAnyMemberWithVoid.js
-@@= skipped -11, +11 lines =@@
-
-
- //// [implementInterfaceAnyMemberWithVoid.js]
--var Bug = /** @class */ (function () {
-- function Bug() {
-+class Bug {
-+ foo(value) {
- }
-- Bug.prototype.foo = function (value) {
-- };
-- return Bug;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implementPublicPropertyAsPrivate.js.diff b/testdata/baselines/reference/submodule/compiler/implementPublicPropertyAsPrivate.js.diff
index 5ec19a68ad..d43d1500fc 100644
--- a/testdata/baselines/reference/submodule/compiler/implementPublicPropertyAsPrivate.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/implementPublicPropertyAsPrivate.js.diff
@@ -1,15 +1,11 @@
--- old.implementPublicPropertyAsPrivate.js
+++ new.implementPublicPropertyAsPrivate.js
-@@= skipped -8, +8 lines =@@
- }
+@@= skipped -9, +9 lines =@@
//// [implementPublicPropertyAsPrivate.js]
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.x = 0; // should raise error at class decl
- }
-- return C;
--}());
-+class C {
+ x = 0; // should raise error at class decl
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implementsClauseAlreadySeen.js.diff b/testdata/baselines/reference/submodule/compiler/implementsClauseAlreadySeen.js.diff
deleted file mode 100644
index aa4f77f813..0000000000
--- a/testdata/baselines/reference/submodule/compiler/implementsClauseAlreadySeen.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.implementsClauseAlreadySeen.js
-+++ new.implementsClauseAlreadySeen.js
-@@= skipped -8, +8 lines =@@
- }
-
- //// [implementsClauseAlreadySeen.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var D = /** @class */ (function () {
-- function D() {
-- }
-- D.prototype.baz = function () { };
-- return D;
--}());
-+class C {
-+}
-+class D {
-+ baz() { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implementsInClassExpression.js.diff b/testdata/baselines/reference/submodule/compiler/implementsInClassExpression.js.diff
deleted file mode 100644
index 6370fea4ed..0000000000
--- a/testdata/baselines/reference/submodule/compiler/implementsInClassExpression.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.implementsInClassExpression.js
-+++ new.implementsInClassExpression.js
-@@= skipped -9, +9 lines =@@
- }
-
- //// [implementsInClassExpression.js]
--var cls = /** @class */ (function () {
-- function class_1() {
-- }
-- class_1.prototype.doThing = function () { };
-- return class_1;
--}());
-+let cls = class {
-+ doThing() { }
-+};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implementsIncorrectlyNoAssertion.js.diff b/testdata/baselines/reference/submodule/compiler/implementsIncorrectlyNoAssertion.js.diff
index 92f83cbd59..f73d1b3ccb 100644
--- a/testdata/baselines/reference/submodule/compiler/implementsIncorrectlyNoAssertion.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/implementsIncorrectlyNoAssertion.js.diff
@@ -1,15 +1,9 @@
--- old.implementsIncorrectlyNoAssertion.js
+++ new.implementsIncorrectlyNoAssertion.js
-@@= skipped -14, +14 lines =@@
-
+@@= skipped -15, +15 lines =@@
//// [implementsIncorrectlyNoAssertion.js]
--var Baz = /** @class */ (function () {
-- function Baz() {
-- }
-- return Baz;
--}());
-+class Baz {
+ class Baz {
+ x;
+ y;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitAnyAnyReturningFunction.js.diff b/testdata/baselines/reference/submodule/compiler/implicitAnyAnyReturningFunction.js.diff
deleted file mode 100644
index 209098c000..0000000000
--- a/testdata/baselines/reference/submodule/compiler/implicitAnyAnyReturningFunction.js.diff
+++ /dev/null
@@ -1,27 +0,0 @@
---- old.implicitAnyAnyReturningFunction.js
-+++ new.implicitAnyAnyReturningFunction.js
-@@= skipped -29, +29 lines =@@
- var someLocal = {};
- return someLocal;
- }
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.A = function () {
-+class C {
-+ A() {
- return "";
-- };
-- C.prototype.B = function () {
-+ }
-+ B() {
- var someLocal = {};
- return someLocal;
-- };
-- return C;
--}());
-+ }
-+}
-
-
- //// [implicitAnyAnyReturningFunction.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitAnyCastedValue.js.diff b/testdata/baselines/reference/submodule/compiler/implicitAnyCastedValue.js.diff
index b0acf8623e..ff04f34854 100644
--- a/testdata/baselines/reference/submodule/compiler/implicitAnyCastedValue.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/implicitAnyCastedValue.js.diff
@@ -1,68 +1,26 @@
--- old.implicitAnyCastedValue.js
+++ new.implicitAnyCastedValue.js
-@@= skipped -86, +86 lines =@@
- function foo() {
+@@= skipped -87, +87 lines =@@
return "hello world"; // this should not be an error
}
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.bar = null; // this should be an error
- this.foo = undefined; // this should be an error
-+class C {
+- }
+ bar = null; // this should be an error
+ foo = undefined; // this should be an error
-+ get tempVar() {
-+ return 0; // this should not be an error
+ get tempVar() {
+ return 0; // this should not be an error
+ }
+@@= skipped -15, +13 lines =@@
}
-- Object.defineProperty(C.prototype, "tempVar", {
-- get: function () {
-- return 0; // this should not be an error
-- },
-- enumerable: false,
-- configurable: true
-- });
-- C.prototype.returnBarWithCase = function () {
-+ returnBarWithCase() {
- return this.bar;
-- };
-- C.prototype.returnFooWithCase = function () {
-+ }
-+ returnFooWithCase() {
- return this.foo; // this should not be an error
-- };
-- return C;
--}());
--var C1 = /** @class */ (function () {
-- function C1() {
+ }
+ class C1 {
+- constructor() {
- this.getValue = null; // this should be an error
- }
-- Object.defineProperty(C1.prototype, "castedGet", {
-- get: function () {
-- return this.getValue; // this should not be an error
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C1.prototype, "notCastedGet", {
-- get: function () {
-- return this.getValue; // this should not be an error
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C1;
--}());
-+ }
-+}
-+class C1 {
+ getValue = null; // this should be an error
-+ get castedGet() {
-+ return this.getValue; // this should not be an error
-+ }
-+ get notCastedGet() {
-+ return this.getValue; // this should not be an error
-+ }
-+}
- function castedNull() {
- return null; // this should not be an error
- }
\ No newline at end of file
+ get castedGet() {
+ return this.getValue; // this should not be an error
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitAnyDeclareFunctionExprWithoutFormalType.js.diff b/testdata/baselines/reference/submodule/compiler/implicitAnyDeclareFunctionExprWithoutFormalType.js.diff
deleted file mode 100644
index 9de662aee2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/implicitAnyDeclareFunctionExprWithoutFormalType.js.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- old.implicitAnyDeclareFunctionExprWithoutFormalType.js
-+++ new.implicitAnyDeclareFunctionExprWithoutFormalType.js
-@@= skipped -20, +20 lines =@@
-
- //// [implicitAnyDeclareFunctionExprWithoutFormalType.js]
- // these should be errors for implicit any parameter
--var lambda = function (l1) { }; // Error at "l1"
--var lambd2 = function (ll1, ll2) { }; // Error at "ll1"
-+var lambda = (l1) => { }; // Error at "l1"
-+var lambd2 = (ll1, ll2) => { }; // Error at "ll1"
- var lamda3 = function myLambda3(myParam) { };
--var lamda4 = function () { return null; };
-+var lamda4 = () => { return null; };
- // these should be error for implicit any return type
- var lambda5 = function temp() { return null; };
--var lambda6 = function () { return null; };
-+var lambda6 = () => { return null; };
- var lambda7 = function temp() { return undefined; };
--var lambda8 = function () { return undefined; };
-+var lambda8 = () => { return undefined; };
- // this shouldn't be an error
--var lambda9 = function () { return 5; };
-+var lambda9 = () => { return 5; };
- var lambda10 = function temp1() { return 5; };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitAnyDeclareFunctionWithoutFormalType.js.diff b/testdata/baselines/reference/submodule/compiler/implicitAnyDeclareFunctionWithoutFormalType.js.diff
deleted file mode 100644
index b17e17c9aa..0000000000
--- a/testdata/baselines/reference/submodule/compiler/implicitAnyDeclareFunctionWithoutFormalType.js.diff
+++ /dev/null
@@ -1,29 +0,0 @@
---- old.implicitAnyDeclareFunctionWithoutFormalType.js
-+++ new.implicitAnyDeclareFunctionWithoutFormalType.js
-@@= skipped -20, +20 lines =@@
- ; // error at "y"; no error at "x"
- function func2(a, b, c) { }
- ; // error at "a,b,c"
--function func3() {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
-- }
--}
-+function func3(...args) { }
- ; // error at "args"
--function func4(z, w) {
-- if (z === void 0) { z = null; }
-- if (w === void 0) { w = undefined; }
--}
-+function func4(z = null, w = undefined) { }
- ; // error at "z,w"
- // these shouldn't be errors
--function noError1(x, y) {
-- if (x === void 0) { x = 3; }
-- if (y === void 0) { y = 2; }
--}
-+function noError1(x = 3, y = 2) { }
- ;
- function noError2(x, y) { }
- ;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitAnyDeclareMemberWithoutType2.js.diff b/testdata/baselines/reference/submodule/compiler/implicitAnyDeclareMemberWithoutType2.js.diff
index a9c7baa0a1..dbe48fb1da 100644
--- a/testdata/baselines/reference/submodule/compiler/implicitAnyDeclareMemberWithoutType2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/implicitAnyDeclareMemberWithoutType2.js.diff
@@ -1,19 +1,14 @@
--- old.implicitAnyDeclareMemberWithoutType2.js
+++ new.implicitAnyDeclareMemberWithoutType2.js
-@@= skipped -12, +12 lines =@@
-
+@@= skipped -13, +13 lines =@@
//// [implicitAnyDeclareMemberWithoutType2.js]
// this should be an error
--var C = /** @class */ (function () {
-- function C(c1, c2, c3) {
+ class C {
+- constructor(c1, c2, c3) {
- this.x = null; // error at "x"
- } // error at "c1, c2"
-- C.prototype.funcOfC = function (f1, f2, f3) { }; // error at "f1,f2"
-- return C;
--}());
-+class C {
+ x = null; // error at "x"
+ x1; // no error
+ constructor(c1, c2, c3) { } // error at "c1, c2"
-+ funcOfC(f1, f2, f3) { } // error at "f1,f2"
-+}
\ No newline at end of file
+ funcOfC(f1, f2, f3) { } // error at "f1,f2"
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitAnyDeclareTypePropertyWithoutType.js.diff b/testdata/baselines/reference/submodule/compiler/implicitAnyDeclareTypePropertyWithoutType.js.diff
deleted file mode 100644
index 5535b98db6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/implicitAnyDeclareTypePropertyWithoutType.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.implicitAnyDeclareTypePropertyWithoutType.js
-+++ new.implicitAnyDeclareTypePropertyWithoutType.js
-@@= skipped -19, +19 lines =@@
-
-
- //// [implicitAnyDeclareTypePropertyWithoutType.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+ constructor() { }
-+}
- // this should be an error
- var x; // error at "y,z"
- var x1; // error at "z1"
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitAnyFromCircularInference.js.diff b/testdata/baselines/reference/submodule/compiler/implicitAnyFromCircularInference.js.diff
index 06b883c118..4a540bbd84 100644
--- a/testdata/baselines/reference/submodule/compiler/implicitAnyFromCircularInference.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/implicitAnyFromCircularInference.js.diff
@@ -1,43 +1,13 @@
--- old.implicitAnyFromCircularInference.js
+++ new.implicitAnyFromCircularInference.js
-@@= skipped -65, +65 lines =@@
- return f1();
- };
- // Error expected
--var f2 = function () { return f2(); };
-+var f2 = () => f2();
- // Error expected
- function h() {
- return foo();
-@@= skipped -9, +9 lines =@@
- }
+@@= skipped -75, +75 lines =@@
}
function foo(x) { return "abc"; }
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.s = foo(this);
- }
-- return C;
--}());
--var D = /** @class */ (function () {
-- function D() {
-- }
-- Object.defineProperty(D.prototype, "x", {
-- // Error expected
-- get: function () {
-- return this.x;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return D;
--}());
-+class C {
+ s = foo(this);
-+}
-+class D {
-+ // Error expected
-+ get x() {
-+ return this.x;
-+ }
-+}
\ No newline at end of file
+ }
+ class D {
+ // Error expected
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitAnyFunctionInvocationWithAnyArguements.js.diff b/testdata/baselines/reference/submodule/compiler/implicitAnyFunctionInvocationWithAnyArguements.js.diff
deleted file mode 100644
index d86f8e19be..0000000000
--- a/testdata/baselines/reference/submodule/compiler/implicitAnyFunctionInvocationWithAnyArguements.js.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- old.implicitAnyFunctionInvocationWithAnyArguements.js
-+++ new.implicitAnyFunctionInvocationWithAnyArguements.js
-@@= skipped -51, +51 lines =@@
- function testFuncLiteral(funcLit) { }
- ;
- // this should not be an error
--testFunctionExprC2(function (v1, v2) { return 1; });
-+testFunctionExprC2((v1, v2) => 1);
- testObjLiteral(objL);
- testFuncLiteral(funcL);
- var k = temp1(null);
-@@= skipped -11, +11 lines =@@
- noError(undefined, []);
- noError(null, [null, undefined]);
- noError(undefined, anyArray);
--var C = /** @class */ (function () {
-- function C(emtpyArray, variable) {
-+class C {
-+ constructor(emtpyArray, variable) {
- }
-- return C;
--}());
-+}
- var newC = new C([], undefined);
- var newC1 = new C([], arg0);
- var newC2 = new C([], null);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitAnyFunctionReturnNullOrUndefined.js.diff b/testdata/baselines/reference/submodule/compiler/implicitAnyFunctionReturnNullOrUndefined.js.diff
deleted file mode 100644
index 179c380dc0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/implicitAnyFunctionReturnNullOrUndefined.js.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- old.implicitAnyFunctionReturnNullOrUndefined.js
-+++ new.implicitAnyFunctionReturnNullOrUndefined.js
-@@= skipped -29, +29 lines =@@
- // this should be an error
- function nullWidenFunction() { return null; } // error at "nullWidenFunction"
- function undefinedWidenFunction() { return undefined; } // error at "undefinedWidenFunction"
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.nullWidenFuncOfC = function () {
-+class C {
-+ nullWidenFuncOfC() {
- return null;
-- };
-- C.prototype.underfinedWidenFuncOfC = function () {
-+ }
-+ underfinedWidenFuncOfC() {
- return undefined;
-- };
-- return C;
--}());
-+ }
-+}
- // this should not be an error
- function foo1() { return null; }
- function bar1() { return undefined; }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitAnyGenerics.js.diff b/testdata/baselines/reference/submodule/compiler/implicitAnyGenerics.js.diff
index 8193439f5d..ab3d7c8c42 100644
--- a/testdata/baselines/reference/submodule/compiler/implicitAnyGenerics.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/implicitAnyGenerics.js.diff
@@ -1,29 +1,10 @@
--- old.implicitAnyGenerics.js
+++ new.implicitAnyGenerics.js
-@@= skipped -27, +27 lines =@@
-
+@@= skipped -28, +28 lines =@@
//// [implicitAnyGenerics.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ x;
-+}
+ }
var c = new C();
- var c2 = new C();
- var c3 = new C();
- var c4 = new C();
--var D = /** @class */ (function () {
-- function D(x) {
-- }
-- return D;
--}());
-+class D {
-+ constructor(x) { }
-+}
- var d = new D(null);
- var d2 = new D(1);
- var d3 = new D(1);
\ No newline at end of file
+ var c2 = new C();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitAnyGetAndSetAccessorWithAnyReturnType.js.diff b/testdata/baselines/reference/submodule/compiler/implicitAnyGetAndSetAccessorWithAnyReturnType.js.diff
index a70cb12547..90c35bb6b2 100644
--- a/testdata/baselines/reference/submodule/compiler/implicitAnyGetAndSetAccessorWithAnyReturnType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/implicitAnyGetAndSetAccessorWithAnyReturnType.js.diff
@@ -1,65 +1,13 @@
--- old.implicitAnyGetAndSetAccessorWithAnyReturnType.js
+++ new.implicitAnyGetAndSetAccessorWithAnyReturnType.js
-@@= skipped -26, +26 lines =@@
-
+@@= skipped -27, +27 lines =@@
//// [implicitAnyGetAndSetAccessorWithAnyReturnType.js]
// these should be errors
--var GetAndSet = /** @class */ (function () {
-- function GetAndSet() {
+ class GetAndSet {
+- constructor() {
- this.getAndSet = null; // error at "getAndSet"
- }
-- Object.defineProperty(GetAndSet.prototype, "haveGetAndSet", {
-- get: function () {
-- return this.getAndSet;
-- },
-- // this shouldn't be an error
-- set: function (value) {
-- this.getAndSet = value;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return GetAndSet;
--}());
--var SetterOnly = /** @class */ (function () {
-- function SetterOnly() {
-- }
-- Object.defineProperty(SetterOnly.prototype, "haveOnlySet", {
-- set: function (newXValue) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return SetterOnly;
--}());
--var GetterOnly = /** @class */ (function () {
-- function GetterOnly() {
-- }
-- Object.defineProperty(GetterOnly.prototype, "haveOnlyGet", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return GetterOnly;
--}());
-+class GetAndSet {
+ getAndSet = null; // error at "getAndSet"
-+ get haveGetAndSet() {
-+ return this.getAndSet;
-+ }
-+ // this shouldn't be an error
-+ set haveGetAndSet(value) {
-+ this.getAndSet = value;
-+ }
-+}
-+class SetterOnly {
-+ set haveOnlySet(newXValue) {
-+ }
-+}
-+class GetterOnly {
-+ get haveOnlyGet() {
-+ return null;
-+ }
-+}
\ No newline at end of file
+ get haveGetAndSet() {
+ return this.getAndSet;
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitAnyInCatch.js.diff b/testdata/baselines/reference/submodule/compiler/implicitAnyInCatch.js.diff
deleted file mode 100644
index d3abe7a2cf..0000000000
--- a/testdata/baselines/reference/submodule/compiler/implicitAnyInCatch.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.implicitAnyInCatch.js
-+++ new.implicitAnyInCatch.js
-@@= skipped -22, +22 lines =@@
- if (error.number === -2147024809) { }
- }
- for (var key in this) { }
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.temp = function () {
-+class C {
-+ temp() {
- for (var x in this) {
- }
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitAnyWidenToAny.js.diff b/testdata/baselines/reference/submodule/compiler/implicitAnyWidenToAny.js.diff
index 325c7df383..7134967875 100644
--- a/testdata/baselines/reference/submodule/compiler/implicitAnyWidenToAny.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/implicitAnyWidenToAny.js.diff
@@ -1,17 +1,10 @@
--- old.implicitAnyWidenToAny.js
+++ new.implicitAnyWidenToAny.js
-@@= skipped -35, +35 lines =@@
- var widenArray = [null, undefined]; // error at "widenArray"
+@@= skipped -36, +36 lines =@@
var emptyArray = [];
// these should not be error
--var AnimalObj = /** @class */ (function () {
-- function AnimalObj() {
-- }
-- return AnimalObj;
--}());
-+class AnimalObj {
+ class AnimalObj {
+ x;
-+}
+ }
var foo = 5;
- var bar = "Hello World";
- var foo1 = null;
\ No newline at end of file
+ var bar = "Hello World";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitConstParameters.js.diff b/testdata/baselines/reference/submodule/compiler/implicitConstParameters.js.diff
deleted file mode 100644
index fc69aecfb6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/implicitConstParameters.js.diff
+++ /dev/null
@@ -1,57 +0,0 @@
---- old.implicitConstParameters.js
-+++ new.implicitConstParameters.js
-@@= skipped -62, +62 lines =@@
- }
- function fn(x) {
- if (typeof x === 'number') {
-- doSomething(function () { return x.toFixed(); });
-+ doSomething(() => x.toFixed());
- }
- }
- function f1(x) {
- if (!x) {
- return;
- }
-- doSomething(function () { return x.length; });
-+ doSomething(() => x.length);
- }
- function f2(x) {
- if (x) {
-- doSomething(function () {
-- doSomething(function () { return x.length; });
-+ doSomething(() => {
-+ doSomething(() => x.length);
- });
- }
- }
-@@= skipped -20, +20 lines =@@
- inner();
- function inner() {
- if (x) {
-- doSomething(function () { return x.length; });
-+ doSomething(() => x.length);
- }
- }
- }
- function f4(x) {
- x = "abc";
- if (x) {
-- doSomething(function () { return x.length; });
-+ doSomething(() => x.length);
- }
- }
- function f5(x) {
- if (x) {
-- doSomething(function () { return x.length; });
-+ doSomething(() => x.length);
- }
- x = "abc"; // causes x to be considered non-const
- }
- function f6(x) {
-- var y = x || "";
-+ const y = x || "";
- if (x) {
-- doSomething(function () { return y.length; });
-+ doSomething(() => y.length);
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/implicitIndexSignatures.js.diff b/testdata/baselines/reference/submodule/compiler/implicitIndexSignatures.js.diff
deleted file mode 100644
index 2305f9d6f8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/implicitIndexSignatures.js.diff
+++ /dev/null
@@ -1,97 +0,0 @@
---- old.implicitIndexSignatures.js
-+++ new.implicitIndexSignatures.js
-@@= skipped -60, +60 lines =@@
-
-
- //// [implicitIndexSignatures.js]
--var empty1 = {};
--var empty2;
--var names1 = { a: "foo", b: "bar" };
--var names2;
--var map;
-+const empty1 = {};
-+let empty2;
-+const names1 = { a: "foo", b: "bar" };
-+let names2;
-+let map;
- map = { x: "xxx", y: "yyy" };
- map = empty1;
- map = empty2;
- map = names1;
- map = names2;
- function f1() {
-- var o1 = { a: 1, b: 2 };
-- var o2;
-- var v1 = getStringIndexValue(o1);
-- var v2 = getStringIndexValue(o2);
-+ const o1 = { a: 1, b: 2 };
-+ let o2;
-+ const v1 = getStringIndexValue(o1);
-+ const v2 = getStringIndexValue(o2);
- }
- function f2() {
-- var o1 = { a: "1", b: "2" };
-- var o2;
-- var v1 = getStringIndexValue(o1);
-- var v2 = getStringIndexValue(o2);
-+ const o1 = { a: "1", b: "2" };
-+ let o2;
-+ const v1 = getStringIndexValue(o1);
-+ const v2 = getStringIndexValue(o2);
- }
- function f3() {
-- var o1 = { a: 1, b: "2" };
-- var o2;
-- var v1 = getStringIndexValue(o1);
-- var v2 = getStringIndexValue(o2);
-+ const o1 = { a: 1, b: "2" };
-+ let o2;
-+ const v1 = getStringIndexValue(o1);
-+ const v2 = getStringIndexValue(o2);
- }
- function f4() {
-- var o1 = { 0: "0", 1: "1", count: 2 };
-- var o2;
-- var v1 = getStringIndexValue(o1);
-- var v2 = getStringIndexValue(o2);
-- var v3 = getNumberIndexValue(o1);
-- var v4 = getNumberIndexValue(o2);
-+ const o1 = { 0: "0", 1: "1", count: 2 };
-+ let o2;
-+ const v1 = getStringIndexValue(o1);
-+ const v2 = getStringIndexValue(o2);
-+ const v3 = getNumberIndexValue(o1);
-+ const v4 = getNumberIndexValue(o2);
- }
- function f5() {
-- var E1;
-+ let E1;
- (function (E1) {
- E1[E1["A"] = 0] = "A";
- E1[E1["B"] = 1] = "B";
- })(E1 || (E1 = {}));
-- var E2;
-+ let E2;
- (function (E2) {
- E2["A"] = "A";
- E2["B"] = "B";
- })(E2 || (E2 = {}));
-- var E3;
-+ let E3;
- (function (E3) {
- E3[E3["A"] = 0] = "A";
- E3["B"] = "B";
- })(E3 || (E3 = {}));
-- var v1 = getStringIndexValue(E1);
-- var v2 = getStringIndexValue(E2);
-- var v3 = getStringIndexValue(E3);
-- var v4 = getNumberIndexValue(E1);
-- var v5 = getNumberIndexValue(E2);
-- var v6 = getNumberIndexValue(E3);
-+ const v1 = getStringIndexValue(E1);
-+ const v2 = getStringIndexValue(E2);
-+ const v3 = getStringIndexValue(E3);
-+ const v4 = getNumberIndexValue(E1);
-+ const v5 = getNumberIndexValue(E2);
-+ const v6 = getNumberIndexValue(E3);
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importAliasFromNamespace.js.diff b/testdata/baselines/reference/submodule/compiler/importAliasFromNamespace.js.diff
index 5fde430df9..cbde67b39b 100644
--- a/testdata/baselines/reference/submodule/compiler/importAliasFromNamespace.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importAliasFromNamespace.js.diff
@@ -25,22 +25,16 @@
+ let Thing;
(function (Thing) {
var Internal = My.Internal;
-- var Foo = /** @class */ (function () {
-- function Foo() {
-+ class Foo {
+ class Foo {
+ _which;
-+ constructor() {
+ constructor() {
Internal.getThing();
- 0 /* Internal.WhichThing.A */ ? "foo" : "bar";
+ Internal.WhichThing.A ? "foo" : "bar";
}
-- return Foo;
-- }());
-+ }
+ }
Thing.Foo = Foo;
- })(Thing = SomeOther.Thing || (SomeOther.Thing = {}));
- })(SomeOther || (SomeOther = {}));
-@@= skipped -35, +41 lines =@@
+@@= skipped -34, +41 lines =@@
}
}
//// [usage.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/importAliasInModuleAugmentation.js.diff b/testdata/baselines/reference/submodule/compiler/importAliasInModuleAugmentation.js.diff
deleted file mode 100644
index ff1daf1341..0000000000
--- a/testdata/baselines/reference/submodule/compiler/importAliasInModuleAugmentation.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.importAliasInModuleAugmentation.js
-+++ new.importAliasInModuleAugmentation.js
-@@= skipped -25, +25 lines =@@
- (function (A) {
- A.y = 34;
- })(A || (A = {}));
--var m = x;
--var s = { s: "" };
-+const m = x;
-+let s = { s: "" };
- void s.s;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importAliasWithDottedName.js.diff b/testdata/baselines/reference/submodule/compiler/importAliasWithDottedName.js.diff
deleted file mode 100644
index c88f8eb268..0000000000
--- a/testdata/baselines/reference/submodule/compiler/importAliasWithDottedName.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.importAliasWithDottedName.js
-+++ new.importAliasWithDottedName.js
-@@= skipped -17, +17 lines =@@
- var M;
- (function (M) {
- M.x = 1;
-- var N;
-+ let N;
- (function (N) {
- N.y = 2;
- })(N = M.N || (M.N = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importAndVariableDeclarationConflict2.js.diff b/testdata/baselines/reference/submodule/compiler/importAndVariableDeclarationConflict2.js.diff
index e7d7e92e5a..13ec517e67 100644
--- a/testdata/baselines/reference/submodule/compiler/importAndVariableDeclarationConflict2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importAndVariableDeclarationConflict2.js.diff
@@ -5,15 +5,6 @@
m_1.m = '';
})(m || (m = {}));
-var x = m.m;
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.foo = function () {
-+class C {
-+ foo() {
- var x = '';
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
+ class C {
+ foo() {
+ var x = '';
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importAsBaseClass.js.diff b/testdata/baselines/reference/submodule/compiler/importAsBaseClass.js.diff
index bf077c1e94..b6981328a5 100644
--- a/testdata/baselines/reference/submodule/compiler/importAsBaseClass.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importAsBaseClass.js.diff
@@ -1,45 +1,10 @@
--- old.importAsBaseClass.js
+++ new.importAsBaseClass.js
-@@= skipped -13, +13 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Greeter = void 0;
--var Greeter = /** @class */ (function () {
-- function Greeter() {
-- }
-- Greeter.prototype.greet = function () { return 'greet'; };
-- return Greeter;
--}());
-+class Greeter {
-+ greet() { return 'greet'; }
-+}
- exports.Greeter = Greeter;
+@@= skipped -20, +20 lines =@@
//// [importAsBaseClass_1.js]
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
-var Greeter = require("./importAsBaseClass_0");
--var Hello = /** @class */ (function (_super) {
-- __extends(Hello, _super);
-- function Hello() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Hello;
--}(Greeter));
+const Greeter = require("./importAsBaseClass_0");
-+class Hello extends Greeter {
-+}
\ No newline at end of file
+ class Hello extends Greeter {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importDecl.js.diff b/testdata/baselines/reference/submodule/compiler/importDecl.js.diff
index 8ddf657d44..226abcf508 100644
--- a/testdata/baselines/reference/submodule/compiler/importDecl.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importDecl.js.diff
@@ -1,66 +1,38 @@
--- old.importDecl.js
+++ new.importDecl.js
-@@= skipped -85, +85 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -86, +86 lines =@@
exports.x = exports.d = void 0;
exports.foo = foo;
--var d = /** @class */ (function () {
-- function d() {
-- }
-- return d;
--}());
-+class d {
+ class d {
+ foo;
-+}
+ }
exports.d = d;
function foo() { return null; }
- //// [importDecl_require1.js]
-@@= skipped -12, +10 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -9, +10 lines =@@
exports.d = void 0;
exports.foo = foo;
--var d = /** @class */ (function () {
-- function d() {
-- }
-- return d;
--}());
-+class d {
+ class d {
+ bar;
-+}
+ }
exports.d = d;
var x;
- function foo() { return null; }
-@@= skipped -13, +11 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -10, +11 lines =@@
exports.x = exports.d = void 0;
exports.foo = foo;
--var d = /** @class */ (function () {
-- function d() {
-- }
-- return d;
--}());
-+class d {
+ class d {
+ baz;
-+}
+ }
exports.d = d;
function foo() { return null; }
- //// [importDecl_require3.js]
-@@= skipped -12, +10 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -9, +10 lines =@@
exports.x = exports.d = void 0;
exports.foo = foo;
--var d = /** @class */ (function () {
-- function d() {
-- }
-- return d;
--}());
-+class d {
+ class d {
+ bing;
-+}
+ }
exports.d = d;
function foo() { return null; }
- //// [importDecl_require4.js]
-@@= skipped -21, +19 lines =@@
+@@= skipped -17, +18 lines =@@
///
///
///
diff --git a/testdata/baselines/reference/submodule/compiler/importDeclarationUsedAsTypeQuery.js.diff b/testdata/baselines/reference/submodule/compiler/importDeclarationUsedAsTypeQuery.js.diff
index 880f6d7381..442c525bff 100644
--- a/testdata/baselines/reference/submodule/compiler/importDeclarationUsedAsTypeQuery.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importDeclarationUsedAsTypeQuery.js.diff
@@ -1,17 +1,10 @@
--- old.importDeclarationUsedAsTypeQuery.js
+++ new.importDeclarationUsedAsTypeQuery.js
-@@= skipped -14, +14 lines =@@
- "use strict";
+@@= skipped -15, +15 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.B = void 0;
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
-+class B {
+ class B {
+ id;
-+}
+ }
exports.B = B;
- //// [importDeclarationUsedAsTypeQuery_1.js]
- "use strict";
\ No newline at end of file
+ //// [importDeclarationUsedAsTypeQuery_1.js]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importEqualsError45874.js.diff b/testdata/baselines/reference/submodule/compiler/importEqualsError45874.js.diff
index 561dd440a2..40839fa8be 100644
--- a/testdata/baselines/reference/submodule/compiler/importEqualsError45874.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importEqualsError45874.js.diff
@@ -6,5 +6,4 @@
})(globals || (globals = {}));
-var Foo = globals.toString.Blah;
//// [index.js]
--var Foo = {};
-+const Foo = {};
\ No newline at end of file
+ const Foo = {};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importHelpers.js.diff b/testdata/baselines/reference/submodule/compiler/importHelpers.js.diff
index f289aaf078..832953b793 100644
--- a/testdata/baselines/reference/submodule/compiler/importHelpers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importHelpers.js.diff
@@ -5,31 +5,16 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.result = exports.B = exports.A = void 0;
-var tslib_1 = require("tslib");
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
+ class A {
+ }
exports.A = A;
--var B = /** @class */ (function (_super) {
-- tslib_1.__extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class B extends A {
-+}
+ class B extends A {
+ }
exports.B = B;
--var C = /** @class */ (function () {
-- function C() {
-+@dec
-+class C {
-+ method(x) {
- }
-- C.prototype.method = function (x) {
+-let C = (() => {
+- let C = class C {
+- method(x) {
+- }
- };
- tslib_1.__decorate([
- tslib_1.__param(0, dec),
@@ -41,34 +26,17 @@
- dec
- ], C);
- return C;
--}());
+-})();
++@dec
++class C {
++ method(x) {
++ }
+}
function id(x) {
return x;
}
--exports.result = id(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["hello world"], ["hello world"])));
--var templateObject_1;
-+exports.result = id `hello world`;
+ exports.result = id `hello world`;
//// [script.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
-- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
-- return cooked;
--};
-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);
@@ -81,22 +49,14 @@
-var __param = (this && this.__param) || function (paramIndex, decorator) {
- return function (target, key) { decorator(target, key, paramIndex); }
-};
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.method = function (x) {
+ class A {
+ }
+ class B extends A {
+ }
+-let C = (() => {
+- let C = class C {
+- method(x) {
+- }
- };
- __decorate([
- __param(0, dec),
@@ -108,11 +68,7 @@
- dec
- ], C);
- return C;
--}());
-+class A {
-+}
-+class B extends A {
-+}
+-})();
+@dec
+class C {
+ method(x) {
@@ -120,6 +76,4 @@
+}
function id(x) {
return x;
- }
--var result = id(__makeTemplateObject(["hello world"], ["hello world"]));
-+const result = id `hello world`;
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importHelpersAmd.js.diff b/testdata/baselines/reference/submodule/compiler/importHelpersAmd.js.diff
index bfd2713705..8aa11313ca 100644
--- a/testdata/baselines/reference/submodule/compiler/importHelpersAmd.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importHelpersAmd.js.diff
@@ -8,11 +8,8 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
-- var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
-- }());
+- class A {
+- }
- exports.A = A;
-});
+"use strict";
@@ -27,13 +24,8 @@
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.B = void 0;
- tslib_1.__exportStar(a_2, exports);
-- var B = /** @class */ (function (_super) {
-- tslib_1.__extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
-- }(a_1.A));
+- class B extends a_1.A {
+- }
- exports.B = B;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/importHelpersInIsolatedModules.js.diff b/testdata/baselines/reference/submodule/compiler/importHelpersInIsolatedModules.js.diff
index 7061bef589..0953e78b12 100644
--- a/testdata/baselines/reference/submodule/compiler/importHelpersInIsolatedModules.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importHelpersInIsolatedModules.js.diff
@@ -5,31 +5,16 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.B = exports.A = void 0;
-var tslib_1 = require("tslib");
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
+ class A {
+ }
exports.A = A;
--var B = /** @class */ (function (_super) {
-- tslib_1.__extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class B extends A {
-+}
+ class B extends A {
+ }
exports.B = B;
--var C = /** @class */ (function () {
-- function C() {
-+@dec
-+class C {
-+ method(x) {
- }
-- C.prototype.method = function (x) {
+-let C = (() => {
+- let C = class C {
+- method(x) {
+- }
- };
- tslib_1.__decorate([
- tslib_1.__param(0, dec),
@@ -41,24 +26,13 @@
- dec
- ], C);
- return C;
--}());
+-})();
++@dec
++class C {
++ method(x) {
++ }
+}
//// [script.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
-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);
@@ -71,22 +45,14 @@
-var __param = (this && this.__param) || function (paramIndex, decorator) {
- return function (target, key) { decorator(target, key, paramIndex); }
-};
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.method = function (x) {
+ class A {
+ }
+ class B extends A {
+ }
+-let C = (() => {
+- let C = class C {
+- method(x) {
+- }
- };
- __decorate([
- __param(0, dec),
@@ -98,11 +64,7 @@
- dec
- ], C);
- return C;
--}());
-+class A {
-+}
-+class B extends A {
-+}
+-})();
+@dec
+class C {
+ method(x) {
diff --git a/testdata/baselines/reference/submodule/compiler/importHelpersInTsx.js.diff b/testdata/baselines/reference/submodule/compiler/importHelpersInTsx.js.diff
index 2d4ed85a27..0727e4623f 100644
--- a/testdata/baselines/reference/submodule/compiler/importHelpersInTsx.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importHelpersInTsx.js.diff
@@ -8,10 +8,4 @@
+const tslib_1 = require("tslib");
exports.x = React.createElement("span", tslib_1.__assign({}, o));
//// [script.js]
- var __assign = (this && this.__assign) || function () {
-@@= skipped -14, +14 lines =@@
- };
- return __assign.apply(this, arguments);
- };
--var x = React.createElement("span", __assign({}, o));
-+const x = React.createElement("span", __assign({}, o));
\ No newline at end of file
+ var __assign = (this && this.__assign) || function () {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importHelpersNoHelpers.js.diff b/testdata/baselines/reference/submodule/compiler/importHelpersNoHelpers.js.diff
index 81cd95e7c9..1aa7e3a670 100644
--- a/testdata/baselines/reference/submodule/compiler/importHelpersNoHelpers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importHelpersNoHelpers.js.diff
@@ -7,31 +7,16 @@
-var tslib_1 = require("tslib");
+const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./other"), exports);
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
- exports.A = A;
--var B = /** @class */ (function (_super) {
-- tslib_1.__extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class B extends A {
-+}
+ class A {
+ }
+@@= skipped -8, +8 lines =@@
+ class B extends A {
+ }
exports.B = B;
--var C = /** @class */ (function () {
-- function C() {
-+@dec
-+class C {
-+ method(x) {
- }
-- C.prototype.method = function (x) {
+-let C = (() => {
+- let C = class C {
+- method(x) {
+- }
- };
- tslib_1.__decorate([
- tslib_1.__param(0, dec),
@@ -43,30 +28,18 @@
- dec
- ], C);
- return C;
--}());
--var o = { a: 1 };
--var y = tslib_1.__assign({}, o);
--var x = tslib_1.__rest(y, []);
+-})();
++@dec
++class C {
++ method(x) {
++ }
+}
-+const o = { a: 1 };
+ const o = { a: 1 };
+-const y = tslib_1.__assign({}, o);
+-const x = tslib_1.__rest(y, []);
+const y = { ...o };
+const { ...x } = y;
//// [script.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
-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);
@@ -79,22 +52,14 @@
-var __param = (this && this.__param) || function (paramIndex, decorator) {
- return function (target, key) { decorator(target, key, paramIndex); }
-};
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.method = function (x) {
+ class A {
+ }
+ class B extends A {
+ }
+-let C = (() => {
+- let C = class C {
+- method(x) {
+- }
- };
- __decorate([
- __param(0, dec),
@@ -106,11 +71,7 @@
- dec
- ], C);
- return C;
--}());
-+class A {
-+}
-+class B extends A {
-+}
+-})();
+@dec
+class C {
+ method(x) {
diff --git a/testdata/baselines/reference/submodule/compiler/importHelpersNoHelpersForAsyncGenerators.js.diff b/testdata/baselines/reference/submodule/compiler/importHelpersNoHelpersForAsyncGenerators.js.diff
index 38abffdd97..623b1326fc 100644
--- a/testdata/baselines/reference/submodule/compiler/importHelpersNoHelpersForAsyncGenerators.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importHelpersNoHelpersForAsyncGenerators.js.diff
@@ -6,23 +6,10 @@
exports.f = f;
-var tslib_1 = require("tslib");
-function f() {
-- return tslib_1.__asyncGenerator(this, arguments, function f_1() {
-- return tslib_1.__generator(this, function (_a) {
-- switch (_a.label) {
-- case 0: return [4 /*yield*/, tslib_1.__await(1)];
-- case 1:
-- _a.sent();
-- return [4 /*yield*/, tslib_1.__await(2)];
-- case 2: return [4 /*yield*/, _a.sent()];
-- case 3:
-- _a.sent();
-- return [5 /*yield**/, tslib_1.__values(tslib_1.__asyncDelegator(tslib_1.__asyncValues([3])))];
-- case 4: return [4 /*yield*/, tslib_1.__await.apply(void 0, [_a.sent()])];
-- case 5:
-- _a.sent();
-- return [2 /*return*/];
-- }
-- });
+- return tslib_1.__asyncGenerator(this, arguments, function* f_1() {
+- yield tslib_1.__await(1);
+- yield yield tslib_1.__await(2);
+- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues([3])));
- });
+async function* f() {
+ await 1;
diff --git a/testdata/baselines/reference/submodule/compiler/importHelpersNoModule.js.diff b/testdata/baselines/reference/submodule/compiler/importHelpersNoModule.js.diff
index c6cd8b0add..aa0453ed96 100644
--- a/testdata/baselines/reference/submodule/compiler/importHelpersNoModule.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importHelpersNoModule.js.diff
@@ -5,31 +5,16 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.B = exports.A = void 0;
-var tslib_1 = require("tslib");
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
+ class A {
+ }
exports.A = A;
--var B = /** @class */ (function (_super) {
-- tslib_1.__extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class B extends A {
-+}
+ class B extends A {
+ }
exports.B = B;
--var C = /** @class */ (function () {
-- function C() {
-+@dec
-+class C {
-+ method(x) {
- }
-- C.prototype.method = function (x) {
+-let C = (() => {
+- let C = class C {
+- method(x) {
+- }
- };
- tslib_1.__decorate([
- tslib_1.__param(0, dec),
@@ -41,24 +26,13 @@
- dec
- ], C);
- return C;
--}());
+-})();
++@dec
++class C {
++ method(x) {
++ }
+}
//// [script.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
-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);
@@ -71,22 +45,14 @@
-var __param = (this && this.__param) || function (paramIndex, decorator) {
- return function (target, key) { decorator(target, key, paramIndex); }
-};
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.method = function (x) {
+ class A {
+ }
+ class B extends A {
+ }
+-let C = (() => {
+- let C = class C {
+- method(x) {
+- }
- };
- __decorate([
- __param(0, dec),
@@ -98,11 +64,7 @@
- dec
- ], C);
- return C;
--}());
-+class A {
-+}
-+class B extends A {
-+}
+-})();
+@dec
+class C {
+ method(x) {
diff --git a/testdata/baselines/reference/submodule/compiler/importHelpersSystem.js.diff b/testdata/baselines/reference/submodule/compiler/importHelpersSystem.js.diff
index 9a04f608a2..286df470a9 100644
--- a/testdata/baselines/reference/submodule/compiler/importHelpersSystem.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importHelpersSystem.js.diff
@@ -11,11 +11,8 @@
- return {
- setters: [],
- execute: function () {
-- A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
-- }());
+- A = class A {
+- };
- exports_1("A", A);
- }
- };
@@ -27,9 +24,9 @@
+}
+exports.A = A;
//// [b.js]
--System.register(["tslib", "./a"], function (exports_1, context_1) {
+-System.register(["./a"], function (exports_1, context_1) {
- "use strict";
-- var tslib_1, a_1, B;
+- var a_1, B;
- var __moduleName = context_1 && context_1.id;
- var exportedNames_1 = {
- "B": true
@@ -43,22 +40,14 @@
- }
- return {
- setters: [
-- function (tslib_1_1) {
-- tslib_1 = tslib_1_1;
-- },
- function (a_1_1) {
- a_1 = a_1_1;
- exportStar_1(a_1_1);
- }
- ],
- execute: function () {
-- B = /** @class */ (function (_super) {
-- tslib_1.__extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
-- }(a_1.A));
+- B = class B extends a_1.A {
+- };
- exports_1("B", B);
- }
- };
diff --git a/testdata/baselines/reference/submodule/compiler/importInTypePosition.js.diff b/testdata/baselines/reference/submodule/compiler/importInTypePosition.js.diff
index 465611ffe5..7e7d934e7f 100644
--- a/testdata/baselines/reference/submodule/compiler/importInTypePosition.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importInTypePosition.js.diff
@@ -1,24 +1,15 @@
--- old.importInTypePosition.js
+++ new.importInTypePosition.js
-@@= skipped -25, +25 lines =@@
- //// [importInTypePosition.js]
+@@= skipped -26, +26 lines =@@
var A;
(function (A) {
-- var Point = /** @class */ (function () {
-- function Point(x, y) {
-+ class Point {
+ class Point {
+ x;
+ y;
-+ constructor(x, y) {
+ constructor(x, y) {
this.x = x;
this.y = y;
- }
-- return Point;
-- }());
-+ }
- A.Point = Point;
- A.Origin = new Point(0, 0);
- })(A || (A = {}));
+@@= skipped -11, +13 lines =@@
// no code gen expected
var C;
(function (C) {
diff --git a/testdata/baselines/reference/submodule/compiler/importNonExportedMember4.js.diff b/testdata/baselines/reference/submodule/compiler/importNonExportedMember4.js.diff
deleted file mode 100644
index d904a73f34..0000000000
--- a/testdata/baselines/reference/submodule/compiler/importNonExportedMember4.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.importNonExportedMember4.js
-+++ new.importNonExportedMember4.js
-@@= skipped -8, +8 lines =@@
-
- //// [a.js]
- "use strict";
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- module.exports = Foo;
- //// [b.js]
- "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importNonExportedMember5.js.diff b/testdata/baselines/reference/submodule/compiler/importNonExportedMember5.js.diff
deleted file mode 100644
index d9a64b9abe..0000000000
--- a/testdata/baselines/reference/submodule/compiler/importNonExportedMember5.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.importNonExportedMember5.js
-+++ new.importNonExportedMember5.js
-@@= skipped -8, +8 lines =@@
-
- //// [a.js]
- "use strict";
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- module.exports = Foo;
- //// [b.js]
- "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importNonExportedMember6.js.diff b/testdata/baselines/reference/submodule/compiler/importNonExportedMember6.js.diff
deleted file mode 100644
index 8d7ff1f810..0000000000
--- a/testdata/baselines/reference/submodule/compiler/importNonExportedMember6.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.importNonExportedMember6.js
-+++ new.importNonExportedMember6.js
-@@= skipped -7, +7 lines =@@
- import { Foo } from './a';
-
- //// [a.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- export {};
- //// [b.js]
- export {};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importNonExportedMember7.js.diff b/testdata/baselines/reference/submodule/compiler/importNonExportedMember7.js.diff
deleted file mode 100644
index 72c4003d42..0000000000
--- a/testdata/baselines/reference/submodule/compiler/importNonExportedMember7.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.importNonExportedMember7.js
-+++ new.importNonExportedMember7.js
-@@= skipped -7, +7 lines =@@
- import { Foo } from './a';
-
- //// [a.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- export {};
- //// [b.js]
- export {};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importNotElidedWhenNotFound.js.diff b/testdata/baselines/reference/submodule/compiler/importNotElidedWhenNotFound.js.diff
index 495b9c2ee1..0e3fd5bab2 100644
--- a/testdata/baselines/reference/submodule/compiler/importNotElidedWhenNotFound.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importNotElidedWhenNotFound.js.diff
@@ -1,54 +1,22 @@
--- old.importNotElidedWhenNotFound.js
+++ new.importNotElidedWhenNotFound.js
-@@= skipped -20, +20 lines =@@
-
+@@= skipped -21, +21 lines =@@
//// [importNotElidedWhenNotFound.js]
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
-var file_1 = require("file");
-var other_file_1 = require("other_file");
--var Y = /** @class */ (function (_super) {
-- __extends(Y, _super);
-- function Y() {
-- return _super.call(this, file_1.default) || this;
-- }
-- return Y;
--}(other_file_1.default));
--var file2_1 = require("file2");
--var file3_1 = require("file3");
--var Q = /** @class */ (function (_super) {
-- __extends(Q, _super);
-- function Q() {
-- return _super.call(this, file2_1.default, file3_1.default) || this;
-- }
-- return Q;
--}(other_file_1.default));
+const file_1 = require("file");
+const other_file_1 = require("other_file");
-+class Y extends other_file_1.default {
-+ constructor() {
-+ super(file_1.default);
-+ }
-+}
+ class Y extends other_file_1.default {
+ constructor() {
+ super(file_1.default);
+ }
+ }
+-var file2_1 = require("file2");
+-var file3_1 = require("file3");
+const file2_1 = require("file2");
+const file3_1 = require("file3");
-+class Q extends other_file_1.default {
-+ constructor() {
-+ super(file2_1.default, file3_1.default);
-+ }
-+}
\ No newline at end of file
+ class Q extends other_file_1.default {
+ constructor() {
+ super(file2_1.default, file3_1.default);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importShadowsGlobalName.js.diff b/testdata/baselines/reference/submodule/compiler/importShadowsGlobalName.js.diff
index c7028b1110..c07f282db7 100644
--- a/testdata/baselines/reference/submodule/compiler/importShadowsGlobalName.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importShadowsGlobalName.js.diff
@@ -7,38 +7,15 @@
-//// [Foo.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
-- var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
-- }());
+- class Foo {
+- }
- return Foo;
-});
//// [Bar.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
-define(["require", "exports", "Foo"], function (require, exports, Error) {
- "use strict";
-- var Bar = /** @class */ (function (_super) {
-- __extends(Bar, _super);
-- function Bar() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Bar;
-- }(Error));
+- class Bar extends Error {
+- }
- return Bar;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/importTypeGenericArrowTypeParenthesized.js.diff b/testdata/baselines/reference/submodule/compiler/importTypeGenericArrowTypeParenthesized.js.diff
index 54a900bffb..e12f973bdb 100644
--- a/testdata/baselines/reference/submodule/compiler/importTypeGenericArrowTypeParenthesized.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importTypeGenericArrowTypeParenthesized.js.diff
@@ -5,16 +5,11 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.works2 = exports.works1 = exports.fail2 = exports.fail1 = void 0;
-var module_1 = require("module");
--exports.fail1 = (0, module_1.fn)(function (x) { return x; });
+const module_1 = require("module");
-+exports.fail1 = (0, module_1.fn)((x) => x);
+ exports.fail1 = (0, module_1.fn)((x) => x);
exports.fail2 = (0, module_1.fn)(function (x) {
return x;
- });
--exports.works1 = (0, module_1.fn)(function (x) { return x; });
--exports.works2 = (0, module_1.fn)(function (x) { return x; });
-+exports.works1 = (0, module_1.fn)((x) => x);
-+exports.works2 = (0, module_1.fn)(x => x);
+@@= skipped -10, +10 lines =@@
//// [index.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/importUsedInExtendsList1.js.diff b/testdata/baselines/reference/submodule/compiler/importUsedInExtendsList1.js.diff
index 9fddfcfe39..dbd7527ee1 100644
--- a/testdata/baselines/reference/submodule/compiler/importUsedInExtendsList1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importUsedInExtendsList1.js.diff
@@ -1,47 +1,18 @@
--- old.importUsedInExtendsList1.js
+++ new.importUsedInExtendsList1.js
-@@= skipped -14, +14 lines =@@
- "use strict";
+@@= skipped -15, +15 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Super = void 0;
--var Super = /** @class */ (function () {
-- function Super() {
-- }
-- return Super;
--}());
-+class Super {
+ class Super {
+ foo;
-+}
+ }
exports.Super = Super;
//// [importUsedInExtendsList1_1.js]
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
///
-var foo = require("./importUsedInExtendsList1_require");
--var Sub = /** @class */ (function (_super) {
-- __extends(Sub, _super);
-- function Sub() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Sub;
--}(foo.Super));
+const foo = require("./importUsedInExtendsList1_require");
-+class Sub extends foo.Super {
-+}
- var s;
- var r = s.foo;
\ No newline at end of file
+ class Sub extends foo.Super {
+ }
+ var s;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/import_reference-exported-alias.js.diff b/testdata/baselines/reference/submodule/compiler/import_reference-exported-alias.js.diff
index 5928e68049..484e1ce289 100644
--- a/testdata/baselines/reference/submodule/compiler/import_reference-exported-alias.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/import_reference-exported-alias.js.diff
@@ -9,16 +9,13 @@
- "use strict";
- var App;
- (function (App) {
-- var Services;
+- let Services;
- (function (Services) {
-- var UserServices = /** @class */ (function () {
-- function UserServices() {
-- }
-- UserServices.prototype.getUserName = function () {
+- class UserServices {
+- getUserName() {
- return "Bill Gates";
-- };
-- return UserServices;
-- }());
+- }
+- }
- Services.UserServices = UserServices;
- })(Services = App.Services || (App.Services = {}));
- })(App || (App = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/import_reference-to-type-alias.js.diff b/testdata/baselines/reference/submodule/compiler/import_reference-to-type-alias.js.diff
index e4f19de1c1..a3dea7ee1f 100644
--- a/testdata/baselines/reference/submodule/compiler/import_reference-to-type-alias.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/import_reference-to-type-alias.js.diff
@@ -11,16 +11,13 @@
- exports.App = void 0;
- var App;
- (function (App) {
-- var Services;
+- let Services;
- (function (Services) {
-- var UserServices = /** @class */ (function () {
-- function UserServices() {
-- }
-- UserServices.prototype.getUserName = function () {
+- class UserServices {
+- getUserName() {
- return "Bill Gates";
-- };
-- return UserServices;
-- }());
+- }
+- }
- Services.UserServices = UserServices;
- })(Services = App.Services || (App.Services = {}));
- })(App || (exports.App = App = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/import_var-referencing-an-imported-module-alias.js.diff b/testdata/baselines/reference/submodule/compiler/import_var-referencing-an-imported-module-alias.js.diff
index 72aaf7672b..6b53e88dfb 100644
--- a/testdata/baselines/reference/submodule/compiler/import_var-referencing-an-imported-module-alias.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/import_var-referencing-an-imported-module-alias.js.diff
@@ -9,11 +9,8 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Host = void 0;
-- var Host = /** @class */ (function () {
-- function Host() {
-- }
-- return Host;
-- }());
+- class Host {
+- }
- exports.Host = Host;
-});
//// [consumer.js]
diff --git a/testdata/baselines/reference/submodule/compiler/importedAliasesInTypePositions.js.diff b/testdata/baselines/reference/submodule/compiler/importedAliasesInTypePositions.js.diff
index 3ad8e95b6f..f643f411d3 100644
--- a/testdata/baselines/reference/submodule/compiler/importedAliasesInTypePositions.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importedAliasesInTypePositions.js.diff
@@ -17,13 +17,10 @@
- (function (mod) {
- var name;
- (function (name) {
-- var ReferredTo = /** @class */ (function () {
-- function ReferredTo() {
+- class ReferredTo {
+- doSomething() {
- }
-- ReferredTo.prototype.doSomething = function () {
-- };
-- return ReferredTo;
-- }());
+- }
- name.ReferredTo = ReferredTo;
- })(name = mod.name || (mod.name = {}));
- })(mod = nested.mod || (nested.mod = {}));
@@ -37,14 +34,10 @@
- exports.ImportingModule = void 0;
- var ImportingModule;
- (function (ImportingModule) {
-- var UsesReferredType = /** @class */ (function () {
-- function UsesReferredType(referred) {
+- class UsesReferredType {
+- constructor(referred) {
- this.referred = referred;
- }
-- return UsesReferredType;
-- }());
-- })(ImportingModule || (exports.ImportingModule = ImportingModule = {}));
--});
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.ImportingModule = void 0;
@@ -54,6 +47,8 @@
+ referred;
+ constructor(referred) {
+ this.referred = referred;
-+ }
+ }
+- })(ImportingModule || (exports.ImportingModule = ImportingModule = {}));
+-});
+ }
+})(ImportingModule || (exports.ImportingModule = ImportingModule = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/importedModuleAddToGlobal.js.diff b/testdata/baselines/reference/submodule/compiler/importedModuleAddToGlobal.js.diff
index a1feb4972a..97d3481289 100644
--- a/testdata/baselines/reference/submodule/compiler/importedModuleAddToGlobal.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importedModuleAddToGlobal.js.diff
@@ -4,14 +4,9 @@
//// [importedModuleAddToGlobal.js]
var B;
(function (B_1) {
-- var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
-- }());
+ var a = A;
-+ class B {
-+ }
+ class B {
+ }
B_1.B = B;
})(B || (B = {}));
var C;
diff --git a/testdata/baselines/reference/submodule/compiler/importedModuleClassNameClash.js.diff b/testdata/baselines/reference/submodule/compiler/importedModuleClassNameClash.js.diff
index 8c2608b175..144cd066f3 100644
--- a/testdata/baselines/reference/submodule/compiler/importedModuleClassNameClash.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/importedModuleClassNameClash.js.diff
@@ -7,11 +7,8 @@
-define(["require", "exports"], function (require, exports) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
-- var foo = /** @class */ (function () {
-- function foo() {
-- }
-- return foo;
-- }());
+- class foo {
+- }
-});
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/inDoesNotOperateOnPrimitiveTypes.js.diff b/testdata/baselines/reference/submodule/compiler/inDoesNotOperateOnPrimitiveTypes.js.diff
deleted file mode 100644
index 040931a6e2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inDoesNotOperateOnPrimitiveTypes.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.inDoesNotOperateOnPrimitiveTypes.js
-+++ new.inDoesNotOperateOnPrimitiveTypes.js
-@@= skipped -68, +68 lines =@@
-
-
- //// [inDoesNotOperateOnPrimitiveTypes.js]
--var validHasKey = function (thing, key) {
-+const validHasKey = (thing, key) => {
- return key in thing; // Ok
- };
--var alsoValidHasKey = function (thing, key) {
-+const alsoValidHasKey = (thing, key) => {
- return key in thing; // Ok (as T may be instantiated with a valid type)
- };
- function invalidHasKey(thing, key) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inKeywordAndIntersection.js.diff b/testdata/baselines/reference/submodule/compiler/inKeywordAndIntersection.js.diff
index 660cea33a2..bc115a2d7f 100644
--- a/testdata/baselines/reference/submodule/compiler/inKeywordAndIntersection.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inKeywordAndIntersection.js.diff
@@ -5,35 +5,17 @@
//// [inKeywordAndIntersection.js]
-"use strict";
--var A = /** @class */ (function () {
-- function A() {
+ class A {
+- constructor() {
- this.a = 0;
- }
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
++ a = 0;
+ }
+ class B {
+- constructor() {
- this.b = 0;
- }
-- return B;
--}());
-+class A {
-+ a = 0;
-+}
-+class B {
+ b = 0;
-+}
- function f10(obj) {
- if (obj instanceof Object) {
- obj; // A & { x: string } | B
-@@= skipped -21, +14 lines =@@
- obj; // Error
- }
}
--var instance = {};
--var ClassOne = {};
-+const instance = {};
-+const ClassOne = {};
- if (instance instanceof ClassOne) {
- instance.one();
- }
\ No newline at end of file
+ function f10(obj) {
+ if (obj instanceof Object) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inOperatorWithGeneric.js.diff b/testdata/baselines/reference/submodule/compiler/inOperatorWithGeneric.js.diff
deleted file mode 100644
index 298c299937..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inOperatorWithGeneric.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.inOperatorWithGeneric.js
-+++ new.inOperatorWithGeneric.js
-@@= skipped -8, +8 lines =@@
- }
-
- //// [inOperatorWithGeneric.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.foo = function (x) {
-+class C {
-+ foo(x) {
- for (var p in x) {
- }
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/incompatibleAssignmentOfIdenticallyNamedTypes.js.diff b/testdata/baselines/reference/submodule/compiler/incompatibleAssignmentOfIdenticallyNamedTypes.js.diff
index 8ee4692d38..690e72a056 100644
--- a/testdata/baselines/reference/submodule/compiler/incompatibleAssignmentOfIdenticallyNamedTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/incompatibleAssignmentOfIdenticallyNamedTypes.js.diff
@@ -1,19 +1,10 @@
--- old.incompatibleAssignmentOfIdenticallyNamedTypes.js
+++ new.incompatibleAssignmentOfIdenticallyNamedTypes.js
-@@= skipped -11, +11 lines =@@
-
+@@= skipped -12, +12 lines =@@
//// [incompatibleAssignmentOfIdenticallyNamedTypes.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Foo.prototype.fn = function () {
-+class Foo {
+ class Foo {
+ x;
-+ fn() {
+ fn() {
this.x = a;
-- };
-- return Foo;
--}());
-+ }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/incompatibleTypes.js.diff b/testdata/baselines/reference/submodule/compiler/incompatibleTypes.js.diff
index 2bdf9c55f5..2c450f57f9 100644
--- a/testdata/baselines/reference/submodule/compiler/incompatibleTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/incompatibleTypes.js.diff
@@ -1,62 +1,13 @@
--- old.incompatibleTypes.js
+++ new.incompatibleTypes.js
-@@= skipped -77, +77 lines =@@
-
-
- //// [incompatibleTypes.js]
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- C1.prototype.p1 = function () {
-+class C1 {
-+ p1() {
- return "s";
-- };
-- return C1;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
+@@= skipped -88, +88 lines =@@
}
-- C2.prototype.p1 = function (n) {
-+}
-+class C2 {
-+ p1(n) {
- return 0;
-- };
-- return C2;
--}());
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- return C3;
--}());
--var C4 = /** @class */ (function () {
-- function C4() {
-- }
-- return C4;
--}());
-+ }
-+}
-+class C3 {
-+ p1;
-+}
-+class C4 {
+ }
+ class C3 {
+ p1;
-+}
- function if1(a) { }
- var c1;
- var c2;
-@@= skipped -36, +26 lines =@@
}
- function bar() {
- var map;
-- foo(function () {
-+ foo(() => {
- map = {};
- });
+ class C4 {
++ p1;
}
- var o1 = { e: 0, f: 0 };
- var a1 = [{ e: 0, f: 0 }, { e: 0, f: 0 }, { e: 0, g: 0 }];
- var i1c1 = 5;
--var fp1 = function (a) { return 0; };
-+var fp1 = a => 0;
\ No newline at end of file
+ function if1(a) { }
+ var c1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/incompleteObjectLiteral1.js.diff b/testdata/baselines/reference/submodule/compiler/incompleteObjectLiteral1.js.diff
index 97540c8df6..3727aeda49 100644
--- a/testdata/baselines/reference/submodule/compiler/incompleteObjectLiteral1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/incompleteObjectLiteral1.js.diff
@@ -4,6 +4,6 @@
var x = tt;
//// [incompleteObjectLiteral1.js]
--var tt = { aa: aa };
+-var tt = { aa };
+var tt = { aa, };
var x = tt;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/incorrectClassOverloadChain.js.diff b/testdata/baselines/reference/submodule/compiler/incorrectClassOverloadChain.js.diff
index 7087fca9e4..c16faff268 100644
--- a/testdata/baselines/reference/submodule/compiler/incorrectClassOverloadChain.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/incorrectClassOverloadChain.js.diff
@@ -1,15 +1,11 @@
--- old.incorrectClassOverloadChain.js
+++ new.incorrectClassOverloadChain.js
-@@= skipped -7, +7 lines =@@
- }
+@@= skipped -8, +8 lines =@@
//// [incorrectClassOverloadChain.js]
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.x = 1;
- }
-- return C;
--}());
-+class C {
+ x = 1;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/incorrectNumberOfTypeArgumentsDuringErrorReporting.js.diff b/testdata/baselines/reference/submodule/compiler/incorrectNumberOfTypeArgumentsDuringErrorReporting.js.diff
deleted file mode 100644
index 76cf786189..0000000000
--- a/testdata/baselines/reference/submodule/compiler/incorrectNumberOfTypeArgumentsDuringErrorReporting.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.incorrectNumberOfTypeArgumentsDuringErrorReporting.js
-+++ new.incorrectNumberOfTypeArgumentsDuringErrorReporting.js
-@@= skipped -24, +24 lines =@@
-
-
- //// [incorrectNumberOfTypeArgumentsDuringErrorReporting.js]
--var fn = function (opts) { return 'Z'; };
-+const fn = (opts) => 'Z';
- fn({
- a: { x: 'X', y: 'Y' },
- b: {},
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/incrementOnNullAssertion.js.diff b/testdata/baselines/reference/submodule/compiler/incrementOnNullAssertion.js.diff
index 4056559afe..8966d0349f 100644
--- a/testdata/baselines/reference/submodule/compiler/incrementOnNullAssertion.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/incrementOnNullAssertion.js.diff
@@ -5,17 +5,6 @@
//// [incrementOnNullAssertion.js]
-"use strict";
--var x = 'bar';
--var foo = {};
-+const x = 'bar';
-+let foo = {};
- if (foo[x] === undefined) {
- foo[x] = 1;
- }
- else {
-- var nu = foo[x];
-- var n = foo[x];
-+ let nu = foo[x];
-+ let n = foo[x];
- foo[x]++;
- }
\ No newline at end of file
+ const x = 'bar';
+ let foo = {};
+ if (foo[x] === undefined) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/incrementOnTypeParameter.js.diff b/testdata/baselines/reference/submodule/compiler/incrementOnTypeParameter.js.diff
index 6081717038..01020d2c8f 100644
--- a/testdata/baselines/reference/submodule/compiler/incrementOnTypeParameter.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/incrementOnTypeParameter.js.diff
@@ -1,21 +1,10 @@
--- old.incrementOnTypeParameter.js
+++ new.incrementOnTypeParameter.js
-@@= skipped -11, +11 lines =@@
-
+@@= skipped -12, +12 lines =@@
//// [incrementOnTypeParameter.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.foo = function () {
-+class C {
+ class C {
+ a;
-+ foo() {
+ foo() {
this.a++;
- for (var i, j = 0; j < 10; i++) {
- }
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
+ for (var i, j = 0; j < 10; i++) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/incrementalConfig.js.diff b/testdata/baselines/reference/submodule/compiler/incrementalConfig.js.diff
deleted file mode 100644
index 648b329b68..0000000000
--- a/testdata/baselines/reference/submodule/compiler/incrementalConfig.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.incrementalConfig.js
-+++ new.incrementalConfig.js
-@@= skipped -4, +4 lines =@@
-
-
- //// [a.js]
--var x = 10;
-+const x = 10;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/incrementalInvalid.js.diff b/testdata/baselines/reference/submodule/compiler/incrementalInvalid.js.diff
deleted file mode 100644
index cc36fdf4ca..0000000000
--- a/testdata/baselines/reference/submodule/compiler/incrementalInvalid.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.incrementalInvalid.js
-+++ new.incrementalInvalid.js
-@@= skipped -5, +5 lines =@@
-
-
- //// [incrementalInvalid.js]
--var x = 10;
-+const x = 10;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/incrementalTsBuildInfoFile.js.diff b/testdata/baselines/reference/submodule/compiler/incrementalTsBuildInfoFile.js.diff
deleted file mode 100644
index 1fe4ecc09c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/incrementalTsBuildInfoFile.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.incrementalTsBuildInfoFile.js
-+++ new.incrementalTsBuildInfoFile.js
-@@= skipped -6, +6 lines =@@
-
-
- //// [a.js]
--var x = 10;
-+const x = 10;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexClassByNumber.js.diff b/testdata/baselines/reference/submodule/compiler/indexClassByNumber.js.diff
deleted file mode 100644
index 623567ce61..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indexClassByNumber.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.indexClassByNumber.js
-+++ new.indexClassByNumber.js
-@@= skipped -10, +10 lines =@@
-
- //// [indexClassByNumber.js]
- // 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() {
-- }
-- return foo;
--}());
-+class foo {
-+}
- var f = new foo();
- f[0] = 4; // Shouldn't be allowed
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexIntoEnum.js.diff b/testdata/baselines/reference/submodule/compiler/indexIntoEnum.js.diff
deleted file mode 100644
index 2238bdb2e1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indexIntoEnum.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.indexIntoEnum.js
-+++ new.indexIntoEnum.js
-@@= skipped -10, +10 lines =@@
- //// [indexIntoEnum.js]
- var M;
- (function (M) {
-- var E;
-+ let E;
- (function (E) {
- })(E || (E = {}));
- var x = E[0];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexSignatureMustHaveTypeAnnotation.js.diff b/testdata/baselines/reference/submodule/compiler/indexSignatureMustHaveTypeAnnotation.js.diff
index 3f69013e3b..668ef038cc 100644
--- a/testdata/baselines/reference/submodule/compiler/indexSignatureMustHaveTypeAnnotation.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/indexSignatureMustHaveTypeAnnotation.js.diff
@@ -1,22 +1,11 @@
--- old.indexSignatureMustHaveTypeAnnotation.js
+++ new.indexSignatureMustHaveTypeAnnotation.js
-@@= skipped -17, +17 lines =@@
- }
+@@= skipped -18, +18 lines =@@
//// [indexSignatureMustHaveTypeAnnotation.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
--}());
-+class C {
+ class C {
+ // Used to be indexer, now it is a computed property
+ [x];
-+}
-+class C2 {
-+}
\ No newline at end of file
+ }
+ class C2 {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexSignatureTypeCheck2.js.diff b/testdata/baselines/reference/submodule/compiler/indexSignatureTypeCheck2.js.diff
deleted file mode 100644
index be0028c894..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indexSignatureTypeCheck2.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.indexSignatureTypeCheck2.js
-+++ new.indexSignatureTypeCheck2.js
-@@= skipped -16, +16 lines =@@
- }
-
- //// [indexSignatureTypeCheck2.js]
--var IPropertySet = /** @class */ (function () {
-- function IPropertySet() {
-- }
-- return IPropertySet;
--}());
-+class IPropertySet {
-+}
- var ps = null;
- var index = "hello";
- ps[index] = 12;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexSignatureWithAccessibilityModifier.js.diff b/testdata/baselines/reference/submodule/compiler/indexSignatureWithAccessibilityModifier.js.diff
deleted file mode 100644
index 093c8dd126..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indexSignatureWithAccessibilityModifier.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.indexSignatureWithAccessibilityModifier.js
-+++ new.indexSignatureWithAccessibilityModifier.js
-@@= skipped -9, +9 lines =@@
- }
-
- //// [indexSignatureWithAccessibilityModifier.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexSignatureWithInitializer.js.diff b/testdata/baselines/reference/submodule/compiler/indexSignatureWithInitializer.js.diff
index 038a636f25..041cecec97 100644
--- a/testdata/baselines/reference/submodule/compiler/indexSignatureWithInitializer.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/indexSignatureWithInitializer.js.diff
@@ -1,15 +1,9 @@
--- old.indexSignatureWithInitializer.js
+++ new.indexSignatureWithInitializer.js
-@@= skipped -10, +10 lines =@@
- }
+@@= skipped -11, +11 lines =@@
//// [indexSignatureWithInitializer.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--x = 0;
-+class C {
+ class C {
+ [x = 0];
-+}
\ No newline at end of file
+ }
+-x = 0;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexSignatureWithInitializer1.js.diff b/testdata/baselines/reference/submodule/compiler/indexSignatureWithInitializer1.js.diff
deleted file mode 100644
index 5c65797d81..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indexSignatureWithInitializer1.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.indexSignatureWithInitializer1.js
-+++ new.indexSignatureWithInitializer1.js
-@@= skipped -5, +5 lines =@@
- }
-
- //// [indexSignatureWithInitializer1.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexSignatureWithTrailingComma.js.diff b/testdata/baselines/reference/submodule/compiler/indexSignatureWithTrailingComma.js.diff
deleted file mode 100644
index 6bf66efcec..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indexSignatureWithTrailingComma.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.indexSignatureWithTrailingComma.js
-+++ new.indexSignatureWithTrailingComma.js
-@@= skipped -14, +14 lines =@@
-
-
- //// [indexSignatureWithTrailingComma.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexSignatureWithoutTypeAnnotation1.js.diff b/testdata/baselines/reference/submodule/compiler/indexSignatureWithoutTypeAnnotation1.js.diff
deleted file mode 100644
index 8e9cff1530..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indexSignatureWithoutTypeAnnotation1.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.indexSignatureWithoutTypeAnnotation1.js
-+++ new.indexSignatureWithoutTypeAnnotation1.js
-@@= skipped -5, +5 lines =@@
- }
-
- //// [indexSignatureWithoutTypeAnnotation1.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexTypeCheck.js.diff b/testdata/baselines/reference/submodule/compiler/indexTypeCheck.js.diff
index 2d81f3bdb0..ae21b64986 100644
--- a/testdata/baselines/reference/submodule/compiler/indexTypeCheck.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/indexTypeCheck.js.diff
@@ -1,20 +1,13 @@
--- old.indexTypeCheck.js
+++ new.indexTypeCheck.js
-@@= skipped -77, +77 lines =@@
- yellow[blue]; // error
+@@= skipped -78, +78 lines =@@
var x;
x[0];
--var Benchmark = /** @class */ (function () {
-- function Benchmark() {
+ class Benchmark {
+- constructor() {
- this.results = {};
- }
-- Benchmark.prototype.addTimingFor = function (name, timing) {
-+class Benchmark {
+ results = {};
-+ addTimingFor(name, timing) {
+ addTimingFor(name, timing) {
this.results[name] = this.results[name];
-- };
-- return Benchmark;
--}());
-+ }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexTypeNoSubstitutionTemplateLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/indexTypeNoSubstitutionTemplateLiteral.js.diff
index 6ad4e94f10..d2902f02fc 100644
--- a/testdata/baselines/reference/submodule/compiler/indexTypeNoSubstitutionTemplateLiteral.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/indexTypeNoSubstitutionTemplateLiteral.js.diff
@@ -6,5 +6,4 @@
//// [indexTypeNoSubstitutionTemplateLiteral.js]
-"use strict";
function Foo() { }
--Foo["b"] = function () { };
-+Foo[`b`] = function () { };
\ No newline at end of file
+ Foo[`b`] = function () { };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexWithUndefinedAndNull.js.diff b/testdata/baselines/reference/submodule/compiler/indexWithUndefinedAndNull.js.diff
deleted file mode 100644
index 6a9290ec2f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indexWithUndefinedAndNull.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.indexWithUndefinedAndNull.js
-+++ new.indexWithUndefinedAndNull.js
-@@= skipped -15, +15 lines =@@
-
-
- //// [indexWithUndefinedAndNull.js]
--var n;
--var s;
--var str = n[undefined];
-+let n;
-+let s;
-+let str = n[undefined];
- str = n[null];
--var num = s[undefined];
-+let num = s[undefined];
- num = s[null];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexWithUndefinedAndNullStrictNullChecks.js.diff b/testdata/baselines/reference/submodule/compiler/indexWithUndefinedAndNullStrictNullChecks.js.diff
deleted file mode 100644
index db91b77d82..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indexWithUndefinedAndNullStrictNullChecks.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.indexWithUndefinedAndNullStrictNullChecks.js
-+++ new.indexWithUndefinedAndNullStrictNullChecks.js
-@@= skipped -15, +15 lines =@@
-
-
- //// [indexWithUndefinedAndNullStrictNullChecks.js]
--var n;
--var s;
--var str = n[undefined];
-+let n;
-+let s;
-+let str = n[undefined];
- str = n[null];
--var num = s[undefined];
-+let num = s[undefined];
- num = s[null];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexWithoutParamType2.js.diff b/testdata/baselines/reference/submodule/compiler/indexWithoutParamType2.js.diff
index 5407e5211f..bb689e478b 100644
--- a/testdata/baselines/reference/submodule/compiler/indexWithoutParamType2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/indexWithoutParamType2.js.diff
@@ -1,15 +1,9 @@
--- old.indexWithoutParamType2.js
+++ new.indexWithoutParamType2.js
-@@= skipped -6, +6 lines =@@
- }
+@@= skipped -7, +7 lines =@@
//// [indexWithoutParamType2.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ // Used to be indexer, now it is a computed property
+ [x];
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexedAccessCanBeHighOrder.js.diff b/testdata/baselines/reference/submodule/compiler/indexedAccessCanBeHighOrder.js.diff
deleted file mode 100644
index ec14be5e6d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indexedAccessCanBeHighOrder.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.indexedAccessCanBeHighOrder.js
-+++ new.indexedAccessCanBeHighOrder.js
-@@= skipped -14, +14 lines =@@
-
- //// [indexedAccessCanBeHighOrder.js]
- function impl(a, b) {
-- var item = get(a, b);
-+ const item = get(a, b);
- return find(item);
- }
--var o = { x: 42 };
--var r = impl(o, "x");
-+const o = { x: 42 };
-+const r = impl(o, "x");
- r[0][r[1]] = o[r[1]];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.js.diff b/testdata/baselines/reference/submodule/compiler/indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.js.diff
index aafd8438fe..607b38a997 100644
--- a/testdata/baselines/reference/submodule/compiler/indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.js.diff
@@ -1,39 +1,11 @@
--- old.indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.js
+++ new.indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.js
-@@= skipped -24, +24 lines =@@
- }
+@@= skipped -25, +25 lines =@@
//// [indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class A {
+ class A {
+ foo;
-+}
-+class B extends A {
+ }
+ class B extends A {
+ foo;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexedAccessNormalization.js.diff b/testdata/baselines/reference/submodule/compiler/indexedAccessNormalization.js.diff
index c7bba7ce02..5595f810a2 100644
--- a/testdata/baselines/reference/submodule/compiler/indexedAccessNormalization.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/indexedAccessNormalization.js.diff
@@ -7,15 +7,5 @@
-"use strict";
-// Repro from from #43152
function f1(mymap, k) {
-- var elemofM = mymap[k];
-+ const elemofM = mymap[k];
- g(elemofM);
- }
- function f2(mymap, k, z) {
-- var q1 = z;
-- var q2 = z;
-- var q3 = z;
-+ const q1 = z;
-+ const q2 = z;
-+ const q3 = z;
- }
\ No newline at end of file
+ const elemofM = mymap[k];
+ g(elemofM);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexedAccessPrivateMemberOfGenericConstraint.js.diff b/testdata/baselines/reference/submodule/compiler/indexedAccessPrivateMemberOfGenericConstraint.js.diff
index 3be913f227..c7e396eb0d 100644
--- a/testdata/baselines/reference/submodule/compiler/indexedAccessPrivateMemberOfGenericConstraint.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/indexedAccessPrivateMemberOfGenericConstraint.js.diff
@@ -1,22 +1,11 @@
--- old.indexedAccessPrivateMemberOfGenericConstraint.js
+++ new.indexedAccessPrivateMemberOfGenericConstraint.js
-@@= skipped -14, +14 lines =@@
-
+@@= skipped -15, +15 lines =@@
//// [indexedAccessPrivateMemberOfGenericConstraint.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
-+class A {
+ class A {
+ a;
-+}
-+class B {
+ }
+ class B {
+ a;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexedAccessRelation.js.diff b/testdata/baselines/reference/submodule/compiler/indexedAccessRelation.js.diff
index 057057142f..2f676bbe24 100644
--- a/testdata/baselines/reference/submodule/compiler/indexedAccessRelation.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/indexedAccessRelation.js.diff
@@ -5,50 +5,8 @@
//// [indexedAccessRelation.js]
"use strict";
-// Repro from #14723
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
--var Component = /** @class */ (function () {
-- function Component() {
-- }
-- Component.prototype.setState = function (state) { };
-- return Component;
--}());
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
--var Comp = /** @class */ (function (_super) {
-- __extends(Comp, _super);
-- function Comp() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Comp.prototype.foo = function (a) {
+// Repro from #14723
-+class Component {
-+ setState(state) { }
-+}
-+class Foo {
-+}
-+class Comp extends Component {
-+ foo(a) {
- this.setState({ a: a });
-- };
-- return Comp;
--}(Component));
-+ }
-+}
\ No newline at end of file
+ class Component {
+ setState(state) { }
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexedAccessTypeConstraints.js.diff b/testdata/baselines/reference/submodule/compiler/indexedAccessTypeConstraints.js.diff
index 1c61c32dc0..1fcf56ce47 100644
--- a/testdata/baselines/reference/submodule/compiler/indexedAccessTypeConstraints.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/indexedAccessTypeConstraints.js.diff
@@ -5,66 +5,10 @@
//// [indexedAccessTypeConstraints.js]
"use strict";
-// Repro from #14557
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.Bar = exports.Foo = void 0;
--var Parent = /** @class */ (function () {
-- function Parent(data) {
-+class Parent {
+ class Parent {
+ data;
-+ constructor(data) {
+ constructor(data) {
this.data = data;
- }
-- Parent.prototype.getData = function () {
-+ getData() {
- return this.data;
-- };
-- return Parent;
--}());
--var Foo = /** @class */ (function (_super) {
-- __extends(Foo, _super);
-- function Foo() {
-- return _super !== null && _super.apply(this, arguments) || this;
- }
-- Foo.prototype.getContent = function () {
-+}
-+class Foo extends Parent {
-+ getContent() {
- return this.getData().get('content');
-- };
-- return Foo;
--}(Parent));
-+ }
-+}
- exports.Foo = Foo;
--var Bar = /** @class */ (function (_super) {
-- __extends(Bar, _super);
-- function Bar() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Bar.prototype.getContent = function () {
-+class Bar extends Parent {
-+ getContent() {
- return this.getData().get('content');
-- };
-- return Bar;
--}(Parent));
-+ }
-+}
- exports.Bar = Bar;
- // Repro from #14557
- function foo(x, y) {
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexer2A.js.diff b/testdata/baselines/reference/submodule/compiler/indexer2A.js.diff
deleted file mode 100644
index 19a9ce7708..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indexer2A.js.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- old.indexer2A.js
-+++ new.indexer2A.js
-@@= skipped -9, +9 lines =@@
- var directChildrenMap = {};
-
- //// [indexer2A.js]
--var IHeapObjectProperty = /** @class */ (function () {
-- function IHeapObjectProperty() {
-- }
-- return IHeapObjectProperty;
--}());
--var IDirectChildrenMap = /** @class */ (function () {
-- function IDirectChildrenMap() {
-- }
-- return IDirectChildrenMap;
--}());
-+class IHeapObjectProperty {
-+}
-+class IDirectChildrenMap {
-+}
- var directChildrenMap = {};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexerA.js.diff b/testdata/baselines/reference/submodule/compiler/indexerA.js.diff
index d5ac1bd85f..78a18af335 100644
--- a/testdata/baselines/reference/submodule/compiler/indexerA.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/indexerA.js.diff
@@ -1,23 +1,10 @@
--- old.indexerA.js
+++ new.indexerA.js
-@@= skipped -12, +12 lines =@@
- jq[0].id;
+@@= skipped -13, +13 lines =@@
//// [indexerA.js]
--var JQueryElement = /** @class */ (function () {
-- function JQueryElement() {
-- }
-- return JQueryElement;
--}());
--var JQuery = /** @class */ (function () {
-- function JQuery() {
-- }
-- return JQuery;
--}());
-+class JQueryElement {
+ class JQueryElement {
+ id;
-+}
-+class JQuery {
-+}
- var jq = { 0: { id: "a" }, 1: { id: "b" } };
- jq[0].id;
\ No newline at end of file
+ }
+ class JQuery {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexerAsOptional.js.diff b/testdata/baselines/reference/submodule/compiler/indexerAsOptional.js.diff
deleted file mode 100644
index 220d3a280f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indexerAsOptional.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.indexerAsOptional.js
-+++ new.indexerAsOptional.js
-@@= skipped -11, +11 lines =@@
- }
-
- //// [indexerAsOptional.js]
--var indexSig2 = /** @class */ (function () {
-- function indexSig2() {
-- }
-- return indexSig2;
--}());
-+class indexSig2 {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexerConstraints2.js.diff b/testdata/baselines/reference/submodule/compiler/indexerConstraints2.js.diff
index 743f866797..e0830d23cd 100644
--- a/testdata/baselines/reference/submodule/compiler/indexerConstraints2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/indexerConstraints2.js.diff
@@ -1,90 +1,13 @@
--- old.indexerConstraints2.js
+++ new.indexerConstraints2.js
-@@= skipped -83, +83 lines =@@
-
+@@= skipped -84, +84 lines =@@
//// [indexerConstraints2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class A {
+ class A {
+ a;
-+}
-+class B extends A {
+ }
+ class B extends A {
+ b;
-+}
+ }
// Inheritance
--var F = /** @class */ (function () {
-- function F() {
-- }
-- return F;
--}());
--var G = /** @class */ (function (_super) {
-- __extends(G, _super);
-- function G() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return G;
--}(F));
-+class F {
-+}
-+class G extends F {
-+}
- // Other way
--var H = /** @class */ (function () {
-- function H() {
-- }
-- return H;
--}());
--var I = /** @class */ (function (_super) {
-- __extends(I, _super);
-- function I() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return I;
--}(H));
-+class H {
-+}
-+class I extends H {
-+}
- // With hidden indexer
--var J = /** @class */ (function () {
-- function J() {
-- }
-- return J;
--}());
--var K = /** @class */ (function (_super) {
-- __extends(K, _super);
-- function K() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return K;
--}(J));
-+class J {
-+}
-+class K extends J {
-+}
\ No newline at end of file
+ class F {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexerReturningTypeParameter1.js.diff b/testdata/baselines/reference/submodule/compiler/indexerReturningTypeParameter1.js.diff
deleted file mode 100644
index 7e77065247..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indexerReturningTypeParameter1.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.indexerReturningTypeParameter1.js
-+++ new.indexerReturningTypeParameter1.js
-@@= skipped -17, +17 lines =@@
- //// [indexerReturningTypeParameter1.js]
- var a;
- var r = a.groupBy();
--var c = /** @class */ (function () {
-- function c() {
-- }
-- c.prototype.groupBy = function () {
-+class c {
-+ groupBy() {
- return null;
-- };
-- return c;
--}());
-+ }
-+}
- var a2;
- var r2 = a2.groupBy();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexerSignatureWithRestParam.js.diff b/testdata/baselines/reference/submodule/compiler/indexerSignatureWithRestParam.js.diff
deleted file mode 100644
index eb9c401e07..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indexerSignatureWithRestParam.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.indexerSignatureWithRestParam.js
-+++ new.indexerSignatureWithRestParam.js
-@@= skipped -9, +9 lines =@@
- }
-
- //// [indexerSignatureWithRestParam.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indexingTypesWithNever.js.diff b/testdata/baselines/reference/submodule/compiler/indexingTypesWithNever.js.diff
index caf1836620..0f15a0403c 100644
--- a/testdata/baselines/reference/submodule/compiler/indexingTypesWithNever.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/indexingTypesWithNever.js.diff
@@ -5,17 +5,6 @@
//// [indexingTypesWithNever.js]
-"use strict";
--// Should be never
--var result3 = genericFn1({ c: "ctest", d: "dtest" });
--// Should be never
--var result4 = genericFn2({ e: "etest", f: "ftest" });
--// Should be never
--var result5 = genericFn3({ g: "gtest", h: "htest" }, "g", "h"); // 'g' & 'h' will reduce to never
--var result6 = obj[key];
-+// Should be never
-+const result3 = genericFn1({ c: "ctest", d: "dtest" });
-+// Should be never
-+const result4 = genericFn2({ e: "etest", f: "ftest" });
-+// Should be never
-+const result5 = genericFn3({ g: "gtest", h: "htest" }, "g", "h"); // 'g' & 'h' will reduce to never
-+const result6 = obj[key];
\ No newline at end of file
+ // Should be never
+ const result3 = genericFn1({ c: "ctest", d: "dtest" });
+ // Should be never
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indirectDiscriminantAndExcessProperty.js.diff b/testdata/baselines/reference/submodule/compiler/indirectDiscriminantAndExcessProperty.js.diff
deleted file mode 100644
index 5dfd84fd3d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indirectDiscriminantAndExcessProperty.js.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- old.indirectDiscriminantAndExcessProperty.js
-+++ new.indirectDiscriminantAndExcessProperty.js
-@@= skipped -30, +30 lines =@@
- //// [indirectDiscriminantAndExcessProperty.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var foo1 = "foo";
-+let foo1 = "foo";
- thing({
- type: foo1,
- abc: "hello!"
- });
--var foo2 = "foo";
-+let foo2 = "foo";
- thing({
- type: foo2,
- abc: "hello!",
- extra: 123,
- });
--var bar = "bar";
-+let bar = "bar";
- thing({
- type: bar,
- xyz: 123,
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indirectSelfReference.js.diff b/testdata/baselines/reference/submodule/compiler/indirectSelfReference.js.diff
deleted file mode 100644
index a0dd9027fe..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indirectSelfReference.js.diff
+++ /dev/null
@@ -1,39 +0,0 @@
---- old.indirectSelfReference.js
-+++ new.indirectSelfReference.js
-@@= skipped -4, +4 lines =@@
- class b extends a{ }
-
- //// [indirectSelfReference.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function (_super) {
-- __extends(a, _super);
-- function a() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return a;
--}(b));
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return b;
--}(a));
-+class a extends b {
-+}
-+class b extends a {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indirectSelfReferenceGeneric.js.diff b/testdata/baselines/reference/submodule/compiler/indirectSelfReferenceGeneric.js.diff
deleted file mode 100644
index 6ebd319e7f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/indirectSelfReferenceGeneric.js.diff
+++ /dev/null
@@ -1,39 +0,0 @@
---- old.indirectSelfReferenceGeneric.js
-+++ new.indirectSelfReferenceGeneric.js
-@@= skipped -4, +4 lines =@@
- class b extends a { }
-
- //// [indirectSelfReferenceGeneric.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function (_super) {
-- __extends(a, _super);
-- function a() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return a;
--}(b));
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return b;
--}(a));
-+class a extends b {
-+}
-+class b extends a {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/indirectTypeParameterReferences.js.diff b/testdata/baselines/reference/submodule/compiler/indirectTypeParameterReferences.js.diff
index 4ba647f2b6..aaa080d08a 100644
--- a/testdata/baselines/reference/submodule/compiler/indirectTypeParameterReferences.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/indirectTypeParameterReferences.js.diff
@@ -5,26 +5,6 @@
//// [indirectTypeParameterReferences.js]
-// Repro from #19043
--var flowtypes = function (b) {
-- var combined = function (fn) { return null; };
-- var literal = function (fn) { return null; };
-- return { combined: combined, literal: literal };
-+const flowtypes = (b) => {
-+ const combined = (fn) => null;
-+ const literal = (fn) => null;
-+ return { combined, literal };
- };
--var _a = flowtypes({ b: 'b-value' }), combined = _a.combined, literal = _a.literal;
--literal(function (aPlusB) {
-+const { combined, literal } = flowtypes({ b: 'b-value' });
-+literal(aPlusB => {
- aPlusB.b;
- aPlusB.a;
- });
--combined(function (comb) {
-+combined(comb => {
- comb.b;
- comb.a;
- });
--var n = f(2).a;
-+let n = f(2).a;
\ No newline at end of file
+ const flowtypes = (b) => {
+ const combined = (fn) => null;
+ const literal = (fn) => null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferFromGenericFunctionReturnTypes1.js.diff b/testdata/baselines/reference/submodule/compiler/inferFromGenericFunctionReturnTypes1.js.diff
index 014e79979e..a1b7198aca 100644
--- a/testdata/baselines/reference/submodule/compiler/inferFromGenericFunctionReturnTypes1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inferFromGenericFunctionReturnTypes1.js.diff
@@ -1,75 +1,10 @@
--- old.inferFromGenericFunctionReturnTypes1.js
+++ new.inferFromGenericFunctionReturnTypes1.js
-@@= skipped -75, +75 lines =@@
- //// [inferFromGenericFunctionReturnTypes1.js]
+@@= skipped -76, +76 lines =@@
// Repro from #15680
// This is a contrived class. We could do the same thing with Observables, etc.
--var SetOf = /** @class */ (function () {
-- function SetOf() {
-- }
-- SetOf.prototype.add = function (a) {
-+class SetOf {
+ class SetOf {
+ _store;
-+ add(a) {
+ add(a) {
this._store.push(a);
-- };
-- SetOf.prototype.transform = function (transformer) {
-+ }
-+ transform(transformer) {
- return transformer(this);
-- };
-- SetOf.prototype.forEach = function (fn) {
-- this._store.forEach(function (a, i) { return fn(a, i); });
-- };
-- return SetOf;
--}());
-+ }
-+ forEach(fn) {
-+ this._store.forEach((a, i) => fn(a, i));
-+ }
-+}
- /* ... etc ... */
--function compose() {
-- var fns = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- fns[_i] = arguments[_i];
-- }
-- return function (x) { return fns.reduce(function (prev, fn) { return fn(prev); }, x); };
-+function compose(...fns) {
-+ return (x) => fns.reduce((prev, fn) => fn(prev), x);
- }
- function map(fn) {
-- return function (a) {
-- var b = new SetOf();
-- a.forEach(function (x) { return b.add(fn(x)); });
-+ return (a) => {
-+ const b = new SetOf();
-+ a.forEach(x => b.add(fn(x)));
- return b;
- };
- }
- function filter(predicate) {
-- return function (a) {
-- var result = new SetOf();
-- a.forEach(function (x) {
-+ return (a) => {
-+ const result = new SetOf();
-+ a.forEach(x => {
- if (predicate(x))
- result.add(x);
- });
- return result;
- };
- }
--var testSet = new SetOf();
-+const testSet = new SetOf();
- testSet.add(1);
- testSet.add(2);
- testSet.add(3);
--testSet.transform(compose(filter(function (x) { return x % 1 === 0; }), map(function (x) { return x + x; }), map(function (x) { return x + '!!!'; }), map(function (x) { return x.toUpperCase(); })));
--testSet.transform(compose(filter(function (x) { return x % 1 === 0; }), map(function (x) { return x + x; }), map(function (x) { return 123; }), // Whoops a bug
--map(function (x) { return x.toUpperCase(); }) // causes an error!
-+testSet.transform(compose(filter(x => x % 1 === 0), map(x => x + x), map(x => x + '!!!'), map(x => x.toUpperCase())));
-+testSet.transform(compose(filter(x => x % 1 === 0), map(x => x + x), map(x => 123), // Whoops a bug
-+map(x => x.toUpperCase()) // causes an error!
- ));
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferFromGenericFunctionReturnTypes2.js.diff b/testdata/baselines/reference/submodule/compiler/inferFromGenericFunctionReturnTypes2.js.diff
index 8c8336474c..cd32713c1e 100644
--- a/testdata/baselines/reference/submodule/compiler/inferFromGenericFunctionReturnTypes2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inferFromGenericFunctionReturnTypes2.js.diff
@@ -1,95 +1,10 @@
--- old.inferFromGenericFunctionReturnTypes2.js
+++ new.inferFromGenericFunctionReturnTypes2.js
-@@= skipped -97, +97 lines =@@
-
-
- //// [inferFromGenericFunctionReturnTypes2.js]
--var f1 = function (s) { return s.length; };
--var f2 = wrap(function (s) { return s.length; });
--var f3 = arrayize(wrap(function (s) { return s.length; }));
--var f4 = combine(wrap(function (s) { return s.length; }), wrap(function (n) { return n >= 10; }));
--foo(wrap(function (s) { return s.length; }));
--var a1 = ["a", "b"].map(function (s) { return s.length; });
--var a2 = ["a", "b"].map(wrap(function (s) { return s.length; }));
--var a3 = ["a", "b"].map(wrap(arrayize(function (s) { return s.length; })));
--var a4 = ["a", "b"].map(combine(wrap(function (s) { return s.length; }), wrap(function (n) { return n > 10; })));
--var a5 = ["a", "b"].map(combine(identity, wrap(function (s) { return s.length; })));
--var a6 = ["a", "b"].map(combine(wrap(function (s) { return s.length; }), identity));
-+let f1 = s => s.length;
-+let f2 = wrap(s => s.length);
-+let f3 = arrayize(wrap(s => s.length));
-+let f4 = combine(wrap(s => s.length), wrap(n => n >= 10));
-+foo(wrap(s => s.length));
-+let a1 = ["a", "b"].map(s => s.length);
-+let a2 = ["a", "b"].map(wrap(s => s.length));
-+let a3 = ["a", "b"].map(wrap(arrayize(s => s.length)));
-+let a4 = ["a", "b"].map(combine(wrap(s => s.length), wrap(n => n > 10)));
-+let a5 = ["a", "b"].map(combine(identity, wrap(s => s.length)));
-+let a6 = ["a", "b"].map(combine(wrap(s => s.length), identity));
+@@= skipped -110, +110 lines =@@
+ let a6 = ["a", "b"].map(combine(wrap(s => s.length), identity));
// This is a contrived class. We could do the same thing with Observables, etc.
--var SetOf = /** @class */ (function () {
-- function SetOf() {
-- }
-- SetOf.prototype.add = function (a) {
-+class SetOf {
+ class SetOf {
+ _store;
-+ add(a) {
+ add(a) {
this._store.push(a);
-- };
-- SetOf.prototype.transform = function (transformer) {
-+ }
-+ transform(transformer) {
- return transformer(this);
-- };
-- SetOf.prototype.forEach = function (fn) {
-- this._store.forEach(function (a, i) { return fn(a, i); });
-- };
-- return SetOf;
--}());
-+ }
-+ forEach(fn) {
-+ this._store.forEach((a, i) => fn(a, i));
-+ }
-+}
- /* ... etc ... */
--function compose() {
-- var fns = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- fns[_i] = arguments[_i];
-- }
-- return function (x) { return fns.reduce(function (prev, fn) { return fn(prev); }, x); };
-+function compose(...fns) {
-+ return (x) => fns.reduce((prev, fn) => fn(prev), x);
- }
- function map(fn) {
-- return function (a) {
-- var b = new SetOf();
-- a.forEach(function (x) { return b.add(fn(x)); });
-+ return (a) => {
-+ const b = new SetOf();
-+ a.forEach(x => b.add(fn(x)));
- return b;
- };
- }
- function filter(predicate) {
-- return function (a) {
-- var result = new SetOf();
-- a.forEach(function (x) {
-+ return (a) => {
-+ const result = new SetOf();
-+ a.forEach(x => {
- if (predicate(x))
- result.add(x);
- });
- return result;
- };
- }
--var testSet = new SetOf();
-+const testSet = new SetOf();
- testSet.add(1);
- testSet.add(2);
- testSet.add(3);
--var t1 = testSet.transform(compose(filter(function (x) { return x % 1 === 0; }), map(function (x) { return x + x; }), map(function (x) { return x + '!!!'; }), map(function (x) { return x.toUpperCase(); })));
--var t2 = testSet.transform(compose(filter(function (x) { return x % 1 === 0; }), identity, map(function (x) { return x + '!!!'; }), map(function (x) { return x.toUpperCase(); })));
-+const t1 = testSet.transform(compose(filter(x => x % 1 === 0), map(x => x + x), map(x => x + '!!!'), map(x => x.toUpperCase())));
-+const t2 = testSet.transform(compose(filter(x => x % 1 === 0), identity, map(x => x + '!!!'), map(x => x.toUpperCase())));
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferObjectTypeFromStringLiteralToKeyof.js.diff b/testdata/baselines/reference/submodule/compiler/inferObjectTypeFromStringLiteralToKeyof.js.diff
deleted file mode 100644
index 9388847166..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferObjectTypeFromStringLiteralToKeyof.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.inferObjectTypeFromStringLiteralToKeyof.js
-+++ new.inferObjectTypeFromStringLiteralToKeyof.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [inferObjectTypeFromStringLiteralToKeyof.js]
--var x = inference1(two);
--var y = inference2({ a: 1, b: 2, c: 3, d: function (n) { return n; } }, two);
-+const x = inference1(two);
-+const y = inference2({ a: 1, b: 2, c: 3, d(n) { return n; } }, two);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferParameterWithMethodCallInitializer.js.diff b/testdata/baselines/reference/submodule/compiler/inferParameterWithMethodCallInitializer.js.diff
deleted file mode 100644
index 222a538d9c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferParameterWithMethodCallInitializer.js.diff
+++ /dev/null
@@ -1,42 +0,0 @@
---- old.inferParameterWithMethodCallInitializer.js
-+++ new.inferParameterWithMethodCallInitializer.js
-@@= skipped -25, +25 lines =@@
- function getNumber() {
- return 1;
- }
--var Example = /** @class */ (function () {
-- function Example() {
-- }
-- Example.prototype.getNumber = function () {
-+class Example {
-+ getNumber() {
- return 1;
-- };
-- Example.prototype.doSomething = function (a) {
-- if (a === void 0) { a = this.getNumber(); }
-+ }
-+ doSomething(a = this.getNumber()) {
- return a;
-- };
-- return Example;
--}());
--function weird(a) {
-- if (a === void 0) { a = this.getNumber(); }
-+ }
-+}
-+function weird(a = this.getNumber()) {
- return a;
- }
--var Weird = /** @class */ (function () {
-- function Weird() {
-- }
-- Weird.prototype.doSomething = function (a) {
-- if (a === void 0) { a = this.getNumber(); }
-+class Weird {
-+ doSomething(a = this.getNumber()) {
- return a;
-- };
-- return Weird;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferRestArgumentsMappedTuple.js.diff b/testdata/baselines/reference/submodule/compiler/inferRestArgumentsMappedTuple.js.diff
index bbcb6134a9..4cd9ba6912 100644
--- a/testdata/baselines/reference/submodule/compiler/inferRestArgumentsMappedTuple.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inferRestArgumentsMappedTuple.js.diff
@@ -5,7 +5,5 @@
//// [inferRestArgumentsMappedTuple.js]
-"use strict";
--var myPrimitiveTupleOld = extractPrimitivesOld({ primitive: "" }, { primitive: 0 });
--var myPrimitiveTupleNew = extractPrimitivesNew({ primitive: "" }, { primitive: 0 });
-+const myPrimitiveTupleOld = extractPrimitivesOld({ primitive: "" }, { primitive: 0 });
-+const myPrimitiveTupleNew = extractPrimitivesNew({ primitive: "" }, { primitive: 0 });
\ No newline at end of file
+ const myPrimitiveTupleOld = extractPrimitivesOld({ primitive: "" }, { primitive: 0 });
+ const myPrimitiveTupleNew = extractPrimitivesNew({ primitive: "" }, { primitive: 0 });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferSetterParamType.js.diff b/testdata/baselines/reference/submodule/compiler/inferSetterParamType.js.diff
deleted file mode 100644
index 9bf4daf99b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferSetterParamType.js.diff
+++ /dev/null
@@ -1,48 +0,0 @@
---- old.inferSetterParamType.js
-+++ new.inferSetterParamType.js
-@@= skipped -20, +20 lines =@@
-
-
- //// [inferSetterParamType.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Object.defineProperty(Foo.prototype, "bar", {
-- get: function () {
-- return 0;
-- },
-- set: function (n) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return Foo;
--}());
--var Foo2 = /** @class */ (function () {
-- function Foo2() {
-- }
-- Object.defineProperty(Foo2.prototype, "bar", {
-- get: function () {
-- return 0; // should be an error - can't coerce infered return type to match setter annotated type
-- },
-- set: function (n) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return Foo2;
--}());
-+class Foo {
-+ get bar() {
-+ return 0;
-+ }
-+ set bar(n) {
-+ }
-+}
-+class Foo2 {
-+ get bar() {
-+ return 0; // should be an error - can't coerce infered return type to match setter annotated type
-+ }
-+ set bar(n) {
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferStringLiteralUnionForBindingElement.js.diff b/testdata/baselines/reference/submodule/compiler/inferStringLiteralUnionForBindingElement.js.diff
deleted file mode 100644
index 8781a2fca9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferStringLiteralUnionForBindingElement.js.diff
+++ /dev/null
@@ -1,31 +0,0 @@
---- old.inferStringLiteralUnionForBindingElement.js
-+++ new.inferStringLiteralUnionForBindingElement.js
-@@= skipped -25, +25 lines =@@
-
- //// [inferStringLiteralUnionForBindingElement.js]
- function func1() {
-- var firstKey = func({ keys: ["aa", "bb"] }).firstKey;
-- var a = firstKey;
-- var keys = func({ keys: ["aa", "bb"] }).keys;
-- var b = keys;
-+ const { firstKey } = func({ keys: ["aa", "bb"] });
-+ const a = firstKey;
-+ const { keys } = func({ keys: ["aa", "bb"] });
-+ const b = keys;
- }
- function func2() {
-- var _a = func({ keys: ["aa", "bb"] }), keys = _a.keys, firstKey = _a.firstKey;
-- var a = firstKey;
-- var b = keys;
-+ const { keys, firstKey } = func({ keys: ["aa", "bb"] });
-+ const a = firstKey;
-+ const b = keys;
- }
- function func3() {
-- var x = func({ keys: ["aa", "bb"] });
-- var a = x.firstKey;
-- var b = x.keys;
-+ const x = func({ keys: ["aa", "bb"] });
-+ const a = x.firstKey;
-+ const b = x.keys;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferTupleFromBindingPattern.js.diff b/testdata/baselines/reference/submodule/compiler/inferTupleFromBindingPattern.js.diff
deleted file mode 100644
index f8ca2f7a72..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferTupleFromBindingPattern.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.inferTupleFromBindingPattern.js
-+++ new.inferTupleFromBindingPattern.js
-@@= skipped -5, +5 lines =@@
-
-
- //// [inferTupleFromBindingPattern.js]
--var _a = f(function () { return [1, "hi", true]; }), e1 = _a[0], e2 = _a[1], e3 = _a[2];
-+const [e1, e2, e3] = f(() => [1, "hi", true]);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferTypeArgumentsInSignatureWithRestParameters.js.diff b/testdata/baselines/reference/submodule/compiler/inferTypeArgumentsInSignatureWithRestParameters.js.diff
deleted file mode 100644
index 2a3932aa2e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferTypeArgumentsInSignatureWithRestParameters.js.diff
+++ /dev/null
@@ -1,30 +0,0 @@
---- old.inferTypeArgumentsInSignatureWithRestParameters.js
-+++ new.inferTypeArgumentsInSignatureWithRestParameters.js
-@@= skipped -13, +13 lines =@@
-
-
- //// [inferTypeArgumentsInSignatureWithRestParameters.js]
--function f(array) {
-- var args = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- args[_i - 1] = arguments[_i];
-- }
--}
--function g(array) {
-- var args = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- args[_i - 1] = arguments[_i];
-- }
--}
--function h(nonarray) {
-- var args = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- args[_i - 1] = arguments[_i];
-- }
--}
-+function f(array, ...args) { }
-+function g(array, ...args) { }
-+function h(nonarray, ...args) { }
- function i(array, opt) { }
- var a = [1, 2, 3, 4, 5];
- f(a); // OK
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferTypeParameterConstraints.js.diff b/testdata/baselines/reference/submodule/compiler/inferTypeParameterConstraints.js.diff
index a9b79cbcbc..4d4403e0ed 100644
--- a/testdata/baselines/reference/submodule/compiler/inferTypeParameterConstraints.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inferTypeParameterConstraints.js.diff
@@ -6,43 +6,17 @@
//// [inferTypeParameterConstraints.js]
-"use strict";
-// Repro from #42636
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
// https://github.com/microsoft/TypeScript/issues/57286#issuecomment-1927920336
--var BaseClass = /** @class */ (function () {
-- function BaseClass() {
-- }
-- BaseClass.prototype.fake = function () {
-+class BaseClass {
-+ fake() {
- throw new Error("");
-- };
-- return BaseClass;
--}());
--var Klass = /** @class */ (function (_super) {
-- __extends(Klass, _super);
-- function Klass() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this.child = true;
-- return _this;
+ class BaseClass {
+ fake() {
+@@= skipped -9, +7 lines =@@
}
-- return Klass;
--}(BaseClass));
-+}
-+class Klass extends BaseClass {
+ }
+ class Klass extends BaseClass {
+- constructor() {
+- super(...arguments);
+- this.child = true;
+- }
+ child = true;
-+}
+ }
m.child; // ok
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferTypePredicates.js.diff b/testdata/baselines/reference/submodule/compiler/inferTypePredicates.js.diff
index 65f04640e8..e1f8407d9d 100644
--- a/testdata/baselines/reference/submodule/compiler/inferTypePredicates.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inferTypePredicates.js.diff
@@ -1,307 +1,39 @@
--- old.inferTypePredicates.js
+++ new.inferTypePredicates.js
-@@= skipped -292, +292 lines =@@
-
- //// [inferTypePredicates.js]
- // https://github.com/microsoft/TypeScript/issues/16069
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var numsOrNull = [1, 2, 3, 4, null];
--var filteredNumsTruthy = numsOrNull.filter(function (x) { return !!x; }); // should error
--var filteredNumsNonNullish = numsOrNull.filter(function (x) { return x !== null; }); // should ok
--var evenSquaresInline = // should error
-- [1, 2, 3, 4]
-- .map(function (x) { return x % 2 === 0 ? x * x : null; })
-- .filter(function (x) { return !!x; }); // tests truthiness, not non-nullishness
--var isTruthy = function (x) { return !!x; };
--var evenSquares = // should error
+@@= skipped -295, +295 lines =@@
+ const numsOrNull = [1, 2, 3, 4, null];
+ const filteredNumsTruthy = numsOrNull.filter(x => !!x); // should error
+ const filteredNumsNonNullish = numsOrNull.filter(x => x !== null); // should ok
+-const evenSquaresInline = // should error
- [1, 2, 3, 4]
-- .map(function (x) { return x % 2 === 0 ? x * x : null; })
-+const numsOrNull = [1, 2, 3, 4, null];
-+const filteredNumsTruthy = numsOrNull.filter(x => !!x); // should error
-+const filteredNumsNonNullish = numsOrNull.filter(x => x !== null); // should ok
+const evenSquaresInline = [1, 2, 3, 4]
-+ .map(x => x % 2 === 0 ? x * x : null)
-+ .filter(x => !!x); // tests truthiness, not non-nullishness
-+const isTruthy = (x) => !!x;
+ .map(x => x % 2 === 0 ? x * x : null)
+ .filter(x => !!x); // tests truthiness, not non-nullishness
+ const isTruthy = (x) => !!x;
+-const evenSquares = // should error
+- [1, 2, 3, 4]
+const evenSquares = [1, 2, 3, 4]
-+ .map(x => x % 2 === 0 ? x * x : null)
+ .map(x => x % 2 === 0 ? x * x : null)
.filter(isTruthy);
--var evenSquaresNonNull = // should ok
+-const evenSquaresNonNull = // should ok
- [1, 2, 3, 4]
-- .map(function (x) { return x % 2 === 0 ? x * x : null; })
-- .filter(function (x) { return x !== null; });
+const evenSquaresNonNull = [1, 2, 3, 4]
-+ .map(x => x % 2 === 0 ? x * x : null)
-+ .filter(x => x !== null);
+ .map(x => x % 2 === 0 ? x * x : null)
+ .filter(x => x !== null);
function isNonNull(x) {
- return x !== null;
- }
- // factoring out a boolean works thanks to aliased discriminants
- function isNonNullVar(x) {
-- var ok = x !== null;
-+ const ok = x !== null;
- return ok;
- }
- function isNonNullGeneric(x) {
- return x !== null;
- }
- // Type guards can flow between functions
--var myGuard = function (o) { return !!o; };
--var mySecondGuard = function (o) { return myGuard(o); };
--var myArray = [];
--var result = myArray
-- .map(function (arr) { return arr.list; })
-- .filter(function (arr) { return arr && arr.length; })
-- .map(function (arr) { return arr // should error
-- .filter(function (obj) { return obj && obj.data; })
-- .map(function (obj) { return JSON.parse(obj.data); }); } // should error
-+const myGuard = (o) => !!o;
-+const mySecondGuard = (o) => myGuard(o);
-+const myArray = [];
-+const result = myArray
-+ .map((arr) => arr.list)
-+ .filter((arr) => arr && arr.length)
-+ .map((arr) => arr // should error
-+ .filter((obj) => obj && obj.data)
-+ .map(obj => JSON.parse(obj.data)) // should error
- );
--var result2 = myArray
-- .map(function (arr) { return arr.list; })
-- .filter(function (arr) { return !!arr; })
-- .filter(function (arr) { return arr.length; })
-- .map(function (arr) { return arr // should ok
-- .filter(function (obj) { return obj; })
-+const result2 = myArray
-+ .map((arr) => arr.list)
-+ .filter((arr) => !!arr)
-+ .filter(arr => arr.length)
-+ .map((arr) => arr // should ok
-+ .filter((obj) => obj)
- // inferring a guard here would require https://github.com/microsoft/TypeScript/issues/42384
-- .filter(function (obj) { return !!obj.data; })
-- .map(function (obj) { return JSON.parse(obj.data); }); });
--var list = [];
--var resultBars = list.filter(function (value) { return 'bar' in value; }); // should ok
-+ .filter(obj => !!obj.data)
-+ .map(obj => JSON.parse(obj.data)));
-+const list = [];
-+const resultBars = list.filter((value) => 'bar' in value); // should ok
- function isBarNonNull(x) {
- return ('bar' in x);
- }
--var fooOrBar = list[0];
-+const fooOrBar = list[0];
- if (isBarNonNull(fooOrBar)) {
-- var t = fooOrBar; // should ok
-+ const t = fooOrBar; // should ok
- }
- // https://github.com/microsoft/TypeScript/issues/38390#issuecomment-626019466
- // Ryan's example (currently legal):
--var a = [1, "foo", 2, "bar"].filter(function (x) { return typeof x === "string"; });
-+const a = [1, "foo", 2, "bar"].filter(x => typeof x === "string");
- a.push(10);
- // Defer to explicit type guards, even when they're incorrect.
- function backwardsGuard(x) {
-@@= skipped -84, +66 lines =@@
- return typeof x === 'string';
- }
- if (isString(strOrNum)) {
-- var t = strOrNum; // should ok
-+ let t = strOrNum; // should ok
- }
- else {
-- var t = strOrNum; // should ok
-+ let t = strOrNum; // should ok
- }
- function flakyIsString(x) {
- return typeof x === 'string' && Math.random() > 0.5;
- }
- if (flakyIsString(strOrNum)) {
-- var t = strOrNum; // should error
-+ let t = strOrNum; // should error
- }
- else {
-- var t = strOrNum; // should error
-+ let t = strOrNum; // should error
- }
- function isDate(x) {
- return x instanceof Date;
-@@= skipped -21, +21 lines =@@
- return x instanceof Date && Math.random() > 0.5;
- }
- if (isDate(maybeDate)) {
-- var t = maybeDate; // should ok
-+ let t = maybeDate; // should ok
- }
- else {
-- var t = maybeDate; // should ok
-+ let t = maybeDate; // should ok
- }
- if (flakyIsDate(maybeDate)) {
-- var t = maybeDate; // should error
-+ let t = maybeDate; // should error
- }
- else {
-- var t = maybeDate; // should ok
-+ let t = maybeDate; // should ok
- }
- // This should not infer a type guard since the value on which we do the refinement
- // is not related to the original parameter.
-@@= skipped -18, +18 lines =@@
- return typeof x === 'string';
- }
- function irrelevantIsNumberDestructuring(x) {
-- x = [Math.random() < 0.5 ? "string" : 123][0];
-+ [x] = [Math.random() < 0.5 ? "string" : 123];
- return typeof x === 'string';
- }
- // Cannot infer a type guard for either param because of the false case.
-@@= skipped -22, +22 lines =@@
- return typeof __x === 'string';
- }
- // could infer a type guard here but it doesn't seem that helpful.
--var booleanIdentity = function (x) { return x; };
-+const booleanIdentity = (x) => x;
- // we infer "x is number | true" which is accurate but of debatable utility.
--var numOrBoolean = function (x) { return typeof x === 'number' || x; };
--var Inferrer = /** @class */ (function () {
-- function Inferrer() {
-- }
-- Inferrer.prototype.isNumber = function (x) {
-+const numOrBoolean = (x) => typeof x === 'number' || x;
-+class Inferrer {
-+ isNumber(x) {
- return typeof x === 'number';
-- };
-- return Inferrer;
--}());
--var inf = new Inferrer();
-+ }
-+}
-+const inf = new Inferrer();
- if (inf.isNumber(numOrStr)) {
-- var t = numOrStr; // should ok
-+ let t = numOrStr; // should ok
- }
- else {
-- var t = numOrStr; // should ok
-+ let t = numOrStr; // should ok
- }
- // Type predicates are not inferred on "this"
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- C1.prototype.isC2 = function () {
-+class C1 {
-+ isC2() {
- return this instanceof C2;
-- };
-- return C1;
--}());
--var C2 = /** @class */ (function (_super) {
-- __extends(C2, _super);
-- function C2() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this.z = 0;
-- return _this;
+@@= skipped -149, +146 lines =@@
}
-- return C2;
--}(C1));
-+}
-+class C2 extends C1 {
-+ z = 0;
-+}
- if (c.isC2()) {
-- var c2 = c; // should error
-+ let c2 = c; // should error
- }
--function doNotRefineDestructuredParam(_a) {
-- var x = _a.x, y = _a.y;
-+function doNotRefineDestructuredParam({ x, y }) {
- return typeof x === 'number';
- }
- // The type predicate must remain valid when the function is called with subtypes.
-@@= skipped -60, +47 lines =@@
- str.charAt(0); // should OK
- }
- else {
-- var t = str; // should OK
-+ let t = str; // should OK
- }
- // infer a union type
- function isNumOrStr(x) {
- return (typeof x === "number" || typeof x === "string");
}
- if (isNumOrStr(unk)) {
-- var t = unk; // should ok
-+ let t = unk; // should ok
- }
- // A function can be a type predicate even if it throws.
- function assertAndPredicate(x) {
-@@= skipped -17, +17 lines =@@
- return typeof x === 'string';
- }
- if (assertAndPredicate(snd)) {
-- var t = snd; // should error
-+ let t = snd; // should error
- }
- function isNumberWithThis(x) {
- return typeof x === 'number';
-@@= skipped -8, +8 lines =@@
- function narrowFromAny(x) {
- return typeof x === 'number';
- }
--var noInferenceFromRest = function () {
-- var f = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- f[_i] = arguments[_i];
-- }
-- return f[0] === "a";
--};
--var noInferenceFromImpossibleRest = function () {
-- var f = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- f[_i] = arguments[_i];
+ class C2 extends C1 {
+- constructor() {
+- super(...arguments);
+- this.z = 0;
- }
-- return typeof f === "undefined";
--};
--function inferWithRest(x) {
-- var f = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- f[_i - 1] = arguments[_i];
-- }
-+const noInferenceFromRest = (...f) => f[0] === "a";
-+const noInferenceFromImpossibleRest = (...f) => typeof f === "undefined";
-+function inferWithRest(x, ...f) {
- return typeof x === 'string';
- }
--var foobarPred = function (fb) { return fb.type === "foo"; };
-+const foobarPred = (fb) => fb.type === "foo";
- if (foobarPred(foobar)) {
- foobar.foo;
- }
- // https://github.com/microsoft/TypeScript/issues/60778
--var arrTest = [1, 2, null, 3].filter(function (x) { return (x != null); });
-+const arrTest = [1, 2, null, 3].filter((x) => (x != null));
- function isEmptyString(x) {
-- var rv = x === "";
-+ const rv = x === "";
- return rv;
++ z = 0;
}
+ if (c.isC2()) {
+ let c2 = c; // should error
+@@= skipped -71, +68 lines =@@
//// [inferTypePredicates.d.ts]
@@ -329,7 +61,7 @@
type MyObj = {
data?: string;
};
-@@= skipped -55, +45 lines =@@
+@@= skipped -21, +27 lines =@@
declare const myArray: MyArray;
declare const result: any[][];
declare const result2: any[][];
diff --git a/testdata/baselines/reference/submodule/compiler/inferenceAndSelfReferentialConstraint.js.diff b/testdata/baselines/reference/submodule/compiler/inferenceAndSelfReferentialConstraint.js.diff
index ea8f1ac054..97cadbab15 100644
--- a/testdata/baselines/reference/submodule/compiler/inferenceAndSelfReferentialConstraint.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inferenceAndSelfReferentialConstraint.js.diff
@@ -7,32 +7,4 @@
-// @strict
function test(arg) {
return arg;
- }
--var res1 = test({
-- foo: true,
-- bar: function () {
-- }
--});
--var res2 = test({
-- foo: true,
-- bar: function () {
-- }
--});
--var res3 = test({
-- foo: true,
-- bar: function () {
-+const res1 = test({
-+ foo: true,
-+ bar() {
-+ }
-+});
-+const res2 = test({
-+ foo: true,
-+ bar: function () {
-+ }
-+});
-+const res3 = test({
-+ foo: true,
-+ bar: () => {
- }
- });
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferenceDoesNotAddUndefinedOrNull.js.diff b/testdata/baselines/reference/submodule/compiler/inferenceDoesNotAddUndefinedOrNull.js.diff
index e5690da3c1..e1171aedfc 100644
--- a/testdata/baselines/reference/submodule/compiler/inferenceDoesNotAddUndefinedOrNull.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inferenceDoesNotAddUndefinedOrNull.js.diff
@@ -6,29 +6,5 @@
//// [inferenceDoesNotAddUndefinedOrNull.js]
-"use strict";
function flatMapChildren(node, cb) {
-- var result = [];
-- node.forEachChild(function (child) {
-- var value = cb(child);
-+ const result = [];
-+ node.forEachChild(child => {
-+ const value = cb(child);
- if (value !== undefined) {
-- result.push.apply(result, toArray(value));
-+ result.push(...toArray(value));
- }
- });
- return result;
- }
- function flatMapChildren2(node, cb) {
-- var result = [];
-- node.forEachChild(function (child) {
-- var value = cb(child);
-+ const result = [];
-+ node.forEachChild(child => {
-+ const value = cb(child);
- if (value !== null) {
-- result.push.apply(result, toArray(value));
-+ result.push(...toArray(value));
- }
- });
- return result;
\ No newline at end of file
+ const result = [];
+ node.forEachChild(child => {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferenceDoesntCompareAgainstUninstantiatedTypeParameter.js.diff b/testdata/baselines/reference/submodule/compiler/inferenceDoesntCompareAgainstUninstantiatedTypeParameter.js.diff
index 9ce4b3f766..0ed5930844 100644
--- a/testdata/baselines/reference/submodule/compiler/inferenceDoesntCompareAgainstUninstantiatedTypeParameter.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inferenceDoesntCompareAgainstUninstantiatedTypeParameter.js.diff
@@ -1,49 +1,21 @@
--- old.inferenceDoesntCompareAgainstUninstantiatedTypeParameter.js
+++ new.inferenceDoesntCompareAgainstUninstantiatedTypeParameter.js
-@@= skipped -37, +37 lines =@@
- //// [inferenceDoesntCompareAgainstUninstantiatedTypeParameter.js]
+@@= skipped -38, +38 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
--var ClassA = /** @class */ (function () {
-- function ClassA(entity, settings) {
-+class ClassA {
+ class ClassA {
+ entity;
+ settings;
-+ constructor(entity, settings) {
+ constructor(entity, settings) {
this.entity = entity;
this.settings = settings;
}
-- return ClassA;
--}());
--var ConcreteClass = /** @class */ (function () {
-- function ConcreteClass() {
+ }
+ class ConcreteClass {
+- constructor() {
- this.theName = 'myClass';
- }
-- return ConcreteClass;
--}());
-+}
-+class ConcreteClass {
+ theName = 'myClass';
-+}
+ }
var thisGetsTheFalseError = new ClassA(new ConcreteClass(), {
-- values: function (o) { return [
-+ values: o => [
- {
- value: o.theName,
-- func: function (x) { return 'asdfkjhgfdfghjkjhgfdfghjklkjhgfdfghjklkjhgfghj'; }
-+ func: x => 'asdfkjhgfdfghjkjhgfdfghjklkjhgfdfghjklkjhgfghj'
- }
-- ]; }
-+ ]
- });
- var thisIsOk = new ClassA(new ConcreteClass(), {
-- values: function (o) { return [
-+ values: o => [
- {
- value: o.theName,
-- func: function (x) { return 'asdfkjhgfdfghjkjhgfdfghjklkjhgfdfghjklkjhgfghj'; }
-+ func: x => 'asdfkjhgfdfghjkjhgfdfghjklkjhgfdfghjklkjhgfghj'
- }
-- ]; }
-+ ]
- });
\ No newline at end of file
+ values: o => [
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferenceFromParameterlessLambda.js.diff b/testdata/baselines/reference/submodule/compiler/inferenceFromParameterlessLambda.js.diff
deleted file mode 100644
index 831036b1e1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferenceFromParameterlessLambda.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.inferenceFromParameterlessLambda.js
-+++ new.inferenceFromParameterlessLambda.js
-@@= skipped -14, +14 lines =@@
- //// [inferenceFromParameterlessLambda.js]
- function foo(o, i) { }
- // Infer string from second argument because it isn't context sensitive
--foo(function (n) { return n.length; }, function () { return 'hi'; });
-+foo(n => n.length, () => 'hi');
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferenceOfNullableObjectTypesWithCommonBase.js.diff b/testdata/baselines/reference/submodule/compiler/inferenceOfNullableObjectTypesWithCommonBase.js.diff
index 3eacd40841..3cc48e4afe 100644
--- a/testdata/baselines/reference/submodule/compiler/inferenceOfNullableObjectTypesWithCommonBase.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inferenceOfNullableObjectTypesWithCommonBase.js.diff
@@ -6,8 +6,5 @@
//// [inferenceOfNullableObjectTypesWithCommonBase.js]
-"use strict";
function equal(a, b) { }
--var v = null;
-+let v = null;
- equal(v, v);
- equal(v, v);
+ let v = null;
equal(v, v);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferenceOptionalProperties.js.diff b/testdata/baselines/reference/submodule/compiler/inferenceOptionalProperties.js.diff
index 9cb0c4c8e7..f6f5b4c989 100644
--- a/testdata/baselines/reference/submodule/compiler/inferenceOptionalProperties.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inferenceOptionalProperties.js.diff
@@ -5,10 +5,6 @@
//// [inferenceOptionalProperties.js]
-"use strict";
--var y1 = test(x1);
--var y2 = test(x2);
-+const y1 = test(x1);
-+const y2 = test(x2);
- var v1;
- var v1;
- var v2;
\ No newline at end of file
+ const y1 = test(x1);
+ const y2 = test(x2);
+ var v1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferenceOptionalPropertiesStrict.js.diff b/testdata/baselines/reference/submodule/compiler/inferenceOptionalPropertiesStrict.js.diff
index f5ce0ddf52..fb8998eacf 100644
--- a/testdata/baselines/reference/submodule/compiler/inferenceOptionalPropertiesStrict.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inferenceOptionalPropertiesStrict.js.diff
@@ -5,10 +5,6 @@
//// [inferenceOptionalPropertiesStrict.js]
-"use strict";
--var y1 = test(x1);
--var y2 = test(x2);
-+const y1 = test(x1);
-+const y2 = test(x2);
- var v1;
- var v1;
- var v2;
\ No newline at end of file
+ const y1 = test(x1);
+ const y2 = test(x2);
+ var v1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferenceShouldFailOnEvolvingArrays.js.diff b/testdata/baselines/reference/submodule/compiler/inferenceShouldFailOnEvolvingArrays.js.diff
index c0c6f0e6e3..f5f285ddd1 100644
--- a/testdata/baselines/reference/submodule/compiler/inferenceShouldFailOnEvolvingArrays.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inferenceShouldFailOnEvolvingArrays.js.diff
@@ -7,20 +7,4 @@
-"use strict";
// repro from https://github.com/Microsoft/TypeScript/issues/25675
// The type of `arg` blocks inference but simplifies to T.
- function logLength(arg) {
-@@= skipped -8, +7 lines =@@
- return arg;
- }
- logLength(42); // error
--var z;
-+let z;
- z = logLength(42); // no error; T is inferred as `any`
- function logFirstLength(arg) {
- console.log(arg[0].length);
- return arg;
- }
- logFirstLength([42]); // error
--var zz = [];
-+let zz = [];
- zz.push(logLength(42)); // no error; T is inferred as `any`
- zz = logFirstLength([42]); // no error; T is inferred as `any[]`
\ No newline at end of file
+ function logLength(arg) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferenceUnionOfObjectsMappedContextualType.js.diff b/testdata/baselines/reference/submodule/compiler/inferenceUnionOfObjectsMappedContextualType.js.diff
index e5f3acf04b..5e6da2c637 100644
--- a/testdata/baselines/reference/submodule/compiler/inferenceUnionOfObjectsMappedContextualType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inferenceUnionOfObjectsMappedContextualType.js.diff
@@ -5,10 +5,6 @@
//// [inferenceUnionOfObjectsMappedContextualType.js]
-"use strict";
--var test = {
-+const test = {
+ const test = {
key: 'someDate',
- caption: 'My Date',
-- formatter: function (value) { return value ? value.toString() : '-'; } // value: any
-+ formatter: (value) => value ? value.toString() : '-' // value: any
- };
\ No newline at end of file
+ caption: 'My Date',
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferentialTypingObjectLiteralMethod1.js.diff b/testdata/baselines/reference/submodule/compiler/inferentialTypingObjectLiteralMethod1.js.diff
deleted file mode 100644
index a458c22700..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferentialTypingObjectLiteralMethod1.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.inferentialTypingObjectLiteralMethod1.js
-+++ new.inferentialTypingObjectLiteralMethod1.js
-@@= skipped -7, +7 lines =@@
- foo("", { method(p1) { return p1.length } }, { method(p2) { return undefined } });
-
- //// [inferentialTypingObjectLiteralMethod1.js]
--foo("", { method: function (p1) { return p1.length; } }, { method: function (p2) { return undefined; } });
-+foo("", { method(p1) { return p1.length; } }, { method(p2) { return undefined; } });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferentialTypingObjectLiteralMethod2.js.diff b/testdata/baselines/reference/submodule/compiler/inferentialTypingObjectLiteralMethod2.js.diff
deleted file mode 100644
index 805b8b13f5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferentialTypingObjectLiteralMethod2.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.inferentialTypingObjectLiteralMethod2.js
-+++ new.inferentialTypingObjectLiteralMethod2.js
-@@= skipped -7, +7 lines =@@
- foo("", { method(p1) { return p1.length } }, { method(p2) { return undefined } });
-
- //// [inferentialTypingObjectLiteralMethod2.js]
--foo("", { method: function (p1) { return p1.length; } }, { method: function (p2) { return undefined; } });
-+foo("", { method(p1) { return p1.length; } }, { method(p2) { return undefined; } });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferentialTypingUsingApparentType1.js.diff b/testdata/baselines/reference/submodule/compiler/inferentialTypingUsingApparentType1.js.diff
deleted file mode 100644
index f0ad09d279..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferentialTypingUsingApparentType1.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.inferentialTypingUsingApparentType1.js
-+++ new.inferentialTypingUsingApparentType1.js
-@@= skipped -10, +10 lines =@@
- function foo(x) {
- return undefined;
- }
--foo(function (x) { return x.length; });
-+foo(x => x.length);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferentialTypingUsingApparentType2.js.diff b/testdata/baselines/reference/submodule/compiler/inferentialTypingUsingApparentType2.js.diff
deleted file mode 100644
index 295c5b216a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferentialTypingUsingApparentType2.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.inferentialTypingUsingApparentType2.js
-+++ new.inferentialTypingUsingApparentType2.js
-@@= skipped -10, +10 lines =@@
- function foo(x) {
- return undefined;
- }
--foo({ m: function (x) { return x.length; } });
-+foo({ m(x) { return x.length; } });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferentialTypingUsingApparentType3.js.diff b/testdata/baselines/reference/submodule/compiler/inferentialTypingUsingApparentType3.js.diff
index bbeeaa1792..a1e83c8ca7 100644
--- a/testdata/baselines/reference/submodule/compiler/inferentialTypingUsingApparentType3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inferentialTypingUsingApparentType3.js.diff
@@ -1,42 +1,10 @@
--- old.inferentialTypingUsingApparentType3.js
+++ new.inferentialTypingUsingApparentType3.js
-@@= skipped -28, +28 lines =@@
- person.fields.id;
-
- //// [inferentialTypingUsingApparentType3.js]
--var CharField = /** @class */ (function () {
-- function CharField() {
-- }
-- CharField.prototype.clean = function (input) {
-+class CharField {
-+ clean(input) {
- return "Yup";
-- };
-- return CharField;
--}());
--var NumberField = /** @class */ (function () {
-- function NumberField() {
+@@= skipped -39, +39 lines =@@
}
-- NumberField.prototype.clean = function (input) {
-+}
-+class NumberField {
-+ clean(input) {
- return 123;
-- };
-- return NumberField;
--}());
--var ObjectField = /** @class */ (function () {
-- function ObjectField(fields) {
-+ }
-+}
-+class ObjectField {
+ }
+ class ObjectField {
+ fields;
-+ constructor(fields) {
+ constructor(fields) {
this.fields = fields;
- }
-- return ObjectField;
--}());
-+}
- var person = new ObjectField({
- id: new NumberField(),
- name: new CharField()
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferentialTypingWithFunctionTypeNested.js.diff b/testdata/baselines/reference/submodule/compiler/inferentialTypingWithFunctionTypeNested.js.diff
deleted file mode 100644
index 6aebf9728d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferentialTypingWithFunctionTypeNested.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.inferentialTypingWithFunctionTypeNested.js
-+++ new.inferentialTypingWithFunctionTypeNested.js
-@@= skipped -6, +6 lines =@@
- var s = map("", () => { return { x: identity }; });
-
- //// [inferentialTypingWithFunctionTypeNested.js]
--var s = map("", function () { return { x: identity }; });
-+var s = map("", () => { return { x: identity }; });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferentialTypingWithFunctionTypeSyntacticScenarios.js.diff b/testdata/baselines/reference/submodule/compiler/inferentialTypingWithFunctionTypeSyntacticScenarios.js.diff
deleted file mode 100644
index c2d0a3ac16..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferentialTypingWithFunctionTypeSyntacticScenarios.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.inferentialTypingWithFunctionTypeSyntacticScenarios.js
-+++ new.inferentialTypingWithFunctionTypeSyntacticScenarios.js
-@@= skipped -42, +42 lines =@@
- // index expression
- s = map("", dottedIdentity['x']);
- // function call
--s = map("", (function () { return identity; })());
-+s = map("", (() => identity)());
- var ic;
- s = map("", new ic());
- // assignment
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferredNonidentifierTypesGetQuotes.js.diff b/testdata/baselines/reference/submodule/compiler/inferredNonidentifierTypesGetQuotes.js.diff
deleted file mode 100644
index 61fe69e911..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferredNonidentifierTypesGetQuotes.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.inferredNonidentifierTypesGetQuotes.js
-+++ new.inferredNonidentifierTypesGetQuotes.js
-@@= skipped -5, +5 lines =@@
- var y = [{ ["a-b"]: "string" }, {}];
-
- //// [inferredNonidentifierTypesGetQuotes.js]
--var _a;
- var x = [{ "a-b": "string" }, {}];
--var y = [(_a = {}, _a["a-b"] = "string", _a), {}];
-+var y = [{ ["a-b"]: "string" }, {}];
-
-
- //// [inferredNonidentifierTypesGetQuotes.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferredRestTypeFixedOnce.js.diff b/testdata/baselines/reference/submodule/compiler/inferredRestTypeFixedOnce.js.diff
deleted file mode 100644
index b3f66c8627..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferredRestTypeFixedOnce.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.inferredRestTypeFixedOnce.js
-+++ new.inferredRestTypeFixedOnce.js
-@@= skipped -6, +6 lines =@@
-
- //// [inferredRestTypeFixedOnce.js]
- function wrap(_) { }
--wrap(function (_a) {
-- var _b = _a === void 0 ? {} : _a, cancelable = _b.cancelable;
--});
-+wrap(({ cancelable } = {}) => { });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferredReturnTypeIncorrectReuse1.js.diff b/testdata/baselines/reference/submodule/compiler/inferredReturnTypeIncorrectReuse1.js.diff
deleted file mode 100644
index eef140d354..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferredReturnTypeIncorrectReuse1.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.inferredReturnTypeIncorrectReuse1.js
-+++ new.inferredReturnTypeIncorrectReuse1.js
-@@= skipped -35, +35 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.out2 = exports.out = void 0;
- /** Type<(In: string) => number> */
--exports.out = t.pipe(function (s) { return parseInt(s); });
-+exports.out = t.pipe(s => parseInt(s));
- /** Type<(In: string) => number> */
--exports.out2 = t2.pipe(function (s) { return parseInt(s); });
-+exports.out2 = t2.pipe(s => parseInt(s));
-
-
- //// [inferredReturnTypeIncorrectReuse1.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType1.js.diff b/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType1.js.diff
deleted file mode 100644
index c69a9d760d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType1.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.inferringAnyFunctionType1.js
-+++ new.inferringAnyFunctionType1.js
-@@= skipped -11, +11 lines =@@
- function f(p) {
- return p;
- }
--var v = f([function (x) { return x; }]);
-+var v = f([x => x]);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType2.js.diff b/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType2.js.diff
deleted file mode 100644
index 7b052dd3d8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType2.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.inferringAnyFunctionType2.js
-+++ new.inferringAnyFunctionType2.js
-@@= skipped -10, +10 lines =@@
- function f(p) {
- return p;
- }
--var v = f([function (x) { return x; }]);
-+var v = f([x => x]);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType3.js.diff b/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType3.js.diff
deleted file mode 100644
index 2c1102f969..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType3.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.inferringAnyFunctionType3.js
-+++ new.inferringAnyFunctionType3.js
-@@= skipped -10, +10 lines =@@
- function f(p) {
- return p;
- }
--var v = f([function (x) { return x; }]);
-+var v = f([x => x]);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType4.js.diff b/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType4.js.diff
deleted file mode 100644
index 1b735f1604..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType4.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.inferringAnyFunctionType4.js
-+++ new.inferringAnyFunctionType4.js
-@@= skipped -10, +10 lines =@@
- function f(p) {
- return p;
- }
--var v = f(function (x) { return x; });
-+var v = f(x => x);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType5.js.diff b/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType5.js.diff
deleted file mode 100644
index df215a09e8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferringAnyFunctionType5.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.inferringAnyFunctionType5.js
-+++ new.inferringAnyFunctionType5.js
-@@= skipped -10, +10 lines =@@
- function f(p) {
- return p;
- }
--var v = f({ q: function (x) { return x; } });
-+var v = f({ q: x => x });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inferringReturnTypeFromConstructSignatureGeneric.js.diff b/testdata/baselines/reference/submodule/compiler/inferringReturnTypeFromConstructSignatureGeneric.js.diff
deleted file mode 100644
index a96b933ac0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inferringReturnTypeFromConstructSignatureGeneric.js.diff
+++ /dev/null
@@ -1,68 +0,0 @@
---- old.inferringReturnTypeFromConstructSignatureGeneric.js
-+++ new.inferringReturnTypeFromConstructSignatureGeneric.js
-@@= skipped -36, +36 lines =@@
-
-
- //// [inferringReturnTypeFromConstructSignatureGeneric.js]
--var GenericObject = /** @class */ (function () {
-- function GenericObject() {
-- }
-- GenericObject.prototype.give = function (value) {
-- return value;
-- };
-- return GenericObject;
--}());
--var GenericNumber = /** @class */ (function () {
-- function GenericNumber() {
-- }
-- GenericNumber.prototype.give = function (value) {
-- return value;
-- };
-- return GenericNumber;
--}());
--var GenericNumberOrString = /** @class */ (function () {
-- function GenericNumberOrString() {
-- }
-- GenericNumberOrString.prototype.give = function (value) {
-- return value;
-- };
-- return GenericNumberOrString;
--}());
-+class GenericObject {
-+ give(value) {
-+ return value;
-+ }
-+}
-+class GenericNumber {
-+ give(value) {
-+ return value;
-+ }
-+}
-+class GenericNumberOrString {
-+ give(value) {
-+ return value;
-+ }
-+}
- function g(type) {
- return new type();
- }
--var g1 = g(GenericObject);
-+const g1 = g(GenericObject);
- g1.give({});
--var g2 = g(GenericNumber);
-+const g2 = g(GenericNumber);
- g2.give(1);
--var g3 = g(GenericNumberOrString);
-+const g3 = g(GenericNumberOrString);
- g3.give(1);
- g3.give('1');
- // repro from #35636
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var g4 = g(C);
-+class C {
-+}
-+const g4 = g(C);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/infiniteConstraints.js.diff b/testdata/baselines/reference/submodule/compiler/infiniteConstraints.js.diff
index 3814e4fa3e..bccf326f67 100644
--- a/testdata/baselines/reference/submodule/compiler/infiniteConstraints.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/infiniteConstraints.js.diff
@@ -6,11 +6,5 @@
"use strict";
-// Both of the following types trigger the recursion limiter in getImmediateBaseConstraint
Object.defineProperty(exports, "__esModule", { value: true });
--var out = myBug({ obj1: { a: "test" } });
--var noError = ensureNoDuplicates({ main: value("test"), alternate: value("test2") });
--var shouldBeNoError = ensureNoDuplicates({ main: value("test") });
--var shouldBeError = ensureNoDuplicates({ main: value("dup"), alternate: value("dup") });
-+const out = myBug({ obj1: { a: "test" } });
-+const noError = ensureNoDuplicates({ main: value("test"), alternate: value("test2") });
-+const shouldBeNoError = ensureNoDuplicates({ main: value("test") });
-+const shouldBeError = ensureNoDuplicates({ main: value("dup"), alternate: value("dup") });
\ No newline at end of file
+ const out = myBug({ obj1: { a: "test" } });
+ const noError = ensureNoDuplicates({ main: value("test"), alternate: value("test2") });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/infinitelyExpandingOverloads.js.diff b/testdata/baselines/reference/submodule/compiler/infinitelyExpandingOverloads.js.diff
index 8696a84ba6..10412b7bbd 100644
--- a/testdata/baselines/reference/submodule/compiler/infinitelyExpandingOverloads.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/infinitelyExpandingOverloads.js.diff
@@ -1,42 +1,16 @@
--- old.infinitelyExpandingOverloads.js
+++ new.infinitelyExpandingOverloads.js
-@@= skipped -28, +28 lines =@@
- }
+@@= skipped -29, +29 lines =@@
//// [infinitelyExpandingOverloads.js]
--var Validator2 = /** @class */ (function () {
-- function Validator2() {
-- }
-- return Validator2;
--}());
--var ViewModel = /** @class */ (function () {
-- function ViewModel() {
+ class Validator2 {
++ _subscription;
+ }
+ class ViewModel {
+- constructor() {
- this.validationPlacements = new Array();
- }
-- return ViewModel;
--}());
--var Widget = /** @class */ (function () {
-- function Widget(viewModelType) {
-- }
-- Object.defineProperty(Widget.prototype, "options", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return Widget;
--}());
-+class Validator2 {
-+ _subscription;
-+}
-+class ViewModel {
+ validationPlacements = new Array();
-+}
-+class Widget {
-+ constructor(viewModelType) {
-+ }
-+ get options() {
-+ return null;
-+ }
-+}
\ No newline at end of file
+ }
+ class Widget {
+ constructor(viewModelType) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/infinitelyExpandingTypesNonGenericBase.js.diff b/testdata/baselines/reference/submodule/compiler/infinitelyExpandingTypesNonGenericBase.js.diff
index 73b6bb4dc1..6370cdf603 100644
--- a/testdata/baselines/reference/submodule/compiler/infinitelyExpandingTypesNonGenericBase.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/infinitelyExpandingTypesNonGenericBase.js.diff
@@ -1,49 +1,15 @@
--- old.infinitelyExpandingTypesNonGenericBase.js
+++ new.infinitelyExpandingTypesNonGenericBase.js
-@@= skipped -26, +26 lines =@@
-
+@@= skipped -27, +27 lines =@@
//// [infinitelyExpandingTypesNonGenericBase.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Functionality = /** @class */ (function () {
-- function Functionality() {
-- }
-- return Functionality;
--}());
--var Base = /** @class */ (function () {
-- function Base() {
-- }
-- return Base;
--}());
--var A = /** @class */ (function (_super) {
-- __extends(A, _super);
-- function A() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return A;
--}(Base));
-+class Functionality {
+ class Functionality {
+ property;
-+}
-+class Base {
-+}
-+class A extends Base {
+ }
+ class Base {
+ }
+ class A extends Base {
+ options;
-+}
- function o(type) {
}
- o(A);
\ No newline at end of file
+ function o(type) {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritFromGenericTypeParameter.js.diff b/testdata/baselines/reference/submodule/compiler/inheritFromGenericTypeParameter.js.diff
deleted file mode 100644
index fe72624345..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritFromGenericTypeParameter.js.diff
+++ /dev/null
@@ -1,30 +0,0 @@
---- old.inheritFromGenericTypeParameter.js
-+++ new.inheritFromGenericTypeParameter.js
-@@= skipped -4, +4 lines =@@
- interface I extends T { }
-
- //// [inheritFromGenericTypeParameter.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(T));
-+class C extends T {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritSameNamePrivatePropertiesFromDifferentOrigins.js.diff b/testdata/baselines/reference/submodule/compiler/inheritSameNamePrivatePropertiesFromDifferentOrigins.js.diff
index 3c3b663686..91045dc88f 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritSameNamePrivatePropertiesFromDifferentOrigins.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritSameNamePrivatePropertiesFromDifferentOrigins.js.diff
@@ -1,22 +1,11 @@
--- old.inheritSameNamePrivatePropertiesFromDifferentOrigins.js
+++ new.inheritSameNamePrivatePropertiesFromDifferentOrigins.js
-@@= skipped -13, +13 lines =@@
- }
+@@= skipped -14, +14 lines =@@
//// [inheritSameNamePrivatePropertiesFromDifferentOrigins.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
--}());
-+class C {
+ class C {
+ x;
-+}
-+class C2 {
+ }
+ class C2 {
+ x;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritSameNamePrivatePropertiesFromSameOrigin.js.diff b/testdata/baselines/reference/submodule/compiler/inheritSameNamePrivatePropertiesFromSameOrigin.js.diff
index fc9b0f0475..a4bcd08fe6 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritSameNamePrivatePropertiesFromSameOrigin.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritSameNamePrivatePropertiesFromSameOrigin.js.diff
@@ -1,47 +1,10 @@
--- old.inheritSameNamePrivatePropertiesFromSameOrigin.js
+++ new.inheritSameNamePrivatePropertiesFromSameOrigin.js
-@@= skipped -12, +12 lines =@@
- }
+@@= skipped -13, +13 lines =@@
//// [inheritSameNamePrivatePropertiesFromSameOrigin.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(B));
--var C2 = /** @class */ (function (_super) {
-- __extends(C2, _super);
-- function C2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C2;
--}(B));
-+class B {
+ class B {
+ x;
-+}
-+class C extends B {
-+}
-+class C2 extends B {
-+}
\ No newline at end of file
+ }
+ class C extends B {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritSameNamePropertiesWithDifferentVisibility.js.diff b/testdata/baselines/reference/submodule/compiler/inheritSameNamePropertiesWithDifferentVisibility.js.diff
index 6411b3e46e..048b9c927e 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritSameNamePropertiesWithDifferentVisibility.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritSameNamePropertiesWithDifferentVisibility.js.diff
@@ -1,22 +1,11 @@
--- old.inheritSameNamePropertiesWithDifferentVisibility.js
+++ new.inheritSameNamePropertiesWithDifferentVisibility.js
-@@= skipped -13, +13 lines =@@
- }
+@@= skipped -14, +14 lines =@@
//// [inheritSameNamePropertiesWithDifferentVisibility.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
--}());
-+class C {
+ class C {
+ x;
-+}
-+class C2 {
+ }
+ class C2 {
+ x;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritance.js.diff b/testdata/baselines/reference/submodule/compiler/inheritance.js.diff
index e657223681..2fcf118ba6 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritance.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritance.js.diff
@@ -1,97 +1,29 @@
--- old.inheritance.js
+++ new.inheritance.js
-@@= skipped -36, +36 lines =@@
-
+@@= skipped -37, +37 lines =@@
//// [inheritance.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var B1 = /** @class */ (function () {
-- function B1() {
-- }
-- return B1;
--}());
--var B2 = /** @class */ (function () {
-- function B2() {
-- }
-- return B2;
--}());
--var D1 = /** @class */ (function (_super) {
-- __extends(D1, _super);
-- function D1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return D1;
--}(B1));
--var D2 = /** @class */ (function (_super) {
-- __extends(D2, _super);
-- function D2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return D2;
--}(B2));
--var N = /** @class */ (function () {
-- function N() {
-- }
-- return N;
--}());
--var ND = /** @class */ (function (_super) {
-- __extends(ND, _super);
-- function ND() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return ND;
--}(N));
--var Good = /** @class */ (function () {
-- function Good() {
-- this.f = function () { return 0; };
-- }
-- Good.prototype.g = function () { return 0; };
-- return Good;
--}());
--var Baad = /** @class */ (function (_super) {
-- __extends(Baad, _super);
-- function Baad() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Baad.prototype.f = function () { return 0; };
-- Baad.prototype.g = function (n) { return 0; };
-- return Baad;
--}(Good));
-+class B1 {
+ class B1 {
+ x;
-+}
-+class B2 {
+ }
+ class B2 {
+ x;
-+}
-+class D1 extends B1 {
-+}
-+class D2 extends B2 {
-+}
-+class N {
+ }
+ class D1 extends B1 {
+ }
+ class D2 extends B2 {
+ }
+ class N {
+ y;
-+}
-+class ND extends N {
+ }
+ class ND extends N {
+ y;
-+}
-+class Good {
+ }
+ class Good {
+- constructor() {
+- this.f = function () { return 0; };
+- }
+ f = function () { return 0; };
-+ g() { return 0; }
-+}
-+class Baad extends Good {
-+ f() { return 0; }
-+ g(n) { return 0; }
-+}
\ No newline at end of file
+ g() { return 0; }
+ }
+ class Baad extends Good {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritance1.js.diff b/testdata/baselines/reference/submodule/compiler/inheritance1.js.diff
index eaaec4c856..4f41828894 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritance1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritance1.js.diff
@@ -1,90 +1,10 @@
--- old.inheritance1.js
+++ new.inheritance1.js
-@@= skipped -63, +63 lines =@@
- l1 = c;
+@@= skipped -64, +64 lines =@@
//// [inheritance1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Control = /** @class */ (function () {
-- function Control() {
-- }
-- return Control;
--}());
--var Button = /** @class */ (function (_super) {
-- __extends(Button, _super);
-- function Button() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Button.prototype.select = function () { };
-- return Button;
--}(Control));
--var TextBox = /** @class */ (function (_super) {
-- __extends(TextBox, _super);
-- function TextBox() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- TextBox.prototype.select = function () { };
-- return TextBox;
--}(Control));
--var ImageBase = /** @class */ (function (_super) {
-- __extends(ImageBase, _super);
-- function ImageBase() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return ImageBase;
--}(Control));
--var Image1 = /** @class */ (function (_super) {
-- __extends(Image1, _super);
-- function Image1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Image1;
--}(Control));
--var Locations = /** @class */ (function () {
-- function Locations() {
-- }
-- Locations.prototype.select = function () { };
-- return Locations;
--}());
--var Locations1 = /** @class */ (function () {
-- function Locations1() {
-- }
-- Locations1.prototype.select = function () { };
-- return Locations1;
--}());
-+class Control {
+ class Control {
+ state;
-+}
-+class Button extends Control {
-+ select() { }
-+}
-+class TextBox extends Control {
-+ select() { }
-+}
-+class ImageBase extends Control {
-+}
-+class Image1 extends Control {
-+}
-+class Locations {
-+ select() { }
-+}
-+class Locations1 {
-+ select() { }
-+}
- var sc;
- var c;
- var b;
\ No newline at end of file
+ }
+ class Button extends Control {
+ select() { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceGrandParentPrivateMemberCollision.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceGrandParentPrivateMemberCollision.js.diff
deleted file mode 100644
index 0538af104c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritanceGrandParentPrivateMemberCollision.js.diff
+++ /dev/null
@@ -1,50 +0,0 @@
---- old.inheritanceGrandParentPrivateMemberCollision.js
-+++ new.inheritanceGrandParentPrivateMemberCollision.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [inheritanceGrandParentPrivateMemberCollision.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.myMethod = function () { };
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- C.prototype.myMethod = function () { };
-- return C;
--}(B));
-+class A {
-+ myMethod() { }
-+}
-+class B extends A {
-+}
-+class C extends B {
-+ myMethod() { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js.diff
deleted file mode 100644
index 427995b3f0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js.diff
+++ /dev/null
@@ -1,50 +0,0 @@
---- old.inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js
-+++ new.inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.myMethod = function () { };
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- C.prototype.myMethod = function () { };
-- return C;
--}(B));
-+class A {
-+ myMethod() { }
-+}
-+class B extends A {
-+}
-+class C extends B {
-+ myMethod() { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js.diff
deleted file mode 100644
index e688487920..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js.diff
+++ /dev/null
@@ -1,50 +0,0 @@
---- old.inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js
-+++ new.inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.myMethod = function () { };
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- C.prototype.myMethod = function () { };
-- return C;
--}(B));
-+class A {
-+ myMethod() { }
-+}
-+class B extends A {
-+}
-+class C extends B {
-+ myMethod() { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceMemberAccessorOverridingAccessor.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceMemberAccessorOverridingAccessor.js.diff
deleted file mode 100644
index 160c2e31c8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritanceMemberAccessorOverridingAccessor.js.diff
+++ /dev/null
@@ -1,65 +0,0 @@
---- old.inheritanceMemberAccessorOverridingAccessor.js
-+++ new.inheritanceMemberAccessorOverridingAccessor.js
-@@= skipped -19, +19 lines =@@
- }
-
- //// [inheritanceMemberAccessorOverridingAccessor.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- Object.defineProperty(a.prototype, "x", {
-- get: function () {
-- return "20";
-- },
-- set: function (aValue) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Object.defineProperty(b.prototype, "x", {
-- get: function () {
-- return "20";
-- },
-- set: function (aValue) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return b;
--}(a));
-+class a {
-+ get x() {
-+ return "20";
-+ }
-+ set x(aValue) {
-+ }
-+}
-+class b extends a {
-+ get x() {
-+ return "20";
-+ }
-+ set x(aValue) {
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceMemberAccessorOverridingMethod.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceMemberAccessorOverridingMethod.js.diff
deleted file mode 100644
index 1723ea3252..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritanceMemberAccessorOverridingMethod.js.diff
+++ /dev/null
@@ -1,56 +0,0 @@
---- old.inheritanceMemberAccessorOverridingMethod.js
-+++ new.inheritanceMemberAccessorOverridingMethod.js
-@@= skipped -16, +16 lines =@@
- }
-
- //// [inheritanceMemberAccessorOverridingMethod.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- a.prototype.x = function () {
-+class a {
-+ x() {
- return "20";
-- };
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Object.defineProperty(b.prototype, "x", {
-- get: function () {
-- return function () { return "20"; };
-- },
-- set: function (aValue) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return b;
--}(a));
-+ }
-+}
-+class b extends a {
-+ get x() {
-+ return () => "20";
-+ }
-+ set x(aValue) {
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceMemberAccessorOverridingProperty.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceMemberAccessorOverridingProperty.js.diff
index f10313bcb3..72082ed696 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritanceMemberAccessorOverridingProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritanceMemberAccessorOverridingProperty.js.diff
@@ -1,52 +1,10 @@
--- old.inheritanceMemberAccessorOverridingProperty.js
+++ new.inheritanceMemberAccessorOverridingProperty.js
-@@= skipped -14, +14 lines =@@
- }
+@@= skipped -15, +15 lines =@@
//// [inheritanceMemberAccessorOverridingProperty.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Object.defineProperty(b.prototype, "x", {
-- get: function () {
-- return "20";
-- },
-- set: function (aValue) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return b;
--}(a));
-+class a {
+ class a {
+ x;
-+}
-+class b extends a {
-+ get x() {
-+ return "20";
-+ }
-+ set x(aValue) {
-+ }
-+}
\ No newline at end of file
+ }
+ class b extends a {
+ get x() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceMemberFuncOverridingAccessor.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceMemberFuncOverridingAccessor.js.diff
deleted file mode 100644
index 5a20044b63..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritanceMemberFuncOverridingAccessor.js.diff
+++ /dev/null
@@ -1,57 +0,0 @@
---- old.inheritanceMemberFuncOverridingAccessor.js
-+++ new.inheritanceMemberFuncOverridingAccessor.js
-@@= skipped -16, +16 lines =@@
- }
-
- //// [inheritanceMemberFuncOverridingAccessor.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- Object.defineProperty(a.prototype, "x", {
-- get: function () {
-- return "20";
-- },
-- set: function (aValue) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- b.prototype.x = function () {
-- return "20";
-- };
-- return b;
--}(a));
-+class a {
-+ get x() {
-+ return "20";
-+ }
-+ set x(aValue) {
-+ }
-+}
-+class b extends a {
-+ x() {
-+ return "20";
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceMemberFuncOverridingMethod.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceMemberFuncOverridingMethod.js.diff
deleted file mode 100644
index 9e656c8345..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritanceMemberFuncOverridingMethod.js.diff
+++ /dev/null
@@ -1,46 +0,0 @@
---- old.inheritanceMemberFuncOverridingMethod.js
-+++ new.inheritanceMemberFuncOverridingMethod.js
-@@= skipped -13, +13 lines =@@
- }
-
- //// [inheritanceMemberFuncOverridingMethod.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- a.prototype.x = function () {
-+class a {
-+ x() {
- return "10";
-- };
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
- }
-- b.prototype.x = function () {
-+}
-+class b extends a {
-+ x() {
- return "20";
-- };
-- return b;
--}(a));
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceMemberFuncOverridingProperty.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceMemberFuncOverridingProperty.js.diff
index 902f861557..75445c5242 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritanceMemberFuncOverridingProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritanceMemberFuncOverridingProperty.js.diff
@@ -1,43 +1,10 @@
--- old.inheritanceMemberFuncOverridingProperty.js
+++ new.inheritanceMemberFuncOverridingProperty.js
-@@= skipped -11, +11 lines =@@
- }
+@@= skipped -12, +12 lines =@@
//// [inheritanceMemberFuncOverridingProperty.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- b.prototype.x = function () {
-+class a {
+ class a {
+ x;
-+}
-+class b extends a {
-+ x() {
- return "20";
-- };
-- return b;
--}(a));
-+ }
-+}
\ No newline at end of file
+ }
+ class b extends a {
+ x() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceMemberPropertyOverridingAccessor.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceMemberPropertyOverridingAccessor.js.diff
index 274aa5eadb..2c31dbe4d9 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritanceMemberPropertyOverridingAccessor.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritanceMemberPropertyOverridingAccessor.js.diff
@@ -1,55 +1,16 @@
--- old.inheritanceMemberPropertyOverridingAccessor.js
+++ new.inheritanceMemberPropertyOverridingAccessor.js
-@@= skipped -15, +15 lines =@@
- }
+@@= skipped -16, +16 lines =@@
//// [inheritanceMemberPropertyOverridingAccessor.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- Object.defineProperty(a.prototype, "x", {
-- get: function () {
-- return this.__x;
-- },
-- set: function (aValue) {
-- this.__x = aValue;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return b;
--}(a));
-+class a {
+ class a {
+ __x;
-+ get x() {
-+ return this.__x;
-+ }
-+ set x(aValue) {
-+ this.__x = aValue;
-+ }
-+}
-+class b extends a {
+ get x() {
+ return this.__x;
+ }
+@@= skipped -8, +9 lines =@@
+ }
+ }
+ class b extends a {
+ x;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceMemberPropertyOverridingMethod.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceMemberPropertyOverridingMethod.js.diff
index 6d543e82f1..dc2d8f8274 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritanceMemberPropertyOverridingMethod.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritanceMemberPropertyOverridingMethod.js.diff
@@ -1,42 +1,8 @@
--- old.inheritanceMemberPropertyOverridingMethod.js
+++ new.inheritanceMemberPropertyOverridingMethod.js
-@@= skipped -11, +11 lines =@@
- }
-
- //// [inheritanceMemberPropertyOverridingMethod.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- a.prototype.x = function () {
-+class a {
-+ x() {
- return "20";
-- };
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
+@@= skipped -17, +17 lines =@@
}
-- return b;
--}(a));
-+}
-+class b extends a {
+ }
+ class b extends a {
+ x;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceMemberPropertyOverridingProperty.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceMemberPropertyOverridingProperty.js.diff
index 6c68252996..daf9cca6b4 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritanceMemberPropertyOverridingProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritanceMemberPropertyOverridingProperty.js.diff
@@ -1,39 +1,11 @@
--- old.inheritanceMemberPropertyOverridingProperty.js
+++ new.inheritanceMemberPropertyOverridingProperty.js
-@@= skipped -9, +9 lines =@@
- }
+@@= skipped -10, +10 lines =@@
//// [inheritanceMemberPropertyOverridingProperty.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return b;
--}(a));
-+class a {
+ class a {
+ x;
-+}
-+class b extends a {
+ }
+ class b extends a {
+ x;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceOfGenericConstructorMethod1.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceOfGenericConstructorMethod1.js.diff
deleted file mode 100644
index dd0355721f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritanceOfGenericConstructorMethod1.js.diff
+++ /dev/null
@@ -1,40 +0,0 @@
---- old.inheritanceOfGenericConstructorMethod1.js
-+++ new.inheritanceOfGenericConstructorMethod1.js
-@@= skipped -9, +9 lines =@@
-
-
- //// [inheritanceOfGenericConstructorMethod1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class A {
-+}
-+class B extends A {
-+}
- var a = new A();
- var b1 = new B(); // no error
- var b2 = new B(); // no error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceOfGenericConstructorMethod2.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceOfGenericConstructorMethod2.js.diff
deleted file mode 100644
index af103e228a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritanceOfGenericConstructorMethod2.js.diff
+++ /dev/null
@@ -1,64 +0,0 @@
---- old.inheritanceOfGenericConstructorMethod2.js
-+++ new.inheritanceOfGenericConstructorMethod2.js
-@@= skipped -16, +16 lines =@@
-
-
- //// [inheritanceOfGenericConstructorMethod2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var M;
- (function (M) {
-- var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
-- }());
-+ class C1 {
-+ }
- M.C1 = C1;
-- var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
-- }());
-+ class C2 {
-+ }
- M.C2 = C2;
- })(M || (M = {}));
- var N;
- (function (N) {
-- var D1 = /** @class */ (function (_super) {
-- __extends(D1, _super);
-- function D1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return D1;
-- }(M.C1));
-+ class D1 extends M.C1 {
-+ }
- N.D1 = D1;
-- var D2 = /** @class */ (function (_super) {
-- __extends(D2, _super);
-- function D2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return D2;
-- }(M.C2));
-+ class D2 extends M.C2 {
-+ }
- N.D2 = D2;
- })(N || (N = {}));
- var c = new M.C2(); // no error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceStaticAccessorOverridingAccessor.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceStaticAccessorOverridingAccessor.js.diff
deleted file mode 100644
index c0b2470318..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritanceStaticAccessorOverridingAccessor.js.diff
+++ /dev/null
@@ -1,65 +0,0 @@
---- old.inheritanceStaticAccessorOverridingAccessor.js
-+++ new.inheritanceStaticAccessorOverridingAccessor.js
-@@= skipped -19, +19 lines =@@
- }
-
- //// [inheritanceStaticAccessorOverridingAccessor.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- Object.defineProperty(a, "x", {
-- get: function () {
-- return "20";
-- },
-- set: function (aValue) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Object.defineProperty(b, "x", {
-- get: function () {
-- return "20";
-- },
-- set: function (aValue) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return b;
--}(a));
-+class a {
-+ static get x() {
-+ return "20";
-+ }
-+ static set x(aValue) {
-+ }
-+}
-+class b extends a {
-+ static get x() {
-+ return "20";
-+ }
-+ static set x(aValue) {
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceStaticAccessorOverridingMethod.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceStaticAccessorOverridingMethod.js.diff
deleted file mode 100644
index d7c82a1cd5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritanceStaticAccessorOverridingMethod.js.diff
+++ /dev/null
@@ -1,57 +0,0 @@
---- old.inheritanceStaticAccessorOverridingMethod.js
-+++ new.inheritanceStaticAccessorOverridingMethod.js
-@@= skipped -16, +16 lines =@@
- }
-
- //// [inheritanceStaticAccessorOverridingMethod.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- a.x = function () {
-- return "20";
-- };
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Object.defineProperty(b, "x", {
-- get: function () {
-- return "20";
-- },
-- set: function (aValue) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return b;
--}(a));
-+class a {
-+ static x() {
-+ return "20";
-+ }
-+}
-+class b extends a {
-+ static get x() {
-+ return "20";
-+ }
-+ static set x(aValue) {
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceStaticAccessorOverridingProperty.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceStaticAccessorOverridingProperty.js.diff
index 8c70aca2dc..cf2ed2a431 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritanceStaticAccessorOverridingProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritanceStaticAccessorOverridingProperty.js.diff
@@ -1,52 +1,10 @@
--- old.inheritanceStaticAccessorOverridingProperty.js
+++ new.inheritanceStaticAccessorOverridingProperty.js
-@@= skipped -14, +14 lines =@@
- }
+@@= skipped -15, +15 lines =@@
//// [inheritanceStaticAccessorOverridingProperty.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Object.defineProperty(b, "x", {
-- get: function () {
-- return "20";
-- },
-- set: function (aValue) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return b;
--}(a));
-+class a {
+ class a {
+ static x;
-+}
-+class b extends a {
-+ static get x() {
-+ return "20";
-+ }
-+ static set x(aValue) {
-+ }
-+}
\ No newline at end of file
+ }
+ class b extends a {
+ static get x() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingAccessor.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingAccessor.js.diff
deleted file mode 100644
index 008c54f6eb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingAccessor.js.diff
+++ /dev/null
@@ -1,57 +0,0 @@
---- old.inheritanceStaticFuncOverridingAccessor.js
-+++ new.inheritanceStaticFuncOverridingAccessor.js
-@@= skipped -16, +16 lines =@@
- }
-
- //// [inheritanceStaticFuncOverridingAccessor.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- Object.defineProperty(a, "x", {
-- get: function () {
-- return "20";
-- },
-- set: function (aValue) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- b.x = function () {
-- return "20";
-- };
-- return b;
--}(a));
-+class a {
-+ static get x() {
-+ return "20";
-+ }
-+ static set x(aValue) {
-+ }
-+}
-+class b extends a {
-+ static x() {
-+ return "20";
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingAccessorOfFuncType.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingAccessorOfFuncType.js.diff
deleted file mode 100644
index e30ceb7af9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingAccessorOfFuncType.js.diff
+++ /dev/null
@@ -1,52 +0,0 @@
---- old.inheritanceStaticFuncOverridingAccessorOfFuncType.js
-+++ new.inheritanceStaticFuncOverridingAccessorOfFuncType.js
-@@= skipped -13, +13 lines =@@
- }
-
- //// [inheritanceStaticFuncOverridingAccessorOfFuncType.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- Object.defineProperty(a, "x", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- b.x = function () {
-+class a {
-+ static get x() {
-+ return null;
-+ }
-+}
-+class b extends a {
-+ static x() {
- return "20";
-- };
-- return b;
--}(a));
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingMethod.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingMethod.js.diff
deleted file mode 100644
index 3235ea3e2b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingMethod.js.diff
+++ /dev/null
@@ -1,46 +0,0 @@
---- old.inheritanceStaticFuncOverridingMethod.js
-+++ new.inheritanceStaticFuncOverridingMethod.js
-@@= skipped -13, +13 lines =@@
- }
-
- //// [inheritanceStaticFuncOverridingMethod.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- a.x = function () {
-+class a {
-+ static x() {
- return "10";
-- };
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
- }
-- b.x = function () {
-+}
-+class b extends a {
-+ static x() {
- return "20";
-- };
-- return b;
--}(a));
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingProperty.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingProperty.js.diff
index b8285f93e9..ff982b1966 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingProperty.js.diff
@@ -1,43 +1,10 @@
--- old.inheritanceStaticFuncOverridingProperty.js
+++ new.inheritanceStaticFuncOverridingProperty.js
-@@= skipped -11, +11 lines =@@
- }
+@@= skipped -12, +12 lines =@@
//// [inheritanceStaticFuncOverridingProperty.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- b.x = function () {
-+class a {
+ class a {
+ static x;
-+}
-+class b extends a {
-+ static x() {
- return "20";
-- };
-- return b;
--}(a));
-+ }
-+}
\ No newline at end of file
+ }
+ class b extends a {
+ static x() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingPropertyOfFuncType.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingPropertyOfFuncType.js.diff
index 1f74a80783..ab3dc65636 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingPropertyOfFuncType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritanceStaticFuncOverridingPropertyOfFuncType.js.diff
@@ -1,43 +1,10 @@
--- old.inheritanceStaticFuncOverridingPropertyOfFuncType.js
+++ new.inheritanceStaticFuncOverridingPropertyOfFuncType.js
-@@= skipped -11, +11 lines =@@
- }
+@@= skipped -12, +12 lines =@@
//// [inheritanceStaticFuncOverridingPropertyOfFuncType.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- b.x = function () {
-+class a {
+ class a {
+ static x;
-+}
-+class b extends a {
-+ static x() {
- return "20";
-- };
-- return b;
--}(a));
-+ }
-+}
\ No newline at end of file
+ }
+ class b extends a {
+ static x() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceStaticFunctionOverridingInstanceProperty.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceStaticFunctionOverridingInstanceProperty.js.diff
index acc8a8911c..9477742dc4 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritanceStaticFunctionOverridingInstanceProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritanceStaticFunctionOverridingInstanceProperty.js.diff
@@ -1,43 +1,10 @@
--- old.inheritanceStaticFunctionOverridingInstanceProperty.js
+++ new.inheritanceStaticFunctionOverridingInstanceProperty.js
-@@= skipped -11, +11 lines =@@
- }
+@@= skipped -12, +12 lines =@@
//// [inheritanceStaticFunctionOverridingInstanceProperty.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- b.x = function () {
-+class a {
+ class a {
+ x;
-+}
-+class b extends a {
-+ static x() {
- return new b().x;
-- };
-- return b;
--}(a));
-+ }
-+}
\ No newline at end of file
+ }
+ class b extends a {
+ static x() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceStaticMembersCompatible.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceStaticMembersCompatible.js.diff
index 3269ccef32..d1d9f489fc 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritanceStaticMembersCompatible.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritanceStaticMembersCompatible.js.diff
@@ -1,39 +1,11 @@
--- old.inheritanceStaticMembersCompatible.js
+++ new.inheritanceStaticMembersCompatible.js
-@@= skipped -9, +9 lines =@@
- }
+@@= skipped -10, +10 lines =@@
//// [inheritanceStaticMembersCompatible.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return b;
--}(a));
-+class a {
+ class a {
+ static x;
-+}
-+class b extends a {
+ }
+ class b extends a {
+ static x;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceStaticMembersIncompatible.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceStaticMembersIncompatible.js.diff
index 8767e779f8..433c2c04ae 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritanceStaticMembersIncompatible.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritanceStaticMembersIncompatible.js.diff
@@ -1,39 +1,11 @@
--- old.inheritanceStaticMembersIncompatible.js
+++ new.inheritanceStaticMembersIncompatible.js
-@@= skipped -9, +9 lines =@@
- }
+@@= skipped -10, +10 lines =@@
//// [inheritanceStaticMembersIncompatible.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return b;
--}(a));
-+class a {
+ class a {
+ static x;
-+}
-+class b extends a {
+ }
+ class b extends a {
+ static x;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceStaticPropertyOverridingAccessor.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceStaticPropertyOverridingAccessor.js.diff
index afcfc565bd..24e8d15fcf 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritanceStaticPropertyOverridingAccessor.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritanceStaticPropertyOverridingAccessor.js.diff
@@ -1,54 +1,8 @@
--- old.inheritanceStaticPropertyOverridingAccessor.js
+++ new.inheritanceStaticPropertyOverridingAccessor.js
-@@= skipped -13, +13 lines =@@
+@@= skipped -22, +22 lines =@@
+ }
}
-
- //// [inheritanceStaticPropertyOverridingAccessor.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- Object.defineProperty(a, "x", {
-- get: function () {
-- return null;
-- ;
-- },
-- set: function (aValue) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return b;
--}(a));
-+class a {
-+ static get x() {
-+ return null;
-+ ;
-+ }
-+ static set x(aValue) {
-+ }
-+}
-+class b extends a {
+ class b extends a {
+ static x;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceStaticPropertyOverridingMethod.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceStaticPropertyOverridingMethod.js.diff
index 41c881ba35..8c9b4b2722 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritanceStaticPropertyOverridingMethod.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritanceStaticPropertyOverridingMethod.js.diff
@@ -1,42 +1,8 @@
--- old.inheritanceStaticPropertyOverridingMethod.js
+++ new.inheritanceStaticPropertyOverridingMethod.js
-@@= skipped -11, +11 lines =@@
- }
-
- //// [inheritanceStaticPropertyOverridingMethod.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- a.x = function () {
-+class a {
-+ static x() {
- return "20";
-- };
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
+@@= skipped -17, +17 lines =@@
}
-- return b;
--}(a));
-+}
-+class b extends a {
+ }
+ class b extends a {
+ static x;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritanceStaticPropertyOverridingProperty.js.diff b/testdata/baselines/reference/submodule/compiler/inheritanceStaticPropertyOverridingProperty.js.diff
index 0b42232ad8..bea5240e93 100644
--- a/testdata/baselines/reference/submodule/compiler/inheritanceStaticPropertyOverridingProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inheritanceStaticPropertyOverridingProperty.js.diff
@@ -1,39 +1,11 @@
--- old.inheritanceStaticPropertyOverridingProperty.js
+++ new.inheritanceStaticPropertyOverridingProperty.js
-@@= skipped -9, +9 lines =@@
- }
+@@= skipped -10, +10 lines =@@
//// [inheritanceStaticPropertyOverridingProperty.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var a = /** @class */ (function () {
-- function a() {
-- }
-- return a;
--}());
--var b = /** @class */ (function (_super) {
-- __extends(b, _super);
-- function b() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return b;
--}(a));
-+class a {
+ class a {
+ static x;
-+}
-+class b extends a {
+ }
+ class b extends a {
+ static x;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritedConstructorPropertyContextualType.js.diff b/testdata/baselines/reference/submodule/compiler/inheritedConstructorPropertyContextualType.js.diff
deleted file mode 100644
index d0218bffdc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritedConstructorPropertyContextualType.js.diff
+++ /dev/null
@@ -1,35 +0,0 @@
---- old.inheritedConstructorPropertyContextualType.js
-+++ new.inheritedConstructorPropertyContextualType.js
-@@= skipped -14, +14 lines =@@
- }
-
- //// [inheritedConstructorPropertyContextualType.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Assignment = /** @class */ (function (_super) {
-- __extends(Assignment, _super);
-- function Assignment() {
-- var _this = _super.call(this) || this;
-- _this.state = { version: 2 };
-- return _this;
-+class Assignment extends Base {
-+ constructor() {
-+ super();
-+ this.state = { version: 2 };
- }
-- return Assignment;
--}(Base));
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritedConstructorWithRestParams.js.diff b/testdata/baselines/reference/submodule/compiler/inheritedConstructorWithRestParams.js.diff
deleted file mode 100644
index b924d7854d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritedConstructorWithRestParams.js.diff
+++ /dev/null
@@ -1,45 +0,0 @@
---- old.inheritedConstructorWithRestParams.js
-+++ new.inheritedConstructorWithRestParams.js
-@@= skipped -16, +16 lines =@@
- new Derived(3);
-
- //// [inheritedConstructorWithRestParams.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Base = /** @class */ (function () {
-- function Base() {
-- var a = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- a[_i] = arguments[_i];
-- }
-- }
-- return Base;
--}());
--var Derived = /** @class */ (function (_super) {
-- __extends(Derived, _super);
-- function Derived() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Derived;
--}(Base));
-+class Base {
-+ constructor(...a) { }
-+}
-+class Derived extends Base {
-+}
- // Ok
- new Derived("", "");
- new Derived("");
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritedConstructorWithRestParams2.js.diff b/testdata/baselines/reference/submodule/compiler/inheritedConstructorWithRestParams2.js.diff
deleted file mode 100644
index d0af2600c8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritedConstructorWithRestParams2.js.diff
+++ /dev/null
@@ -1,58 +0,0 @@
---- old.inheritedConstructorWithRestParams2.js
-+++ new.inheritedConstructorWithRestParams2.js
-@@= skipped -36, +36 lines =@@
- new Derived("", 3, "", "");
-
- //// [inheritedConstructorWithRestParams2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var IBaseBase = /** @class */ (function () {
-- function IBaseBase(x) {
-- }
-- return IBaseBase;
--}());
--var BaseBase2 = /** @class */ (function () {
-- function BaseBase2(x) {
-- }
-- return BaseBase2;
--}());
--var Base = /** @class */ (function (_super) {
-- __extends(Base, _super);
-- function Base() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Base;
--}(BaseBase));
--var Derived = /** @class */ (function (_super) {
-- __extends(Derived, _super);
-- function Derived() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Derived;
--}(Base));
-+class IBaseBase {
-+ constructor(x) { }
-+}
-+class BaseBase2 {
-+ constructor(x) { }
-+}
-+class Base extends BaseBase {
-+}
-+class Derived extends Base {
-+}
- // Ok
- new Derived("", "");
- new Derived("", 3);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritedFunctionAssignmentCompatibility.js.diff b/testdata/baselines/reference/submodule/compiler/inheritedFunctionAssignmentCompatibility.js.diff
deleted file mode 100644
index 1731979d16..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritedFunctionAssignmentCompatibility.js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.inheritedFunctionAssignmentCompatibility.js
-+++ new.inheritedFunctionAssignmentCompatibility.js
-@@= skipped -11, +11 lines =@@
-
- //// [inheritedFunctionAssignmentCompatibility.js]
- function fn(cb) { }
--fn(function (a, b) { return true; });
-+fn((a, b) => true);
- fn(function (a, b) { return true; });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inheritedModuleMembersForClodule.js.diff b/testdata/baselines/reference/submodule/compiler/inheritedModuleMembersForClodule.js.diff
deleted file mode 100644
index f1287cfab7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inheritedModuleMembersForClodule.js.diff
+++ /dev/null
@@ -1,62 +0,0 @@
---- old.inheritedModuleMembersForClodule.js
-+++ new.inheritedModuleMembersForClodule.js
-@@= skipped -23, +23 lines =@@
-
-
- //// [inheritedModuleMembersForClodule.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.foo = function () {
-+class C {
-+ static foo() {
- return "123";
-- };
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- return _super !== null && _super.apply(this, arguments) || this;
- }
-- return D;
--}(C));
-+}
-+class D extends C {
-+}
- (function (D) {
- function foo() {
- return 0;
-@@= skipped -37, +14 lines =@@
- D.foo = foo;
- ;
- })(D || (D = {}));
--var E = /** @class */ (function (_super) {
-- __extends(E, _super);
-- function E() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- E.bar = function () {
-+class E extends D {
-+ static bar() {
- return this.foo();
-- };
-- return E;
--}(D));
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/initializePropertiesWithRenamedLet.js.diff b/testdata/baselines/reference/submodule/compiler/initializePropertiesWithRenamedLet.js.diff
deleted file mode 100644
index ba6716b1f0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/initializePropertiesWithRenamedLet.js.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- old.initializePropertiesWithRenamedLet.js
-+++ new.initializePropertiesWithRenamedLet.js
-@@= skipped -19, +19 lines =@@
- //// [initializePropertiesWithRenamedLet.js]
- var x0;
- if (true) {
-- var x0_1;
-- var obj1 = { x0: x0_1 };
-- var obj2 = { x0: x0_1 };
-+ let x0;
-+ var obj1 = { x0: x0 };
-+ var obj2 = { x0 };
- }
- var x, y, z;
- if (true) {
-- var x_1 = { x: 0 }.x;
-- var y_1 = { y: 0 }.y;
-- var z_1;
-- (z_1 = { z: 0 }.z);
-- (z_1 = { z: 0 }.z);
-+ let { x: x } = { x: 0 };
-+ let { y } = { y: 0 };
-+ let z;
-+ ({ z: z } = { z: 0 });
-+ ({ z } = { z: 0 });
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/initializedDestructuringAssignmentTypes.js.diff b/testdata/baselines/reference/submodule/compiler/initializedDestructuringAssignmentTypes.js.diff
deleted file mode 100644
index e172a295f4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/initializedDestructuringAssignmentTypes.js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.initializedDestructuringAssignmentTypes.js
-+++ new.initializedDestructuringAssignmentTypes.js
-@@= skipped -5, +5 lines =@@
- a.toFixed()
-
- //// [initializedDestructuringAssignmentTypes.js]
--var _a = ''.match('') || [], _b = _a[1], a = _b === void 0 ? '' : _b;
-+const [, a = ''] = ''.match('') || [];
- a.toFixed();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/initializerWithThisPropertyAccess.js.diff b/testdata/baselines/reference/submodule/compiler/initializerWithThisPropertyAccess.js.diff
index 9616fc1d5a..deddbe076d 100644
--- a/testdata/baselines/reference/submodule/compiler/initializerWithThisPropertyAccess.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/initializerWithThisPropertyAccess.js.diff
@@ -5,82 +5,47 @@
//// [initializerWithThisPropertyAccess.js]
-"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- var _this = this;
-- this.b = this.a; // Error
-- this.c = function () { return _this.a; };
-- this.d = (new A()).a;
-+class A {
+ class A {
+ a;
+ b = this.a; // Error
+ c = () => this.a;
+ d = (new A()).a;
-+ constructor() {
+ constructor() {
+- this.b = this.a; // Error
+- this.c = () => this.a;
+- this.d = (new A()).a;
this.a = 1;
}
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this.x = _this.a;
-- return _this;
+ }
+ class B extends A {
+- constructor() {
+- super(...arguments);
+- this.x = this.a;
- }
-- return B;
--}(A));
--var C = /** @class */ (function () {
-- function C() {
++ x = this.a;
+ }
+ class C {
+- constructor() {
- this.b = this.a;
- }
-- return C;
--}());
-+}
-+class B extends A {
-+ x = this.a;
-+}
-+class C {
+ a;
+ b = this.a;
-+}
+ }
// Repro from #37979
--var Foo = /** @class */ (function () {
-- function Foo() {
-- this.barProp = this.bar.prop;
-+class Foo {
+ class Foo {
+ bar;
+ barProp = this.bar.prop;
-+ constructor() {
+ constructor() {
+- this.barProp = this.bar.prop;
this.bar = new Bar();
}
-- return Foo;
--}());
--var Bar = /** @class */ (function () {
-- function Bar() {
+ }
+ class Bar {
+- constructor() {
- this.prop = false;
- }
-- return Bar;
--}());
-+}
-+class Bar {
+ prop = false;
-+}
+ }
//// [initializerWithThisPropertyAccess.d.ts]
@@ -91,7 +56,7 @@
c: () => number;
d: number;
constructor();
-@@= skipped -69, +41 lines =@@
+@@= skipped -46, +41 lines =@@
x: number;
}
declare class C {
diff --git a/testdata/baselines/reference/submodule/compiler/inlineConditionalHasSimilarAssignability.js.diff b/testdata/baselines/reference/submodule/compiler/inlineConditionalHasSimilarAssignability.js.diff
deleted file mode 100644
index 9d1f039fbd..0000000000
--- a/testdata/baselines/reference/submodule/compiler/inlineConditionalHasSimilarAssignability.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.inlineConditionalHasSimilarAssignability.js
-+++ new.inlineConditionalHasSimilarAssignability.js
-@@= skipped -19, +19 lines =@@
-
- //// [inlineConditionalHasSimilarAssignability.js]
- function foo(a) {
-- var b = 0;
-+ const b = 0;
- a = b; // ok
-- var c = 0;
-+ const c = 0;
- a = c;
-- var d = 0;
-+ const d = 0;
- a = d; // ok
-- var e = 0;
-+ const e = 0;
- a = e;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/inlinedAliasAssignableToConstraintSameAsAlias.js.diff b/testdata/baselines/reference/submodule/compiler/inlinedAliasAssignableToConstraintSameAsAlias.js.diff
index cbb1be99af..e8e0360474 100644
--- a/testdata/baselines/reference/submodule/compiler/inlinedAliasAssignableToConstraintSameAsAlias.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/inlinedAliasAssignableToConstraintSameAsAlias.js.diff
@@ -1,21 +1,12 @@
--- old.inlinedAliasAssignableToConstraintSameAsAlias.js
+++ new.inlinedAliasAssignableToConstraintSameAsAlias.js
-@@= skipped -27, +27 lines =@@
-
+@@= skipped -28, +28 lines =@@
//// [inlinedAliasAssignableToConstraintSameAsAlias.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.whereRelated = function () {
-+class A {
+ class A {
+ x;
+ y;
+ z;
-+ whereRelated() {
+ whereRelated() {
return 1;
-- };
-- return A;
--}());
-+ }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/innerAliases.js.diff b/testdata/baselines/reference/submodule/compiler/innerAliases.js.diff
deleted file mode 100644
index 207bbaab21..0000000000
--- a/testdata/baselines/reference/submodule/compiler/innerAliases.js.diff
+++ /dev/null
@@ -1,39 +0,0 @@
---- old.innerAliases.js
-+++ new.innerAliases.js
-@@= skipped -27, +27 lines =@@
- //// [innerAliases.js]
- var A;
- (function (A) {
-- var B;
-+ let B;
- (function (B) {
-- var C;
-+ let C;
- (function (C) {
-- var Class1 = /** @class */ (function () {
-- function Class1() {
-- }
-- return Class1;
-- }());
-+ class Class1 {
-+ }
- C.Class1 = Class1;
- })(C = B.C || (B.C = {}));
- })(B = A.B || (A.B = {}));
-@@= skipped -17, +14 lines =@@
- (function (D) {
- var inner = A.B.C;
- var c1 = new inner.Class1();
-- var E;
-+ let E;
- (function (E) {
-- var Class2 = /** @class */ (function () {
-- function Class2() {
-- }
-- return Class2;
-- }());
-+ class Class2 {
-+ }
- E.Class2 = Class2;
- })(E = D.E || (D.E = {}));
- })(D || (D = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/innerAliases2.js.diff b/testdata/baselines/reference/submodule/compiler/innerAliases2.js.diff
deleted file mode 100644
index 1ad6c22118..0000000000
--- a/testdata/baselines/reference/submodule/compiler/innerAliases2.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.innerAliases2.js
-+++ new.innerAliases2.js
-@@= skipped -23, +23 lines =@@
- //// [innerAliases2.js]
- var _provider;
- (function (_provider) {
-- var UsefulClass = /** @class */ (function () {
-- function UsefulClass() {
-+ class UsefulClass {
-+ foo() {
- }
-- UsefulClass.prototype.foo = function () {
-- };
-- return UsefulClass;
-- }());
-+ }
- _provider.UsefulClass = UsefulClass;
- })(_provider || (_provider = {}));
- var consumer;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/innerBoundLambdaEmit.js.diff b/testdata/baselines/reference/submodule/compiler/innerBoundLambdaEmit.js.diff
deleted file mode 100644
index ec40a381d5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/innerBoundLambdaEmit.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.innerBoundLambdaEmit.js
-+++ new.innerBoundLambdaEmit.js
-@@= skipped -13, +13 lines =@@
- //// [innerBoundLambdaEmit.js]
- var M;
- (function (M) {
-- var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
-- }());
-+ class Foo {
-+ }
- M.Foo = Foo;
-- var bar = function () { };
-+ var bar = () => { };
- })(M || (M = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/innerExtern.js.diff b/testdata/baselines/reference/submodule/compiler/innerExtern.js.diff
index d94824273c..98a92f1e15 100644
--- a/testdata/baselines/reference/submodule/compiler/innerExtern.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/innerExtern.js.diff
@@ -1,21 +1,13 @@
--- old.innerExtern.js
+++ new.innerExtern.js
-@@= skipped -17, +17 lines =@@
- //// [innerExtern.js]
- var A;
- (function (A) {
-- var B;
-+ let B;
+@@= skipped -20, +20 lines =@@
+ let B;
(function (B) {
-- var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.x = BB.Elephant.X;
- }
-- return C;
-- }());
-+ class C {
+ x = BB.Elephant.X;
-+ }
+ }
B.C = C;
- })(B = A.B || (A.B = {}));
- })(A || (A = {}));
\ No newline at end of file
+ })(B = A.B || (A.B = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/instanceAndStaticDeclarations1.js.diff b/testdata/baselines/reference/submodule/compiler/instanceAndStaticDeclarations1.js.diff
index a4570282c6..4419386572 100644
--- a/testdata/baselines/reference/submodule/compiler/instanceAndStaticDeclarations1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/instanceAndStaticDeclarations1.js.diff
@@ -4,25 +4,33 @@
//// [instanceAndStaticDeclarations1.js]
// from spec
--var Point = /** @class */ (function () {
-- function Point(x, y) {
+-let Point = (() => {
+- class Point {
+- constructor(x, y) {
+- this.x = x;
+- this.y = y;
+- }
+- distance(p) {
+- var dx = this.x - p.x;
+- var dy = this.y - p.y;
+- return Math.sqrt(dx * dx + dy * dy);
+- }
+- static distance(p1, p2) { return p1.distance(p2); }
+- }
+- Point.origin = new Point(0, 0);
+- return Point;
+-})();
+class Point {
+ x;
+ y;
+ constructor(x, y) {
- this.x = x;
- this.y = y;
- }
-- Point.prototype.distance = function (p) {
++ this.x = x;
++ this.y = y;
++ }
+ distance(p) {
- var dx = this.x - p.x;
- var dy = this.y - p.y;
- return Math.sqrt(dx * dx + dy * dy);
-- };
-- Point.distance = function (p1, p2) { return p1.distance(p2); };
-- Point.origin = new Point(0, 0);
-- return Point;
--}());
++ var dx = this.x - p.x;
++ var dy = this.y - p.y;
++ return Math.sqrt(dx * dx + dy * dy);
+ }
+ static origin = new Point(0, 0);
+ static distance(p1, p2) { return p1.distance(p2); }
diff --git a/testdata/baselines/reference/submodule/compiler/instanceOfAssignability.js.diff b/testdata/baselines/reference/submodule/compiler/instanceOfAssignability.js.diff
index acafaea1ff..a94d32431a 100644
--- a/testdata/baselines/reference/submodule/compiler/instanceOfAssignability.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/instanceOfAssignability.js.diff
@@ -1,142 +1,34 @@
--- old.instanceOfAssignability.js
+++ new.instanceOfAssignability.js
-@@= skipped -91, +91 lines =@@
-
-
+@@= skipped -93, +93 lines =@@
//// [instanceOfAssignability.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
// Derived1 is assignable to, but not a subtype of, Base
--var Derived1 = /** @class */ (function () {
-- function Derived1() {
-- }
-- return Derived1;
--}());
-+class Derived1 {
+ class Derived1 {
+ foo;
-+}
+ }
// Derived2 is a subtype of Base that is not assignable to Derived1
--var Derived2 = /** @class */ (function () {
-- function Derived2() {
-- }
-- return Derived2;
--}());
--var Animal = /** @class */ (function () {
-- function Animal() {
-- }
-- return Animal;
--}());
--var Mammal = /** @class */ (function (_super) {
-- __extends(Mammal, _super);
-- function Mammal() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Mammal;
--}(Animal));
--var Giraffe = /** @class */ (function (_super) {
-- __extends(Giraffe, _super);
-- function Giraffe() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Giraffe;
--}(Mammal));
-+class Derived2 {
+ class Derived2 {
+ foo;
+ optional;
-+}
-+class Animal {
+ }
+ class Animal {
+ move;
-+}
-+class Mammal extends Animal {
+ }
+ class Mammal extends Animal {
+ milk;
-+}
-+class Giraffe extends Mammal {
+ }
+ class Giraffe extends Mammal {
+ neck;
-+}
+ }
function fn1(x) {
if (x instanceof Array) {
- // 1.5: y: Array|Array
- // Want: y: Array|Array
-- var y = x;
-+ let y = x;
- }
- }
- function fn2(x) {
- if (x instanceof Derived1) {
- // 1.5: y: Base
- // Want: y: Derived1
-- var y = x;
-+ let y = x;
- }
- }
- function fn3(x) {
- if (x instanceof Derived2) {
- // 1.5: y: Derived2
- // Want: Derived2
-- var y = x;
-+ let y = x;
+@@= skipped -60, +66 lines =@@
}
}
- function fn4(x) {
- if (x instanceof Derived1) {
- // 1.5: y: {}
- // Want: Derived1
-- var y = x;
-+ let y = x;
- }
- }
- function fn5(x) {
- if (x instanceof Derived2) {
- // 1.5: y: Derived1
- // Want: ???
-- var y = x;
-+ let y = x;
- }
- }
- function fn6(x) {
- if (x instanceof Giraffe) {
- // 1.5: y: Derived1
- // Want: ???
-- var y = x;
-+ let y = x;
- }
- }
- function fn7(x) {
- if (x instanceof Array) {
- // 1.5: y: Array|Array
- // Want: y: Array|Array
-- var y = x;
-- }
--}
--var ABC = /** @class */ (function () {
-- function ABC() {
-- }
-- return ABC;
--}());
-+ let y = x;
-+ }
-+}
-+class ABC {
+ class ABC {
+ a;
+ b;
+ c;
-+}
+ }
function fn8(x) {
- if (x instanceof ABC) {
-- var y = x;
-+ let y = x;
- }
- }
\ No newline at end of file
+ if (x instanceof ABC) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/instanceOfInExternalModules.js.diff b/testdata/baselines/reference/submodule/compiler/instanceOfInExternalModules.js.diff
index 1fd655ce2c..8870c65e8b 100644
--- a/testdata/baselines/reference/submodule/compiler/instanceOfInExternalModules.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/instanceOfInExternalModules.js.diff
@@ -8,11 +8,8 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Foo = void 0;
-- var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
-- }());
+- class Foo {
+- }
- exports.Foo = Foo;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/instanceSubtypeCheck2.js.diff b/testdata/baselines/reference/submodule/compiler/instanceSubtypeCheck2.js.diff
index f147dcae5c..9df8b92812 100644
--- a/testdata/baselines/reference/submodule/compiler/instanceSubtypeCheck2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/instanceSubtypeCheck2.js.diff
@@ -1,39 +1,11 @@
--- old.instanceSubtypeCheck2.js
+++ new.instanceSubtypeCheck2.js
-@@= skipped -9, +9 lines =@@
- }
+@@= skipped -10, +10 lines =@@
//// [instanceSubtypeCheck2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
--}());
--var C2 = /** @class */ (function (_super) {
-- __extends(C2, _super);
-- function C2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C2;
--}(C1));
-+class C1 {
+ class C1 {
+ x;
-+}
-+class C2 extends C1 {
+ }
+ class C2 extends C1 {
+ x;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/instanceofOperator.js.diff b/testdata/baselines/reference/submodule/compiler/instanceofOperator.js.diff
deleted file mode 100644
index 83e225b6be..0000000000
--- a/testdata/baselines/reference/submodule/compiler/instanceofOperator.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.instanceofOperator.js
-+++ new.instanceofOperator.js
-@@= skipped -32, +32 lines =@@
- // Boolean primitive type.
- var test;
- (function (test) {
-- var Object = /** @class */ (function () {
-- function Object() {
-- }
-- return Object;
-- }());
-+ class Object {
-+ }
- var obj;
- 4 instanceof null;
- // Error and should be error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/instanceofWithStructurallyIdenticalTypes.js.diff b/testdata/baselines/reference/submodule/compiler/instanceofWithStructurallyIdenticalTypes.js.diff
index 24ba7e0350..512d7e39db 100644
--- a/testdata/baselines/reference/submodule/compiler/instanceofWithStructurallyIdenticalTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/instanceofWithStructurallyIdenticalTypes.js.diff
@@ -1,90 +1,32 @@
--- old.instanceofWithStructurallyIdenticalTypes.js
+++ new.instanceofWithStructurallyIdenticalTypes.js
-@@= skipped -73, +73 lines =@@
-
+@@= skipped -74, +74 lines =@@
//// [instanceofWithStructurallyIdenticalTypes.js]
// Repro from #7271
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
--}());
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- return C3;
--}());
-+class C1 {
+ class C1 {
+ item;
-+}
-+class C2 {
+ }
+ class C2 {
+ item;
-+}
-+class C3 {
+ }
+ class C3 {
+ item;
-+}
+ }
function foo1(x) {
if (x instanceof C1) {
- return x.item;
-@@= skipped -58, +37 lines =@@
- return "error";
+@@= skipped -34, +37 lines =@@
}
// More tests
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var A1 = /** @class */ (function (_super) {
-- __extends(A1, _super);
-- function A1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return A1;
--}(A));
--var A2 = /** @class */ (function () {
-- function A2() {
-- }
-- return A2;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class A {
+ class A {
+ a;
-+}
-+class A1 extends A {
-+}
-+class A2 {
+ }
+ class A1 extends A {
+ }
+ class A2 {
+ a;
-+}
-+class B extends A {
+ }
+ class B extends A {
+ b;
-+}
+ }
function goo(x) {
- if (x instanceof A) {
- x; // A
\ No newline at end of file
+ if (x instanceof A) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/instantiateContextuallyTypedGenericThis.js.diff b/testdata/baselines/reference/submodule/compiler/instantiateContextuallyTypedGenericThis.js.diff
deleted file mode 100644
index c08822ceae..0000000000
--- a/testdata/baselines/reference/submodule/compiler/instantiateContextuallyTypedGenericThis.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.instantiateContextuallyTypedGenericThis.js
-+++ new.instantiateContextuallyTypedGenericThis.js
-@@= skipped -14, +14 lines =@@
-
-
- //// [instantiateContextuallyTypedGenericThis.js]
--var $;
--var lines;
-+let $;
-+let lines;
- $.each(lines, function (dit) {
- return dit.charAt(0) + this.charAt(1);
- });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/instantiateCrossFileMerge.js.diff b/testdata/baselines/reference/submodule/compiler/instantiateCrossFileMerge.js.diff
deleted file mode 100644
index db6a012395..0000000000
--- a/testdata/baselines/reference/submodule/compiler/instantiateCrossFileMerge.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.instantiateCrossFileMerge.js
-+++ new.instantiateCrossFileMerge.js
-@@= skipped -11, +11 lines =@@
-
- //// [first.js]
- //// [second.js]
--new P(function (r) { r('foo'); });
-+new P(r => { r('foo'); });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/instantiatedBaseTypeConstraints.js.diff b/testdata/baselines/reference/submodule/compiler/instantiatedBaseTypeConstraints.js.diff
deleted file mode 100644
index 58a95b193e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/instantiatedBaseTypeConstraints.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.instantiatedBaseTypeConstraints.js
-+++ new.instantiatedBaseTypeConstraints.js
-@@= skipped -13, +13 lines =@@
-
-
- //// [instantiatedBaseTypeConstraints.js]
--var Bar = /** @class */ (function () {
-- function Bar() {
-+class Bar {
-+ foo(bar) {
- }
-- Bar.prototype.foo = function (bar) {
-- };
-- return Bar;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/instantiatedReturnTypeContravariance.js.diff b/testdata/baselines/reference/submodule/compiler/instantiatedReturnTypeContravariance.js.diff
deleted file mode 100644
index ca974f316d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/instantiatedReturnTypeContravariance.js.diff
+++ /dev/null
@@ -1,49 +0,0 @@
---- old.instantiatedReturnTypeContravariance.js
-+++ new.instantiatedReturnTypeContravariance.js
-@@= skipped -32, +32 lines =@@
-
-
- //// [instantiatedReturnTypeContravariance.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var c = /** @class */ (function () {
-- function c() {
-- }
-- c.prototype.foo = function () {
-- return null;
-- };
-- return c;
--}());
--var d = /** @class */ (function (_super) {
-- __extends(d, _super);
-- function d() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- d.prototype.foo = function () {
-- return null;
-- };
-- return d;
--}(c));
-+class c {
-+ foo() {
-+ return null;
-+ }
-+}
-+class d extends c {
-+ foo() {
-+ return null;
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/instantiatedTypeAliasDisplay.js.diff b/testdata/baselines/reference/submodule/compiler/instantiatedTypeAliasDisplay.js.diff
index 29963900f0..8d8e2f6c06 100644
--- a/testdata/baselines/reference/submodule/compiler/instantiatedTypeAliasDisplay.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/instantiatedTypeAliasDisplay.js.diff
@@ -5,10 +5,8 @@
//// [instantiatedTypeAliasDisplay.js]
-// Repros from #12066
--var x1 = f1(); // Z
--var x2 = f2({}, {}, {}, {}); // Z<{}, string[]>
-+const x1 = f1(); // Z
-+const x2 = f2({}, {}, {}, {}); // Z<{}, string[]>
+ const x1 = f1(); // Z
+ const x2 = f2({}, {}, {}, {}); // Z<{}, string[]>
//// [instantiatedTypeAliasDisplay.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/instantiationExpressionErrorNoCrash.js.diff b/testdata/baselines/reference/submodule/compiler/instantiationExpressionErrorNoCrash.js.diff
deleted file mode 100644
index 35895b1539..0000000000
--- a/testdata/baselines/reference/submodule/compiler/instantiationExpressionErrorNoCrash.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.instantiationExpressionErrorNoCrash.js
-+++ new.instantiationExpressionErrorNoCrash.js
-@@= skipped -21, +21 lines =@@
- //// [instantiationExpressionErrorNoCrash.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var createCacheReducer = function (queries) {
-- var queriesMap = {};
-- var initialState = {
-+const createCacheReducer = (queries) => {
-+ const queriesMap = {};
-+ const initialState = {
- queries: queriesMap,
- };
-- return function (state) {
-- if (state === void 0) { state = initialState; }
-- return state;
-- };
-+ return (state = initialState) => state;
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/intTypeCheck.js.diff b/testdata/baselines/reference/submodule/compiler/intTypeCheck.js.diff
deleted file mode 100644
index 856b9a0358..0000000000
--- a/testdata/baselines/reference/submodule/compiler/intTypeCheck.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.intTypeCheck.js
-+++ new.intTypeCheck.js
-@@= skipped -207, +207 lines =@@
- var obj87: i8 = new {};
-
- //// [intTypeCheck.js]
--var Base = /** @class */ (function () {
-- function Base() {
-- }
-- Base.prototype.foo = function () { };
-- return Base;
--}());
-+class Base {
-+ foo() { }
-+}
- var anyVar;
- //
- // Property signatures
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces0.js.diff b/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces0.js.diff
deleted file mode 100644
index 385301ce3a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces0.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.interMixingModulesInterfaces0.js
-+++ new.interMixingModulesInterfaces0.js
-@@= skipped -19, +19 lines =@@
- //// [interMixingModulesInterfaces0.js]
- var A;
- (function (A) {
-- var B;
-+ let B;
- (function (B) {
- function createB() {
- return null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces1.js.diff b/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces1.js.diff
deleted file mode 100644
index bb907000e4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces1.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.interMixingModulesInterfaces1.js
-+++ new.interMixingModulesInterfaces1.js
-@@= skipped -19, +19 lines =@@
- //// [interMixingModulesInterfaces1.js]
- var A;
- (function (A) {
-- var B;
-+ let B;
- (function (B) {
- function createB() {
- return null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces2.js.diff b/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces2.js.diff
deleted file mode 100644
index d5fac5703f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces2.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.interMixingModulesInterfaces2.js
-+++ new.interMixingModulesInterfaces2.js
-@@= skipped -19, +19 lines =@@
- //// [interMixingModulesInterfaces2.js]
- var A;
- (function (A) {
-- var B;
-+ let B;
- (function (B) {
- function createB() {
- return null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces3.js.diff b/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces3.js.diff
deleted file mode 100644
index 89aa6686a3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces3.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.interMixingModulesInterfaces3.js
-+++ new.interMixingModulesInterfaces3.js
-@@= skipped -19, +19 lines =@@
- //// [interMixingModulesInterfaces3.js]
- var A;
- (function (A) {
-- var B;
-+ let B;
- (function (B) {
- function createB() {
- return null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces4.js.diff b/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces4.js.diff
deleted file mode 100644
index 0cfe3721df..0000000000
--- a/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces4.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.interMixingModulesInterfaces4.js
-+++ new.interMixingModulesInterfaces4.js
-@@= skipped -19, +19 lines =@@
- //// [interMixingModulesInterfaces4.js]
- var A;
- (function (A) {
-- var B;
-+ let B;
- (function (B) {
- function createB() {
- return null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces5.js.diff b/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces5.js.diff
deleted file mode 100644
index 08c10bc425..0000000000
--- a/testdata/baselines/reference/submodule/compiler/interMixingModulesInterfaces5.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.interMixingModulesInterfaces5.js
-+++ new.interMixingModulesInterfaces5.js
-@@= skipped -19, +19 lines =@@
- //// [interMixingModulesInterfaces5.js]
- var A;
- (function (A) {
-- var B;
-+ let B;
- (function (B) {
- function createB() {
- return null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceAssignmentCompat.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceAssignmentCompat.js.diff
deleted file mode 100644
index 6713d77a5d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/interfaceAssignmentCompat.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.interfaceAssignmentCompat.js
-+++ new.interfaceAssignmentCompat.js
-@@= skipped -56, +56 lines =@@
- //// [interfaceAssignmentCompat.js]
- var M;
- (function (M) {
-- var Color;
-+ let Color;
- (function (Color) {
- Color[Color["Green"] = 0] = "Green";
- Color[Color["Blue"] = 1] = "Blue";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceClassMerging.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceClassMerging.js.diff
index 00b67b2c2e..cc92fbe925 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceClassMerging.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceClassMerging.js.diff
@@ -1,50 +1,10 @@
--- old.interfaceClassMerging.js
+++ new.interfaceClassMerging.js
-@@= skipped -42, +42 lines =@@
-
+@@= skipped -43, +43 lines =@@
//// [interfaceClassMerging.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Foo.prototype.additionalMethod = function (a) {
-+class Foo {
+ class Foo {
+ additionalProperty;
-+ additionalMethod(a) {
+ additionalMethod(a) {
return this.method(0);
-- };
-- return Foo;
--}());
--var Bar = /** @class */ (function (_super) {
-- __extends(Bar, _super);
-- function Bar() {
-- return _super !== null && _super.apply(this, arguments) || this;
- }
-- Bar.prototype.method = function (a) {
-+}
-+class Bar extends Foo {
-+ method(a) {
- return this.optionalProperty;
-- };
-- return Bar;
--}(Foo));
-+ }
-+}
- var bar = new Bar();
- bar.method(0);
- bar.optionalMethod(1);
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceClassMerging2.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceClassMerging2.js.diff
index 78ba89e90e..0fd17b68a1 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceClassMerging2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceClassMerging2.js.diff
@@ -1,54 +1,16 @@
--- old.interfaceClassMerging2.js
+++ new.interfaceClassMerging2.js
-@@= skipped -38, +38 lines =@@
-
+@@= skipped -39, +39 lines =@@
//// [interfaceClassMerging2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Foo.prototype.classFooMethod = function () {
-- return this;
-- };
-- return Foo;
--}());
--var Bar = /** @class */ (function (_super) {
-- __extends(Bar, _super);
-- function Bar() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Bar.prototype.classBarMethod = function () {
-- return this;
-- };
-- return Bar;
--}(Foo));
-+class Foo {
+ class Foo {
+ classFooProperty;
-+ classFooMethod() {
-+ return this;
-+ }
-+}
-+class Bar extends Foo {
+ classFooMethod() {
+ return this;
+ }
+ }
+ class Bar extends Foo {
+ classBarProperty;
-+ classBarMethod() {
-+ return this;
-+ }
-+}
- var bar = new Bar();
- bar.interfaceBarMethod().interfaceFooMethod().classBarMethod().classFooMethod();
- var foo = new Foo();
\ No newline at end of file
+ classBarMethod() {
+ return this;
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceContextualType.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceContextualType.js.diff
index 2cfcfcba3a..d2d3879198 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceContextualType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceContextualType.js.diff
@@ -1,27 +1,10 @@
--- old.interfaceContextualType.js
+++ new.interfaceContextualType.js
-@@= skipped -25, +25 lines =@@
- //// [interfaceContextualType.js]
+@@= skipped -26, +26 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
--var Bug = /** @class */ (function () {
-- function Bug() {
-- }
-- Bug.prototype.ok = function () {
-+class Bug {
+ class Bug {
+ values;
-+ ok() {
+ ok() {
this.values = {};
- this.values['comments'] = { italic: true };
-- };
-- Bug.prototype.shouldBeOK = function () {
-+ }
-+ shouldBeOK() {
- this.values = {
- comments: { italic: true }
- };
-- };
-- return Bug;
--}());
-+ }
-+}
\ No newline at end of file
+ this.values['comments'] = { italic: true };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceDeclaration1.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceDeclaration1.js.diff
deleted file mode 100644
index efb9cf36dc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/interfaceDeclaration1.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.interfaceDeclaration1.js
-+++ new.interfaceDeclaration1.js
-@@= skipped -57, +57 lines =@@
- //// [interfaceDeclaration1.js]
- var v1;
- v1();
--var C1 = /** @class */ (function () {
-- function C1() {
-+class C1 {
-+ constructor() {
- var prototype = 3;
- }
-- return C1;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceDeclaration2.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceDeclaration2.js.diff
deleted file mode 100644
index 41a4c662c1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/interfaceDeclaration2.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.interfaceDeclaration2.js
-+++ new.interfaceDeclaration2.js
-@@= skipped -15, +15 lines =@@
-
-
- //// [interfaceDeclaration2.js]
--var I2 = /** @class */ (function () {
-- function I2() {
-- }
-- return I2;
--}());
-+class I2 {
-+}
- function I3() { }
- var I4;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceDeclaration3.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceDeclaration3.js.diff
index 8fee730a8d..ce983c9116 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceDeclaration3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceDeclaration3.js.diff
@@ -10,65 +10,32 @@
- exports.M2 = void 0;
- var M1;
- (function (M1) {
-- var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
-- }());
-- var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
-- }());
-- var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- return C3;
-- }());
-- var C4 = /** @class */ (function () {
-- function C4() {
-- }
-- return C4;
-- }());
-- var C5 = /** @class */ (function () {
-- function C5() {
-- }
-- return C5;
-- }());
+- class C1 {
+- }
+- class C2 {
+- }
+- class C3 {
+- }
+- class C4 {
+- }
+- class C5 {
+- }
- })(M1 || (M1 = {}));
- var M2;
- (function (M2) {
-- var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
-- }());
-- var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
-- }());
-- var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- return C3;
-- }());
-- })(M2 || (exports.M2 = M2 = {}));
-- var C1 = /** @class */ (function () {
-- function C1() {
+- class C1 {
- }
-- return C1;
-- }());
-- var C2 = /** @class */ (function () {
-- function C2() {
+- class C2 {
- }
-- return C2;
-- }());
-- var C3 = /** @class */ (function () {
-- function C3() {
+- class C3 {
- }
-- return C3;
-- }());
+- })(M2 || (exports.M2 = M2 = {}));
+- class C1 {
+- }
+- class C2 {
+- }
+- class C3 {
+- }
-});
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceDeclaration4.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceDeclaration4.js.diff
index 9e61868658..abd1bc25b7 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceDeclaration4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceDeclaration4.js.diff
@@ -1,41 +1,14 @@
--- old.interfaceDeclaration4.js
+++ new.interfaceDeclaration4.js
-@@= skipped -46, +46 lines =@@
- // import Foo = require("interfaceDeclaration5")
- var Foo;
- (function (Foo) {
-- var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
-- }());
-+ class C1 {
-+ }
+@@= skipped -51, +51 lines =@@
Foo.C1 = C1;
})(Foo || (Foo = {}));
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
--}());
-+class C1 {
+ class C1 {
+ item;
-+}
+ }
// Err - not implemented item
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
--}());
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- return C3;
--}());
-+class C2 {
+ class C2 {
+ token;
-+}
-+class C3 {
-+}
- I1;
- { }
\ No newline at end of file
+ }
+ class C3 {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceDeclaration5.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceDeclaration5.js.diff
index 3290f020e0..9e5f88bf66 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceDeclaration5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceDeclaration5.js.diff
@@ -8,11 +8,8 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.C1 = void 0;
-- var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
-- }());
+- class C1 {
+- }
- exports.C1 = C1;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceExtendsClass1.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceExtendsClass1.js.diff
index 63f3387fb5..8b8fcaea23 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceExtendsClass1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceExtendsClass1.js.diff
@@ -1,69 +1,10 @@
--- old.interfaceExtendsClass1.js
+++ new.interfaceExtendsClass1.js
-@@= skipped -20, +20 lines =@@
-
+@@= skipped -21, +21 lines =@@
//// [interfaceExtendsClass1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Control = /** @class */ (function () {
-- function Control() {
-- }
-- return Control;
--}());
--var Button = /** @class */ (function (_super) {
-- __extends(Button, _super);
-- function Button() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Button.prototype.select = function () { };
-- return Button;
--}(Control));
--var TextBox = /** @class */ (function (_super) {
-- __extends(TextBox, _super);
-- function TextBox() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- TextBox.prototype.select = function () { };
-- return TextBox;
--}(Control));
--var Image = /** @class */ (function (_super) {
-- __extends(Image, _super);
-- function Image() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Image;
--}(Control));
--var Location = /** @class */ (function () {
-- function Location() {
-- }
-- Location.prototype.select = function () { };
-- return Location;
--}());
-+class Control {
+ class Control {
+ state;
-+}
-+class Button extends Control {
-+ select() { }
-+}
-+class TextBox extends Control {
-+ select() { }
-+}
-+class Image extends Control {
-+}
-+class Location {
-+ select() { }
-+}
\ No newline at end of file
+ }
+ class Button extends Control {
+ select() { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceExtendsClassWithPrivate1.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceExtendsClassWithPrivate1.js.diff
index eb8b9ff738..63efd44ac2 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceExtendsClassWithPrivate1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceExtendsClassWithPrivate1.js.diff
@@ -1,50 +1,14 @@
--- old.interfaceExtendsClassWithPrivate1.js
+++ new.interfaceExtendsClassWithPrivate1.js
-@@= skipped -29, +29 lines =@@
- d = c; // error
+@@= skipped -30, +30 lines =@@
//// [interfaceExtendsClassWithPrivate1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.x = 1;
- }
-- C.prototype.foo = function (x) { return x; };
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- D.prototype.foo = function (x) { return x; };
-- D.prototype.other = function (x) { return x; };
-- D.prototype.bar = function () { };
-- return D;
--}(C));
-+class C {
-+ foo(x) { return x; }
+ foo(x) { return x; }
+ x = 1;
-+}
-+class D extends C {
-+ foo(x) { return x; }
-+ other(x) { return x; }
-+ bar() { }
-+}
- var c;
- var i;
- var d;
\ No newline at end of file
+ }
+ class D extends C {
+ foo(x) { return x; }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceExtendsClassWithPrivate2.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceExtendsClassWithPrivate2.js.diff
index 6aca40179c..839290c7c9 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceExtendsClassWithPrivate2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceExtendsClassWithPrivate2.js.diff
@@ -1,70 +1,34 @@
--- old.interfaceExtendsClassWithPrivate2.js
+++ new.interfaceExtendsClassWithPrivate2.js
-@@= skipped -25, +25 lines =@@
- }
+@@= skipped -26, +26 lines =@@
//// [interfaceExtendsClassWithPrivate2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.x = 1;
- }
-- C.prototype.foo = function (x) { return x; };
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this.x = 2;
-- _this.y = 3;
-- return _this;
-- }
-- D.prototype.foo = function (x) { return x; };
-- D.prototype.other = function (x) { return x; };
-- D.prototype.bar = function () { };
-- return D;
--}(C));
--var D2 = /** @class */ (function (_super) {
-- __extends(D2, _super);
-- function D2() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this.x = "";
-- return _this;
-- }
-- D2.prototype.foo = function (x) { return x; };
-- D2.prototype.other = function (x) { return x; };
-- D2.prototype.bar = function () { };
-- return D2;
--}(C));
-+class C {
-+ foo(x) { return x; }
+ foo(x) { return x; }
+ x = 1;
-+}
-+class D extends C {
-+ foo(x) { return x; }
+ }
+ class D extends C {
+- constructor() {
+- super(...arguments);
+- this.x = 2;
+- this.y = 3;
+- }
+ foo(x) { return x; }
+ x = 2;
+ y = 3;
-+ other(x) { return x; }
-+ bar() { }
-+}
-+class D2 extends C {
-+ foo(x) { return x; }
+ other(x) { return x; }
+ bar() { }
+ }
+ class D2 extends C {
+- constructor() {
+- super(...arguments);
+- this.x = "";
+- }
+ foo(x) { return x; }
+ x = "";
-+ other(x) { return x; }
-+ bar() { }
-+}
\ No newline at end of file
+ other(x) { return x; }
+ bar() { }
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceImplementation1.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceImplementation1.js.diff
index e05edbe4c5..b6905dcdfa 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceImplementation1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceImplementation1.js.diff
@@ -1,30 +1,18 @@
--- old.interfaceImplementation1.js
+++ new.interfaceImplementation1.js
-@@= skipped -48, +48 lines =@@
-
-
+@@= skipped -50, +50 lines =@@
//// [interfaceImplementation1.js]
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- C1.prototype.iFn = function (n, s) { };
-- return C1;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
-- this.x = 1;
-- }
-- return C2;
--}());
-+class C1 {
-+ iFn(n, s) { }
+ class C1 {
+ iFn(n, s) { }
+ iAny;
+ iNum;
+ iObj;
-+}
-+class C2 {
+ }
+ class C2 {
+- constructor() {
+- this.x = 1;
+- }
+ x = 1;
-+}
+ }
var a = function () {
- return new C2();
- };
\ No newline at end of file
+ return new C2();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceImplementation2.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceImplementation2.js.diff
index 846199d001..c29e036875 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceImplementation2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceImplementation2.js.diff
@@ -1,16 +1,10 @@
--- old.interfaceImplementation2.js
+++ new.interfaceImplementation2.js
-@@= skipped -15, +15 lines =@@
-
+@@= skipped -16, +16 lines =@@
//// [interfaceImplementation2.js]
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- return C3;
--}());
-+class C3 {
+ class C3 {
+ iObj;
+ iNum;
+ iAny;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceImplementation3.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceImplementation3.js.diff
index 62026b443e..f16628efc0 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceImplementation3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceImplementation3.js.diff
@@ -1,17 +1,10 @@
--- old.interfaceImplementation3.js
+++ new.interfaceImplementation3.js
-@@= skipped -17, +17 lines =@@
-
+@@= skipped -18, +18 lines =@@
//// [interfaceImplementation3.js]
--var C4 = /** @class */ (function () {
-- function C4() {
-- }
-- C4.prototype.iFn = function () { };
-- return C4;
--}());
-+class C4 {
+ class C4 {
+ iObj;
+ iNum;
-+ iFn() { }
-+}
\ No newline at end of file
+ iFn() { }
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceImplementation4.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceImplementation4.js.diff
index 62d52af5b1..e1c8041171 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceImplementation4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceImplementation4.js.diff
@@ -1,17 +1,10 @@
--- old.interfaceImplementation4.js
+++ new.interfaceImplementation4.js
-@@= skipped -15, +15 lines =@@
-
+@@= skipped -16, +16 lines =@@
//// [interfaceImplementation4.js]
--var C5 = /** @class */ (function () {
-- function C5() {
-- }
-- C5.prototype.iFn = function () { };
-- return C5;
--}());
-+class C5 {
+ class C5 {
+ iNum;
+ iAny;
-+ iFn() { }
-+}
\ No newline at end of file
+ iFn() { }
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceImplementation5.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceImplementation5.js.diff
deleted file mode 100644
index 5fa024f468..0000000000
--- a/testdata/baselines/reference/submodule/compiler/interfaceImplementation5.js.diff
+++ /dev/null
@@ -1,88 +0,0 @@
---- old.interfaceImplementation5.js
-+++ new.interfaceImplementation5.js
-@@= skipped -33, +33 lines =@@
-
-
- //// [interfaceImplementation5.js]
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- Object.defineProperty(C1.prototype, "getset1", {
-- get: function () { return 1; },
-- enumerable: false,
-- configurable: true
-- });
-- return C1;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- Object.defineProperty(C2.prototype, "getset1", {
-- set: function (baz) { },
-- enumerable: false,
-- configurable: true
-- });
-- return C2;
--}());
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- Object.defineProperty(C3.prototype, "getset1", {
-- get: function () { return 1; },
-- set: function (baz) { },
-- enumerable: false,
-- configurable: true
-- });
-- return C3;
--}());
--var C4 = /** @class */ (function () {
-- function C4() {
-- }
-- Object.defineProperty(C4.prototype, "getset1", {
-- get: function () { var x; return x; },
-- enumerable: false,
-- configurable: true
-- });
-- return C4;
--}());
--var C5 = /** @class */ (function () {
-- function C5() {
-- }
-- Object.defineProperty(C5.prototype, "getset1", {
-- set: function (baz) { },
-- enumerable: false,
-- configurable: true
-- });
-- return C5;
--}());
--var C6 = /** @class */ (function () {
-- function C6() {
-- }
-- Object.defineProperty(C6.prototype, "getset1", {
-- get: function () { var x; return x; },
-- set: function (baz) { },
-- enumerable: false,
-- configurable: true
-- });
-- return C6;
--}());
-+class C1 {
-+ get getset1() { return 1; }
-+}
-+class C2 {
-+ set getset1(baz) { }
-+}
-+class C3 {
-+ get getset1() { return 1; }
-+ set getset1(baz) { }
-+}
-+class C4 {
-+ get getset1() { var x; return x; }
-+}
-+class C5 {
-+ set getset1(baz) { }
-+}
-+class C6 {
-+ set getset1(baz) { }
-+ get getset1() { var x; return x; }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceImplementation6.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceImplementation6.js.diff
index 8825b7dacd..7b33b67747 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceImplementation6.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceImplementation6.js.diff
@@ -8,28 +8,20 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Test = void 0;
-- var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
-- }());
-- var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
-- }());
-- var C3 = /** @class */ (function () {
-- function C3() {
+- class C1 {
+- }
+- class C2 {
+- }
+- class C3 {
+- constructor() {
- var item;
- }
-- return C3;
-- }());
-- var Test = /** @class */ (function () {
-- function Test() {
+- }
+- class Test {
+- constructor() {
- this.pt = { item: 1 };
- }
-- return Test;
-- }());
+- }
- exports.Test = Test;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceImplementation7.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceImplementation7.js.diff
deleted file mode 100644
index 490b664e7b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/interfaceImplementation7.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.interfaceImplementation7.js
-+++ new.interfaceImplementation7.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [interfaceImplementation7.js]
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- C1.prototype.name = function () { return ""; };
-- return C1;
--}());
-+class C1 {
-+ name() { return ""; }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceImplementation8.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceImplementation8.js.diff
index 43f2c683b2..d47e8a3fba 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceImplementation8.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceImplementation8.js.diff
@@ -1,90 +1,25 @@
--- old.interfaceImplementation8.js
+++ new.interfaceImplementation8.js
-@@= skipped -42, +42 lines =@@
-
+@@= skipped -43, +43 lines =@@
//// [interfaceImplementation8.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
--}());
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- return C3;
--}());
--var C4 = /** @class */ (function (_super) {
-- __extends(C4, _super);
-- function C4() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C4;
--}(C1));
--var C5 = /** @class */ (function (_super) {
-- __extends(C5, _super);
-- function C5() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C5;
--}(C2));
--var C6 = /** @class */ (function (_super) {
-- __extends(C6, _super);
-- function C6() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C6;
--}(C3));
--var C7 = /** @class */ (function () {
-- function C7() {
-- }
-- return C7;
--}());
--var C8 = /** @class */ (function (_super) {
-- __extends(C8, _super);
-- function C8() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C8;
--}(C7));
-+class C1 {
+ class C1 {
+ name;
-+}
-+class C2 {
+ }
+ class C2 {
+ name;
-+}
-+class C3 {
+ }
+ class C3 {
+ name;
-+}
-+class C4 extends C1 {
-+}
-+class C5 extends C2 {
-+}
-+class C6 extends C3 {
-+}
-+class C7 {
+ }
+ class C4 extends C1 {
+ }
+@@= skipped -12, +15 lines =@@
+ class C6 extends C3 {
+ }
+ class C7 {
+ name;
-+}
-+class C8 extends C7 {
+ }
+ class C8 extends C7 {
+ age;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceInReopenedModule.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceInReopenedModule.js.diff
index 00bbb2dbb0..0d324f05ca 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceInReopenedModule.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceInReopenedModule.js.diff
@@ -1,16 +1,10 @@
--- old.interfaceInReopenedModule.js
+++ new.interfaceInReopenedModule.js
-@@= skipped -16, +16 lines =@@
- // In second instance of same module, exported interface is not visible
+@@= skipped -17, +17 lines =@@
var m;
(function (m) {
-- var n = /** @class */ (function () {
-- function n() {
-- }
-- return n;
-- }());
-+ class n {
+ class n {
+ n;
-+ }
+ }
m.n = n;
})(m || (m = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceInheritance.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceInheritance.js.diff
index c708852d8a..501c2f6833 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceInheritance.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceInheritance.js.diff
@@ -1,17 +1,10 @@
--- old.interfaceInheritance.js
+++ new.interfaceInheritance.js
-@@= skipped -42, +42 lines =@@
-
+@@= skipped -43, +43 lines =@@
//// [interfaceInheritance.js]
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
--}());
-+class C1 {
+ class C1 {
+ i2P1;
-+}
+ }
var i2;
- var i1;
- var i3;
\ No newline at end of file
+ var i1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfacePropertiesWithSameName3.js.diff b/testdata/baselines/reference/submodule/compiler/interfacePropertiesWithSameName3.js.diff
index 0a2a5522c2..4968851008 100644
--- a/testdata/baselines/reference/submodule/compiler/interfacePropertiesWithSameName3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfacePropertiesWithSameName3.js.diff
@@ -1,22 +1,11 @@
--- old.interfacePropertiesWithSameName3.js
+++ new.interfacePropertiesWithSameName3.js
-@@= skipped -10, +10 lines =@@
-
+@@= skipped -11, +11 lines =@@
//// [interfacePropertiesWithSameName3.js]
--var D2 = /** @class */ (function () {
-- function D2() {
-- }
-- return D2;
--}());
--var E2 = /** @class */ (function () {
-- function E2() {
-- }
-- return E2;
--}());
-+class D2 {
+ class D2 {
+ a;
-+}
-+class E2 {
+ }
+ class E2 {
+ a;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceSubtyping.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceSubtyping.js.diff
index 3a00b30746..58b201c676 100644
--- a/testdata/baselines/reference/submodule/compiler/interfaceSubtyping.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfaceSubtyping.js.diff
@@ -1,18 +1,10 @@
--- old.interfaceSubtyping.js
+++ new.interfaceSubtyping.js
-@@= skipped -11, +11 lines =@@
-
+@@= skipped -12, +12 lines =@@
//// [interfaceSubtyping.js]
--var Camera = /** @class */ (function () {
-- function Camera(str) {
-+class Camera {
+ class Camera {
+ str;
-+ constructor(str) {
+ constructor(str) {
this.str = str;
- }
-- Camera.prototype.foo = function () { return "s"; };
-- return Camera;
--}());
-+ foo() { return "s"; }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfaceWithMultipleDeclarations.js.diff b/testdata/baselines/reference/submodule/compiler/interfaceWithMultipleDeclarations.js.diff
deleted file mode 100644
index 106d7691c1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/interfaceWithMultipleDeclarations.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.interfaceWithMultipleDeclarations.js
-+++ new.interfaceWithMultipleDeclarations.js
-@@= skipped -39, +39 lines =@@
- }
-
- //// [interfaceWithMultipleDeclarations.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/interfacedecl.js.diff b/testdata/baselines/reference/submodule/compiler/interfacedecl.js.diff
index 12d5480858..bd35a44657 100644
--- a/testdata/baselines/reference/submodule/compiler/interfacedecl.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/interfacedecl.js.diff
@@ -1,20 +1,6 @@
--- old.interfacedecl.js
+++ new.interfacedecl.js
-@@= skipped -48, +48 lines =@@
- var instance2 = new c1();
-
- //// [interfacedecl.js]
--var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
--}());
-+class c1 {
-+}
- var instance2 = new c1();
-
-
-@@= skipped -12, +9 lines =@@
+@@= skipped -57, +57 lines =@@
interface a0 {
(): string;
(a: any, b: any, c?: string): number;
diff --git a/testdata/baselines/reference/submodule/compiler/interfacedeclWithIndexerErrors.js.diff b/testdata/baselines/reference/submodule/compiler/interfacedeclWithIndexerErrors.js.diff
deleted file mode 100644
index ee6d53fefa..0000000000
--- a/testdata/baselines/reference/submodule/compiler/interfacedeclWithIndexerErrors.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.interfacedeclWithIndexerErrors.js
-+++ new.interfacedeclWithIndexerErrors.js
-@@= skipped -55, +55 lines =@@
- var instance2 = new c1();
-
- //// [interfacedeclWithIndexerErrors.js]
--var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
--}());
-+class c1 {
-+}
- var instance2 = new c1();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasClass.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasClass.js.diff
deleted file mode 100644
index af1c96f425..0000000000
--- a/testdata/baselines/reference/submodule/compiler/internalAliasClass.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.internalAliasClass.js
-+++ new.internalAliasClass.js
-@@= skipped -13, +13 lines =@@
- //// [internalAliasClass.js]
- var a;
- (function (a) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- a.c = c;
- })(a || (a = {}));
- var c;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideLocalModuleWithExport.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideLocalModuleWithExport.js.diff
deleted file mode 100644
index 35f1f7a8f2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideLocalModuleWithExport.js.diff
+++ /dev/null
@@ -1,27 +0,0 @@
---- old.internalAliasClassInsideLocalModuleWithExport.js
-+++ new.internalAliasClassInsideLocalModuleWithExport.js
-@@= skipped -24, +24 lines =@@
- exports.d = exports.m2 = exports.x = void 0;
- var x;
- (function (x) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- c.prototype.foo = function (a) {
-+ class c {
-+ foo(a) {
- return a;
-- };
-- return c;
-- }());
-+ }
-+ }
- x.c = c;
- })(x || (exports.x = x = {}));
- var m2;
- (function (m2) {
-- var m3;
-+ let m3;
- (function (m3) {
- m3.c = x.c;
- m3.cProp = new m3.c();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideLocalModuleWithoutExport.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideLocalModuleWithoutExport.js.diff
deleted file mode 100644
index db8109b909..0000000000
--- a/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideLocalModuleWithoutExport.js.diff
+++ /dev/null
@@ -1,27 +0,0 @@
---- old.internalAliasClassInsideLocalModuleWithoutExport.js
-+++ new.internalAliasClassInsideLocalModuleWithoutExport.js
-@@= skipped -22, +22 lines =@@
- exports.m2 = exports.x = void 0;
- var x;
- (function (x) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- c.prototype.foo = function (a) {
-+ class c {
-+ foo(a) {
- return a;
-- };
-- return c;
-- }());
-+ }
-+ }
- x.c = c;
- })(x || (exports.x = x = {}));
- var m2;
- (function (m2) {
-- var m3;
-+ let m3;
- (function (m3) {
- var c = x.c;
- m3.cProp = new c();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideLocalModuleWithoutExportAccessError.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideLocalModuleWithoutExportAccessError.js.diff
deleted file mode 100644
index de2fc1551b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideLocalModuleWithoutExportAccessError.js.diff
+++ /dev/null
@@ -1,27 +0,0 @@
---- old.internalAliasClassInsideLocalModuleWithoutExportAccessError.js
-+++ new.internalAliasClassInsideLocalModuleWithoutExportAccessError.js
-@@= skipped -24, +24 lines =@@
- exports.d = exports.m2 = exports.x = void 0;
- var x;
- (function (x) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- c.prototype.foo = function (a) {
-+ class c {
-+ foo(a) {
- return a;
-- };
-- return c;
-- }());
-+ }
-+ }
- x.c = c;
- })(x || (exports.x = x = {}));
- var m2;
- (function (m2) {
-- var m3;
-+ let m3;
- (function (m3) {
- var c = x.c;
- m3.cProp = new c();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideTopLevelModuleWithExport.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideTopLevelModuleWithExport.js.diff
index 30ead2cef8..5bc6b0a911 100644
--- a/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideTopLevelModuleWithExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideTopLevelModuleWithExport.js.diff
@@ -8,18 +8,9 @@
+exports.cProp = exports.x = void 0;
var x;
(function (x) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- c.prototype.foo = function (a) {
-+ class c {
-+ foo(a) {
- return a;
-- };
-- return c;
-- }());
-+ }
-+ }
+ class c {
+@@= skipped -10, +10 lines =@@
+ }
x.c = c;
})(x || (exports.x = x = {}));
-exports.xc = x.c;
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideTopLevelModuleWithoutExport.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideTopLevelModuleWithoutExport.js.diff
index 84fcf46707..02dab15e72 100644
--- a/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideTopLevelModuleWithoutExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/internalAliasClassInsideTopLevelModuleWithoutExport.js.diff
@@ -1,21 +1,7 @@
--- old.internalAliasClassInsideTopLevelModuleWithoutExport.js
+++ new.internalAliasClassInsideTopLevelModuleWithoutExport.js
-@@= skipped -18, +18 lines =@@
- exports.cProp = exports.x = void 0;
- var x;
- (function (x) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- c.prototype.foo = function (a) {
-+ class c {
-+ foo(a) {
- return a;
-- };
-- return c;
-- }());
-+ }
-+ }
+@@= skipped -25, +25 lines =@@
+ }
x.c = c;
})(x || (exports.x = x = {}));
-var xc = x.c;
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasEnum.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasEnum.js.diff
deleted file mode 100644
index bb60b97da2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/internalAliasEnum.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.internalAliasEnum.js
-+++ new.internalAliasEnum.js
-@@= skipped -17, +17 lines =@@
- //// [internalAliasEnum.js]
- var a;
- (function (a) {
-- var weekend;
-+ let weekend;
- (function (weekend) {
- weekend[weekend["Friday"] = 0] = "Friday";
- weekend[weekend["Saturday"] = 1] = "Saturday";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideLocalModuleWithExport.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideLocalModuleWithExport.js.diff
deleted file mode 100644
index e93677cb16..0000000000
--- a/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideLocalModuleWithExport.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.internalAliasEnumInsideLocalModuleWithExport.js
-+++ new.internalAliasEnumInsideLocalModuleWithExport.js
-@@= skipped -20, +20 lines =@@
- exports.c = exports.a = void 0;
- var a;
- (function (a) {
-- var weekend;
-+ let weekend;
- (function (weekend) {
- weekend[weekend["Friday"] = 0] = "Friday";
- weekend[weekend["Saturday"] = 1] = "Saturday";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideLocalModuleWithoutExport.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideLocalModuleWithoutExport.js.diff
deleted file mode 100644
index f2e76b240e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideLocalModuleWithoutExport.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.internalAliasEnumInsideLocalModuleWithoutExport.js
-+++ new.internalAliasEnumInsideLocalModuleWithoutExport.js
-@@= skipped -20, +20 lines =@@
- exports.c = exports.a = void 0;
- var a;
- (function (a) {
-- var weekend;
-+ let weekend;
- (function (weekend) {
- weekend[weekend["Friday"] = 0] = "Friday";
- weekend[weekend["Saturday"] = 1] = "Saturday";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideLocalModuleWithoutExportAccessError.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideLocalModuleWithoutExportAccessError.js.diff
deleted file mode 100644
index 8728fad80d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideLocalModuleWithoutExportAccessError.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.internalAliasEnumInsideLocalModuleWithoutExportAccessError.js
-+++ new.internalAliasEnumInsideLocalModuleWithoutExportAccessError.js
-@@= skipped -21, +21 lines =@@
- exports.c = exports.a = void 0;
- var a;
- (function (a) {
-- var weekend;
-+ let weekend;
- (function (weekend) {
- weekend[weekend["Friday"] = 0] = "Friday";
- weekend[weekend["Saturday"] = 1] = "Saturday";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideTopLevelModuleWithExport.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideTopLevelModuleWithExport.js.diff
index 2b3543eac2..719a8b2153 100644
--- a/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideTopLevelModuleWithExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideTopLevelModuleWithExport.js.diff
@@ -10,7 +10,7 @@
- exports.bVal = exports.b = exports.a = void 0;
- var a;
- (function (a) {
-- var weekend;
+- let weekend;
- (function (weekend) {
- weekend[weekend["Friday"] = 0] = "Friday";
- weekend[weekend["Saturday"] = 1] = "Saturday";
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideTopLevelModuleWithoutExport.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideTopLevelModuleWithoutExport.js.diff
index 34be02003a..d0b960b0fc 100644
--- a/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideTopLevelModuleWithoutExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/internalAliasEnumInsideTopLevelModuleWithoutExport.js.diff
@@ -10,7 +10,7 @@
- exports.bVal = exports.a = void 0;
- var a;
- (function (a) {
-- var weekend;
+- let weekend;
- (function (weekend) {
- weekend[weekend["Friday"] = 0] = "Friday";
- weekend[weekend["Saturday"] = 1] = "Saturday";
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModule.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModule.js.diff
deleted file mode 100644
index 26bf9f5995..0000000000
--- a/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModule.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.internalAliasInitializedModule.js
-+++ new.internalAliasInitializedModule.js
-@@= skipped -15, +15 lines =@@
- //// [internalAliasInitializedModule.js]
- var a;
- (function (a) {
-- var b;
-+ let b;
- (function (b) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- b.c = c;
- })(b = a.b || (a.b = {}));
- })(a || (a = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideLocalModuleWithExport.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideLocalModuleWithExport.js.diff
index 187e5e44f2..79766d10ed 100644
--- a/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideLocalModuleWithExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideLocalModuleWithExport.js.diff
@@ -10,13 +10,10 @@
- exports.c = exports.a = void 0;
- var a;
- (function (a) {
-- var b;
+- let b;
- (function (b) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
+- class c {
+- }
- b.c = c;
- })(b = a.b || (a.b = {}));
- })(a || (exports.a = a = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideLocalModuleWithoutExport.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideLocalModuleWithoutExport.js.diff
deleted file mode 100644
index c5c34f9302..0000000000
--- a/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideLocalModuleWithoutExport.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.internalAliasInitializedModuleInsideLocalModuleWithoutExport.js
-+++ new.internalAliasInitializedModuleInsideLocalModuleWithoutExport.js
-@@= skipped -18, +18 lines =@@
- exports.c = exports.a = void 0;
- var a;
- (function (a) {
-- var b;
-+ let b;
- (function (b) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- b.c = c;
- })(b = a.b || (a.b = {}));
- })(a || (exports.a = a = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideLocalModuleWithoutExportAccessError.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideLocalModuleWithoutExportAccessError.js.diff
deleted file mode 100644
index bc70cc4727..0000000000
--- a/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideLocalModuleWithoutExportAccessError.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.internalAliasInitializedModuleInsideLocalModuleWithoutExportAccessError.js
-+++ new.internalAliasInitializedModuleInsideLocalModuleWithoutExportAccessError.js
-@@= skipped -20, +20 lines =@@
- exports.d = exports.c = exports.a = void 0;
- var a;
- (function (a) {
-- var b;
-+ let b;
- (function (b) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- b.c = c;
- })(b = a.b || (a.b = {}));
- })(a || (exports.a = a = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideTopLevelModuleWithExport.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideTopLevelModuleWithExport.js.diff
index 11bd9d85b3..bc977f9b52 100644
--- a/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideTopLevelModuleWithExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideTopLevelModuleWithExport.js.diff
@@ -8,16 +8,8 @@
+exports.x = exports.a = void 0;
var a;
(function (a) {
-- var b;
-+ let b;
- (function (b) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
+ let b;
+@@= skipped -10, +10 lines =@@
b.c = c;
})(b = a.b || (a.b = {}));
})(a || (exports.a = a = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideTopLevelModuleWithoutExport.js.diff b/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideTopLevelModuleWithoutExport.js.diff
index d08c8edaa0..a6622d3003 100644
--- a/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideTopLevelModuleWithoutExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/internalAliasInitializedModuleInsideTopLevelModuleWithoutExport.js.diff
@@ -10,13 +10,10 @@
- exports.x = exports.a = void 0;
- var a;
- (function (a) {
-- var b;
+- let b;
- (function (b) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
+- class c {
+- }
- b.c = c;
- })(b = a.b || (a.b = {}));
- })(a || (exports.a = a = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.js.diff b/testdata/baselines/reference/submodule/compiler/internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.js.diff
index a91a1ead60..a05066dfca 100644
--- a/testdata/baselines/reference/submodule/compiler/internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.js.diff
@@ -1,20 +1,14 @@
--- old.internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.js
+++ new.internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.js
-@@= skipped -15, +15 lines =@@
-
+@@= skipped -16, +16 lines =@@
//// [internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
+ class A {
+ aProp;
-+}
+ }
(function (A) {
A.a = 10;
- })(A || (A = {}));
+@@= skipped -7, +8 lines =@@
var B;
(function (B) {
var A = 1;
diff --git a/testdata/baselines/reference/submodule/compiler/internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js.diff b/testdata/baselines/reference/submodule/compiler/internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js.diff
index 66f58c89b9..f62e163ed5 100644
--- a/testdata/baselines/reference/submodule/compiler/internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js.diff
@@ -1,17 +1,10 @@
--- old.internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js
+++ new.internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js
-@@= skipped -14, +14 lines =@@
-
+@@= skipped -15, +15 lines =@@
//// [internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
+ class A {
+ aProp;
-+}
+ }
(function (A) {
- A.a = 10;
- })(A || (A = {}));
\ No newline at end of file
+ A.a = 10;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.js.diff b/testdata/baselines/reference/submodule/compiler/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.js.diff
index 5a04ba2ad4..953153cf76 100644
--- a/testdata/baselines/reference/submodule/compiler/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.js.diff
@@ -1,17 +1,11 @@
--- old.internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.js
+++ new.internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.js
-@@= skipped -14, +14 lines =@@
-
+@@= skipped -15, +15 lines =@@
//// [internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
+ class A {
+ aProp;
-+}
+ }
var B;
(function (B) {
var A = 1;
diff --git a/testdata/baselines/reference/submodule/compiler/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js.diff b/testdata/baselines/reference/submodule/compiler/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js.diff
index 055671eac8..eb9acb112d 100644
--- a/testdata/baselines/reference/submodule/compiler/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js.diff
@@ -1,14 +1,8 @@
--- old.internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js
+++ new.internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js
-@@= skipped -13, +13 lines =@@
-
+@@= skipped -14, +14 lines =@@
//// [internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
+ class A {
+ aProp;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/intersectionOfTypeVariableHasApparentSignatures.js.diff b/testdata/baselines/reference/submodule/compiler/intersectionOfTypeVariableHasApparentSignatures.js.diff
deleted file mode 100644
index f35a28e2fa..0000000000
--- a/testdata/baselines/reference/submodule/compiler/intersectionOfTypeVariableHasApparentSignatures.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.intersectionOfTypeVariableHasApparentSignatures.js
-+++ new.intersectionOfTypeVariableHasApparentSignatures.js
-@@= skipped -19, +19 lines =@@
- //// [intersectionOfTypeVariableHasApparentSignatures.js]
- f({
- props: {
-- children: (function (_a) {
-- var x = _a.x;
-- })
-+ children: (({ x }) => { })
- }
- });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/intersectionPropertyCheck.js.diff b/testdata/baselines/reference/submodule/compiler/intersectionPropertyCheck.js.diff
index a4fac18258..8dddfcf128 100644
--- a/testdata/baselines/reference/submodule/compiler/intersectionPropertyCheck.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/intersectionPropertyCheck.js.diff
@@ -16,10 +16,8 @@
- };
- return __assign.apply(this, arguments);
-};
--var obj = { a: { x: 'hello', y: 2 }, c: 5 }; // Nested excess property
--var weak = wrong; // Nested weak object type
-+let obj = { a: { x: 'hello', y: 2 }, c: 5 }; // Nested excess property
-+let weak = wrong; // Nested weak object type
+ let obj = { a: { x: 'hello', y: 2 }, c: 5 }; // Nested excess property
+ let weak = wrong; // Nested weak object type
function foo(x, y) {
x = y; // Mismatched property in source intersection
}
diff --git a/testdata/baselines/reference/submodule/compiler/intersectionSatisfiesConstraint.js.diff b/testdata/baselines/reference/submodule/compiler/intersectionSatisfiesConstraint.js.diff
index e942da8714..0d6173edf0 100644
--- a/testdata/baselines/reference/submodule/compiler/intersectionSatisfiesConstraint.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/intersectionSatisfiesConstraint.js.diff
@@ -5,13 +5,6 @@
//// [intersectionSatisfiesConstraint.js]
-"use strict";
--var myFirstFunction = function (param1) {
-- var newParam = Object.assign(param1, { otherProperty: 3 });
-+const myFirstFunction = (param1) => {
-+ const newParam = Object.assign(param1, { otherProperty: 3 });
- mySecondFunction(newParam);
- };
--var mySecondFunction = function (newParam) {
-+const mySecondFunction = (newParam) => {
- return newParam;
- };
\ No newline at end of file
+ const myFirstFunction = (param1) => {
+ const newParam = Object.assign(param1, { otherProperty: 3 });
+ mySecondFunction(newParam);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/intersectionTypeInference1.js.diff b/testdata/baselines/reference/submodule/compiler/intersectionTypeInference1.js.diff
index 68654647d9..56f35b8476 100644
--- a/testdata/baselines/reference/submodule/compiler/intersectionTypeInference1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/intersectionTypeInference1.js.diff
@@ -9,8 +9,5 @@
exports.Form3 = void 0;
+// Repro from #8801
function alert(s) { }
--var parameterFn = function (props) { return alert(props.store); };
--var brokenFunction = function (f) { return function (o) { return o; }; };
-+const parameterFn = (props) => alert(props.store);
-+const brokenFunction = (f) => (o) => o;
- exports.Form3 = brokenFunction(parameterFn)({ store: "hello" });
\ No newline at end of file
+ const parameterFn = (props) => alert(props.store);
+ const brokenFunction = (f) => (o) => o;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/intersectionTypeNormalization.js.diff b/testdata/baselines/reference/submodule/compiler/intersectionTypeNormalization.js.diff
deleted file mode 100644
index 49123a6526..0000000000
--- a/testdata/baselines/reference/submodule/compiler/intersectionTypeNormalization.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.intersectionTypeNormalization.js
-+++ new.intersectionTypeNormalization.js
-@@= skipped -124, +124 lines =@@
- return value.str;
- }
- function foo(so) {
-- var val = so;
-- var isGenre = val.genreId;
-+ const val = so;
-+ const isGenre = val.genreId;
- return isGenre;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/intersectionsAndOptionalProperties.js.diff b/testdata/baselines/reference/submodule/compiler/intersectionsAndOptionalProperties.js.diff
index 71626ea062..cab7556f54 100644
--- a/testdata/baselines/reference/submodule/compiler/intersectionsAndOptionalProperties.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/intersectionsAndOptionalProperties.js.diff
@@ -7,14 +7,4 @@
-"use strict";
x = y; // Error
x = z; // Error
- function foo(v) {
-- var x;
-+ let x;
- x = v; // Error
- x.field = v.field; // Error
- }
- // Repro from #38348
--var yy = [1];
--var xx = yy;
-+const yy = [1];
-+const xx = yy;
\ No newline at end of file
+ function foo(v) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/intersectionsOfLargeUnions.js.diff b/testdata/baselines/reference/submodule/compiler/intersectionsOfLargeUnions.js.diff
index 9697eab2f5..1552e303e5 100644
--- a/testdata/baselines/reference/submodule/compiler/intersectionsOfLargeUnions.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/intersectionsOfLargeUnions.js.diff
@@ -11,14 +11,5 @@
exports.assertNodeProperty = assertNodeProperty;
+// Repro from #23977
function assertIsElement(node) {
-- var nodeType = node === null ? null : node.nodeType;
-+ let nodeType = node === null ? null : node.nodeType;
- return nodeType === 1;
- }
- function assertNodeTagName(node, tagName) {
- if (assertIsElement(node)) {
-- var nodeTagName = node.tagName.toLowerCase();
-+ const nodeTagName = node.tagName.toLowerCase();
- return nodeTagName === tagName;
- }
- return false;
\ No newline at end of file
+ let nodeType = node === null ? null : node.nodeType;
+ return nodeType === 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/intersectionsOfLargeUnions2.js.diff b/testdata/baselines/reference/submodule/compiler/intersectionsOfLargeUnions2.js.diff
index 663da98f0b..7468281772 100644
--- a/testdata/baselines/reference/submodule/compiler/intersectionsOfLargeUnions2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/intersectionsOfLargeUnions2.js.diff
@@ -7,17 +7,4 @@
-// Repro from #24233
Object.defineProperty(exports, "__esModule", { value: true });
exports.assertIsElement = assertIsElement;
- exports.assertNodeTagName = assertNodeTagName;
- exports.assertNodeProperty = assertNodeProperty;
- function assertIsElement(node) {
-- var nodeType = node === null ? null : node.nodeType;
-+ let nodeType = node === null ? null : node.nodeType;
- return nodeType === 1;
- }
- function assertNodeTagName(node, tagName) {
- if (assertIsElement(node)) {
-- var nodeTagName = node.tagName.toLowerCase();
-+ const nodeTagName = node.tagName.toLowerCase();
- return nodeTagName === tagName;
- }
- return false;
\ No newline at end of file
+ exports.assertNodeTagName = assertNodeTagName;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/intrinsics.js.diff b/testdata/baselines/reference/submodule/compiler/intrinsics.js.diff
index a57935b0e6..2326196cfe 100644
--- a/testdata/baselines/reference/submodule/compiler/intrinsics.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/intrinsics.js.diff
@@ -1,27 +1,6 @@
--- old.intrinsics.js
+++ new.intrinsics.js
-@@= skipped -19, +19 lines =@@
- var hasOwnProperty; // Error
- var m1;
- (function (m1) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- })(m1 || (m1 = {}));
- __proto__ = 0; // Error, __proto__ not defined
- m1.__proto__ = 0;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- var foo;
+@@= skipped -30, +30 lines =@@
//// [intrinsics.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/invalidContinueInDownlevelAsync.js.diff b/testdata/baselines/reference/submodule/compiler/invalidContinueInDownlevelAsync.js.diff
index f04e3f1492..a2890c0457 100644
--- a/testdata/baselines/reference/submodule/compiler/invalidContinueInDownlevelAsync.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/invalidContinueInDownlevelAsync.js.diff
@@ -13,48 +13,14 @@
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
--};
-function func() {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- switch (_a.label) {
-- case 0:
-- if (!true) return [3 /*break*/, 1];
-- continue;
-- return [3 /*break*/, 3];
-- case 1: return [4 /*yield*/, 1];
-- case 2:
-- _a.sent();
-- _a.label = 3;
-- case 3: return [2 /*return*/];
-- }
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- if (true) {
+- continue;
+- }
+- else {
+- yield 1;
+- }
- });
+async function func() {
+ if (true) {
diff --git a/testdata/baselines/reference/submodule/compiler/invalidOptionalChainFromNewExpression.js.diff b/testdata/baselines/reference/submodule/compiler/invalidOptionalChainFromNewExpression.js.diff
index 1596996019..c0039414d5 100644
--- a/testdata/baselines/reference/submodule/compiler/invalidOptionalChainFromNewExpression.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/invalidOptionalChainFromNewExpression.js.diff
@@ -5,16 +5,10 @@
//// [invalidOptionalChainFromNewExpression.js]
-var _a, _b;
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.b = function () { };
-- return A;
--}());
+ class A {
+ b() { }
+ }
-(_a = new A) === null || _a === void 0 ? void 0 : _a.b(); // error
-(_b = new A()) === null || _b === void 0 ? void 0 : _b.b(); // ok
-+class A {
-+ b() { }
-+}
+(new A)?.b(); // error
+new A()?.b(); // ok
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/invalidReferenceSyntax1.js.diff b/testdata/baselines/reference/submodule/compiler/invalidReferenceSyntax1.js.diff
deleted file mode 100644
index 6f619c89a4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/invalidReferenceSyntax1.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.invalidReferenceSyntax1.js
-+++ new.invalidReferenceSyntax1.js
-@@= skipped -7, +7 lines =@@
-
- //// [invalidReferenceSyntax1.js]
- /// { }) { }
+ class Bar2 {
+- constructor() {
- this.r = 1;
- this.f = 2;
- }
-- return Bar2;
--}());
-+function foo(p = (ip = 10, v) => { }) {
-+}
-+function foo2(p = (ip = 10, v) => { }) { }
-+class Bar2 {
+ r = 1;
+ f = 2;
-+}
+ }
exports.Bar2 = Bar2;
diff --git a/testdata/baselines/reference/submodule/compiler/isolatedDeclarationsAddUndefined2.js.diff b/testdata/baselines/reference/submodule/compiler/isolatedDeclarationsAddUndefined2.js.diff
index 1f33846930..872747af0c 100644
--- a/testdata/baselines/reference/submodule/compiler/isolatedDeclarationsAddUndefined2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/isolatedDeclarationsAddUndefined2.js.diff
@@ -10,54 +10,34 @@
exports.test1 = test1;
exports.test2 = test2;
exports.test3 = test3;
--var Bar = /** @class */ (function () {
-- function Bar(x) {
+// https://github.com/microsoft/TypeScript/issues/60123
-+class Bar {
+ class Bar {
+ x;
-+ constructor(x) {
+ constructor(x) {
this.x = x;
}
-- return Bar;
--}());
-+}
+ }
exports.Bar = Bar;
--var Bar2 = /** @class */ (function () {
-- function Bar2(x) {
-+class Bar2 {
+ class Bar2 {
+ x;
-+ constructor(x) {
+ constructor(x) {
this.x = x;
}
-- return Bar2;
--}());
-+}
+ }
exports.Bar2 = Bar2;
--var Bar3 = /** @class */ (function () {
-- function Bar3(x) {
-+class Bar3 {
+ class Bar3 {
+ x;
-+ constructor(x) {
+ constructor(x) {
this.x = x;
}
-- return Bar3;
--}());
-+}
+ }
exports.Bar3 = Bar3;
--var Bar4 = /** @class */ (function () {
-- function Bar4(x) {
-+class Bar4 {
+ class Bar4 {
+ x;
-+ constructor(x) {
+ constructor(x) {
this.x = x;
}
-- return Bar4;
--}());
-+}
- exports.Bar4 = Bar4;
- function test1(x) { }
- function test2(x) { }
-@@= skipped -40, +40 lines =@@
+@@= skipped -36, +40 lines =@@
//// [isolatedDeclarationsAddUndefined2.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/isolatedModulesExportDeclarationType.js.diff b/testdata/baselines/reference/submodule/compiler/isolatedModulesExportDeclarationType.js.diff
index e8ee862d5c..1e89e725c7 100644
--- a/testdata/baselines/reference/submodule/compiler/isolatedModulesExportDeclarationType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/isolatedModulesExportDeclarationType.js.diff
@@ -1,15 +1,6 @@
--- old.isolatedModulesExportDeclarationType.js
+++ new.isolatedModulesExportDeclarationType.js
-@@= skipped -28, +28 lines =@@
- //// [test1.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var T = 0; // Error as of #56354
-+const T = 0; // Error as of #56354
- exports.default = T; // Ok
- //// [test2.js]
- "use strict";
-@@= skipped -12, +12 lines =@@
+@@= skipped -40, +40 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// @ts-expect-error
diff --git a/testdata/baselines/reference/submodule/compiler/isolatedModulesExportImportUninstantiatedNamespace.js.diff b/testdata/baselines/reference/submodule/compiler/isolatedModulesExportImportUninstantiatedNamespace.js.diff
deleted file mode 100644
index f0f9861065..0000000000
--- a/testdata/baselines/reference/submodule/compiler/isolatedModulesExportImportUninstantiatedNamespace.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.isolatedModulesExportImportUninstantiatedNamespace.js
-+++ new.isolatedModulesExportImportUninstantiatedNamespace.js
-@@= skipped -23, +23 lines =@@
- //// [jsx.js]
- export {};
- //// [factory.js]
--export function createElement(tagName, attributes) {
-- var children = [];
-- for (var _i = 2; _i < arguments.length; _i++) {
-- children[_i - 2] = arguments[_i];
-- }
-+export function createElement(tagName, attributes, ...children) {
- //...
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/isolatedModulesGlobalNamespacesAndEnums.js.diff b/testdata/baselines/reference/submodule/compiler/isolatedModulesGlobalNamespacesAndEnums.js.diff
index df5c3a7212..84245da38a 100644
--- a/testdata/baselines/reference/submodule/compiler/isolatedModulesGlobalNamespacesAndEnums.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/isolatedModulesGlobalNamespacesAndEnums.js.diff
@@ -1,11 +1,6 @@
--- old.isolatedModulesGlobalNamespacesAndEnums.js
+++ new.isolatedModulesGlobalNamespacesAndEnums.js
-@@= skipped -52, +52 lines =@@
- Enum[Enum["B"] = 1] = "B";
- Enum[Enum["C"] = 2] = "C";
- })(Enum || (Enum = {}));
--var d = 'd';
-+const d = 'd';
+@@= skipped -56, +56 lines =@@
//// [enum2.js]
var Enum;
(function (Enum) {
diff --git a/testdata/baselines/reference/submodule/compiler/isolatedModulesImportExportElision.js.diff b/testdata/baselines/reference/submodule/compiler/isolatedModulesImportExportElision.js.diff
index 37d2e7e5ba..dc33b712bd 100644
--- a/testdata/baselines/reference/submodule/compiler/isolatedModulesImportExportElision.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/isolatedModulesImportExportElision.js.diff
@@ -1,46 +1,20 @@
--- old.isolatedModulesImportExportElision.js
+++ new.isolatedModulesImportExportElision.js
-@@= skipped -15, +15 lines =@@
-
- //// [file1.js]
+@@= skipped -17, +17 lines =@@
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.z = exports.c1 = void 0;
-var module_1 = require("module");
-var module_2 = require("module");
-var ns = require("module");
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(module_2.c2.C));
--var x = new module_1.c();
--var y = ns.value;
--var module_3 = require("module");
+const module_1 = require("module");
+const module_2 = require("module");
+const ns = require("module");
-+class C extends module_2.c2.C {
-+}
-+let x = new module_1.c();
-+let y = ns.value;
+ class C extends module_2.c2.C {
+ }
+ let x = new module_1.c();
+ let y = ns.value;
+-var module_3 = require("module");
+const module_3 = require("module");
Object.defineProperty(exports, "c1", { enumerable: true, get: function () { return module_3.c1; } });
exports.z = x;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/isolatedModulesReExportType.js.diff b/testdata/baselines/reference/submodule/compiler/isolatedModulesReExportType.js.diff
index 25420baaf0..0b525d20bd 100644
--- a/testdata/baselines/reference/submodule/compiler/isolatedModulesReExportType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/isolatedModulesReExportType.js.diff
@@ -1,20 +1,6 @@
--- old.isolatedModulesReExportType.js
+++ new.isolatedModulesReExportType.js
-@@= skipped -61, +61 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.C = void 0;
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
- exports.C = C;
- //// [reExportValueAsTypeOnly.js]
- "use strict";
-@@= skipped -14, +11 lines =@@
+@@= skipped -72, +72 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.NS = exports.C = void 0;
// OK, has a value side
diff --git a/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithDeclarationEmitPathSameAsInput.js.diff b/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithDeclarationEmitPathSameAsInput.js.diff
index 77a4e6f994..cea40b918a 100644
--- a/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithDeclarationEmitPathSameAsInput.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithDeclarationEmitPathSameAsInput.js.diff
@@ -1,16 +1,9 @@
--- old.jsFileCompilationWithDeclarationEmitPathSameAsInput.js
+++ new.jsFileCompilationWithDeclarationEmitPathSameAsInput.js
-@@= skipped -7, +7 lines =@@
- declare function isC(): boolean;
-
+@@= skipped -9, +9 lines =@@
//// [a.js]
--var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
--}());
-+class c {
-+}
+ class c {
+ }
+
+
+//// [a.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJs.js.map.diff b/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJs.js.map.diff
index bded02d3e6..1eb06a93c9 100644
--- a/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJs.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJs.js.map.diff
@@ -2,10 +2,8 @@
+++ new.jsFileCompilationWithMapFileAsJs.js.map
@@= skipped -0, +0 lines =@@
//// [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,MAAM,CAAC;CACN"}
-+//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgYyB7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1hLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDO0NBQ04ifQ==,Y2xhc3MgYyB7Cn0K
+ {"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC;CACN"}
+ //// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgYyB7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1hLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDO0NBQ04ifQ==,Y2xhc3MgYyB7Cn0K
+
+//// [b.js.map]
+{"version":3,"file":"b.js","sourceRoot":"","sources":["b.js"],"names":[],"mappings":"AAAA,SAAS,GAAG,GAAG;AAAC,CACf"}
diff --git a/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJs.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJs.sourcemap.txt.diff
index cb39a2da0c..84ba1b0da2 100644
--- a/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJs.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJs.sourcemap.txt.diff
@@ -1,58 +1,10 @@
--- old.jsFileCompilationWithMapFileAsJs.sourcemap.txt
+++ new.jsFileCompilationWithMapFileAsJs.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:a.js
- sourceFile:a.ts
- -------------------------------------------------------------------
-->>>var c = /** @class */ (function () {
--1 >
--2 >^^^^^^^^^^^^^^^^^^^->
--1 >
--1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
-----
-->>> function c() {
--1->^^^^
--2 > ^^->
--1->
--1->Emitted(2, 5) Source(1, 1) + SourceIndex(0)
-----
-->>> }
--1->^^^^
--2 > ^
--3 > ^^^^^^^^^->
--1->class c {
-- >
--2 > }
--1->Emitted(3, 5) Source(2, 1) + SourceIndex(0)
--2 >Emitted(3, 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)
-----
-->>>}());
-+>>>class c {
-+1 >
-+2 >^^^^^^
-+3 > ^
-+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 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 > {
-+ >}
-+1 >Emitted(2, 2) Source(2, 2) + SourceIndex(0)
-+---
+@@= skipped -25, +25 lines =@@
+ >}
+ 1 >Emitted(2, 2) Source(2, 2) + SourceIndex(0)
+ ---
+->>>//# sourceMappingURL=a.js.map
+>>>//# sourceMappingURL=a.js.map===================================================================
+JsFile: b.js
+mapUrl: b.js.map
@@ -78,26 +30,13 @@
+4 >Emitted(1, 16) Source(1, 16) + SourceIndex(0)
+---
+>>>}
- 1 >
- 2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 >}
--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 >
++2 >^
+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+1 >{
+2 >
+ >}
+1 >Emitted(2, 1) Source(1, 17) + SourceIndex(0)
+2 >Emitted(2, 2) Source(2, 2) + SourceIndex(0)
- ---
-->>>//# sourceMappingURL=a.js.map
++---
+>>>//# sourceMappingURL=b.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJsWithInlineSourceMap.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJsWithInlineSourceMap.sourcemap.txt.diff
index 9aff77c802..8f77d82282 100644
--- a/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJsWithInlineSourceMap.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJsWithInlineSourceMap.sourcemap.txt.diff
@@ -1,66 +1,10 @@
--- old.jsFileCompilationWithMapFileAsJsWithInlineSourceMap.sourcemap.txt
+++ new.jsFileCompilationWithMapFileAsJsWithInlineSourceMap.sourcemap.txt
-@@= skipped -0, +0 lines =@@
- ===================================================================
- JsFile: a.js
--mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFBQTtJQUNBLENBQUM7SUFBRCxRQUFDO0FBQUQsQ0FBQyxBQURELElBQ0MifQ==
-+mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDO0NBQ04ifQ==
- sourceRoot:
- sources: a.ts
- ===================================================================
-@@= skipped -7, +7 lines =@@
- emittedFile:a.js
- sourceFile:a.ts
- -------------------------------------------------------------------
-->>>var c = /** @class */ (function () {
--1 >
--2 >^^^^^^^^^^^^^^^^^^^->
--1 >
--1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
-----
-->>> function c() {
--1->^^^^
--2 > ^^->
--1->
--1->Emitted(2, 5) Source(1, 1) + SourceIndex(0)
-----
-->>> }
--1->^^^^
--2 > ^
--3 > ^^^^^^^^^->
--1->class c {
-- >
--2 > }
--1->Emitted(3, 5) Source(2, 1) + SourceIndex(0)
--2 >Emitted(3, 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)
-----
-->>>}());
-+>>>class c {
-+1 >
-+2 >^^^^^^
-+3 > ^
-+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 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 > {
-+ >}
-+1 >Emitted(2, 2) Source(2, 2) + SourceIndex(0)
-+---
+@@= skipped -25, +25 lines =@@
+ >}
+ 1 >Emitted(2, 2) Source(2, 2) + SourceIndex(0)
+ ---
+->>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDO0NBQ04ifQ==
+>>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDO0NBQ04ifQ=====================================================================
+JsFile: b.js
+mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsU0FBUyxHQUFHLEdBQUc7QUFBQyxDQUNmIn0=
@@ -86,26 +30,13 @@
+4 >Emitted(1, 16) Source(1, 16) + SourceIndex(0)
+---
+>>>}
- 1 >
- 2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 >}
--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 >
++2 >^
+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+1 >{
+2 >
+ >}
+1 >Emitted(2, 1) Source(1, 17) + SourceIndex(0)
+2 >Emitted(2, 2) Source(2, 2) + SourceIndex(0)
- ---
-->>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFBQTtJQUNBLENBQUM7SUFBRCxRQUFDO0FBQUQsQ0FBQyxBQURELElBQ0MifQ==
++---
+>>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsU0FBUyxHQUFHLEdBQUc7QUFBQyxDQUNmIn0=
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJsWithOutDir.js.map.diff b/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJsWithOutDir.js.map.diff
index cd7634034b..64d40d95c6 100644
--- a/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJsWithOutDir.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJsWithOutDir.js.map.diff
@@ -2,8 +2,7 @@
+++ new.jsFileCompilationWithMapFileAsJsWithOutDir.js.map
@@= skipped -0, +0 lines =@@
//// [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,MAAM,CAAC;CACN"}
+ {"version":3,"file":"a.js","sourceRoot":"","sources":["../a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC;CACN"}
//// [b.js.map]
-{"version":3,"file":"b.js","sourceRoot":"","sources":["../b.js"],"names":[],"mappings":"AAAA,SAAS,GAAG;AACZ,CAAC"}
+{"version":3,"file":"b.js","sourceRoot":"","sources":["../b.js"],"names":[],"mappings":"AAAA,SAAS,GAAG,GAAG;AAAC,CACf"}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJsWithOutDir.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJsWithOutDir.sourcemap.txt.diff
index 109a7da656..51e3373196 100644
--- a/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJsWithOutDir.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsFileCompilationWithMapFileAsJsWithOutDir.sourcemap.txt.diff
@@ -1,74 +1,6 @@
--- old.jsFileCompilationWithMapFileAsJsWithOutDir.sourcemap.txt
+++ new.jsFileCompilationWithMapFileAsJsWithOutDir.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:out/a.js
- sourceFile:../a.ts
- -------------------------------------------------------------------
-->>>var c = /** @class */ (function () {
--1 >
--2 >^^^^^^^^^^^^^^^^^^^->
--1 >
-+>>>class c {
-+1 >
-+2 >^^^^^^
-+3 > ^
-+1 >
-+2 >class
-+3 > c
- 1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
-----
-->>> function c() {
--1->^^^^
--2 > ^^->
--1->
--1->Emitted(2, 5) Source(1, 1) + SourceIndex(0)
-----
-->>> }
--1->^^^^
--2 > ^
--3 > ^^^^^^^^^->
--1->class c {
-- >
--2 > }
--1->Emitted(3, 5) Source(2, 1) + SourceIndex(0)
--2 >Emitted(3, 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 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 >}
--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)
-+2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0)
-+3 >Emitted(1, 8) Source(1, 8) + SourceIndex(0)
-+---
-+>>>}
-+1 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 > {
-+ >}
-+1 >Emitted(2, 2) Source(2, 2) + SourceIndex(0)
- ---
- >>>//# sourceMappingURL=a.js.map===================================================================
- JsFile: b.js
-@@= skipped -60, +32 lines =@@
+@@= skipped -39, +39 lines =@@
1 >
2 >^^^^^^^^^
3 > ^^^
diff --git a/testdata/baselines/reference/submodule/compiler/jsdocInTypeScript.js.diff b/testdata/baselines/reference/submodule/compiler/jsdocInTypeScript.js.diff
index fc17b20a50..afcfd4e612 100644
--- a/testdata/baselines/reference/submodule/compiler/jsdocInTypeScript.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsdocInTypeScript.js.diff
@@ -1,41 +1,23 @@
--- old.jsdocInTypeScript.js
+++ new.jsdocInTypeScript.js
-@@= skipped -59, +59 lines =@@
-
+@@= skipped -60, +60 lines =@@
//// [jsdocInTypeScript.js]
--var T = /** @class */ (function () {
-- function T() {
-- }
-- return T;
--}());
-+class T {
+ class T {
+ prop;
-+}
+ }
x.prop;
// @param type has no effect.
- /**
-@@= skipped -17, +15 lines =@@
- f(true).length;
- // @type has no effect either.
- /** @type {{ x?: number }} */
--var z = {};
-+const z = {};
- z.x = 1; // Error
+@@= skipped -18, +19 lines =@@
/** @template T */
function tem(t) { return {}; }
--var i; // Should succeed thanks to type parameter default
+ let i; // Should succeed thanks to type parameter default
-/** @typedef {string} N.Str */
-var M = N; // Error: @typedef does not create namespaces in TypeScript code.
-+let i; // Should succeed thanks to type parameter default
// Not legal JSDoc, but that shouldn't matter in TypeScript.
/**
* @type {{foo: (function(string, string): string)}}
- */
--var obj = { foo: function (a, b) { return a + b; } };
-+const obj = { foo: (a, b) => a + b };
- /** @enum {string} */
- var E = {};
+@@= skipped -12, +10 lines =@@
E[""];
// make sure import types in JSDoc are not resolved
/** @type {import("should-not-be-resolved").Type} */
diff --git a/testdata/baselines/reference/submodule/compiler/jsdocParameterParsingInvalidName.js.diff b/testdata/baselines/reference/submodule/compiler/jsdocParameterParsingInvalidName.js.diff
deleted file mode 100644
index ef9f6d1e15..0000000000
--- a/testdata/baselines/reference/submodule/compiler/jsdocParameterParsingInvalidName.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.jsdocParameterParsingInvalidName.js
-+++ new.jsdocParameterParsingInvalidName.js
-@@= skipped -9, +9 lines =@@
- }
-
- //// [jsdocParameterParsingInvalidName.js]
--var c = /** @class */ (function () {
-- function c() {
-- }
-+class c {
- /**
- * @param {string} [`foo]
- */
-- c.prototype.method = function (foo) {
-- };
-- return c;
--}());
-+ method(foo) {
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/json.stringify.js.diff b/testdata/baselines/reference/submodule/compiler/json.stringify.js.diff
deleted file mode 100644
index 4c22f7ff72..0000000000
--- a/testdata/baselines/reference/submodule/compiler/json.stringify.js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.json.stringify.js
-+++ new.json.stringify.js
-@@= skipped -12, +12 lines =@@
- JSON.stringify(value, undefined, 2);
- JSON.stringify(value, null, 2);
- JSON.stringify(value, ["a", 1], 2);
--JSON.stringify(value, function (k) { return undefined; }, 2);
-+JSON.stringify(value, (k) => undefined, 2);
- JSON.stringify(value, undefined, 2);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxAttributeMissingInitializer.js.diff b/testdata/baselines/reference/submodule/compiler/jsxAttributeMissingInitializer.js.diff
deleted file mode 100644
index 9fc0fbab35..0000000000
--- a/testdata/baselines/reference/submodule/compiler/jsxAttributeMissingInitializer.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.jsxAttributeMissingInitializer.js
-+++ new.jsxAttributeMissingInitializer.js
-@@= skipped -5, +5 lines =@@
-
-
- //// [jsxAttributeMissingInitializer.jsx]
--var x = ;
--var y = 0;
-+const x = ;
-+const y = 0;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxCallElaborationCheckNoCrash1.js.diff b/testdata/baselines/reference/submodule/compiler/jsxCallElaborationCheckNoCrash1.js.diff
index 7fa41d9a13..c1dbfd53f8 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxCallElaborationCheckNoCrash1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxCallElaborationCheckNoCrash1.js.diff
@@ -8,12 +8,8 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Hoc = void 0;
-var React = require("react");
--var Hoc = function (TagElement) {
-- var Component = function () { return React.createElement(TagElement, null); };
+///
+const React = require("react");
-+const Hoc = (TagElement) => {
-+ const Component = () => React.createElement(TagElement, null);
- return Component;
- };
- exports.Hoc = Hoc;
\ No newline at end of file
+ const Hoc = (TagElement) => {
+ const Component = () => React.createElement(TagElement, null);
+ return Component;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxCallbackWithDestructuring.js.diff b/testdata/baselines/reference/submodule/compiler/jsxCallbackWithDestructuring.js.diff
deleted file mode 100644
index 3ade23af33..0000000000
--- a/testdata/baselines/reference/submodule/compiler/jsxCallbackWithDestructuring.js.diff
+++ /dev/null
@@ -1,37 +0,0 @@
---- old.jsxCallbackWithDestructuring.js
-+++ new.jsxCallbackWithDestructuring.js
-@@= skipped -29, +29 lines =@@
-
- //// [jsxCallbackWithDestructuring.jsx]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.MyComponent = void 0;
--var MyComponent = /** @class */ (function (_super) {
-- __extends(MyComponent, _super);
-- function MyComponent() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return MyComponent;
--}(Component));
-+class MyComponent extends Component {
-+}
- exports.MyComponent = MyComponent;
-- ;
-+ { }}/>;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxChildrenArrayWrongType.js.diff b/testdata/baselines/reference/submodule/compiler/jsxChildrenArrayWrongType.js.diff
index f17c17a3b6..0f17e08fc4 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxChildrenArrayWrongType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxChildrenArrayWrongType.js.diff
@@ -7,7 +7,7 @@
-"use strict";
///
///
--var b = (React.createElement(Foo, null,
+-const b = (React.createElement(Foo, null,
- React.createElement("div", null),
- "aa"));
+const b = (React.createElement(Foo, null, React.createElement("div", null), "aa"));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxChildrenGenericContextualTypes.js.diff b/testdata/baselines/reference/submodule/compiler/jsxChildrenGenericContextualTypes.js.diff
index 4748d1dda6..f570d9e0ed 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxChildrenGenericContextualTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxChildrenGenericContextualTypes.js.diff
@@ -5,26 +5,6 @@
//// [jsxChildrenGenericContextualTypes.jsx]
-"use strict";
--var Elem = function (p) { return ; };
--Elem({ prop: { a: "x" }, children: function (i) { return ({ a: "z" }); } });
--var q = ;
--var qq = {function (i) { return ({ a: "z" }); }} ;
--var ElemLit = function (p) { return ; };
--ElemLit({ prop: "x", children: function () { return "x"; } });
--var j = ;
--var jj = {function () { return "x"; }} ;
-+const Elem = (p) => ;
-+Elem({ prop: { a: "x" }, children: i => ({ a: "z" }) });
-+const q = ({ a: "z" })}/>;
-+const qq = {i => ({ a: "z" })} ;
-+const ElemLit = (p) => ;
-+ElemLit({ prop: "x", children: () => "x" });
-+const j = "x"}/>;
-+const jj = {() => "x"} ;
- // Should error
--var arg = ;
--var argchild = {function (p) { return "y"; }} ;
--var mismatched = {function () { return 12; }} ;
-+const arg = "y"}/>;
-+const argchild = {p => "y"} ;
-+const mismatched = {() => 12} ;
\ No newline at end of file
+ const Elem = (p) => ;
+ Elem({ prop: { a: "x" }, children: i => ({ a: "z" }) });
+ const q = ({ a: "z" })}/>;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxChildrenIndividualErrorElaborations.js.diff b/testdata/baselines/reference/submodule/compiler/jsxChildrenIndividualErrorElaborations.js.diff
index 605390a00d..9633d2815a 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxChildrenIndividualErrorElaborations.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxChildrenIndividualErrorElaborations.js.diff
@@ -10,41 +10,38 @@
return React.createElement(React.Fragment, null);
}
// Incompatible child.
--var a = React.createElement(Blah, null, function (x) { return x; });
-+var a = React.createElement(Blah, null, x => x);
+ var a = React.createElement(Blah, null, x => x);
// Blah components don't accept text as child elements
-var a = React.createElement(Blah, null, "Hello unexpected text!");
+var a = React.createElement(Blah, null, "Hello unexpected text");
// Blah components don't accept multiple children.
-var a = React.createElement(Blah, null,
-- function (x) { return "" + x; },
-- function (x) { return "" + x; });
+- x => "" + x,
+- x => "" + x);
+var a = React.createElement(Blah, null, x => "" + x, x => "" + x);
function Blah2(props) {
return React.createElement(React.Fragment, null);
}
// Incompatible child.
--var a = React.createElement(Blah2, null, function (x) { return x; });
-+var a = React.createElement(Blah2, null, x => x);
+ var a = React.createElement(Blah2, null, x => x);
// Blah2 components don't accept text as child elements
-var a = React.createElement(Blah2, null, "Hello unexpected text!");
+var a = React.createElement(Blah2, null, "Hello unexpected text");
// Blah2 components don't accept multiple children of the wrong type.
-var a = React.createElement(Blah2, null,
-- function (x) { return x; },
-- function (x) { return x; });
+- x => x,
+- x => x);
+var a = React.createElement(Blah2, null, x => x, x => x);
function Blah3(props) {
return React.createElement(React.Fragment, null);
}
// Incompatible child.
--var a = React.createElement(Blah3, null, function (x) { return x; });
-+var a = React.createElement(Blah3, null, x => x);
+ var a = React.createElement(Blah3, null, x => x);
// Blah3 components don't accept text as child elements
-var a = React.createElement(Blah3, null, "Hello unexpected text!");
+var a = React.createElement(Blah3, null, "Hello unexpected text");
// Blah3 components don't accept multiple children of the wrong type.
-var a = React.createElement(Blah3, null,
-- function (x) { return x; },
-- function (x) { return x; });
+- x => x,
+- x => x);
+var a = React.createElement(Blah3, null, x => x, x => x);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxChildrenSingleChildConfusableWithMultipleChildrenNoError.js.diff b/testdata/baselines/reference/submodule/compiler/jsxChildrenSingleChildConfusableWithMultipleChildrenNoError.js.diff
index f159f42c4e..4f2d8d312a 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxChildrenSingleChildConfusableWithMultipleChildrenNoError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxChildrenSingleChildConfusableWithMultipleChildrenNoError.js.diff
@@ -5,21 +5,6 @@
//// [jsxChildrenSingleChildConfusableWithMultipleChildrenNoError.js]
"use strict";
-///
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.App = void 0;
-var React = require("react");
@@ -27,22 +12,4 @@
+const React = require("react");
function TabLayout(props) {
return React.createElement("div", null);
- }
--var App = /** @class */ (function (_super) {
-- __extends(App, _super);
-- function App() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- App.prototype.render = function () {
-+class App extends React.Component {
-+ render() {
- return React.createElement(TabLayout, null, [
- ['Users', React.createElement("div", null)],
- ['Products', React.createElement("div", null)]
- ]);
-- };
-- return App;
--}(React.Component));
-+ }
-+}
- exports.App = App;
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxComplexSignatureHasApplicabilityError.js.diff b/testdata/baselines/reference/submodule/compiler/jsxComplexSignatureHasApplicabilityError.js.diff
index 19874c82c5..1a21218483 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxComplexSignatureHasApplicabilityError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxComplexSignatureHasApplicabilityError.js.diff
@@ -16,10 +16,5 @@
+///
+const React = require("react");
function createReactSingleSelect(WrappedComponent) {
-- return function (props) {
-- return (React.createElement(ReactSelectClass, __assign({}, props, { multi: false, autosize: false, value: props.value, onChange: function (value) {
-+ return (props) => {
-+ return (React.createElement(ReactSelectClass, __assign({}, props, { multi: false, autosize: false, value: props.value, onChange: (value) => {
- if (props.onChange) {
- props.onChange(value === null ? undefined : value);
- }
\ No newline at end of file
+ return (props) => {
+ return (React.createElement(ReactSelectClass, __assign({}, props, { multi: false, autosize: false, value: props.value, onChange: (value) => {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxComponentTypeErrors.js.diff b/testdata/baselines/reference/submodule/compiler/jsxComponentTypeErrors.js.diff
index 1cd4ee8854..4ce429b405 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxComponentTypeErrors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxComponentTypeErrors.js.diff
@@ -5,51 +5,17 @@
//// [jsxComponentTypeErrors.jsx]
-"use strict";
--function FunctionComponent(_a) {
-- var type = _a.type;
-+function FunctionComponent({ type }) {
+ function FunctionComponent({ type }) {
return {
-- type: type
-+ type
- };
- }
- FunctionComponent.useThis = function () {
+ type
+@@= skipped -10, +9 lines =@@
return ;
};
--var ClassComponent = /** @class */ (function () {
-- function ClassComponent() {
+ class ClassComponent {
+- constructor() {
- this.type = 'string';
- }
-- return ClassComponent;
--}());
--var MixedComponent = Math.random() ? FunctionComponent : ClassComponent;
--var elem1 = ;
--var elem2 = ;
--var elem3 = ;
--var elem4 = ;
--var obj = {
-- MemberFunctionComponent: function () {
-+class ClassComponent {
+ type = 'string';
-+}
-+const MixedComponent = Math.random() ? FunctionComponent : ClassComponent;
-+const elem1 = ;
-+const elem2 = ;
-+const elem3 = ;
-+const elem4 = ;
-+const obj = {
-+ MemberFunctionComponent() {
- return {};
- },
-- MemberClassComponent: /** @class */ (function () {
-- function MemberClassComponent() {
-- }
-- return MemberClassComponent;
-- }()),
-+ MemberClassComponent: class {
-+ },
- };
--var elem5 = ;
--var elem6 = ;
-+const elem5 = ;
-+const elem6 = ;
\ No newline at end of file
+ }
+ const MixedComponent = Math.random() ? FunctionComponent : ClassComponent;
+ const elem1 = ;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxElementClassTooManyParams.js.diff b/testdata/baselines/reference/submodule/compiler/jsxElementClassTooManyParams.js.diff
index a475b0ba15..2cd0bb4f1a 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxElementClassTooManyParams.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxElementClassTooManyParams.js.diff
@@ -5,15 +5,8 @@
//// [jsxElementClassTooManyParams.jsx]
-"use strict";
--var ElemClass = /** @class */ (function () {
-- function ElemClass(props) {
-+class ElemClass {
+ class ElemClass {
+ props;
-+ constructor(props) {
+ constructor(props) {
this.props = props;
- }
-- return ElemClass;
--}());
--var elem = ;
-+}
-+const elem = ;
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxElementType.js.diff b/testdata/baselines/reference/submodule/compiler/jsxElementType.js.diff
index f9f3d9efc7..a68ad5ac7d 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxElementType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxElementType.js.diff
@@ -4,21 +4,6 @@
//// [jsxElementType.js]
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
-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) {
@@ -27,103 +12,20 @@
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
--};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
-};
Object.defineProperty(exports, "__esModule", { value: true });
///
-var React = require("react");
--var Component;
--var RenderElement = function (_a) {
-- var title = _a.title;
-- return React.createElement("div", null, title);
--};
+const React = require("react");
-+let Component;
-+const RenderElement = ({ title }) => React.createElement("div", null, title);
+ let Component;
+ const RenderElement = ({ title }) => React.createElement("div", null, title);
Component = RenderElement;
- React.createElement(RenderElement, null);
- React.createElement(RenderElement, { title: "react" });
- React.createElement(RenderElement, { excessProp: true });
--var RenderString = function (_a) {
-- var title = _a.title;
-- return title;
--};
-+const RenderString = ({ title }) => title;
- Component = RenderString;
- React.createElement(RenderString, null);
- React.createElement(RenderString, { title: "react" });
- React.createElement(RenderString, { excessProp: true });
--var RenderNumber = function (_a) {
-- var title = _a.title;
-- return title.length;
--};
-+const RenderNumber = ({ title }) => title.length;
- Component = RenderNumber;
- React.createElement(RenderNumber, null);
- React.createElement(RenderNumber, { title: "react" });
- React.createElement(RenderNumber, { excessProp: true });
--var RenderArray = function (_a) {
-- var title = _a.title;
-- return [title];
--};
-+const RenderArray = ({ title }) => [title];
- Component = RenderArray;
- React.createElement(RenderArray, null);
+@@= skipped -34, +25 lines =@@
React.createElement(RenderArray, { title: "react" });
React.createElement(RenderArray, { excessProp: true });
// React Server Component
--var RenderPromise = function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
-- var title = _b.title;
-- return __generator(this, function (_c) {
-- return [2 /*return*/, "react"];
-- });
--}); };
+-const RenderPromise = (_a) => __awaiter(void 0, [_a], void 0, function* ({ title }) { return "react"; });
+const RenderPromise = async ({ title }) => "react";
Component = RenderPromise;
React.createElement(RenderPromise, null);
- React.createElement(RenderPromise, { title: "react" });
- React.createElement(RenderPromise, { excessProp: true });
- // Class components still work
--var RenderStringClass = /** @class */ (function (_super) {
-- __extends(RenderStringClass, _super);
-- function RenderStringClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- RenderStringClass.prototype.render = function () {
-+class RenderStringClass extends React.Component {
-+ render() {
- return this.props.title;
-- };
-- return RenderStringClass;
--}(React.Component));
-+ }
-+}
- Component = RenderStringClass;
- React.createElement(RenderStringClass, null);
- React.createElement(RenderStringClass, { title: "react" });
\ No newline at end of file
+ React.createElement(RenderPromise, { title: "react" });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxElementTypeLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/jsxElementTypeLiteral.js.diff
index 9fe1e2f2bb..3e5c4e37d0 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxElementTypeLiteral.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxElementTypeLiteral.js.diff
@@ -7,12 +7,5 @@
-var React = require("react");
+const React = require("react");
// should be fine - `ElementType` accepts `div`
--var a = React.createElement("div", null);
-+let a = React.createElement("div", null);
- // should be an error - `ElementType` does not accept `span`
--var b = React.createElement("span", null);
-+let b = React.createElement("span", null);
- // Should be an error.
- // `ruhroh` is in neither `IntrinsicElements` nor `ElementType`
--var c = React.createElement("ruhroh", null);
-+let c = React.createElement("ruhroh", null);
\ No newline at end of file
+ let a = React.createElement("div", null);
+ // should be an error - `ElementType` does not accept `span`
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxElementTypeLiteralWithGeneric.js.diff b/testdata/baselines/reference/submodule/compiler/jsxElementTypeLiteralWithGeneric.js.diff
index 2602b02626..e24b0f3772 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxElementTypeLiteralWithGeneric.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxElementTypeLiteralWithGeneric.js.diff
@@ -7,9 +7,5 @@
-var React = require("react");
+const React = require("react");
// should be fine - `ElementType` accepts `div`
--var a = React.createElement("div", null);
-+let a = React.createElement("div", null);
- // Should be an error.
- // `ruhroh` is in neither `IntrinsicElements` nor `ElementType`
--var c = React.createElement("ruhroh", null);
-+let c = React.createElement("ruhroh", null);
\ No newline at end of file
+ let a = React.createElement("div", null);
+ // Should be an error.
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxEmptyExpressionNotCountedAsChild(jsx=react).js.diff b/testdata/baselines/reference/submodule/compiler/jsxEmptyExpressionNotCountedAsChild(jsx=react).js.diff
index ec992273f0..e75b72d689 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxEmptyExpressionNotCountedAsChild(jsx=react).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxEmptyExpressionNotCountedAsChild(jsx=react).js.diff
@@ -9,6 +9,6 @@
function Wrapper(props) {
return React.createElement("div", null, props.children);
}
--var element = (React.createElement(Wrapper, null,
+-const element = (React.createElement(Wrapper, null,
- React.createElement("div", null, "Hello")));
+const element = (React.createElement(Wrapper, null, React.createElement("div", null, "Hello")));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsx).js.diff b/testdata/baselines/reference/submodule/compiler/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsx).js.diff
index 3d91add4a1..345ffbaac1 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsx).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsx).js.diff
@@ -10,5 +10,5 @@
- return (0, jsx_runtime_1.jsx)("div", { children: props.children });
+ return jsx_runtime_1.jsx("div", { children: props.children });
}
--var element = ((0, jsx_runtime_1.jsx)(Wrapper, { children: (0, jsx_runtime_1.jsx)("div", { children: "Hello" }) }));
+-const element = ((0, jsx_runtime_1.jsx)(Wrapper, { children: (0, jsx_runtime_1.jsx)("div", { children: "Hello" }) }));
+const element = (jsx_runtime_1.jsx(Wrapper, { children: jsx_runtime_1.jsx("div", { children: "Hello" }) }));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsxdev).js.diff b/testdata/baselines/reference/submodule/compiler/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsxdev).js.diff
index c93cd03406..536da522f2 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsxdev).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxEmptyExpressionNotCountedAsChild(jsx=react-jsxdev).js.diff
@@ -5,12 +5,11 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var jsx_dev_runtime_1 = require("react/jsx-dev-runtime");
--var _jsxFileName = "jsxEmptyExpressionNotCountedAsChild.tsx";
+const jsx_dev_runtime_1 = require("react/jsx-dev-runtime");
-+const _jsxFileName = "jsxEmptyExpressionNotCountedAsChild.tsx";
+ const _jsxFileName = "jsxEmptyExpressionNotCountedAsChild.tsx";
function Wrapper(props) {
- return (0, jsx_dev_runtime_1.jsxDEV)("div", { children: props.children }, void 0, false, { fileName: _jsxFileName, lineNumber: 9, columnNumber: 11 }, this);
+ return jsx_dev_runtime_1.jsxDEV("div", { children: props.children }, void 0, false, { fileName: _jsxFileName, lineNumber: 9, columnNumber: 11 }, this);
}
--var element = ((0, jsx_dev_runtime_1.jsxDEV)(Wrapper, { children: (0, jsx_dev_runtime_1.jsxDEV)("div", { children: "Hello" }, void 0, false, { fileName: _jsxFileName, lineNumber: 15, columnNumber: 6 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 12, columnNumber: 18 }, this));
+-const element = ((0, jsx_dev_runtime_1.jsxDEV)(Wrapper, { children: (0, jsx_dev_runtime_1.jsxDEV)("div", { children: "Hello" }, void 0, false, { fileName: _jsxFileName, lineNumber: 15, columnNumber: 6 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 12, columnNumber: 18 }, this));
+const element = (jsx_dev_runtime_1.jsxDEV(Wrapper, { children: jsx_dev_runtime_1.jsxDEV("div", { children: "Hello" }, void 0, false, { fileName: _jsxFileName, lineNumber: 15, columnNumber: 6 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 12, columnNumber: 18 }, this));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxExcessPropsAndAssignability.js.diff b/testdata/baselines/reference/submodule/compiler/jsxExcessPropsAndAssignability.js.diff
index f9b0e6d9fe..961aefabfb 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxExcessPropsAndAssignability.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxExcessPropsAndAssignability.js.diff
@@ -13,14 +13,8 @@
};
Object.defineProperty(exports, "__esModule", { value: true });
-var React = require("react");
--var myHoc = function (ComposedComponent) {
-- var WrapperComponent = null;
-- var props = null;
+///
+const React = require("react");
-+const myHoc = (ComposedComponent) => {
-+ const WrapperComponent = null;
-+ const props = null;
- React.createElement(WrapperComponent, __assign({}, props, { myProp: '1000000' }));
- React.createElement(WrapperComponent, __assign({}, props, { myProp: 1000000 }));
- };
\ No newline at end of file
+ const myHoc = (ComposedComponent) => {
+ const WrapperComponent = null;
+ const props = null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxFactoryQualifiedNameWithEs5.js.diff b/testdata/baselines/reference/submodule/compiler/jsxFactoryQualifiedNameWithEs5.js.diff
deleted file mode 100644
index 5c934a406b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/jsxFactoryQualifiedNameWithEs5.js.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- old.jsxFactoryQualifiedNameWithEs5.js
-+++ new.jsxFactoryQualifiedNameWithEs5.js
-@@= skipped -16, +16 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- require("./jsx");
- var skate;
--var React = { createElement: skate.h };
--var Component = /** @class */ (function () {
-- function Component() {
-- }
-- Component.prototype.renderCallback = function () {
-+const React = { createElement: skate.h };
-+class Component {
-+ renderCallback() {
- return skate.h("div", null, "test");
-- };
-- return Component;
--}());
-+ }
-+}
- ;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxFragmentFactoryNoUnusedLocals.js.diff b/testdata/baselines/reference/submodule/compiler/jsxFragmentFactoryNoUnusedLocals.js.diff
index 8bf098d7f0..c831aea953 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxFragmentFactoryNoUnusedLocals.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxFragmentFactoryNoUnusedLocals.js.diff
@@ -5,14 +5,11 @@
exports.Counter = Counter;
///
-var react_1 = require("react");
--function Counter(_a) {
-- var _b = _a.count, count = _b === void 0 ? 0 : _b;
-- var _c = null, cnt = _c[0], setCnt = _c[1];
++const react_1 = require("react");
+ function Counter({ count = 0 }) {
+ const [cnt, setCnt] = null;
- return (0, react_1.createElement)(react_1.Fragment, null,
- (0, react_1.createElement)("p", null, cnt),
-- (0, react_1.createElement)("button", { onClick: function () { return setCnt(function (prev) { return prev + 1; }); }, type: "button" }, "Update"));
-+const react_1 = require("react");
-+function Counter({ count = 0 }) {
-+ const [cnt, setCnt] = null;
+- (0, react_1.createElement)("button", { onClick: () => setCnt((prev) => prev + 1), type: "button" }, "Update"));
+ return (0, react_1.createElement)(react_1.Fragment, null, (0, react_1.createElement)("p", null, cnt), (0, react_1.createElement)("button", { onClick: () => setCnt((prev) => prev + 1), type: "button" }, "Update"));
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxHasLiteralType.js.diff b/testdata/baselines/reference/submodule/compiler/jsxHasLiteralType.js.diff
index cedfa57a1b..7be5e063dd 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxHasLiteralType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxHasLiteralType.js.diff
@@ -1,35 +1,11 @@
--- old.jsxHasLiteralType.js
+++ new.jsxHasLiteralType.js
-@@= skipped -11, +11 lines =@@
-
+@@= skipped -12, +12 lines =@@
//// [jsxHasLiteralType.js]
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
-var React = require("react");
--var MyComponent = /** @class */ (function (_super) {
-- __extends(MyComponent, _super);
-- function MyComponent() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return MyComponent;
--}(React.Component));
--var m = React.createElement(MyComponent, { x: "a" });
+const React = require("react");
-+class MyComponent extends React.Component {
-+}
-+const m = React.createElement(MyComponent, { x: "a" });
\ No newline at end of file
+ class MyComponent extends React.Component {
+ }
+ const m = React.createElement(MyComponent, { x: "a" });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxImportForSideEffectsNonExtantNoError.js.diff b/testdata/baselines/reference/submodule/compiler/jsxImportForSideEffectsNonExtantNoError.js.diff
index e4ee135254..0cacd6ca78 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxImportForSideEffectsNonExtantNoError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxImportForSideEffectsNonExtantNoError.js.diff
@@ -7,5 +7,4 @@
-var React = require("react");
+const React = require("react");
require("./App.css"); // doesn't actually exist
--var tag = React.createElement("div", null);
-+const tag = React.createElement("div", null);
\ No newline at end of file
+ const tag = React.createElement("div", null);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxImportInAttribute.js.diff b/testdata/baselines/reference/submodule/compiler/jsxImportInAttribute.js.diff
index c761904f1a..2ff8ed15ca 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxImportInAttribute.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxImportInAttribute.js.diff
@@ -5,7 +5,6 @@
Object.defineProperty(exports, "__esModule", { value: true });
///
-var Test_1 = require("Test");
--var x = Test_1.default; // emit test_1.default
+const Test_1 = require("Test");
-+let x = Test_1.default; // emit test_1.default
+ let x = Test_1.default; // emit test_1.default
; // ?
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxImportSourceNonPragmaComment.js.diff b/testdata/baselines/reference/submodule/compiler/jsxImportSourceNonPragmaComment.js.diff
index 4c6ca5320a..4ba41a3fec 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxImportSourceNonPragmaComment.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxImportSourceNonPragmaComment.js.diff
@@ -1,23 +1,11 @@
--- old.jsxImportSourceNonPragmaComment.js
+++ new.jsxImportSourceNonPragmaComment.js
-@@= skipped -16, +16 lines =@@
-
- //// [jsxImportSourceNonPragmaComment.jsx]
- "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;
--};
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -20, +20 lines =@@
exports.default = Component;
/* eslint-disable react/react-in-jsx-scope -- Unaware of @jsxImportSource */
/** @jsxImportSource @emotion/react */
-var react_1 = require("@emotion/react");
+const react_1 = require("@emotion/react");
function Component() {
-- return ();
-+ return ();
- }
--var templateObject_1;
\ No newline at end of file
+ return ( class extends React.Component {
-+ render() {
- return React.createElement("span", null, "Hello, world!");
-- };
-- return class_1;
--}(React.Component)); })));
-+ }
-+}) {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxInferenceProducesLiteralAsExpected.js.diff b/testdata/baselines/reference/submodule/compiler/jsxInferenceProducesLiteralAsExpected.js.diff
index 7642ea36b6..16c89ce1ba 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxInferenceProducesLiteralAsExpected.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxInferenceProducesLiteralAsExpected.js.diff
@@ -5,24 +5,16 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var React = require("react");
--var TestObject = /** @class */ (function () {
-- function TestObject() {
++const React = require("react");
+ class TestObject {
+- constructor() {
- this.a = '';
- this.b = 1;
-- this.c = function () { };
+- this.c = () => { };
- }
-- return TestObject;
--}());
-+const React = require("react");
-+class TestObject {
+ a = '';
+ b = 1;
+ c = () => { };
-+}
+ }
function Test(props) { return React.createElement(React.Fragment, null); }
--var model = new TestObject();
--var el1 = React.createElement(Test, { model: model, foo: "c" });
--var el2 = React.createElement(Test, { model: model, foo: "c" });
-+const model = new TestObject();
-+const el1 = React.createElement(Test, { model: model, foo: "c" });
-+const el2 = React.createElement(Test, { model: model, foo: "c" });
\ No newline at end of file
+ const model = new TestObject();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxIntrinsicElementsTypeArgumentErrors.js.diff b/testdata/baselines/reference/submodule/compiler/jsxIntrinsicElementsTypeArgumentErrors.js.diff
index 7f363350a6..c67464a392 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxIntrinsicElementsTypeArgumentErrors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxIntrinsicElementsTypeArgumentErrors.js.diff
@@ -7,28 +7,5 @@
-var React = require("react");
+const React = require("react");
// opening + closing
--var a = React.createElement("div", null); // empty type args
--var b = React.createElement("div", null); // trailing comma type args
--var c = React.createElement("div", null); // nonexistant type args
--var d = React.createElement("div", null); // nested missing type args
--var e = React.createElement("div", null); // existing but incorrect nested type args
--var f = React.createElement("div", null); // existing type argument with no internal issues
-+const a = React.createElement("div", null); // empty type args
-+const b = React.createElement("div", null); // trailing comma type args
-+const c = React.createElement("div", null); // nonexistant type args
-+const d = React.createElement("div", null); // nested missing type args
-+const e = React.createElement("div", null); // existing but incorrect nested type args
-+const f = React.createElement("div", null); // existing type argument with no internal issues
- // self-closing
--var g = React.createElement("div", null); // empty type args
--var h = React.createElement("div", null); // trailing comma type args
--var i = React.createElement("div", null); // nonexistant type args
--var j = React.createElement("div", null); // nested missing type args
--var k = React.createElement("div", null); // existing but incorrect nested type args
--var l = React.createElement("div", null); // existing type argument with no internal issues
-+const g = React.createElement("div", null); // empty type args
-+const h = React.createElement("div", null); // trailing comma type args
-+const i = React.createElement("div", null); // nonexistant type args
-+const j = React.createElement("div", null); // nested missing type args
-+const k = React.createElement("div", null); // existing but incorrect nested type args
-+const l = React.createElement("div", null); // existing type argument with no internal issues
\ No newline at end of file
+ const a = React.createElement("div", null); // empty type args
+ const b = React.createElement("div", null); // trailing comma type args
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxIntrinsicUnions.js.diff b/testdata/baselines/reference/submodule/compiler/jsxIntrinsicUnions.js.diff
index ca5259d892..3ca0818f87 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxIntrinsicUnions.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxIntrinsicUnions.js.diff
@@ -7,9 +7,7 @@
-///
Object.defineProperty(exports, "__esModule", { value: true });
-var React = require("react");
--var El = Math.random() ? 'h1' : 'h2';
--var tag = React.createElement(El, { className: "ok", key: "key" }, "Title");
+///
+const React = require("react");
-+const El = Math.random() ? 'h1' : 'h2';
-+const tag = React.createElement(El, { className: "ok", key: "key" }, "Title");
\ No newline at end of file
+ const El = Math.random() ? 'h1' : 'h2';
+ const tag = React.createElement(El, { className: "ok", key: "key" }, "Title");
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxIssuesErrorWhenTagExpectsTooManyArguments.js.diff b/testdata/baselines/reference/submodule/compiler/jsxIssuesErrorWhenTagExpectsTooManyArguments.js.diff
index b210831c2c..3125094b86 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxIssuesErrorWhenTagExpectsTooManyArguments.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxIssuesErrorWhenTagExpectsTooManyArguments.js.diff
@@ -11,16 +11,4 @@
+const React = require("react");
function MyComp4(props, context, bad, verybad) {
return React.createElement("div", null);
- }
-@@= skipped -12, +12 lines =@@
- function MyComp2(props, context) {
- return React.createElement("div", null);
- }
--var a = React.createElement(MyComp4, { x: 2 }); // using `MyComp` as a component should error - it expects more arguments than react provides
--var b = React.createElement(MyComp3, { x: 2 }); // using `MyComp` as a component should error - it expects more arguments than react provides
--var c = React.createElement(MyComp2, { x: 2 }); // Should be OK, `context` is allowed, per react rules
--var d = React.createElement(MyTagWithOptionalNonJSXBits, { x: 2 }); // Technically OK, but probably questionable
-+const a = React.createElement(MyComp4, { x: 2 }); // using `MyComp` as a component should error - it expects more arguments than react provides
-+const b = React.createElement(MyComp3, { x: 2 }); // using `MyComp` as a component should error - it expects more arguments than react provides
-+const c = React.createElement(MyComp2, { x: 2 }); // Should be OK, `context` is allowed, per react rules
-+const d = React.createElement(MyTagWithOptionalNonJSXBits, { x: 2 }); // Technically OK, but probably questionable
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxLocalNamespaceIndexSignatureNoCrash.js.diff b/testdata/baselines/reference/submodule/compiler/jsxLocalNamespaceIndexSignatureNoCrash.js.diff
deleted file mode 100644
index 624f462071..0000000000
--- a/testdata/baselines/reference/submodule/compiler/jsxLocalNamespaceIndexSignatureNoCrash.js.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- old.jsxLocalNamespaceIndexSignatureNoCrash.js
-+++ new.jsxLocalNamespaceIndexSignatureNoCrash.js
-@@= skipped -22, +22 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.X = void 0;
--var X = /** @class */ (function () {
-- function X() {
-- }
-- X.jsx = function () {
-+class X {
-+ static jsx() {
- return document.createElement('p');
-- };
-- return X;
--}());
-+ }
-+}
- exports.X = X;
- function A() {
- return (X.jsx("p", null, "Hello"));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxMultilineAttributeStringValues.js.diff b/testdata/baselines/reference/submodule/compiler/jsxMultilineAttributeStringValues.js.diff
deleted file mode 100644
index 54e626026f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/jsxMultilineAttributeStringValues.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.jsxMultilineAttributeStringValues.js
-+++ new.jsxMultilineAttributeStringValues.js
-@@= skipped -9, +9 lines =@@
-
-
- //// [jsxMultilineAttributeStringValues.jsx]
--var a = ;
--var b = ;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxMultilineAttributeValuesReact.js.diff b/testdata/baselines/reference/submodule/compiler/jsxMultilineAttributeValuesReact.js.diff
index e2fb663b6b..83e9614ba0 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxMultilineAttributeValuesReact.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxMultilineAttributeValuesReact.js.diff
@@ -1,12 +1,10 @@
--- old.jsxMultilineAttributeValuesReact.js
+++ new.jsxMultilineAttributeValuesReact.js
-@@= skipped -13, +13 lines =@@
-
+@@= skipped -14, +14 lines =@@
//// [jsxMultilineAttributeValuesReact.js]
--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' });
-+const a = React.createElement("input", { value: "\nfoo: 23\n" });
+ const a = React.createElement("input", { value: "\nfoo: 23\n" });
+-const b = React.createElement("input", { value: '\nfoo: 23\n' });
+-const c = React.createElement("input", { value: '\nfoo: 23\\n\n' });
+const b = React.createElement("input", { value: "\nfoo: 23\n" });
+const c = React.createElement("input", { value: "\nfoo: 23\\n\n" });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxNamespaceElementChildrenAttributeIgnoredWhenReactJsx(jsx=react-jsx).js.diff b/testdata/baselines/reference/submodule/compiler/jsxNamespaceElementChildrenAttributeIgnoredWhenReactJsx(jsx=react-jsx).js.diff
index 390a966ebe..6196964fdf 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxNamespaceElementChildrenAttributeIgnoredWhenReactJsx(jsx=react-jsx).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxNamespaceElementChildrenAttributeIgnoredWhenReactJsx(jsx=react-jsx).js.diff
@@ -5,9 +5,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var jsx_runtime_1 = require("/jsx/jsx-runtime");
--var Title = function (props) { return (0, jsx_runtime_1.jsx)("h1", { children: props.children }); };
+-const Title = (props) => (0, jsx_runtime_1.jsx)("h1", { children: props.children });
-(0, jsx_runtime_1.jsx)(Title, { children: "Hello, world!" });
--var Wrong = function (props) { return (0, jsx_runtime_1.jsx)("h1", { children: props.offspring }); };
+-const Wrong = (props) => (0, jsx_runtime_1.jsx)("h1", { children: props.offspring });
-(0, jsx_runtime_1.jsx)(Wrong, { children: "Byebye, world!" });
+const jsx_runtime_1 = require("/jsx/jsx-runtime");
+const Title = (props) => jsx_runtime_1.jsx("h1", { children: props.children });
diff --git a/testdata/baselines/reference/submodule/compiler/jsxNamespaceElementChildrenAttributeIgnoredWhenReactJsx(jsx=react-jsxdev).js.diff b/testdata/baselines/reference/submodule/compiler/jsxNamespaceElementChildrenAttributeIgnoredWhenReactJsx(jsx=react-jsxdev).js.diff
index e46ccae383..aef716b7f0 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxNamespaceElementChildrenAttributeIgnoredWhenReactJsx(jsx=react-jsxdev).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxNamespaceElementChildrenAttributeIgnoredWhenReactJsx(jsx=react-jsxdev).js.diff
@@ -1,19 +1,16 @@
--- old.jsxNamespaceElementChildrenAttributeIgnoredWhenReactJsx(jsx=react-jsxdev).js
+++ new.jsxNamespaceElementChildrenAttributeIgnoredWhenReactJsx(jsx=react-jsxdev).js
-@@= skipped -32, +32 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -33, +33 lines =@@
//// [test.js]
"use strict";
--var _this = this;
Object.defineProperty(exports, "__esModule", { value: true });
-var jsx_dev_runtime_1 = require("/jsx/jsx-dev-runtime");
--var _jsxFileName = "/test.tsx";
--var Title = function (props) { return (0, jsx_dev_runtime_1.jsxDEV)("h1", { children: props.children }, void 0, false, { fileName: _jsxFileName, lineNumber: 1, columnNumber: 47 }, _this); };
++const jsx_dev_runtime_1 = require("/jsx/jsx-dev-runtime");
+ const _jsxFileName = "/test.tsx";
+-const Title = (props) => (0, jsx_dev_runtime_1.jsxDEV)("h1", { children: props.children }, void 0, false, { fileName: _jsxFileName, lineNumber: 1, columnNumber: 47 }, this);
-(0, jsx_dev_runtime_1.jsxDEV)(Title, { children: "Hello, world!" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1, columnNumber: 74 }, this);
--var Wrong = function (props) { return (0, jsx_dev_runtime_1.jsxDEV)("h1", { children: props.offspring }, void 0, false, { fileName: _jsxFileName, lineNumber: 5, columnNumber: 48 }, _this); };
+-const Wrong = (props) => (0, jsx_dev_runtime_1.jsxDEV)("h1", { children: props.offspring }, void 0, false, { fileName: _jsxFileName, lineNumber: 5, columnNumber: 48 }, this);
-(0, jsx_dev_runtime_1.jsxDEV)(Wrong, { children: "Byebye, world!" }, void 0, false, { fileName: _jsxFileName, lineNumber: 5, columnNumber: 76 }, this);
-+const jsx_dev_runtime_1 = require("/jsx/jsx-dev-runtime");
-+const _jsxFileName = "/test.tsx";
+const Title = (props) => jsx_dev_runtime_1.jsxDEV("h1", { children: props.children }, void 0, false, { fileName: _jsxFileName, lineNumber: 1, columnNumber: 47 }, this);
+jsx_dev_runtime_1.jsxDEV(Title, { children: "Hello, world!" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1, columnNumber: 74 }, this);
+const Wrong = (props) => jsx_dev_runtime_1.jsxDEV("h1", { children: props.offspring }, void 0, false, { fileName: _jsxFileName, lineNumber: 5, columnNumber: 48 }, this);
diff --git a/testdata/baselines/reference/submodule/compiler/jsxNamespaceGlobalReexport.js.diff b/testdata/baselines/reference/submodule/compiler/jsxNamespaceGlobalReexport.js.diff
index 731772d7f3..86a236decb 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxNamespaceGlobalReexport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxNamespaceGlobalReexport.js.diff
@@ -5,7 +5,7 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Comp = void 0;
-var jsx_runtime_1 = require("preact/jsx-runtime");
--var Comp = function () { return (0, jsx_runtime_1.jsx)("div", {}); };
+-const Comp = () => (0, jsx_runtime_1.jsx)("div", {});
+const jsx_runtime_1 = require("preact/jsx-runtime");
+const Comp = () => jsx_runtime_1.jsx("div", {});
exports.Comp = Comp;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxNamespaceGlobalReexportMissingAliasTarget.js.diff b/testdata/baselines/reference/submodule/compiler/jsxNamespaceGlobalReexportMissingAliasTarget.js.diff
index 7ea05971c8..c52ffb7cb8 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxNamespaceGlobalReexportMissingAliasTarget.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxNamespaceGlobalReexportMissingAliasTarget.js.diff
@@ -5,7 +5,7 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Comp = void 0;
-var jsx_runtime_1 = require("preact/jsx-runtime");
--var Comp = function () { return (0, jsx_runtime_1.jsx)("div", {}); };
+-const Comp = () => (0, jsx_runtime_1.jsx)("div", {});
+const jsx_runtime_1 = require("preact/jsx-runtime");
+const Comp = () => jsx_runtime_1.jsx("div", {});
exports.Comp = Comp;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespace.js.diff b/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespace.js.diff
index 5fca1592d7..94896cadcc 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespace.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespace.js.diff
@@ -5,7 +5,7 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Comp = void 0;
-var jsx_runtime_1 = require("preact/jsx-runtime");
--var Comp = function () { return (0, jsx_runtime_1.jsx)("div", {}); };
+-const Comp = () => (0, jsx_runtime_1.jsx)("div", {});
+const jsx_runtime_1 = require("preact/jsx-runtime");
+const Comp = () => jsx_runtime_1.jsx("div", {});
exports.Comp = Comp;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespaceFromConfigPickedOverGlobalOne(jsx=preserve).js.diff b/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespaceFromConfigPickedOverGlobalOne(jsx=preserve).js.diff
deleted file mode 100644
index 4d98e6d329..0000000000
--- a/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespaceFromConfigPickedOverGlobalOne(jsx=preserve).js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.jsxNamespaceImplicitImportJSXNamespaceFromConfigPickedOverGlobalOne(jsx=preserve).js
-+++ new.jsxNamespaceImplicitImportJSXNamespaceFromConfigPickedOverGlobalOne(jsx=preserve).js
-@@= skipped -67, +67 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Comp = void 0;
--var Comp = function () { return ; };
-+const Comp = () => ;
- exports.Comp = Comp;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespaceFromConfigPickedOverGlobalOne(jsx=react-jsx).js.diff b/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespaceFromConfigPickedOverGlobalOne(jsx=react-jsx).js.diff
index 72ea270b34..50c71fe543 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespaceFromConfigPickedOverGlobalOne(jsx=react-jsx).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespaceFromConfigPickedOverGlobalOne(jsx=react-jsx).js.diff
@@ -5,7 +5,7 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Comp = void 0;
-var jsx_runtime_1 = require("@emotion/react/jsx-runtime");
--var Comp = function () { return (0, jsx_runtime_1.jsx)("div", { css: "color: hotpink;" }); };
+-const Comp = () => (0, jsx_runtime_1.jsx)("div", { css: "color: hotpink;" });
+const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
+const Comp = () => jsx_runtime_1.jsx("div", { css: "color: hotpink;" });
exports.Comp = Comp;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespaceFromPragmaPickedOverGlobalOne.js.diff b/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespaceFromPragmaPickedOverGlobalOne.js.diff
index b66fee98ca..50f2558812 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespaceFromPragmaPickedOverGlobalOne.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxNamespaceImplicitImportJSXNamespaceFromPragmaPickedOverGlobalOne.js.diff
@@ -7,6 +7,6 @@
-var jsx_runtime_1 = require("@emotion/react/jsx-runtime");
+const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
/* @jsxImportSource @emotion/react */
--var Comp = function () { return (0, jsx_runtime_1.jsx)("div", { css: "color: hotpink;" }); };
+-const Comp = () => (0, jsx_runtime_1.jsx)("div", { css: "color: hotpink;" });
+const Comp = () => jsx_runtime_1.jsx("div", { css: "color: hotpink;" });
exports.Comp = Comp;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxNamespaceNoElementChildrenAttributeReactJsx(jsx=react-jsx).js.diff b/testdata/baselines/reference/submodule/compiler/jsxNamespaceNoElementChildrenAttributeReactJsx(jsx=react-jsx).js.diff
index 08cd838e40..06c32b4f64 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxNamespaceNoElementChildrenAttributeReactJsx(jsx=react-jsx).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxNamespaceNoElementChildrenAttributeReactJsx(jsx=react-jsx).js.diff
@@ -5,8 +5,8 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var jsx_runtime_1 = require("/jsx/jsx-runtime");
--var Title = function (props) { return (0, jsx_runtime_1.jsx)("h1", { children: props.children }); };
--var element = (0, jsx_runtime_1.jsx)(Title, { children: "Hello, world!" });
+-const Title = (props) => (0, jsx_runtime_1.jsx)("h1", { children: props.children });
+-const element = (0, jsx_runtime_1.jsx)(Title, { children: "Hello, world!" });
+const jsx_runtime_1 = require("/jsx/jsx-runtime");
+const Title = (props) => jsx_runtime_1.jsx("h1", { children: props.children });
+const element = jsx_runtime_1.jsx(Title, { children: "Hello, world!" });
diff --git a/testdata/baselines/reference/submodule/compiler/jsxNamespaceNoElementChildrenAttributeReactJsx(jsx=react-jsxdev).js.diff b/testdata/baselines/reference/submodule/compiler/jsxNamespaceNoElementChildrenAttributeReactJsx(jsx=react-jsxdev).js.diff
index 5a177d9cd1..40af9ba871 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxNamespaceNoElementChildrenAttributeReactJsx(jsx=react-jsxdev).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxNamespaceNoElementChildrenAttributeReactJsx(jsx=react-jsxdev).js.diff
@@ -1,17 +1,14 @@
--- old.jsxNamespaceNoElementChildrenAttributeReactJsx(jsx=react-jsxdev).js
+++ new.jsxNamespaceNoElementChildrenAttributeReactJsx(jsx=react-jsxdev).js
-@@= skipped -23, +23 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -24, +24 lines =@@
//// [test.js]
"use strict";
--var _this = this;
Object.defineProperty(exports, "__esModule", { value: true });
-var jsx_dev_runtime_1 = require("/jsx/jsx-dev-runtime");
--var _jsxFileName = "/test.tsx";
--var Title = function (props) { return (0, jsx_dev_runtime_1.jsxDEV)("h1", { children: props.children }, void 0, false, { fileName: _jsxFileName, lineNumber: 1, columnNumber: 47 }, _this); };
--var element = (0, jsx_dev_runtime_1.jsxDEV)(Title, { children: "Hello, world!" }, void 0, false, { fileName: _jsxFileName, lineNumber: 3, columnNumber: 16 }, this);
+const jsx_dev_runtime_1 = require("/jsx/jsx-dev-runtime");
-+const _jsxFileName = "/test.tsx";
+ const _jsxFileName = "/test.tsx";
+-const Title = (props) => (0, jsx_dev_runtime_1.jsxDEV)("h1", { children: props.children }, void 0, false, { fileName: _jsxFileName, lineNumber: 1, columnNumber: 47 }, this);
+-const element = (0, jsx_dev_runtime_1.jsxDEV)(Title, { children: "Hello, world!" }, void 0, false, { fileName: _jsxFileName, lineNumber: 3, columnNumber: 16 }, this);
+const Title = (props) => jsx_dev_runtime_1.jsxDEV("h1", { children: props.children }, void 0, false, { fileName: _jsxFileName, lineNumber: 1, columnNumber: 47 }, this);
+const element = jsx_dev_runtime_1.jsxDEV(Title, { children: "Hello, world!" }, void 0, false, { fileName: _jsxFileName, lineNumber: 3, columnNumber: 16 }, this);
//// [jsx-runtime.js]
diff --git a/testdata/baselines/reference/submodule/compiler/jsxNamespacePrefixIntrinsics.js.diff b/testdata/baselines/reference/submodule/compiler/jsxNamespacePrefixIntrinsics.js.diff
deleted file mode 100644
index 5844c78541..0000000000
--- a/testdata/baselines/reference/submodule/compiler/jsxNamespacePrefixIntrinsics.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.jsxNamespacePrefixIntrinsics.js
-+++ new.jsxNamespacePrefixIntrinsics.js
-@@= skipped -20, +20 lines =@@
-
-
- //// [jsxNamespacePrefixIntrinsics.jsx]
--var valid = ;
--var validUpcase1 = ;
--var validUpcase2 = ;
--var invalid1 = ;
--var invalid2 = ;
--var invalid3 = ;
-+const valid = ;
-+const validUpcase1 = ;
-+const validUpcase2 = ;
-+const invalid1 = ;
-+const invalid2 = ;
-+const invalid3 = ;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxNamespaceReexports.js.diff b/testdata/baselines/reference/submodule/compiler/jsxNamespaceReexports.js.diff
index ddc0c92e31..2847d547d3 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxNamespaceReexports.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxNamespaceReexports.js.diff
@@ -1,20 +1,9 @@
--- old.jsxNamespaceReexports.js
+++ new.jsxNamespaceReexports.js
-@@= skipped -18, +18 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.createElement = createElement;
--function createElement(element, props) {
-- var children = [];
-- for (var _i = 2; _i < arguments.length; _i++) {
-- children[_i - 2] = arguments[_i];
-- }
--}
-+function createElement(element, props, ...children) { }
+@@= skipped -22, +22 lines =@@
//// [index.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var MyLib = require("./library");
--var content = MyLib.createElement("my-element", null);
+const MyLib = require("./library");
-+const content = MyLib.createElement("my-element", null);
\ No newline at end of file
+ const content = MyLib.createElement("my-element", null);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxNestedWithinTernaryParsesCorrectly.js.diff b/testdata/baselines/reference/submodule/compiler/jsxNestedWithinTernaryParsesCorrectly.js.diff
deleted file mode 100644
index a938fbfe6b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/jsxNestedWithinTernaryParsesCorrectly.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.jsxNestedWithinTernaryParsesCorrectly.js
-+++ new.jsxNestedWithinTernaryParsesCorrectly.js
-@@= skipped -15, +15 lines =@@
- );
-
- //// [jsxNestedWithinTernaryParsesCorrectly.jsx]
--var emptyMessage = null;
--var a = (
-+const emptyMessage = null;
-+const a = (
- {0 ? (emptyMessage // must be identifier?
- ) : (
- // must be exactly two expression holes
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxPartialSpread.js.diff b/testdata/baselines/reference/submodule/compiler/jsxPartialSpread.js.diff
index 3aa2762d77..36644f33cb 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxPartialSpread.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxPartialSpread.js.diff
@@ -1,15 +1,11 @@
--- old.jsxPartialSpread.js
+++ new.jsxPartialSpread.js
-@@= skipped -18, +18 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -19, +19 lines =@@
exports.Repro = Repro;
///
--var Select = function (p) { return ; };
+ const Select = (p) => ;
-var react_1 = __importDefault(require("react"));
--function Repro(_a) {
-- var _b = _a.SelectProps, SelectProps = _b === void 0 ? {} : _b;
-+const Select = (p) => ;
+const react_1 = __importDefault(require("react"));
-+function Repro({ SelectProps = {} }) {
+ function Repro({ SelectProps = {} }) {
return ();
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=preserve).js.diff b/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=preserve).js.diff
index 508e7f761f..7e17dd584b 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=preserve).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=preserve).js.diff
@@ -5,38 +5,16 @@
///
/* @jsxRuntime classic */
-var React = require("react");
--var HelloWorld = function () { return Hello world
; };
+const React = require("react");
-+const HelloWorld = () => Hello world
;
+ const HelloWorld = () => Hello world
;
exports.HelloWorld = HelloWorld;
exports.frag = <>>;
- exports.selfClosing =
;
-@@= skipped -11, +11 lines =@@
- exports.selfClosing = exports.frag = exports.HelloWorld = void 0;
- ///
- /* @jsxRuntime automatic */
--var HelloWorld = function () { return Hello world
; };
-+const HelloWorld = () => Hello world
;
- exports.HelloWorld = HelloWorld;
- exports.frag = <>>;
- exports.selfClosing =
;
-@@= skipped -11, +11 lines =@@
- ///
- /* @jsxRuntime classic */
- /* @jsxRuntime automatic */
--var HelloWorld = function () { return Hello world
; };
-+const HelloWorld = () => Hello world
;
- exports.HelloWorld = HelloWorld;
- exports.frag = <>>;
- exports.selfClosing =
;
-@@= skipped -11, +11 lines =@@
+@@= skipped -33, +33 lines =@@
///
/* @jsxRuntime automatic */
/* @jsxRuntime classic */
-var React = require("react");
--var HelloWorld = function () { return Hello world
; };
+const React = require("react");
-+const HelloWorld = () => Hello world
;
+ const HelloWorld = () => Hello world
;
exports.HelloWorld = HelloWorld;
- exports.frag = <>>;
- exports.selfClosing =
;
\ No newline at end of file
+ exports.frag = <>>;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=react).js.diff b/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=react).js.diff
index 7ce6fc30de..856c8d095f 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=react).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=react).js.diff
@@ -5,9 +5,8 @@
///
/* @jsxRuntime classic */
-var React = require("react");
--var HelloWorld = function () { return React.createElement("h1", null, "Hello world"); };
+const React = require("react");
-+const HelloWorld = () => React.createElement("h1", null, "Hello world");
+ const HelloWorld = () => React.createElement("h1", null, "Hello world");
exports.HelloWorld = HelloWorld;
-exports.frag = React.createElement(React.Fragment, null,
- React.createElement("div", null));
@@ -21,7 +20,7 @@
+const jsx_runtime_1 = require("react/jsx-runtime");
///
/* @jsxRuntime automatic */
--var HelloWorld = function () { return (0, jsx_runtime_1.jsx)("h1", { children: "Hello world" }); };
+-const HelloWorld = () => (0, jsx_runtime_1.jsx)("h1", { children: "Hello world" });
+const HelloWorld = () => jsx_runtime_1.jsx("h1", { children: "Hello world" });
exports.HelloWorld = HelloWorld;
-exports.frag = (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)("div", {}) });
@@ -37,7 +36,7 @@
///
/* @jsxRuntime classic */
/* @jsxRuntime automatic */
--var HelloWorld = function () { return (0, jsx_runtime_1.jsx)("h1", { children: "Hello world" }); };
+-const HelloWorld = () => (0, jsx_runtime_1.jsx)("h1", { children: "Hello world" });
+const HelloWorld = () => jsx_runtime_1.jsx("h1", { children: "Hello world" });
exports.HelloWorld = HelloWorld;
-exports.frag = (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)("div", {}) });
@@ -52,9 +51,8 @@
/* @jsxRuntime automatic */
/* @jsxRuntime classic */
-var React = require("react");
--var HelloWorld = function () { return React.createElement("h1", null, "Hello world"); };
+const React = require("react");
-+const HelloWorld = () => React.createElement("h1", null, "Hello world");
+ const HelloWorld = () => React.createElement("h1", null, "Hello world");
exports.HelloWorld = HelloWorld;
-exports.frag = React.createElement(React.Fragment, null,
- React.createElement("div", null));
diff --git a/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=react-jsx).js.diff b/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=react-jsx).js.diff
index 33fe146c6c..613dd4f759 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=react-jsx).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=react-jsx).js.diff
@@ -5,9 +5,8 @@
///
/* @jsxRuntime classic */
-var React = require("react");
--var HelloWorld = function () { return React.createElement("h1", null, "Hello world"); };
+const React = require("react");
-+const HelloWorld = () => React.createElement("h1", null, "Hello world");
+ const HelloWorld = () => React.createElement("h1", null, "Hello world");
exports.HelloWorld = HelloWorld;
-exports.frag = React.createElement(React.Fragment, null,
- React.createElement("div", null));
@@ -21,7 +20,7 @@
+const jsx_runtime_1 = require("react/jsx-runtime");
///
/* @jsxRuntime automatic */
--var HelloWorld = function () { return (0, jsx_runtime_1.jsx)("h1", { children: "Hello world" }); };
+-const HelloWorld = () => (0, jsx_runtime_1.jsx)("h1", { children: "Hello world" });
+const HelloWorld = () => jsx_runtime_1.jsx("h1", { children: "Hello world" });
exports.HelloWorld = HelloWorld;
-exports.frag = (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)("div", {}) });
@@ -37,7 +36,7 @@
///
/* @jsxRuntime classic */
/* @jsxRuntime automatic */
--var HelloWorld = function () { return (0, jsx_runtime_1.jsx)("h1", { children: "Hello world" }); };
+-const HelloWorld = () => (0, jsx_runtime_1.jsx)("h1", { children: "Hello world" });
+const HelloWorld = () => jsx_runtime_1.jsx("h1", { children: "Hello world" });
exports.HelloWorld = HelloWorld;
-exports.frag = (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)("div", {}) });
@@ -52,9 +51,8 @@
/* @jsxRuntime automatic */
/* @jsxRuntime classic */
-var React = require("react");
--var HelloWorld = function () { return React.createElement("h1", null, "Hello world"); };
+const React = require("react");
-+const HelloWorld = () => React.createElement("h1", null, "Hello world");
+ const HelloWorld = () => React.createElement("h1", null, "Hello world");
exports.HelloWorld = HelloWorld;
-exports.frag = React.createElement(React.Fragment, null,
- React.createElement("div", null));
diff --git a/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=react-jsxdev).js.diff b/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=react-jsxdev).js.diff
index 4c01107a6e..5f21695144 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=react-jsxdev).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxRuntimePragma(jsx=react-jsxdev).js.diff
@@ -5,9 +5,8 @@
///
/* @jsxRuntime classic */
-var React = require("react");
--var HelloWorld = function () { return React.createElement("h1", null, "Hello world"); };
+const React = require("react");
-+const HelloWorld = () => React.createElement("h1", null, "Hello world");
+ const HelloWorld = () => React.createElement("h1", null, "Hello world");
exports.HelloWorld = HelloWorld;
-exports.frag = React.createElement(React.Fragment, null,
- React.createElement("div", null));
@@ -15,15 +14,14 @@
exports.selfClosing = React.createElement("img", { src: "./image.png" });
//// [two.js]
"use strict";
--var _this = this;
Object.defineProperty(exports, "__esModule", { value: true });
exports.selfClosing = exports.frag = exports.HelloWorld = void 0;
-var jsx_dev_runtime_1 = require("react/jsx-dev-runtime");
--var _jsxFileName = "two.tsx";
+-const _jsxFileName = "two.tsx";
+const jsx_dev_runtime_1 = require("react/jsx-dev-runtime");
///
/* @jsxRuntime automatic */
--var HelloWorld = function () { return (0, jsx_dev_runtime_1.jsxDEV)("h1", { children: "Hello world" }, void 0, false, { fileName: _jsxFileName, lineNumber: 3, columnNumber: 32 }, _this); };
+-const HelloWorld = () => (0, jsx_dev_runtime_1.jsxDEV)("h1", { children: "Hello world" }, void 0, false, { fileName: _jsxFileName, lineNumber: 3, columnNumber: 32 }, this);
+const HelloWorld = () => jsx_dev_runtime_1.jsxDEV("h1", { children: "Hello world" });
exports.HelloWorld = HelloWorld;
-exports.frag = (0, jsx_dev_runtime_1.jsxDEV)(jsx_dev_runtime_1.Fragment, { children: (0, jsx_dev_runtime_1.jsxDEV)("div", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 4, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 4, columnNumber: 20 }, this);
@@ -32,16 +30,15 @@
+exports.selfClosing = jsx_dev_runtime_1.jsxDEV("img", { src: "./image.png" });
//// [three.js]
"use strict";
--var _this = this;
Object.defineProperty(exports, "__esModule", { value: true });
exports.selfClosing = exports.frag = exports.HelloWorld = void 0;
-var jsx_dev_runtime_1 = require("react/jsx-dev-runtime");
--var _jsxFileName = "three.tsx";
+-const _jsxFileName = "three.tsx";
+const jsx_dev_runtime_1 = require("react/jsx-dev-runtime");
///
/* @jsxRuntime classic */
/* @jsxRuntime automatic */
--var HelloWorld = function () { return (0, jsx_dev_runtime_1.jsxDEV)("h1", { children: "Hello world" }, void 0, false, { fileName: _jsxFileName, lineNumber: 4, columnNumber: 32 }, _this); };
+-const HelloWorld = () => (0, jsx_dev_runtime_1.jsxDEV)("h1", { children: "Hello world" }, void 0, false, { fileName: _jsxFileName, lineNumber: 4, columnNumber: 32 }, this);
+const HelloWorld = () => jsx_dev_runtime_1.jsxDEV("h1", { children: "Hello world" });
exports.HelloWorld = HelloWorld;
-exports.frag = (0, jsx_dev_runtime_1.jsxDEV)(jsx_dev_runtime_1.Fragment, { children: (0, jsx_dev_runtime_1.jsxDEV)("div", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 5, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 5, columnNumber: 20 }, this);
@@ -51,14 +48,13 @@
//// [four.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-@@= skipped -40, +35 lines =@@
+@@= skipped -38, +35 lines =@@
///
/* @jsxRuntime automatic */
/* @jsxRuntime classic */
-var React = require("react");
--var HelloWorld = function () { return React.createElement("h1", null, "Hello world"); };
+const React = require("react");
-+const HelloWorld = () => React.createElement("h1", null, "Hello world");
+ const HelloWorld = () => React.createElement("h1", null, "Hello world");
exports.HelloWorld = HelloWorld;
-exports.frag = React.createElement(React.Fragment, null,
- React.createElement("div", null));
diff --git a/testdata/baselines/reference/submodule/compiler/jsxSpreadFirstUnionNoErrors.js.diff b/testdata/baselines/reference/submodule/compiler/jsxSpreadFirstUnionNoErrors.js.diff
index ad31f9154d..09cde7c4ea 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxSpreadFirstUnionNoErrors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxSpreadFirstUnionNoErrors.js.diff
@@ -5,18 +5,7 @@
};
Object.defineProperty(exports, "__esModule", { value: true });
-var react_1 = require("react");
--var Info = function (props) {
-- return props.status === "hidden"
-- ? react_1.default.createElement("noscript", null)
-- : react_1.default.createElement("div", null, props.content);
--};
--var a = react_1.default.createElement(Info, { status: "hidden" });
--var b = react_1.default.createElement(Info, { status: "visible", content: "hello world" });
--var c = react_1.default.createElement(Info, __assign({}, infoProps));
+const react_1 = require("react");
-+const Info = (props) => props.status === "hidden"
-+ ? react_1.default.createElement("noscript", null)
-+ : react_1.default.createElement("div", null, props.content);
-+const a = react_1.default.createElement(Info, { status: "hidden" });
-+const b = react_1.default.createElement(Info, { status: "visible", content: "hello world" });
-+const c = react_1.default.createElement(Info, __assign({}, infoProps));
\ No newline at end of file
+ const Info = (props) => props.status === "hidden"
+ ? react_1.default.createElement("noscript", null)
+ : react_1.default.createElement("div", null, props.content);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxViaImport.2.js.diff b/testdata/baselines/reference/submodule/compiler/jsxViaImport.2.js.diff
index f32066e714..d0bf458454 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxViaImport.2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxViaImport.2.js.diff
@@ -1,39 +1,11 @@
--- old.jsxViaImport.2.js
+++ new.jsxViaImport.2.js
-@@= skipped -23, +23 lines =@@
-
- //// [consumer.jsx]
+@@= skipped -25, +25 lines =@@
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
///
-var BaseComponent_1 = require("BaseComponent");
--var TestComponent = /** @class */ (function (_super) {
-- __extends(TestComponent, _super);
-- function TestComponent() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- TestComponent.prototype.render = function () {
+const BaseComponent_1 = require("BaseComponent");
-+class TestComponent extends React.Component {
-+ render() {
- return ;
-- };
-- return TestComponent;
--}(React.Component));
-+ }
-+}
\ No newline at end of file
+ class TestComponent extends React.Component {
+ render() {
+ return ;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/jsxViaImport.js.diff b/testdata/baselines/reference/submodule/compiler/jsxViaImport.js.diff
index 9c9221d3b3..eb0d763c9b 100644
--- a/testdata/baselines/reference/submodule/compiler/jsxViaImport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/jsxViaImport.js.diff
@@ -1,39 +1,11 @@
--- old.jsxViaImport.js
+++ new.jsxViaImport.js
-@@= skipped -23, +23 lines =@@
-
- //// [consumer.jsx]
+@@= skipped -25, +25 lines =@@
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
///
-var BaseComponent = require("BaseComponent");
--var TestComponent = /** @class */ (function (_super) {
-- __extends(TestComponent, _super);
-- function TestComponent() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- TestComponent.prototype.render = function () {
+const BaseComponent = require("BaseComponent");
-+class TestComponent extends React.Component {
-+ render() {
- return ;
-- };
-- return TestComponent;
--}(React.Component));
-+ }
-+}
\ No newline at end of file
+ class TestComponent extends React.Component {
+ render() {
+ return ;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/keyofDoesntContainSymbols.js.diff b/testdata/baselines/reference/submodule/compiler/keyofDoesntContainSymbols.js.diff
deleted file mode 100644
index 26be5e3764..0000000000
--- a/testdata/baselines/reference/submodule/compiler/keyofDoesntContainSymbols.js.diff
+++ /dev/null
@@ -1,29 +0,0 @@
---- old.keyofDoesntContainSymbols.js
-+++ new.keyofDoesntContainSymbols.js
-@@= skipped -26, +26 lines =@@
- type ValuesOfObj = Values;
-
- //// [keyofDoesntContainSymbols.js]
--var _a;
--var sym = Symbol();
--var num = 0;
--var obj = (_a = { num: 0, str: 's' }, _a[num] = num, _a[sym] = sym, _a);
-+const sym = Symbol();
-+const num = 0;
-+const obj = { num: 0, str: 's', [num]: num, [sym]: sym };
- function set(obj, key, value) {
- return obj[key] = value;
- }
--var val = set(obj, 'str', '');
-+const val = set(obj, 'str', '');
- // string
--var valB = set(obj, 'num', '');
-+const valB = set(obj, 'num', '');
- // Expect type error
- // Argument of type '""' is not assignable to parameter of type 'number'.
--var valC = set(obj, sym, sym);
-+const valC = set(obj, sym, sym);
- // Expect type error
- // Argument of type 'unique symbol' is not assignable to parameter of type "str" | "num"
--var valD = set(obj, num, num);
-+const valD = set(obj, num, num);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/keyofGenericExtendingClassDoubleLayer.js.diff b/testdata/baselines/reference/submodule/compiler/keyofGenericExtendingClassDoubleLayer.js.diff
index b0b7c7a94e..862441261b 100644
--- a/testdata/baselines/reference/submodule/compiler/keyofGenericExtendingClassDoubleLayer.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/keyofGenericExtendingClassDoubleLayer.js.diff
@@ -1,54 +1,15 @@
--- old.keyofGenericExtendingClassDoubleLayer.js
+++ new.keyofGenericExtendingClassDoubleLayer.js
-@@= skipped -18, +18 lines =@@
-
+@@= skipped -19, +19 lines =@@
//// [keyofGenericExtendingClassDoubleLayer.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Model = /** @class */ (function () {
-- function Model() {
-- }
-- return Model;
--}());
--var AutoModel = /** @class */ (function (_super) {
-- __extends(AutoModel, _super);
-- function AutoModel() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return AutoModel;
--}(Model));
--var PersonModel = /** @class */ (function (_super) {
-- __extends(PersonModel, _super);
-- function PersonModel() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- PersonModel.prototype.toJson = function () {
-- var x = 'createdAt';
-- };
-- return PersonModel;
--}(AutoModel));
-+class Model {
+ class Model {
+ createdAt;
-+}
-+class AutoModel extends Model {
-+}
-+class PersonModel extends AutoModel {
+ }
+ class AutoModel extends Model {
+ }
+ class PersonModel extends AutoModel {
+ age;
-+ toJson() {
-+ let x = 'createdAt';
-+ }
-+}
\ No newline at end of file
+ toJson() {
+ let x = 'createdAt';
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/keyofIsLiteralContexualType.js.diff b/testdata/baselines/reference/submodule/compiler/keyofIsLiteralContexualType.js.diff
deleted file mode 100644
index fc85cedd71..0000000000
--- a/testdata/baselines/reference/submodule/compiler/keyofIsLiteralContexualType.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.keyofIsLiteralContexualType.js
-+++ new.keyofIsLiteralContexualType.js
-@@= skipped -17, +17 lines =@@
- //// [keyofIsLiteralContexualType.js]
- // keyof T is a literal contextual type
- function foo() {
-- var a = ["a", "b"];
-- var b = ["a", "b", "c"];
-+ let a = ["a", "b"];
-+ let b = ["a", "b", "c"];
- }
--var x = pick({ a: 10, b: 20, c: 30 }, ["a", "c"]);
--var b = x.b; // Error
-+let x = pick({ a: 10, b: 20, c: 30 }, ["a", "c"]);
-+let b = x.b; // Error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/lambdaASIEmit.js.diff b/testdata/baselines/reference/submodule/compiler/lambdaASIEmit.js.diff
deleted file mode 100644
index 1b5d1ba3ef..0000000000
--- a/testdata/baselines/reference/submodule/compiler/lambdaASIEmit.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.lambdaASIEmit.js
-+++ new.lambdaASIEmit.js
-@@= skipped -12, +12 lines =@@
- //// [lambdaASIEmit.js]
- function Foo(x) {
- }
--Foo(function () {
-- // do something
-- return 127;
--});
-+Foo(() =>
-+// do something
-+127);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/lambdaArgCrash.js.diff b/testdata/baselines/reference/submodule/compiler/lambdaArgCrash.js.diff
index 462c35297e..dd8dfb93ce 100644
--- a/testdata/baselines/reference/submodule/compiler/lambdaArgCrash.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/lambdaArgCrash.js.diff
@@ -1,55 +1,13 @@
--- old.lambdaArgCrash.js
+++ new.lambdaArgCrash.js
-@@= skipped -36, +36 lines =@@
-
+@@= skipped -37, +37 lines =@@
//// [lambdaArgCrash.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Event = /** @class */ (function () {
-- function Event() {
-+class Event {
+ class Event {
+ _listeners = [];
-+ constructor() {
+ constructor() {
// TODO: remove
- this._listeners = [];
- this._listeners = [];
+ this._listeners = [];
}
-- Event.prototype.add = function (listener) {
-+ add(listener) {
- /// Registers a new listener for the event.
- /// The callback function to register.
- this._listeners.push(listener);
-- };
-- return Event;
--}());
--var ItemSetEvent = /** @class */ (function (_super) {
-- __extends(ItemSetEvent, _super);
-- function ItemSetEvent() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- ItemSetEvent.prototype.add = function (listener) {
-- _super.prototype.add.call(this, listener);
-- };
-- return ItemSetEvent;
--}(Event));
-+ }
-+}
-+class ItemSetEvent extends Event {
-+ add(listener) {
-+ super.add(listener);
-+ }
-+}
\ No newline at end of file
+ add(listener) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/lambdaExpression.js.diff b/testdata/baselines/reference/submodule/compiler/lambdaExpression.js.diff
deleted file mode 100644
index 3d2a0425ee..0000000000
--- a/testdata/baselines/reference/submodule/compiler/lambdaExpression.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.lambdaExpression.js
-+++ new.lambdaExpression.js
-@@= skipped -7, +7 lines =@@
-
-
- //// [lambdaExpression.js]
--(function () { return 0; }); // Needs to be wrapped in parens to be a valid expression (not declaration)
-+() => 0; // Needs to be wrapped in parens to be a valid expression (not declaration)
- var y = 0;
--(function () { return 0; });
-+(() => 0);
- var x = 0;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/lambdaParamTypes.js.diff b/testdata/baselines/reference/submodule/compiler/lambdaParamTypes.js.diff
deleted file mode 100644
index 548f962399..0000000000
--- a/testdata/baselines/reference/submodule/compiler/lambdaParamTypes.js.diff
+++ /dev/null
@@ -1,27 +0,0 @@
---- old.lambdaParamTypes.js
-+++ new.lambdaParamTypes.js
-@@= skipped -27, +27 lines =@@
- //// [lambdaParamTypes.js]
- 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
--thing.doSomething(function (x, y) { return x.id.toExponential(0); }); // x.id should be string, so should be OK
--thing.doSomething(function (x, y) { return y.name.charAt(0); }); // x.name should be string, so should be OK
--thing.doSomething(function (x, y) { return y.id.toExponential(0); }); // x.id should be string, so should be OK
-+thing.doSomething((x, y) => x.name.charAt(0)); // x.name should be string, so should be OK
-+thing.doSomething((x, y) => x.id.toExponential(0)); // x.id should be string, so should be OK
-+thing.doSomething((x, y) => y.name.charAt(0)); // x.name should be string, so should be OK
-+thing.doSomething((x, y) => y.id.toExponential(0)); // x.id should be string, so should be OK
- // Below should all be in error
--thing.doSomething(function (x, y) { return x.foo; }); // no such property on x
--thing.doSomething(function (x, y) { return y.foo; }); // no such property on y
--thing.doSomething(function (x, y) { return x.id.charAt(0); }); // x.id should be number, no charAt member
--thing.doSomething(function (x, y) { return x.name.toExponential(0); }); // x.name should be string, no toExponential member
--thing.doSomething(function (x, y) { return y.id.charAt(0); });
--thing.doSomething(function (x, y) { return y.name.toExponential(0); });
-+thing.doSomething((x, y) => x.foo); // no such property on x
-+thing.doSomething((x, y) => y.foo); // no such property on y
-+thing.doSomething((x, y) => x.id.charAt(0)); // x.id should be number, no charAt member
-+thing.doSomething((x, y) => x.name.toExponential(0)); // x.name should be string, no toExponential member
-+thing.doSomething((x, y) => y.id.charAt(0));
-+thing.doSomething((x, y) => y.name.toExponential(0));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/lambdaParameterWithTupleArgsHasCorrectAssignability.js.diff b/testdata/baselines/reference/submodule/compiler/lambdaParameterWithTupleArgsHasCorrectAssignability.js.diff
index 9c7c777350..6758128600 100644
--- a/testdata/baselines/reference/submodule/compiler/lambdaParameterWithTupleArgsHasCorrectAssignability.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/lambdaParameterWithTupleArgsHasCorrectAssignability.js.diff
@@ -5,22 +5,12 @@
//// [lambdaParameterWithTupleArgsHasCorrectAssignability.js]
-"use strict";
--var GenericClass = /** @class */ (function () {
-- function GenericClass() {
-- }
-- return GenericClass;
--}());
-+class GenericClass {
+ class GenericClass {
+ from;
-+}
+ }
function createClass(f) {
- return new GenericClass( /* ... use f */);
+ return new GenericClass( /* ... use f */ /* ... use f */);
}
function consumeClass(c) { }
- // should work
--consumeClass(createClass(function (str) { return console.log(str.length); }));
-+consumeClass(createClass(str => console.log(str.length)));
- // should work
--consumeClass(createClass(function (str, _unused_num) { return console.log(str.length); }));
-+consumeClass(createClass((str, _unused_num) => console.log(str.length)));
\ No newline at end of file
+ // should work
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/lambdaPropSelf.js.diff b/testdata/baselines/reference/submodule/compiler/lambdaPropSelf.js.diff
index 4141b38c92..22c846ff16 100644
--- a/testdata/baselines/reference/submodule/compiler/lambdaPropSelf.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/lambdaPropSelf.js.diff
@@ -1,36 +1,17 @@
--- old.lambdaPropSelf.js
+++ new.lambdaPropSelf.js
-@@= skipped -25, +25 lines =@@
-
+@@= skipped -26, +26 lines =@@
//// [lambdaPropSelf.js]
--var Person = /** @class */ (function () {
-- function Person(name, children) {
-- var _this = this;
-+class Person {
+ class Person {
+ name;
+ children;
-+ constructor(name, children) {
+ constructor(name, children) {
this.name = name;
-- this.addChild = function () { return _this.children.push("New child"); };
+- this.addChild = () => this.children.push("New child");
this.children = ko.observableArray(children);
}
-- return Person;
--}());
--var T = /** @class */ (function () {
-- function T() {
-- }
-- T.prototype.fo = function () {
+ addChild = () => this.children.push("New child");
-+}
-+class T {
-+ fo() {
- var x = this;
-- };
-- return T;
--}());
-+ }
-+}
- var M;
- (function (M) {
- var x = this;
\ No newline at end of file
+ }
+ class T {
+ fo() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/largeControlFlowGraph.js.diff b/testdata/baselines/reference/submodule/compiler/largeControlFlowGraph.js.diff
index 0d25969c80..a64a88b3b2 100644
--- a/testdata/baselines/reference/submodule/compiler/largeControlFlowGraph.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/largeControlFlowGraph.js.diff
@@ -7,8 +7,4 @@
-"use strict";
// The control flow graph for the following statement block is 10000 nodes deep. Check that
// we gracefully handle this, possibly by issuing an error.
--var data = [];
-+const data = [];
- data[0] = 0;
- data[0] = 0;
- data[0] = 0;
\ No newline at end of file
+ const data = [];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/lastPropertyInLiteralWins.js.diff b/testdata/baselines/reference/submodule/compiler/lastPropertyInLiteralWins.js.diff
deleted file mode 100644
index d42fc4e372..0000000000
--- a/testdata/baselines/reference/submodule/compiler/lastPropertyInLiteralWins.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.lastPropertyInLiteralWins.js
-+++ new.lastPropertyInLiteralWins.js
-@@= skipped -22, +22 lines =@@
- thing.thunk("str");
- }
- test({
-- thunk: function (str) { },
-- thunk: function (num) { }
-+ thunk: (str) => { },
-+ thunk: (num) => { }
- });
- test({
-- thunk: function (num) { },
-- thunk: function (str) { }
-+ thunk: (num) => { },
-+ thunk: (str) => { }
- });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/lateBoundConstraintTypeChecksCorrectly.js.diff b/testdata/baselines/reference/submodule/compiler/lateBoundConstraintTypeChecksCorrectly.js.diff
deleted file mode 100644
index bd2b502dce..0000000000
--- a/testdata/baselines/reference/submodule/compiler/lateBoundConstraintTypeChecksCorrectly.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.lateBoundConstraintTypeChecksCorrectly.js
-+++ new.lateBoundConstraintTypeChecksCorrectly.js
-@@= skipped -25, +25 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- function f(x) {
-- var abc = x[fooProp]; // expected: 'T[typeof fooProp]'
-+ const abc = x[fooProp]; // expected: 'T[typeof fooProp]'
- /**
- * Expected: no error
- */
-- var def = x[fooProp];
-- var def2 = x[barProp];
-+ const def = x[fooProp];
-+ const def2 = x[barProp];
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/lateBoundDestructuringImplicitAnyError.js.diff b/testdata/baselines/reference/submodule/compiler/lateBoundDestructuringImplicitAnyError.js.diff
deleted file mode 100644
index 2d19368eb0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/lateBoundDestructuringImplicitAnyError.js.diff
+++ /dev/null
@@ -1,45 +0,0 @@
---- old.lateBoundDestructuringImplicitAnyError.js
-+++ new.lateBoundDestructuringImplicitAnyError.js
-@@= skipped -30, +30 lines =@@
- void prop9;
-
- //// [lateBoundDestructuringImplicitAnyError.js]
--var named = "foo";
--var _a = { prop: "foo" }, _b = named, prop = _a[_b];
-+let named = "foo";
-+let { [named]: prop } = { prop: "foo" };
- void prop;
--var numIndexed = null;
--var strIndexed = null;
--var numed = 6;
--var symed = Symbol();
--var symed2 = Symbol();
--var _c = numIndexed, _d = named, prop2 = _c[_d];
-+const numIndexed = null;
-+const strIndexed = null;
-+let numed = 6;
-+const symed = Symbol();
-+let symed2 = Symbol();
-+let { [named]: prop2 } = numIndexed;
- void prop2;
--var _e = numIndexed, _f = numed, prop3 = _e[_f];
-+let { [numed]: prop3 } = numIndexed;
- void prop3;
--var _g = strIndexed, _h = named, prop4 = _g[_h];
-+let { [named]: prop4 } = strIndexed;
- void prop4;
--var _j = strIndexed, _k = numed, prop5 = _j[_k];
-+let { [numed]: prop5 } = strIndexed;
- void prop5;
--var _l = numIndexed, _m = symed, prop6 = _l[_m];
-+let { [symed]: prop6 } = numIndexed;
- void prop6;
--var _o = strIndexed, _p = symed, prop7 = _o[_p];
-+let { [symed]: prop7 } = strIndexed;
- void prop7;
--var _q = numIndexed, _r = symed2, prop8 = _q[_r];
-+let { [symed2]: prop8 } = numIndexed;
- void prop8;
--var _s = strIndexed, _t = symed2, prop9 = _s[_t];
-+let { [symed2]: prop9 } = strIndexed;
- void prop9;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/letAsIdentifier.js.diff b/testdata/baselines/reference/submodule/compiler/letAsIdentifier.js.diff
deleted file mode 100644
index bdc4a958f0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/letAsIdentifier.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.letAsIdentifier.js
-+++ new.letAsIdentifier.js
-@@= skipped -10, +10 lines =@@
- var let = 10;
- var a = 10;
- let = 30;
--var a;
-+let a;
-
-
- //// [letAsIdentifier.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/letAsIdentifierInStrictMode.js.diff b/testdata/baselines/reference/submodule/compiler/letAsIdentifierInStrictMode.js.diff
deleted file mode 100644
index 3370c38dbe..0000000000
--- a/testdata/baselines/reference/submodule/compiler/letAsIdentifierInStrictMode.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.letAsIdentifierInStrictMode.js
-+++ new.letAsIdentifierInStrictMode.js
-@@= skipped -12, +12 lines =@@
- var let = 10;
- var a = 10;
- let = 30;
--var a;
-+let a;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/letConstInCaseClauses.js.diff b/testdata/baselines/reference/submodule/compiler/letConstInCaseClauses.js.diff
deleted file mode 100644
index 7b47de4412..0000000000
--- a/testdata/baselines/reference/submodule/compiler/letConstInCaseClauses.js.diff
+++ /dev/null
@@ -1,45 +0,0 @@
---- old.letConstInCaseClauses.js
-+++ new.letConstInCaseClauses.js
-@@= skipped -34, +34 lines =@@
- var x = 10;
- var y = 20;
- {
-- var x_1 = 1;
-- var y_1 = 2;
-- console.log(x_1);
-- switch (x_1) {
-+ let x = 1;
-+ let y = 2;
-+ console.log(x);
-+ switch (x) {
- case 10:
-- var x_2 = 20;
-+ let x = 20;
- }
-- switch (y_1) {
-+ switch (y) {
- case 10:
-- var y_2 = 20;
-+ let y = 20;
- }
- }
- {
-- var x_3 = 1;
-- var y_3 = 2;
-- console.log(x_3);
-- switch (x_3) {
-+ const x = 1;
-+ const y = 2;
-+ console.log(x);
-+ switch (x) {
- case 10:
-- var x_4 = 20;
-+ const x = 20;
- }
-- switch (y_3) {
-+ switch (y) {
- case 10:
-- var y_4 = 20;
-+ const y = 20;
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/letConstMatchingParameterNames.js.diff b/testdata/baselines/reference/submodule/compiler/letConstMatchingParameterNames.js.diff
deleted file mode 100644
index d2e1d33966..0000000000
--- a/testdata/baselines/reference/submodule/compiler/letConstMatchingParameterNames.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.letConstMatchingParameterNames.js
-+++ new.letConstMatchingParameterNames.js
-@@= skipped -17, +17 lines =@@
-
-
- //// [letConstMatchingParameterNames.js]
--var parent = true;
--var parent2 = true;
-+let parent = true;
-+const parent2 = true;
- function a() {
-- var parent = 1;
-- var parent2 = 2;
-+ let parent = 1;
-+ const parent2 = 2;
- function b(parent, parent2) {
- use(parent);
- use(parent2);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/letDeclarations-es5-1.js.diff b/testdata/baselines/reference/submodule/compiler/letDeclarations-es5-1.js.diff
deleted file mode 100644
index b9d0bb8b9f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/letDeclarations-es5-1.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.letDeclarations-es5-1.js
-+++ new.letDeclarations-es5-1.js
-@@= skipped -8, +8 lines =@@
- let l9 = 0, l10 :string = "", l11 = null;
-
- //// [letDeclarations-es5-1.js]
--var l1;
--var l2;
--var l3, l4, l5, l6;
--var l7 = false;
--var l8 = 23;
--var l9 = 0, l10 = "", l11 = null;
-+let l1;
-+let l2;
-+let l3, l4, l5, l6;
-+let l7 = false;
-+let l8 = 23;
-+let l9 = 0, l10 = "", l11 = null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/letDeclarations-es5.js.diff b/testdata/baselines/reference/submodule/compiler/letDeclarations-es5.js.diff
deleted file mode 100644
index 7f63187b7a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/letDeclarations-es5.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.letDeclarations-es5.js
-+++ new.letDeclarations-es5.js
-@@= skipped -14, +14 lines =@@
-
-
- //// [letDeclarations-es5.js]
--var l1;
--var l2;
--var l3, l4, l5, l6;
--var l7 = false;
--var l8 = 23;
--var l9 = 0, l10 = "", l11 = null;
--for (var l11_1 in {}) { }
--for (var l12 = 0; l12 < 9; l12++) { }
-+let l1;
-+let l2;
-+let l3, l4, l5, l6;
-+let l7 = false;
-+let l8 = 23;
-+let l9 = 0, l10 = "", l11 = null;
-+for (let l11 in {}) { }
-+for (let l12 = 0; l12 < 9; l12++) { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/letInConstDeclarations_ES5.js.diff b/testdata/baselines/reference/submodule/compiler/letInConstDeclarations_ES5.js.diff
deleted file mode 100644
index a2de9f398c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/letInConstDeclarations_ES5.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.letInConstDeclarations_ES5.js
-+++ new.letInConstDeclarations_ES5.js
-@@= skipped -9, +9 lines =@@
-
- //// [letInConstDeclarations_ES5.js]
- // All use of let in const declaration should be an error
--var x = 50, let = 5;
-+const x = 50, let = 5;
- {
-- var x_1 = 10, let_1 = 20;
-+ const x = 10, let = 20;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/letInLetConstDeclOfForOfAndForIn_ES5.js.diff b/testdata/baselines/reference/submodule/compiler/letInLetConstDeclOfForOfAndForIn_ES5.js.diff
deleted file mode 100644
index 99ecebcd04..0000000000
--- a/testdata/baselines/reference/submodule/compiler/letInLetConstDeclOfForOfAndForIn_ES5.js.diff
+++ /dev/null
@@ -1,32 +0,0 @@
---- old.letInLetConstDeclOfForOfAndForIn_ES5.js
-+++ new.letInLetConstDeclOfForOfAndForIn_ES5.js
-@@= skipped -23, +23 lines =@@
-
- //// [letInLetConstDeclOfForOfAndForIn_ES5.js]
- // Should be an error
--for (var _i = 0, _a = [1, 2, 3]; _i < _a.length; _i++) {
-- var let = _a[_i];
--}
--for (var _b = 0, _c = [1, 2, 3]; _b < _c.length; _b++) {
-- var let = _c[_b];
--}
--for (var let in [1, 2, 3]) { }
--for (var let in [1, 2, 3]) { }
-+for (let let of [1, 2, 3]) { }
-+for (const let of [1, 2, 3]) { }
-+for (let let in [1, 2, 3]) { }
-+for (const let in [1, 2, 3]) { }
- {
-- for (var _d = 0, _e = [1, 2, 3]; _d < _e.length; _d++) {
-- var let = _e[_d];
-- }
-- for (var _f = 0, _g = [1, 2, 3]; _f < _g.length; _f++) {
-- var let = _g[_f];
-- }
-- for (var let in [1, 2, 3]) { }
-- for (var let in [1, 2, 3]) { }
-+ for (let let of [1, 2, 3]) { }
-+ for (const let of [1, 2, 3]) { }
-+ for (let let in [1, 2, 3]) { }
-+ for (const let in [1, 2, 3]) { }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/letInLetDeclarations_ES5.js.diff b/testdata/baselines/reference/submodule/compiler/letInLetDeclarations_ES5.js.diff
deleted file mode 100644
index 45d8dfc25d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/letInLetDeclarations_ES5.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.letInLetDeclarations_ES5.js
-+++ new.letInLetDeclarations_ES5.js
-@@= skipped -9, +9 lines =@@
-
- //// [letInLetDeclarations_ES5.js]
- // All use of let in const declaration should be an error
--var x = 50, let = 5;
-+let x = 50, let = 5;
- {
-- var x_1 = 10, let_1 = 20;
-+ let x = 10, let = 20;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/letInNonStrictMode.js.diff b/testdata/baselines/reference/submodule/compiler/letInNonStrictMode.js.diff
deleted file mode 100644
index b0474cec1c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/letInNonStrictMode.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.letInNonStrictMode.js
-+++ new.letInNonStrictMode.js
-@@= skipped -4, +4 lines =@@
- let {a: y} = {a: 1};
-
- //// [letInNonStrictMode.js]
--var x = [1][0];
--var y = { a: 1 }.a;
-+let [x] = [1];
-+let { a: y } = { a: 1 };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/letInVarDeclOfForOf_ES5.js.diff b/testdata/baselines/reference/submodule/compiler/letInVarDeclOfForOf_ES5.js.diff
deleted file mode 100644
index a4de863246..0000000000
--- a/testdata/baselines/reference/submodule/compiler/letInVarDeclOfForOf_ES5.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.letInVarDeclOfForOf_ES5.js
-+++ new.letInVarDeclOfForOf_ES5.js
-@@= skipped -10, +10 lines =@@
-
- //// [letInVarDeclOfForOf_ES5.js]
- // should not be an error
--for (var _i = 0, _a = [1, 2, 3]; _i < _a.length; _i++) {
-- var let = _a[_i];
--}
-+for (var let of [1, 2, 3]) { }
- {
-- for (var _b = 0, _c = [1, 2, 3]; _b < _c.length; _b++) {
-- var let = _c[_b];
-- }
-+ for (var let of [1, 2, 3]) { }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/letKeepNamesOfTopLevelItems.js.diff b/testdata/baselines/reference/submodule/compiler/letKeepNamesOfTopLevelItems.js.diff
deleted file mode 100644
index 149f6ec219..0000000000
--- a/testdata/baselines/reference/submodule/compiler/letKeepNamesOfTopLevelItems.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.letKeepNamesOfTopLevelItems.js
-+++ new.letKeepNamesOfTopLevelItems.js
-@@= skipped -10, +10 lines =@@
- }
-
- //// [letKeepNamesOfTopLevelItems.js]
--var x;
-+let x;
- function foo() {
-- var x;
-+ let x;
- }
- var A;
- (function (A) {
-- var x;
-+ let x;
- })(A || (A = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/letShadowedByNameInNestedScope.js.diff b/testdata/baselines/reference/submodule/compiler/letShadowedByNameInNestedScope.js.diff
deleted file mode 100644
index 7319c1a71d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/letShadowedByNameInNestedScope.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.letShadowedByNameInNestedScope.js
-+++ new.letShadowedByNameInNestedScope.js
-@@= skipped -12, +12 lines =@@
- //// [letShadowedByNameInNestedScope.js]
- var x;
- function foo() {
-- var x = 0;
-+ let x = 0;
- (function () {
- var _x = 1;
- console.log(x);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/libMembers.js.diff b/testdata/baselines/reference/submodule/compiler/libMembers.js.diff
deleted file mode 100644
index 74f4d4e519..0000000000
--- a/testdata/baselines/reference/submodule/compiler/libMembers.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.libMembers.js
-+++ new.libMembers.js
-@@= skipped -24, +24 lines =@@
- String.fromCharCode(12);
- var M;
- (function (M) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- M.C = C;
- var a = new C[];
- a.length;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/libTypeScriptOverrideSimple.js.diff b/testdata/baselines/reference/submodule/compiler/libTypeScriptOverrideSimple.js.diff
deleted file mode 100644
index 197c6e2443..0000000000
--- a/testdata/baselines/reference/submodule/compiler/libTypeScriptOverrideSimple.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.libTypeScriptOverrideSimple.js
-+++ new.libTypeScriptOverrideSimple.js
-@@= skipped -12, +12 lines =@@
-
- //// [index.js]
- ///
--var a = { abc: "Hello" };
-+const a = { abc: "Hello" };
- // This should fail because libdom has been replaced
- // by the module above ^
- window.localStorage;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/libTypeScriptOverrideSimpleConfig.js.diff b/testdata/baselines/reference/submodule/compiler/libTypeScriptOverrideSimpleConfig.js.diff
deleted file mode 100644
index e872d7b545..0000000000
--- a/testdata/baselines/reference/submodule/compiler/libTypeScriptOverrideSimpleConfig.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.libTypeScriptOverrideSimpleConfig.js
-+++ new.libTypeScriptOverrideSimpleConfig.js
-@@= skipped -12, +12 lines =@@
-
- //// [index.js]
- ///
--var a = { abc: "Hello" };
-+const a = { abc: "Hello" };
- // This should fail because libdom has been replaced
- // by the module above ^
- window.localStorage;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/libTypeScriptSubfileResolving.js.diff b/testdata/baselines/reference/submodule/compiler/libTypeScriptSubfileResolving.js.diff
deleted file mode 100644
index 78b6b7c2ee..0000000000
--- a/testdata/baselines/reference/submodule/compiler/libTypeScriptSubfileResolving.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.libTypeScriptSubfileResolving.js
-+++ new.libTypeScriptSubfileResolving.js
-@@= skipped -14, +14 lines =@@
-
- //// [index.js]
- ///
--var a = { abc: "Hello" };
-+const a = { abc: "Hello" };
- // This should fail because libdom has been replaced
- // by the module above ^
- window.localStorage;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/libTypeScriptSubfileResolvingConfig.js.diff b/testdata/baselines/reference/submodule/compiler/libTypeScriptSubfileResolvingConfig.js.diff
deleted file mode 100644
index 9622bf404d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/libTypeScriptSubfileResolvingConfig.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.libTypeScriptSubfileResolvingConfig.js
-+++ new.libTypeScriptSubfileResolvingConfig.js
-@@= skipped -14, +14 lines =@@
-
- //// [index.js]
- ///
--var a = { abc: "Hello" };
-+const a = { abc: "Hello" };
- // This should fail because libdom has been replaced
- // by the module above ^
- window.localStorage;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/lift.js.diff b/testdata/baselines/reference/submodule/compiler/lift.js.diff
index 8e45c88c8b..e6f76e1b4a 100644
--- a/testdata/baselines/reference/submodule/compiler/lift.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/lift.js.diff
@@ -1,50 +1,14 @@
--- old.lift.js
+++ new.lift.js
-@@= skipped -19, +19 lines =@@
-
+@@= skipped -20, +20 lines =@@
//// [lift.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var B = /** @class */ (function () {
-- function B(y) {
-+class B {
+ class B {
+ y;
-+ constructor(y) {
+ constructor(y) {
this.y = y;
}
-- return B;
--}());
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C(y, z, w) {
-- var _this = _super.call(this, y) || this;
+ ll; // to be shadowed
-+}
-+class C extends B {
-+ constructor(y, z, w) {
-+ super(y);
- var x = 10 + w;
- var ll = x * w;
-- return _this;
- }
-- C.prototype.liftxyz = function () { return x + z + this.y; };
-- C.prototype.liftxylocllz = function () { return x + z + this.y + this.ll; };
-- return C;
--}(B));
-+ liftxyz() { return x + z + this.y; }
-+ liftxylocllz() { return x + z + this.y + this.ll; }
-+}
\ No newline at end of file
+ }
+ class C extends B {
+ constructor(y, z, w) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/limitDeepInstantiations.js.diff b/testdata/baselines/reference/submodule/compiler/limitDeepInstantiations.js.diff
index 07f0d4dfe8..9ad270affc 100644
--- a/testdata/baselines/reference/submodule/compiler/limitDeepInstantiations.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/limitDeepInstantiations.js.diff
@@ -5,7 +5,5 @@
//// [limitDeepInstantiations.js]
-// Repro from #14837
--var f1;
--var f2;
-+let f1;
-+let f2;
\ No newline at end of file
+ let f1;
+ let f2;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/listFailure.js.diff b/testdata/baselines/reference/submodule/compiler/listFailure.js.diff
index 33167fc599..8210314c00 100644
--- a/testdata/baselines/reference/submodule/compiler/listFailure.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/listFailure.js.diff
@@ -1,56 +1,21 @@
--- old.listFailure.js
+++ new.listFailure.js
-@@= skipped -45, +45 lines =@@
- //// [listFailure.js]
+@@= skipped -46, +46 lines =@@
var Editor;
(function (Editor) {
-- var Buffer = /** @class */ (function () {
-- function Buffer() {
+ class Buffer {
+- constructor() {
- this.lines = ListMakeHead();
- }
-- Buffer.prototype.addLine = function (lineText) {
-+ class Buffer {
+ lines = ListMakeHead();
-+ addLine(lineText) {
+ addLine(lineText) {
var line = new Line();
var lineEntry = this.lines.add(line);
- return lineEntry;
-- };
-- return Buffer;
-- }());
-+ }
-+ }
- Editor.Buffer = Buffer;
- function ListRemoveEntry(entry) {
- return entry;
-@@= skipped -24, +21 lines =@@
- return null;
+@@= skipped -23, +21 lines =@@
}
Editor.ListMakeEntry = ListMakeEntry;
-- var List = /** @class */ (function () {
-- function List() {
-- }
-- List.prototype.add = function (data) {
-+ class List {
+ class List {
+ next;
-+ add(data) {
+ add(data) {
this.next = ListMakeEntry(data);
- return this.next;
-- };
-- List.prototype.popEntry = function (head) {
-+ }
-+ popEntry(head) {
- return (ListRemoveEntry(this.next));
-- };
-- return List;
-- }());
-- var Line = /** @class */ (function () {
-- function Line() {
- }
-- return Line;
-- }());
-+ }
-+ class Line {
-+ }
- Editor.Line = Line;
- })(Editor || (Editor = {}));
\ No newline at end of file
+ return this.next;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/literalFreshnessPropagationOnNarrowing.js.diff b/testdata/baselines/reference/submodule/compiler/literalFreshnessPropagationOnNarrowing.js.diff
deleted file mode 100644
index e29394a6d4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/literalFreshnessPropagationOnNarrowing.js.diff
+++ /dev/null
@@ -1,82 +0,0 @@
---- old.literalFreshnessPropagationOnNarrowing.js
-+++ new.literalFreshnessPropagationOnNarrowing.js
-@@= skipped -63, +63 lines =@@
- }
-
- //// [literalFreshnessPropagationOnNarrowing.js]
--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)) {
-- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
-- ar[i] = from[i];
-- }
-- }
-- return to.concat(ar || Array.prototype.slice.call(from));
--};
- function f1() {
-- var b = true;
-- var obj = { b: b };
-+ let b = true;
-+ let obj = { b };
- // Desired: OK
- // 3.0: OK
- // 3.1 as-is: OK
-@@= skipped -19, +10 lines =@@
- obj.b = false;
- }
- function f2() {
-- var el = null;
-- var arr = null;
-- var elOrA = null;
-+ let el = null;
-+ let arr = null;
-+ let elOrA = null;
- // Desired/actual: All OK
-- var a1 = el;
-- var a2 = arr;
-- var a3 = [el];
-- var a4 = Array.isArray(elOrA) ? elOrA : [elOrA];
-+ let a1 = el;
-+ let a2 = arr;
-+ let a3 = [el];
-+ let a4 = Array.isArray(elOrA) ? elOrA : [elOrA];
- // Desired: OK
- // 3.0: Error
- // 3.1: OK
-- var a5 = __spreadArray([], Array.isArray(elOrA) ? elOrA : [elOrA], true);
-+ let a5 = [...Array.isArray(elOrA) ? elOrA : [elOrA]];
- }
- function f3() {
-- var x = 'x';
-- var x2 = x;
-+ const x = 'x';
-+ let x2 = x;
- // Desired: OK (up for debate?)
- // 3.0: Error
- // 3.1 as-is: OK
- x2 = 'y';
- // Desired/actual: All OK
-- var x3 = x;
-+ let x3 = x;
- x3 = 'y';
- }
- function f4() {
-- var x = true;
-- var x1 = x;
-+ const x = true;
-+ let x1 = x;
- // Desired: OK
- // 3.0: OK
- // 3.1: OK
-@@= skipped -34, +34 lines =@@
- x1 = false;
- }
- function f5() {
-- var arr = ['x'];
-+ let arr = ['x'];
- arr = ['y'];
- // Desired: OK
- // Error in all extant branches
-- arr = ['y'];
-+ arr = [...['y']];
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/literalIntersectionYieldsLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/literalIntersectionYieldsLiteral.js.diff
deleted file mode 100644
index 4930965174..0000000000
--- a/testdata/baselines/reference/submodule/compiler/literalIntersectionYieldsLiteral.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.literalIntersectionYieldsLiteral.js
-+++ new.literalIntersectionYieldsLiteral.js
-@@= skipped -4, +4 lines =@@
-
-
- //// [literalIntersectionYieldsLiteral.js]
--var x = { type: "string" };
-+const x = { type: "string" };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/literalsInComputedProperties1.js.diff b/testdata/baselines/reference/submodule/compiler/literalsInComputedProperties1.js.diff
index f8b8438335..9f5647b811 100644
--- a/testdata/baselines/reference/submodule/compiler/literalsInComputedProperties1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/literalsInComputedProperties1.js.diff
@@ -1,55 +1,13 @@
--- old.literalsInComputedProperties1.js
+++ new.literalsInComputedProperties1.js
-@@= skipped -52, +52 lines =@@
- // TODO: make sure that enum still disallow template literals as member names
-
- //// [literalsInComputedProperties1.js]
--var _a;
--var x = (_a = {
-- 1: 1
-- },
-- _a[2] = 1,
-- _a["3"] = 1,
-- _a["4"] = 1,
-- _a);
-+let x = {
-+ 1: 1,
-+ [2]: 1,
-+ "3": 1,
-+ ["4"]: 1
-+};
- x[1].toExponential();
- x[2].toExponential();
- x[3].toExponential();
- x[4].toExponential();
--var y;
-+let y;
- y[1].toExponential();
- y[2].toExponential();
+@@= skipped -68, +68 lines =@@
y[3].toExponential();
y[4].toExponential();
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var z;
-+class C {
+ class C {
+ 1;
+ [2];
+ "3";
+ ["4"];
-+}
-+let z;
- z[1].toExponential();
- z[2].toExponential();
- z[3].toExponential();
-@@= skipped -36, +35 lines =@@
- X[X["foo"] = 5] = "foo";
- X[X["bar"] = 6] = "bar";
- })(X || (X = {}));
--var a = X["foo"];
--var a0 = X["bar"];
-+let a = X["foo"];
-+let a0 = X["bar"];
- // TODO: make sure that enum still disallow template literals as member names
\ No newline at end of file
+ }
+ let z;
+ z[1].toExponential();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/localClassesInLoop.js.diff b/testdata/baselines/reference/submodule/compiler/localClassesInLoop.js.diff
deleted file mode 100644
index b5ac6785f4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/localClassesInLoop.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.localClassesInLoop.js
-+++ new.localClassesInLoop.js
-@@= skipped -14, +14 lines =@@
- //// [localClassesInLoop.js]
- "use strict";
- var data = [];
--var _loop_1 = function (x) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-- data.push(function () { return C; });
--};
--for (var x = 0; x < 2; ++x) {
-- _loop_1(x);
-+for (let x = 0; x < 2; ++x) {
-+ class C {
-+ }
-+ data.push(() => C);
- }
- use(data[0]() === data[1]());
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/localImportNameVsGlobalName.js.diff b/testdata/baselines/reference/submodule/compiler/localImportNameVsGlobalName.js.diff
deleted file mode 100644
index 6067e3b6ec..0000000000
--- a/testdata/baselines/reference/submodule/compiler/localImportNameVsGlobalName.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.localImportNameVsGlobalName.js
-+++ new.localImportNameVsGlobalName.js
-@@= skipped -17, +17 lines =@@
- //// [localImportNameVsGlobalName.js]
- var Keyboard;
- (function (Keyboard) {
-- var Key;
-+ let Key;
- (function (Key) {
- Key[Key["UP"] = 0] = "UP";
- Key[Key["DOWN"] = 1] = "DOWN";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/localTypeParameterInferencePriority.js.diff b/testdata/baselines/reference/submodule/compiler/localTypeParameterInferencePriority.js.diff
index 913b383f9f..35c38351e9 100644
--- a/testdata/baselines/reference/submodule/compiler/localTypeParameterInferencePriority.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/localTypeParameterInferencePriority.js.diff
@@ -1,48 +1,10 @@
--- old.localTypeParameterInferencePriority.js
+++ new.localTypeParameterInferencePriority.js
-@@= skipped -23, +23 lines =@@
-
- //// [localTypeParameterInferencePriority.js]
+@@= skipped -25, +25 lines =@@
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
--var Table = /** @class */ (function () {
-- function Table() {
-- }
-+class Table {
+ class Table {
+ __schema;
// Removing this line, removes the error
-- Table.prototype.getRows = function () {
-+ getRows() {
- return null;
-- };
-- return Table;
--}());
--var ColumnSelectViewImp = /** @class */ (function (_super) {
-- __extends(ColumnSelectViewImp, _super);
-- function ColumnSelectViewImp() {
-- return _super !== null && _super.apply(this, arguments) || this;
- }
-- return ColumnSelectViewImp;
--}(Table));
--var ColumnSelectView1 = ColumnSelectViewImp;
--var ColumnSelectView2 = Table;
-+}
-+class ColumnSelectViewImp extends Table {
-+}
-+const ColumnSelectView1 = ColumnSelectViewImp;
-+const ColumnSelectView2 = Table;
\ No newline at end of file
+ getRows() {
+ return null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/m7Bugs.js.diff b/testdata/baselines/reference/submodule/compiler/m7Bugs.js.diff
index eba5709c5e..5941f46d11 100644
--- a/testdata/baselines/reference/submodule/compiler/m7Bugs.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/m7Bugs.js.diff
@@ -1,43 +1,10 @@
--- old.m7Bugs.js
+++ new.m7Bugs.js
-@@= skipped -28, +28 lines =@@
-
-
- //// [m7Bugs.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
+@@= skipped -31, +31 lines =@@
var s = ({});
var x = {};
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
--}());
--var C2 = /** @class */ (function (_super) {
-- __extends(C2, _super);
-- function C2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C2;
--}(C1));
-+class C1 {
+ class C1 {
+ x;
-+}
-+class C2 extends C1 {
-+}
- var y1 = new C2();
- var y2 = new C2();
- var y3 = {};
\ No newline at end of file
+ }
+ class C2 extends C1 {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/manyCompilerErrorsInTheTwoFiles.js.diff b/testdata/baselines/reference/submodule/compiler/manyCompilerErrorsInTheTwoFiles.js.diff
index 770e913d0c..da5b312e5e 100644
--- a/testdata/baselines/reference/submodule/compiler/manyCompilerErrorsInTheTwoFiles.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/manyCompilerErrorsInTheTwoFiles.js.diff
@@ -4,9 +4,9 @@
limit
//// [a.js]
--var a = !;
+-const a = !;
-!;
--var b = !;
+-const b = !;
-!;
-!;
+const a = !();
diff --git a/testdata/baselines/reference/submodule/compiler/mapOnTupleTypes01.js.diff b/testdata/baselines/reference/submodule/compiler/mapOnTupleTypes01.js.diff
deleted file mode 100644
index a8997031e2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mapOnTupleTypes01.js.diff
+++ /dev/null
@@ -1,49 +0,0 @@
---- old.mapOnTupleTypes01.js
-+++ new.mapOnTupleTypes01.js
-@@= skipped -46, +46 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.h = exports.g = exports.f = exports.e = exports.d = exports.c = exports.b = exports.a = exports.mapOnLooseArrayLiteral = void 0;
--exports.mapOnLooseArrayLiteral = [1, 2, 3, 4].map(function (n) { return n * n; });
-+exports.mapOnLooseArrayLiteral = [1, 2, 3, 4].map(n => n * n);
- // Length 1
--var numTuple = [1];
--exports.a = numTuple.map(function (x) { return x * x; });
-+let numTuple = [1];
-+exports.a = numTuple.map(x => x * x);
- // Length 2
--var numNum = [100, 100];
--var strStr = ["hello", "hello"];
--var numStr = [100, "hello"];
--exports.b = numNum.map(function (n) { return n * n; });
--exports.c = strStr.map(function (s) { return s.charCodeAt(0); });
--exports.d = numStr.map(function (x) { return x; });
-+let numNum = [100, 100];
-+let strStr = ["hello", "hello"];
-+let numStr = [100, "hello"];
-+exports.b = numNum.map(n => n * n);
-+exports.c = strStr.map(s => s.charCodeAt(0));
-+exports.d = numStr.map(x => x);
- // Length 3
--var numNumNum = [1, 2, 3];
--exports.e = numNumNum.map(function (n) { return n * n; });
-+let numNumNum = [1, 2, 3];
-+exports.e = numNumNum.map(n => n * n);
- // Length 4
--var numNumNumNum = [1, 2, 3, 4];
--exports.f = numNumNumNum.map(function (n) { return n * n; });
-+let numNumNumNum = [1, 2, 3, 4];
-+exports.f = numNumNumNum.map(n => n * n);
- // Length 5
--var numNumNumNumNum = [1, 2, 3, 4, 5];
--exports.g = numNumNumNumNum.map(function (n) { return n * n; });
-+let numNumNumNumNum = [1, 2, 3, 4, 5];
-+exports.g = numNumNumNumNum.map(n => n * n);
- // Length 6
--var numNumNumNumNumNum = [1, 2, 3, 4, 5, 6];
--exports.h = numNumNumNumNum.map(function (n) { return n * n; });
-+let numNumNumNumNumNum = [1, 2, 3, 4, 5, 6];
-+exports.h = numNumNumNumNum.map(n => n * n);
-
-
- //// [mapOnTupleTypes01.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mapOnTupleTypes02.js.diff b/testdata/baselines/reference/submodule/compiler/mapOnTupleTypes02.js.diff
deleted file mode 100644
index b8079b7996..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mapOnTupleTypes02.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.mapOnTupleTypes02.js
-+++ new.mapOnTupleTypes02.js
-@@= skipped -11, +11 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.increment = increment;
- function increment(point) {
-- return point.map(function (d) { return d + 1; });
-+ return point.map(d => d + 1);
- }
-
diff --git a/testdata/baselines/reference/submodule/compiler/mappedToToIndexSignatureInference.js.diff b/testdata/baselines/reference/submodule/compiler/mappedToToIndexSignatureInference.js.diff
deleted file mode 100644
index 28175c6b0d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mappedToToIndexSignatureInference.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.mappedToToIndexSignatureInference.js
-+++ new.mappedToToIndexSignatureInference.js
-@@= skipped -20, +20 lines =@@
- E["A"] = "foo";
- E["B"] = "bar";
- })(E || (E = {}));
--var x = enumValues(E);
-+let x = enumValues(E);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mappedTypeAsStringTemplate.js.diff b/testdata/baselines/reference/submodule/compiler/mappedTypeAsStringTemplate.js.diff
deleted file mode 100644
index a6f472b2bb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mappedTypeAsStringTemplate.js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.mappedTypeAsStringTemplate.js
-+++ new.mappedTypeAsStringTemplate.js
-@@= skipped -12, +12 lines =@@
- //// [mappedTypeAsStringTemplate.js]
- // Repro from #44220
- function foo(foox) { }
--var c = { x: 1 };
-+const c = { x: 1 };
- foo(c);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mappedTypeContextualTypesApplied.js.diff b/testdata/baselines/reference/submodule/compiler/mappedTypeContextualTypesApplied.js.diff
index a9925fb8f1..77ef8fd3b1 100644
--- a/testdata/baselines/reference/submodule/compiler/mappedTypeContextualTypesApplied.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mappedTypeContextualTypesApplied.js.diff
@@ -5,21 +5,6 @@
//// [mappedTypeContextualTypesApplied.js]
-"use strict";
--mapped1({ foo: function (s) { return 42; } });
--mapped2({ foo: function (s) { return 42; } });
--mapped3({ foo: function (s) { return 42; } });
--mapped4({ foo: function (s) { return 42; } });
--mapped5({ foo: function (s) { return 42; } });
--mapped6({ foo: function (s) { return 42; } });
--mapped7({ foo: function (s) { return 42; } });
--mapped8({ foo: function (s) { return 42; } });
--mapped9({ foo: function (s) { return 42; } });
-+mapped1({ foo: s => 42 });
-+mapped2({ foo: s => 42 });
-+mapped3({ foo: s => 42 });
-+mapped4({ foo: s => 42 });
-+mapped5({ foo: s => 42 });
-+mapped6({ foo: s => 42 });
-+mapped7({ foo: s => 42 });
-+mapped8({ foo: s => 42 });
-+mapped9({ foo: s => 42 });
\ No newline at end of file
+ mapped1({ foo: s => 42 });
+ mapped2({ foo: s => 42 });
+ mapped3({ foo: s => 42 });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mappedTypeGenericIndexedAccess.js.diff b/testdata/baselines/reference/submodule/compiler/mappedTypeGenericIndexedAccess.js.diff
index ecc21ee297..340d1ab78b 100644
--- a/testdata/baselines/reference/submodule/compiler/mappedTypeGenericIndexedAccess.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mappedTypeGenericIndexedAccess.js.diff
@@ -6,36 +6,25 @@
//// [mappedTypeGenericIndexedAccess.js]
-"use strict";
-// Repro from #49242
--var _a;
--var Test = /** @class */ (function () {
-- function Test() {
-+class Test {
+ class Test {
+ entries;
-+ constructor() {
+ constructor() {
this.entries = {};
}
-- Test.prototype.addEntry = function (name, entry) {
+ addEntry(name, entry) {
- var _a;
-+ addEntry(name, entry) {
if (!this.entries[name]) {
this.entries[name] = [];
}
- (_a = this.entries[name]) === null || _a === void 0 ? void 0 : _a.push(entry);
-- };
-- return Test;
--}());
--var typeHandlers = (_a = {},
-- _a[0] = function (p) { return console.log(p.foo); },
-- _a[1] = function (p) { return console.log(p.a); },
-- _a);
--var onSomeEvent = function (p) { var _a; return (_a = typeHandlers[p.t]) === null || _a === void 0 ? void 0 : _a.call(typeHandlers, p); };
+ this.entries[name]?.push(entry);
-+ }
-+}
-+const typeHandlers = {
-+ [0]: (p) => console.log(p.foo),
-+ [1]: (p) => console.log(p.a),
-+};
+ }
+ }
+ const typeHandlers = {
+ [0]: (p) => console.log(p.foo),
+ [1]: (p) => console.log(p.a),
+ };
+-const onSomeEvent = (p) => { var _a; return (_a = typeHandlers[p.t]) === null || _a === void 0 ? void 0 : _a.call(typeHandlers, p); };
+const onSomeEvent = (p) => typeHandlers[p.t]?.(p);
@@ -44,7 +33,7 @@
type Types = {
first: {
a1: true;
-@@= skipped -42, +39 lines =@@
+@@= skipped -40, +39 lines =@@
constructor();
addEntry(name: T, entry: Types[T]): void;
}
diff --git a/testdata/baselines/reference/submodule/compiler/mappedTypeGenericInstantiationPreservesHomomorphism.js.diff b/testdata/baselines/reference/submodule/compiler/mappedTypeGenericInstantiationPreservesHomomorphism.js.diff
index 3c74f8dd9b..7562879340 100644
--- a/testdata/baselines/reference/submodule/compiler/mappedTypeGenericInstantiationPreservesHomomorphism.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mappedTypeGenericInstantiationPreservesHomomorphism.js.diff
@@ -5,19 +5,11 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.mappedUnionWithPrivateType = void 0;
-var internal_1 = require("./internal");
--var mappedUnionWithPrivateType = function () {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
-- }
-- return internal_1.usePrivateType.apply(void 0, args);
--};
+const internal_1 = require("./internal");
-+const mappedUnionWithPrivateType = (...args) => (0, internal_1.usePrivateType)(...args);
+ const mappedUnionWithPrivateType = (...args) => (0, internal_1.usePrivateType)(...args);
exports.mappedUnionWithPrivateType = mappedUnionWithPrivateType;
-
-@@= skipped -18, +12 lines =@@
+@@= skipped -12, +12 lines =@@
};
export {};
//// [api.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/mappedTypeIndexedAccess.js.diff b/testdata/baselines/reference/submodule/compiler/mappedTypeIndexedAccess.js.diff
index 782189cefd..78ebf16833 100644
--- a/testdata/baselines/reference/submodule/compiler/mappedTypeIndexedAccess.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mappedTypeIndexedAccess.js.diff
@@ -7,14 +7,5 @@
-"use strict";
-// Repro from #15756
// Error expected here
--var pair1 = {
-+let pair1 = {
- key: "foo",
- value: 3
- };
- // Error expected here
--var pair2 = {
-+let pair2 = {
- key: "foo",
- value: 3
- };
\ No newline at end of file
+ let pair1 = {
+ key: "foo",
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mappedTypeMultiInference.js.diff b/testdata/baselines/reference/submodule/compiler/mappedTypeMultiInference.js.diff
deleted file mode 100644
index 0d79133f9a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mappedTypeMultiInference.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.mappedTypeMultiInference.js
-+++ new.mappedTypeMultiInference.js
-@@= skipped -28, +28 lines =@@
- // a: Style;
- // b: Style;
- // }
--var x = mergeStyleSets({}, {
-+let x = mergeStyleSets({}, {
- a: { flashy: true },
- }, {
- b: { flashy: true },
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mappedTypeNestedGenericInstantiation.js.diff b/testdata/baselines/reference/submodule/compiler/mappedTypeNestedGenericInstantiation.js.diff
index 33f637fecc..5816153056 100644
--- a/testdata/baselines/reference/submodule/compiler/mappedTypeNestedGenericInstantiation.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mappedTypeNestedGenericInstantiation.js.diff
@@ -5,7 +5,5 @@
//// [mappedTypeNestedGenericInstantiation.js]
-// Repro from #13346
--var square = function (x) { return x * x; };
--var v = chain({ a: 1, b: 2 }).mapValues(square).value();
-+const square = (x) => x * x;
-+const v = chain({ a: 1, b: 2 }).mapValues(square).value();
\ No newline at end of file
+ const square = (x) => x * x;
+ const v = chain({ a: 1, b: 2 }).mapValues(square).value();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mappedTypeNotMistakenlyHomomorphic.js.diff b/testdata/baselines/reference/submodule/compiler/mappedTypeNotMistakenlyHomomorphic.js.diff
deleted file mode 100644
index 4d4e44e4c1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mappedTypeNotMistakenlyHomomorphic.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.mappedTypeNotMistakenlyHomomorphic.js
-+++ new.mappedTypeNotMistakenlyHomomorphic.js
-@@= skipped -43, +43 lines =@@
- ABC[ABC["B"] = 1] = "B";
- })(ABC || (ABC = {}));
- // 'a' and 'b' properties required !?!?
--var gen2TypeA = { v: "I am A", a: "" };
--var gen2TypeB = { v: "I am B", b: "" };
-+const gen2TypeA = { v: "I am A", a: "" };
-+const gen2TypeB = { v: "I am B", b: "" };
- a = b;
- b = a;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mappedTypePartialConstraints.js.diff b/testdata/baselines/reference/submodule/compiler/mappedTypePartialConstraints.js.diff
index d4127a869d..349a969b2d 100644
--- a/testdata/baselines/reference/submodule/compiler/mappedTypePartialConstraints.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mappedTypePartialConstraints.js.diff
@@ -5,39 +5,6 @@
//// [mappedTypePartialConstraints.js]
-// Repro from #16985
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var MyClass = /** @class */ (function () {
-- function MyClass() {
-- }
-- MyClass.prototype.doIt = function (data) { };
-- return MyClass;
--}());
--var MySubClass = /** @class */ (function (_super) {
-- __extends(MySubClass, _super);
-- function MySubClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return MySubClass;
--}(MyClass));
-+class MyClass {
-+ doIt(data) { }
-+}
-+class MySubClass extends MyClass {
-+}
- function fn(arg) { }
- ;
- fn(MySubClass);
\ No newline at end of file
+ class MyClass {
+ doIt(data) { }
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mappedTypePartialNonHomomorphicBaseConstraint.js.diff b/testdata/baselines/reference/submodule/compiler/mappedTypePartialNonHomomorphicBaseConstraint.js.diff
deleted file mode 100644
index 79cc272537..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mappedTypePartialNonHomomorphicBaseConstraint.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.mappedTypePartialNonHomomorphicBaseConstraint.js
-+++ new.mappedTypePartialNonHomomorphicBaseConstraint.js
-@@= skipped -12, +12 lines =@@
- //// [mappedTypePartialNonHomomorphicBaseConstraint.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var Model = /** @class */ (function () {
-- function Model() {
-- }
-- Model.prototype.getErrors = function () {
-+class Model {
-+ getErrors() {
- return { base: ["some base error"] };
-- };
-- return Model;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mappedTypeUnionConstraintInferences.js.diff b/testdata/baselines/reference/submodule/compiler/mappedTypeUnionConstraintInferences.js.diff
deleted file mode 100644
index baaea077d4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mappedTypeUnionConstraintInferences.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.mappedTypeUnionConstraintInferences.js
-+++ new.mappedTypeUnionConstraintInferences.js
-@@= skipped -25, +25 lines =@@
- exports.b = exports.a = void 0;
- exports.doSomething_Actual = doSomething_Actual;
- function doSomething_Actual(a) {
-- var x = null;
-+ const x = null;
- return x;
- }
- exports.a = doSomething_Actual({ prop: "test" });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mappedTypeWithCombinedTypeMappers.js.diff b/testdata/baselines/reference/submodule/compiler/mappedTypeWithCombinedTypeMappers.js.diff
index fee29b2daa..5f380fbc01 100644
--- a/testdata/baselines/reference/submodule/compiler/mappedTypeWithCombinedTypeMappers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mappedTypeWithCombinedTypeMappers.js.diff
@@ -5,5 +5,4 @@
//// [mappedTypeWithCombinedTypeMappers.js]
-// Repro from #13351
--var shouldFail = output.x.children;
-+const shouldFail = output.x.children;
\ No newline at end of file
+ const shouldFail = output.x.children;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/matchReturnTypeInAllBranches.js.diff b/testdata/baselines/reference/submodule/compiler/matchReturnTypeInAllBranches.js.diff
index c5e1279f7b..9018f13ad0 100644
--- a/testdata/baselines/reference/submodule/compiler/matchReturnTypeInAllBranches.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/matchReturnTypeInAllBranches.js.diff
@@ -1,22 +1,18 @@
--- old.matchReturnTypeInAllBranches.js
+++ new.matchReturnTypeInAllBranches.js
-@@= skipped -38, +38 lines =@@
-
+@@= skipped -39, +39 lines =@@
//// [matchReturnTypeInAllBranches.js]
// Represents a monster who enjoys ice cream
--var IceCreamMonster = /** @class */ (function () {
-- function IceCreamMonster(iceCreamFlavor, wantsSprinkles, soundsWhenEating, name) {
-+class IceCreamMonster {
+ class IceCreamMonster {
+ iceCreamFlavor;
+ iceCreamRemaining;
+ wantsSprinkles;
+ soundsWhenEating;
+ name;
-+ constructor(iceCreamFlavor, wantsSprinkles, soundsWhenEating, name) {
+ constructor(iceCreamFlavor, wantsSprinkles, soundsWhenEating, name) {
this.iceCreamFlavor = iceCreamFlavor;
this.iceCreamRemaining = 100;
- this.wantsSprinkles = wantsSprinkles;
-@@= skipped -9, +14 lines =@@
+@@= skipped -8, +13 lines =@@
this.name = name;
}
/**
@@ -25,24 +21,11 @@
-* @param {number} amount The amount of ice cream to e at.
-* @return {boolean} True if ice cream remains, false if there is no more ice cream le ft.
-*/
-- IceCreamMonster.prototype.eatIceCream = function (amount) {
+ * Tells the IceCreamMonster to eat their ice cre am!
+ *
+ * @param {number} amount The amount of ice cream to e at.
+ * @return {boolean} True if ice cream remains, false if there is no more ice cream le ft.
+ */
-+ eatIceCream(amount) {
+ eatIceCream(amount) {
this.iceCreamRemaining -= amount;
- if (this.iceCreamRemaining <= 0) {
- this.iceCreamRemaining = 0;
-@@= skipped -14, +14 lines =@@
- else {
- return 12345;
- }
-- };
-- return IceCreamMonster;
--}());
-+ }
-+}
- var cookieMonster;
- cookieMonster = new IceCreamMonster("Chocolate Chip", false, "COOOOOKIE", "Cookie Monster");
\ No newline at end of file
+ if (this.iceCreamRemaining <= 0) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/maxConstraints.js.diff b/testdata/baselines/reference/submodule/compiler/maxConstraints.js.diff
deleted file mode 100644
index 622aafe4a4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/maxConstraints.js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.maxConstraints.js
-+++ new.maxConstraints.js
-@@= skipped -10, +10 lines =@@
- var maxResult = max2(1, 2);
-
- //// [maxConstraints.js]
--var max2 = function (x, y) { return (x.compareTo(y) > 0) ? x : y; };
-+var max2 = (x, y) => { return (x.compareTo(y) > 0) ? x : y; };
- var maxResult = max2(1, 2);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/memberAccessMustUseModuleInstances.js.diff b/testdata/baselines/reference/submodule/compiler/memberAccessMustUseModuleInstances.js.diff
index 3137428669..96a591c092 100644
--- a/testdata/baselines/reference/submodule/compiler/memberAccessMustUseModuleInstances.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/memberAccessMustUseModuleInstances.js.diff
@@ -8,23 +8,19 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Promise = void 0;
-- var Promise = /** @class */ (function () {
-- function Promise() {
-- }
-- Promise.timeout = function (delay) {
+- class Promise {
+- static timeout(delay) {
- return null;
-- };
-- return Promise;
-- }());
-- exports.Promise = Promise;
--});
+- }
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Promise = void 0;
+class Promise {
+ static timeout(delay) {
+ return null;
-+ }
+ }
+- exports.Promise = Promise;
+-});
+}
+exports.Promise = Promise;
//// [memberAccessMustUseModuleInstances_1.js]
diff --git a/testdata/baselines/reference/submodule/compiler/memberScope.js.diff b/testdata/baselines/reference/submodule/compiler/memberScope.js.diff
deleted file mode 100644
index ba76efbfad..0000000000
--- a/testdata/baselines/reference/submodule/compiler/memberScope.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.memberScope.js
-+++ new.memberScope.js
-@@= skipped -11, +11 lines =@@
- //// [memberScope.js]
- var Salt;
- (function (Salt) {
-- var Pepper = /** @class */ (function () {
-- function Pepper() {
-- }
-- return Pepper;
-- }());
-+ class Pepper {
-+ }
- Salt.Pepper = Pepper;
- var z = Basil.Pepper;
- })(Salt || (Salt = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/memberVariableDeclarations1.js.diff b/testdata/baselines/reference/submodule/compiler/memberVariableDeclarations1.js.diff
index 37d3dec3db..83115351db 100644
--- a/testdata/baselines/reference/submodule/compiler/memberVariableDeclarations1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/memberVariableDeclarations1.js.diff
@@ -1,44 +1,26 @@
--- old.memberVariableDeclarations1.js
+++ new.memberVariableDeclarations1.js
-@@= skipped -30, +30 lines =@@
-
+@@= skipped -31, +31 lines =@@
//// [memberVariableDeclarations1.js]
// from spec
--var Employee = /** @class */ (function () {
-- function Employee() {
+ class Employee {
+- constructor() {
- this.retired = false;
- this.manager = null;
- this.reports = [];
- }
-- return Employee;
--}());
--var Employee2 = /** @class */ (function () {
-- function Employee2() {
-- this.retired = false;
-- this.manager = null;
-- this.reports = [];
-- }
-- return Employee2;
--}());
-+class Employee {
+ name;
+ address;
+ retired = false;
+ manager = null;
+ reports = [];
-+}
-+class Employee2 {
+ }
+ class Employee2 {
+ name;
+ address;
+ retired;
+ manager;
+ reports;
-+ constructor() {
-+ this.retired = false;
-+ this.manager = null;
-+ this.reports = [];
-+ }
-+}
- var e1;
- var e2;
- e1 = e2;
\ No newline at end of file
+ constructor() {
+ this.retired = false;
+ this.manager = null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mergeMultipleInterfacesReexported.js.diff b/testdata/baselines/reference/submodule/compiler/mergeMultipleInterfacesReexported.js.diff
deleted file mode 100644
index 6bae923804..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mergeMultipleInterfacesReexported.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.mergeMultipleInterfacesReexported.js
-+++ new.mergeMultipleInterfacesReexported.js
-@@= skipped -55, +55 lines =@@
- //// [test.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var t = p012;
-+const t = p012;
- //// [foo.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mergeSymbolReexportInterface.js.diff b/testdata/baselines/reference/submodule/compiler/mergeSymbolReexportInterface.js.diff
deleted file mode 100644
index f8cbed495b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mergeSymbolReexportInterface.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.mergeSymbolReexportInterface.js
-+++ new.mergeSymbolReexportInterface.js
-@@= skipped -21, +21 lines =@@
- //// [main.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var x = {};
--var y = { s: '' };
-+const x = {};
-+const y = { s: '' };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mergeSymbolReexportedTypeAliasInstantiation.js.diff b/testdata/baselines/reference/submodule/compiler/mergeSymbolReexportedTypeAliasInstantiation.js.diff
deleted file mode 100644
index 124f3eaeef..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mergeSymbolReexportedTypeAliasInstantiation.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.mergeSymbolReexportedTypeAliasInstantiation.js
-+++ new.mergeSymbolReexportedTypeAliasInstantiation.js
-@@= skipped -20, +20 lines =@@
- //// [main.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var x = function (rowData) { return (null); };
--var y = { s: '' };
-+const x = (rowData) => (null);
-+const y = { s: '' };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mergedClassNamespaceRecordCast.js.diff b/testdata/baselines/reference/submodule/compiler/mergedClassNamespaceRecordCast.js.diff
deleted file mode 100644
index bfc11f3d75..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mergedClassNamespaceRecordCast.js.diff
+++ /dev/null
@@ -1,28 +0,0 @@
---- old.mergedClassNamespaceRecordCast.js
-+++ new.mergedClassNamespaceRecordCast.js
-@@= skipped -20, +20 lines =@@
-
-
- //// [mergedClassNamespaceRecordCast.js]
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- C1.prototype.foo = function () { };
-- return C1;
--}());
-+class C1 {
-+ foo() { }
-+}
- new C1();
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- C2.prototype.foo = function () { };
-- return C2;
--}());
-+class C2 {
-+ foo() { }
-+}
- (function (C2) {
- C2.unrelated = 3;
- })(C2 || (C2 = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mergedDeclarationExports.js.diff b/testdata/baselines/reference/submodule/compiler/mergedDeclarationExports.js.diff
deleted file mode 100644
index bdf9f5f398..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mergedDeclarationExports.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.mergedDeclarationExports.js
-+++ new.mergedDeclarationExports.js
-@@= skipped -30, +30 lines =@@
- exports.d = exports.t = exports.b = void 0;
- exports.b = 1;
- exports.t = 0;
--var d = /** @class */ (function () {
-- function d() {
-- }
-- return d;
--}());
-+class d {
-+}
- exports.d = d;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mergedDeclarations3.js.diff b/testdata/baselines/reference/submodule/compiler/mergedDeclarations3.js.diff
deleted file mode 100644
index 1aed61d9f6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mergedDeclarations3.js.diff
+++ /dev/null
@@ -1,42 +0,0 @@
---- old.mergedDeclarations3.js
-+++ new.mergedDeclarations3.js
-@@= skipped -43, +43 lines =@@
- //// [mergedDeclarations3.js]
- var M;
- (function (M) {
-- var Color;
-+ let Color;
- (function (Color) {
- Color[Color["Red"] = 0] = "Red";
- Color[Color["Green"] = 1] = "Green";
- })(Color = M.Color || (M.Color = {}));
- })(M || (M = {}));
- (function (M) {
-- var Color;
-+ let Color;
- (function (Color) {
- Color.Blue = 4;
- })(Color = M.Color || (M.Color = {}));
-@@= skipped -19, +19 lines =@@
- M.foo = foo;
- })(M || (M = {}));
- (function (M) {
-- var foo;
-+ let foo;
- (function (foo) {
- foo.x = 1;
- })(foo || (foo = {}));
- })(M || (M = {}));
- (function (M) {
-- var foo;
-+ let foo;
- (function (foo) {
- foo.y = 2;
- })(foo = M.foo || (M.foo = {}));
- })(M || (M = {}));
- (function (M) {
-- var foo;
-+ let foo;
- (function (foo) {
- foo.z = 1;
- })(foo || (foo = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mergedDeclarations4.js.diff b/testdata/baselines/reference/submodule/compiler/mergedDeclarations4.js.diff
deleted file mode 100644
index 60d9c69a7e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mergedDeclarations4.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.mergedDeclarations4.js
-+++ new.mergedDeclarations4.js
-@@= skipped -29, +29 lines =@@
- var r = f.hello;
- })(M || (M = {}));
- (function (M) {
-- var f;
-+ let f;
- (function (f) {
- f.hello = 1;
- })(f = M.f || (M.f = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mergedDeclarations5.js.diff b/testdata/baselines/reference/submodule/compiler/mergedDeclarations5.js.diff
deleted file mode 100644
index 788e6903ba..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mergedDeclarations5.js.diff
+++ /dev/null
@@ -1,42 +0,0 @@
---- old.mergedDeclarations5.js
-+++ new.mergedDeclarations5.js
-@@= skipped -11, +11 lines =@@
- }
-
- //// [a.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.foo = function () { };
-- return A;
--}());
-+class A {
-+ foo() { }
-+}
- //// [b.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- B.prototype.foo = function () { };
-- return B;
--}(A));
-+class B extends A {
-+ foo() { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mergedDeclarations6.js.diff b/testdata/baselines/reference/submodule/compiler/mergedDeclarations6.js.diff
index b1afd39250..c2473c7bd9 100644
--- a/testdata/baselines/reference/submodule/compiler/mergedDeclarations6.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mergedDeclarations6.js.diff
@@ -8,16 +8,10 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
-- var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.setProtected = function (val) {
+- class A {
+- setProtected(val) {
- this.protected = val;
-- };
-- return A;
-- }());
-- exports.A = A;
--});
+- }
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.A = void 0;
@@ -25,46 +19,27 @@
+ protected;
+ setProtected(val) {
+ this.protected = val;
-+ }
+ }
+- exports.A = A;
+-});
+}
+exports.A = A;
//// [b.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
-define(["require", "exports", "./a"], function (require, exports, a_1) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.B = void 0;
-- var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
+- class B extends a_1.A {
+- setProtected() {
- }
-- B.prototype.setProtected = function () {
-- };
-- return B;
-- }(a_1.A));
-- exports.B = B;
--});
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.B = void 0;
+const a_1 = require("./a");
+class B extends a_1.A {
+ setProtected() {
-+ }
+ }
+- exports.B = B;
+-});
+}
+exports.B = B;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mergedDeclarations7.js.diff b/testdata/baselines/reference/submodule/compiler/mergedDeclarations7.js.diff
index 183d8c3e92..92d4340508 100644
--- a/testdata/baselines/reference/submodule/compiler/mergedDeclarations7.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mergedDeclarations7.js.diff
@@ -5,6 +5,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var passport = require("passport");
--var p = passport.use();
+const passport = require("passport");
-+let p = passport.use();
\ No newline at end of file
+ let p = passport.use();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mergedModuleDeclarationCodeGen.js.diff b/testdata/baselines/reference/submodule/compiler/mergedModuleDeclarationCodeGen.js.diff
index ffd964a4d5..ece0bba775 100644
--- a/testdata/baselines/reference/submodule/compiler/mergedModuleDeclarationCodeGen.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mergedModuleDeclarationCodeGen.js.diff
@@ -1,35 +1,11 @@
--- old.mergedModuleDeclarationCodeGen.js
+++ new.mergedModuleDeclarationCodeGen.js
-@@= skipped -22, +22 lines =@@
- exports.X = void 0;
- var X;
- (function (X) {
-- var Y;
-+ let Y;
+@@= skipped -26, +26 lines =@@
(function (Y_1) {
-- var A = /** @class */ (function () {
-- function A(Y) {
+ class A {
+ constructor(Y) {
- new Y_1.B();
-+ class A {
-+ constructor(Y) {
+ new B();
}
-- return A;
-- }());
-+ }
- })(Y = X.Y || (X.Y = {}));
- })(X || (exports.X = X = {}));
- (function (X) {
-- var Y;
-+ let Y;
- (function (Y) {
-- var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
-- }());
-+ class B {
-+ }
- Y.B = B;
- })(Y = X.Y || (X.Y = {}));
- })(X || (exports.X = X = {}));
\ No newline at end of file
+ }
+ })(Y = X.Y || (X.Y = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mergedModuleDeclarationCodeGen4.js.diff b/testdata/baselines/reference/submodule/compiler/mergedModuleDeclarationCodeGen4.js.diff
index 706dbeaad4..c42a509711 100644
--- a/testdata/baselines/reference/submodule/compiler/mergedModuleDeclarationCodeGen4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mergedModuleDeclarationCodeGen4.js.diff
@@ -1,32 +1,7 @@
--- old.mergedModuleDeclarationCodeGen4.js
+++ new.mergedModuleDeclarationCodeGen4.js
-@@= skipped -20, +20 lines =@@
- //// [mergedModuleDeclarationCodeGen4.js]
- var superContain;
- (function (superContain) {
-- var contain;
-+ let contain;
- (function (contain_1) {
-- var my;
-+ let my;
- (function (my) {
-- var buz;
-+ let buz;
- (function (buz) {
-- var data;
-+ let data;
- (function (data) {
- function foo() { }
- data.foo = foo;
-@@= skipped -14, +14 lines =@@
- })(buz = my.buz || (my.buz = {}));
- })(my = contain_1.my || (contain_1.my = {}));
- (function (my_1) {
-- var buz;
-+ let buz;
- (function (buz_1) {
-- var data;
-+ let data;
+@@= skipped -39, +39 lines =@@
+ let data;
(function (data_1) {
function bar(contain, my, buz, data) {
- data_1.foo();
diff --git a/testdata/baselines/reference/submodule/compiler/mergedModuleDeclarationCodeGen5.js.diff b/testdata/baselines/reference/submodule/compiler/mergedModuleDeclarationCodeGen5.js.diff
index f1208b081b..569189dae6 100644
--- a/testdata/baselines/reference/submodule/compiler/mergedModuleDeclarationCodeGen5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mergedModuleDeclarationCodeGen5.js.diff
@@ -24,18 +24,7 @@
(function (plop_1) {
function gunk() { }
function buz() { }
-- var fudge = /** @class */ (function () {
-- function fudge() {
-- }
-- return fudge;
-- }());
-+ class fudge {
-+ }
- plop_1.fudge = fudge;
-- var plop;
-+ let plop;
- (function (plop) {
- })(plop = plop_1.plop || (plop_1.plop = {}));
+@@= skipped -15, +15 lines =@@
// Emit these references as follows
var v1 = gunk; // gunk
var v2 = buz; // buz
diff --git a/testdata/baselines/reference/submodule/compiler/metadataImportType.js.diff b/testdata/baselines/reference/submodule/compiler/metadataImportType.js.diff
index 7c6d054709..e0cfb55201 100644
--- a/testdata/baselines/reference/submodule/compiler/metadataImportType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/metadataImportType.js.diff
@@ -15,15 +15,15 @@
-};
Object.defineProperty(exports, "__esModule", { value: true });
exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
+-let A = (() => {
+- class A {
- }
- __decorate([
- test,
- __metadata("design:type", Object)
- ], A.prototype, "b", void 0);
- return A;
--}());
+-})();
+class A {
+ @test
+ b;
diff --git a/testdata/baselines/reference/submodule/compiler/metadataOfClassFromAlias.js.diff b/testdata/baselines/reference/submodule/compiler/metadataOfClassFromAlias.js.diff
index 81f245dfee..c878370790 100644
--- a/testdata/baselines/reference/submodule/compiler/metadataOfClassFromAlias.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/metadataOfClassFromAlias.js.diff
@@ -1,17 +1,11 @@
--- old.metadataOfClassFromAlias.js
+++ new.metadataOfClassFromAlias.js
-@@= skipped -17, +17 lines =@@
- "use strict";
+@@= skipped -18, +18 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.SomeClass = void 0;
--var SomeClass = /** @class */ (function () {
-- function SomeClass() {
-- }
-- return SomeClass;
--}());
-+class SomeClass {
+ class SomeClass {
+ field;
-+}
+ }
exports.SomeClass = SomeClass;
//// [test.js]
"use strict";
@@ -28,19 +22,17 @@
exports.ClassA = void 0;
-var auxiliry_1 = require("./auxiliry");
function annotation() {
-- return function (target) { };
--}
--var ClassA = /** @class */ (function () {
-- function ClassA() {
+ return (target) => { };
+ }
+-let ClassA = (() => {
+- class ClassA {
- }
- __decorate([
- annotation(),
- __metadata("design:type", auxiliry_1.SomeClass)
- ], ClassA.prototype, "array", void 0);
- return ClassA;
--}());
-+ return (target) => { };
-+}
+-})();
+class ClassA {
+ @annotation()
+ array;
diff --git a/testdata/baselines/reference/submodule/compiler/metadataOfClassFromAlias2.js.diff b/testdata/baselines/reference/submodule/compiler/metadataOfClassFromAlias2.js.diff
index f901a30aee..a4fa0e0372 100644
--- a/testdata/baselines/reference/submodule/compiler/metadataOfClassFromAlias2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/metadataOfClassFromAlias2.js.diff
@@ -1,17 +1,11 @@
--- old.metadataOfClassFromAlias2.js
+++ new.metadataOfClassFromAlias2.js
-@@= skipped -17, +17 lines =@@
- "use strict";
+@@= skipped -18, +18 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.SomeClass = void 0;
--var SomeClass = /** @class */ (function () {
-- function SomeClass() {
-- }
-- return SomeClass;
--}());
-+class SomeClass {
+ class SomeClass {
+ field;
-+}
+ }
exports.SomeClass = SomeClass;
//// [test.js]
"use strict";
@@ -27,19 +21,17 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClassA = void 0;
function annotation() {
-- return function (target) { };
--}
--var ClassA = /** @class */ (function () {
-- function ClassA() {
+ return (target) => { };
+ }
+-let ClassA = (() => {
+- class ClassA {
- }
- __decorate([
- annotation(),
- __metadata("design:type", Object)
- ], ClassA.prototype, "array", void 0);
- return ClassA;
--}());
-+ return (target) => { };
-+}
+-})();
+class ClassA {
+ @annotation()
+ array;
diff --git a/testdata/baselines/reference/submodule/compiler/metadataOfClassFromModule.js.diff b/testdata/baselines/reference/submodule/compiler/metadataOfClassFromModule.js.diff
index 886fabdf5d..246fab1955 100644
--- a/testdata/baselines/reference/submodule/compiler/metadataOfClassFromModule.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/metadataOfClassFromModule.js.diff
@@ -16,24 +16,19 @@
var MyModule;
(function (MyModule) {
function inject(target, key) { }
- MyModule.inject = inject;
-- var Leg = /** @class */ (function () {
-- function Leg() {
-- }
-- return Leg;
-- }());
-+ class Leg {
-+ }
+@@= skipped -16, +7 lines =@@
+ class Leg {
+ }
MyModule.Leg = Leg;
-- var Person = /** @class */ (function () {
-- function Person() {
+- let Person = (() => {
+- class Person {
- }
- __decorate([
- inject,
- __metadata("design:type", Leg)
- ], Person.prototype, "leftLeg", void 0);
- return Person;
-- }());
+- })();
+ class Person {
+ @inject
+ leftLeg;
diff --git a/testdata/baselines/reference/submodule/compiler/metadataOfEventAlias.js.diff b/testdata/baselines/reference/submodule/compiler/metadataOfEventAlias.js.diff
index 20eadebc97..5790accb1c 100644
--- a/testdata/baselines/reference/submodule/compiler/metadataOfEventAlias.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/metadataOfEventAlias.js.diff
@@ -16,15 +16,15 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.SomeClass = void 0;
function Input(target, key) { }
--var SomeClass = /** @class */ (function () {
-- function SomeClass() {
+-let SomeClass = (() => {
+- class SomeClass {
- }
- __decorate([
- Input,
- __metadata("design:type", Object)
- ], SomeClass.prototype, "event", void 0);
- return SomeClass;
--}());
+-})();
+class SomeClass {
+ @Input
+ event;
diff --git a/testdata/baselines/reference/submodule/compiler/metadataOfStringLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/metadataOfStringLiteral.js.diff
index bda26cf25b..da5f4f9cc6 100644
--- a/testdata/baselines/reference/submodule/compiler/metadataOfStringLiteral.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/metadataOfStringLiteral.js.diff
@@ -14,15 +14,15 @@
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
function PropDeco(target, propKey) { }
--var Foo = /** @class */ (function () {
-- function Foo() {
+-let Foo = (() => {
+- class Foo {
- }
- __decorate([
- PropDeco,
- __metadata("design:type", String)
- ], Foo.prototype, "foo", void 0);
- return Foo;
--}());
+-})();
+class Foo {
+ @PropDeco
+ foo;
diff --git a/testdata/baselines/reference/submodule/compiler/metadataOfUnion.js.diff b/testdata/baselines/reference/submodule/compiler/metadataOfUnion.js.diff
index 498119ad32..aea10c20aa 100644
--- a/testdata/baselines/reference/submodule/compiler/metadataOfUnion.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/metadataOfUnion.js.diff
@@ -14,13 +14,10 @@
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
function PropDeco(target, propKey) { }
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
+ class A {
+ }
+-let B = (() => {
+- class B {
- }
- __decorate([
- PropDeco,
@@ -35,9 +32,7 @@
- __metadata("design:type", Object)
- ], B.prototype, "z", void 0);
- return B;
--}());
-+class A {
-+}
+-})();
+class B {
+ @PropDeco
+ x;
@@ -49,12 +44,12 @@
var E;
(function (E) {
E[E["A"] = 0] = "A";
-@@= skipped -39, +18 lines =@@
+@@= skipped -36, +18 lines =@@
E[E["C"] = 2] = "C";
E[E["D"] = 3] = "D";
})(E || (E = {}));
--var D = /** @class */ (function () {
-- function D() {
+-let D = (() => {
+- class D {
- }
- __decorate([
- PropDeco,
@@ -73,7 +68,7 @@
- __metadata("design:type", Number)
- ], D.prototype, "d", void 0);
- return D;
--}());
+-})();
+class D {
+ @PropDeco
+ a;
diff --git a/testdata/baselines/reference/submodule/compiler/metadataOfUnionWithNull.js.diff b/testdata/baselines/reference/submodule/compiler/metadataOfUnionWithNull.js.diff
index d35120f1df..54a19f74e3 100644
--- a/testdata/baselines/reference/submodule/compiler/metadataOfUnionWithNull.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/metadataOfUnionWithNull.js.diff
@@ -14,13 +14,10 @@
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
function PropDeco(target, propKey) { }
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
+ class A {
+ }
+-let B = (() => {
+- class B {
- }
- __decorate([
- PropDeco,
@@ -71,9 +68,7 @@
- __metadata("design:type", typeof Symbol === "function" ? Symbol : Object)
- ], B.prototype, "j", void 0);
- return B;
--}());
-+class A {
-+}
+-})();
+class B {
+ @PropDeco
+ x;
diff --git a/testdata/baselines/reference/submodule/compiler/metadataReferencedWithinFilteredUnion.js.diff b/testdata/baselines/reference/submodule/compiler/metadataReferencedWithinFilteredUnion.js.diff
index 0a2987349e..feba7eaf19 100644
--- a/testdata/baselines/reference/submodule/compiler/metadataReferencedWithinFilteredUnion.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/metadataReferencedWithinFilteredUnion.js.diff
@@ -1,16 +1,6 @@
--- old.metadataReferencedWithinFilteredUnion.js
+++ new.metadataReferencedWithinFilteredUnion.js
-@@= skipped -19, +19 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Class1 = void 0;
--var Class1 = /** @class */ (function () {
-- function Class1() {
-- }
-- return Class1;
--}());
-+class Class1 {
-+}
+@@= skipped -24, +24 lines =@@
exports.Class1 = Class1;
//// [Class2.js]
"use strict";
@@ -28,26 +18,22 @@
-var Class1_1 = require("./Class1");
function decorate(target, propertyKey) {
}
--var Class2 = /** @class */ (function () {
-- function Class2() {
+-let Class2 = (() => {
+- class Class2 {
+- get prop() {
+- return undefined;
+- }
+class Class2 {
+ @decorate
+ get prop() {
+ return undefined;
}
-- Object.defineProperty(Class2.prototype, "prop", {
-- get: function () {
-- return undefined;
-- },
-- enumerable: false,
-- configurable: true
-- });
- __decorate([
- decorate,
- __metadata("design:type", Class1_1.Class1),
- __metadata("design:paramtypes", [])
- ], Class2.prototype, "prop", null);
- return Class2;
--}());
+-})();
+}
exports.Class2 = Class2;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/methodChainError.js.diff b/testdata/baselines/reference/submodule/compiler/methodChainError.js.diff
index 010dc87b5e..51a64fe457 100644
--- a/testdata/baselines/reference/submodule/compiler/methodChainError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/methodChainError.js.diff
@@ -1,22 +1,10 @@
--- old.methodChainError.js
+++ new.methodChainError.js
-@@= skipped -19, +19 lines =@@
- .method("a");
+@@= skipped -20, +20 lines =@@
//// [methodChainError.js]
--var Builder = /** @class */ (function () {
-- function Builder() {
-- }
-- Builder.prototype.method = function (param) {
-+class Builder {
+ class Builder {
+ notMethod;
-+ method(param) {
+ method(param) {
return this;
-- };
-- return Builder;
--}());
-+ }
-+}
- new Builder()
- .method("a")
- .method()
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/methodContainingLocalFunction.js.diff b/testdata/baselines/reference/submodule/compiler/methodContainingLocalFunction.js.diff
index 7ff476ff17..5641b45f83 100644
--- a/testdata/baselines/reference/submodule/compiler/methodContainingLocalFunction.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/methodContainingLocalFunction.js.diff
@@ -1,85 +1,10 @@
--- old.methodContainingLocalFunction.js
+++ new.methodContainingLocalFunction.js
-@@= skipped -53, +53 lines =@@
-
- //// [methodContainingLocalFunction.js]
- // The first case here (BugExhibition) caused a crash. Try with different permutations of features.
--var BugExhibition = /** @class */ (function () {
-- function BugExhibition() {
-- }
-- BugExhibition.prototype.exhibitBug = function () {
-- function localFunction() { }
-- var x;
-- x = localFunction;
-- };
-- return BugExhibition;
--}());
--var BugExhibition2 = /** @class */ (function () {
-- function BugExhibition2() {
-- }
-- Object.defineProperty(BugExhibition2, "exhibitBug", {
-- get: function () {
-- function localFunction() { }
-- var x;
-- x = localFunction;
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return BugExhibition2;
--}());
--var BugExhibition3 = /** @class */ (function () {
-- function BugExhibition3() {
-- }
-- BugExhibition3.prototype.exhibitBug = function () {
-+class BugExhibition {
-+ exhibitBug() {
-+ function localFunction() { }
-+ var x;
-+ x = localFunction;
-+ }
-+}
-+class BugExhibition2 {
-+ static get exhibitBug() {
-+ function localFunction() { }
-+ var x;
-+ x = localFunction;
-+ return null;
-+ }
-+}
-+class BugExhibition3 {
-+ exhibitBug() {
- function localGenericFunction(u) { }
- var x;
- x = localGenericFunction;
-- };
-- return BugExhibition3;
--}());
--var C = /** @class */ (function () {
-- function C() {
- }
-- C.prototype.exhibit = function () {
-- var funcExpr = function (u) { };
-+}
-+class C {
-+ exhibit() {
-+ var funcExpr = (u) => { };
- var x;
- x = funcExpr;
-- };
-- return C;
--}());
-+ }
-+}
- var M;
- (function (M) {
- function exhibitBug() {
-@@= skipped -56, +40 lines =@@
+@@= skipped -93, +93 lines =@@
})(M || (M = {}));
var E;
(function (E) {
-- E[E["A"] = (function () {
+- E[E["A"] = (() => {
+ E["A"] = (() => {
function localFunction() { }
var x;
diff --git a/testdata/baselines/reference/submodule/compiler/methodSignatureDeclarationEmit1.js.diff b/testdata/baselines/reference/submodule/compiler/methodSignatureDeclarationEmit1.js.diff
deleted file mode 100644
index c778e04f21..0000000000
--- a/testdata/baselines/reference/submodule/compiler/methodSignatureDeclarationEmit1.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.methodSignatureDeclarationEmit1.js
-+++ new.methodSignatureDeclarationEmit1.js
-@@= skipped -8, +8 lines =@@
- }
-
- //// [methodSignatureDeclarationEmit1.js]
--var C = /** @class */ (function () {
-- function C() {
-+class C {
-+ foo(a) {
- }
-- C.prototype.foo = function (a) {
-- };
-- return C;
--}());
-+}
-
-
- //// [methodSignatureDeclarationEmit1.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mismatchedClassConstructorVariable.js.diff b/testdata/baselines/reference/submodule/compiler/mismatchedClassConstructorVariable.js.diff
deleted file mode 100644
index 5df0cc78ea..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mismatchedClassConstructorVariable.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.mismatchedClassConstructorVariable.js
-+++ new.mismatchedClassConstructorVariable.js
-@@= skipped -6, +6 lines =@@
-
- //// [mismatchedClassConstructorVariable.js]
- var baz;
--var baz = /** @class */ (function () {
-- function baz() {
-- }
-- return baz;
--}());
--var foo = /** @class */ (function () {
-- function foo() {
-- }
-- return foo;
--}());
-+class baz {
-+}
-+class foo {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mismatchedExplicitTypeParameterAndArgumentType.js.diff b/testdata/baselines/reference/submodule/compiler/mismatchedExplicitTypeParameterAndArgumentType.js.diff
deleted file mode 100644
index c6f19cfa84..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mismatchedExplicitTypeParameterAndArgumentType.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.mismatchedExplicitTypeParameterAndArgumentType.js
-+++ new.mismatchedExplicitTypeParameterAndArgumentType.js
-@@= skipped -16, +16 lines =@@
- //// [mismatchedExplicitTypeParameterAndArgumentType.js]
- function map(xs, f) {
- var ys = [];
-- xs.forEach(function (x) { return ys.push(f(x)); });
-+ xs.forEach(x => ys.push(f(x)));
- return ys;
- }
--var r0 = map([1, ""], function (x) { return x.toString(); });
--var r5 = map([1, ""], function (x) { return x.toString(); });
--var r6 = map([1, ""], function (x) { return x.toString(); });
--var r7 = map([1, ""], function (x) { return x.toString(); }); // error
--var r7b = map([1, ""], function (x) { return x.toString(); }); // error
--var r8 = map([1, ""], function (x) { return x.toString(); });
-+var r0 = map([1, ""], (x) => x.toString());
-+var r5 = map([1, ""], (x) => x.toString());
-+var r6 = map([1, ""], (x) => x.toString());
-+var r7 = map([1, ""], (x) => x.toString()); // error
-+var r7b = map([1, ""], (x) => x.toString()); // error
-+var r8 = map([1, ""], (x) => x.toString());
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mismatchedGenericArguments1.js.diff b/testdata/baselines/reference/submodule/compiler/mismatchedGenericArguments1.js.diff
deleted file mode 100644
index e148523cbd..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mismatchedGenericArguments1.js.diff
+++ /dev/null
@@ -1,32 +0,0 @@
---- old.mismatchedGenericArguments1.js
-+++ new.mismatchedGenericArguments1.js
-@@= skipped -17, +17 lines =@@
-
-
- //// [mismatchedGenericArguments1.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.foo = function (x) {
-- return null;
-- };
-- return C;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- C2.prototype.foo = function (x) {
-- return null;
-- };
-- return C2;
--}());
-+class C {
-+ foo(x) {
-+ return null;
-+ }
-+}
-+class C2 {
-+ foo(x) {
-+ return null;
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/missingCommaInTemplateStringsArray.js.diff b/testdata/baselines/reference/submodule/compiler/missingCommaInTemplateStringsArray.js.diff
deleted file mode 100644
index f8745247cc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/missingCommaInTemplateStringsArray.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.missingCommaInTemplateStringsArray.js
-+++ new.missingCommaInTemplateStringsArray.js
-@@= skipped -6, +6 lines =@@
- ];
-
- //// [missingCommaInTemplateStringsArray.js]
--var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
-- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
-- return cooked;
--};
- var array = [
-- "template string 1"(__makeTemplateObject(["template string 2"], ["template string 2"]))
-+ `template string 1` `template string 2`
- ];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/missingDiscriminants.errors.txt b/testdata/baselines/reference/submodule/compiler/missingDiscriminants.errors.txt
new file mode 100644
index 0000000000..33f05ee454
--- /dev/null
+++ b/testdata/baselines/reference/submodule/compiler/missingDiscriminants.errors.txt
@@ -0,0 +1,28 @@
+missingDiscriminants.ts(17,23): error TS2353: Object literal may only specify known properties, and 'subkind' does not exist in type '{ kind: "b"; }'.
+missingDiscriminants.ts(18,34): error TS2353: Object literal may only specify known properties, and 'subkind' does not exist in type '{ kind: "b"; }'.
+
+
+==== missingDiscriminants.ts (2 errors) ====
+ // https://github.com/microsoft/typescript-go/issues/1020
+
+ type Thing =
+ | { str: "a", num: 0 }
+ | { str: "b" }
+ | { num: 1 }
+
+ const thing1: Thing = { str: "a", num: 0 }
+ const thing2: Thing = { str: "b", num: 1 } // Shouldn't be error
+ const thing3: Thing = { num: 1, str: "b" } // Shouldn't be error
+
+ type Item =
+ | { kind: "a", subkind: 0, value: string }
+ | { kind: "a", subkind: 1, value: number }
+ | { kind: "b" }
+
+ const item1: Item = { subkind: 1, kind: "b" } // Error, type "b" not assignable to type "a"
+ ~~~~~~~
+!!! error TS2353: Object literal may only specify known properties, and 'subkind' does not exist in type '{ kind: "b"; }'.
+ const item2: Item = { kind: "b", subkind: 1 } // Error, 'subkind' isn't a known property
+ ~~~~~~~
+!!! error TS2353: Object literal may only specify known properties, and 'subkind' does not exist in type '{ kind: "b"; }'.
+
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/missingDiscriminants.symbols b/testdata/baselines/reference/submodule/compiler/missingDiscriminants.symbols
new file mode 100644
index 0000000000..53fdcf1096
--- /dev/null
+++ b/testdata/baselines/reference/submodule/compiler/missingDiscriminants.symbols
@@ -0,0 +1,64 @@
+//// [tests/cases/compiler/missingDiscriminants.ts] ////
+
+=== missingDiscriminants.ts ===
+// https://github.com/microsoft/typescript-go/issues/1020
+
+type Thing =
+>Thing : Symbol(Thing, Decl(missingDiscriminants.ts, 0, 0))
+
+ | { str: "a", num: 0 }
+>str : Symbol(str, Decl(missingDiscriminants.ts, 3, 5))
+>num : Symbol(num, Decl(missingDiscriminants.ts, 3, 15))
+
+ | { str: "b" }
+>str : Symbol(str, Decl(missingDiscriminants.ts, 4, 5))
+
+ | { num: 1 }
+>num : Symbol(num, Decl(missingDiscriminants.ts, 5, 5))
+
+const thing1: Thing = { str: "a", num: 0 }
+>thing1 : Symbol(thing1, Decl(missingDiscriminants.ts, 7, 5))
+>Thing : Symbol(Thing, Decl(missingDiscriminants.ts, 0, 0))
+>str : Symbol(str, Decl(missingDiscriminants.ts, 7, 23))
+>num : Symbol(num, Decl(missingDiscriminants.ts, 7, 33))
+
+const thing2: Thing = { str: "b", num: 1 } // Shouldn't be error
+>thing2 : Symbol(thing2, Decl(missingDiscriminants.ts, 8, 5))
+>Thing : Symbol(Thing, Decl(missingDiscriminants.ts, 0, 0))
+>str : Symbol(str, Decl(missingDiscriminants.ts, 8, 23))
+>num : Symbol(num, Decl(missingDiscriminants.ts, 8, 33))
+
+const thing3: Thing = { num: 1, str: "b" } // Shouldn't be error
+>thing3 : Symbol(thing3, Decl(missingDiscriminants.ts, 9, 5))
+>Thing : Symbol(Thing, Decl(missingDiscriminants.ts, 0, 0))
+>num : Symbol(num, Decl(missingDiscriminants.ts, 9, 23))
+>str : Symbol(str, Decl(missingDiscriminants.ts, 9, 31))
+
+type Item =
+>Item : Symbol(Item, Decl(missingDiscriminants.ts, 9, 42))
+
+ | { kind: "a", subkind: 0, value: string }
+>kind : Symbol(kind, Decl(missingDiscriminants.ts, 12, 5))
+>subkind : Symbol(subkind, Decl(missingDiscriminants.ts, 12, 16))
+>value : Symbol(value, Decl(missingDiscriminants.ts, 12, 28))
+
+ | { kind: "a", subkind: 1, value: number }
+>kind : Symbol(kind, Decl(missingDiscriminants.ts, 13, 5))
+>subkind : Symbol(subkind, Decl(missingDiscriminants.ts, 13, 16))
+>value : Symbol(value, Decl(missingDiscriminants.ts, 13, 28))
+
+ | { kind: "b" }
+>kind : Symbol(kind, Decl(missingDiscriminants.ts, 14, 5))
+
+const item1: Item = { subkind: 1, kind: "b" } // Error, type "b" not assignable to type "a"
+>item1 : Symbol(item1, Decl(missingDiscriminants.ts, 16, 5))
+>Item : Symbol(Item, Decl(missingDiscriminants.ts, 9, 42))
+>subkind : Symbol(subkind, Decl(missingDiscriminants.ts, 16, 21))
+>kind : Symbol(kind, Decl(missingDiscriminants.ts, 16, 33))
+
+const item2: Item = { kind: "b", subkind: 1 } // Error, 'subkind' isn't a known property
+>item2 : Symbol(item2, Decl(missingDiscriminants.ts, 17, 5))
+>Item : Symbol(Item, Decl(missingDiscriminants.ts, 9, 42))
+>kind : Symbol(kind, Decl(missingDiscriminants.ts, 17, 21))
+>subkind : Symbol(subkind, Decl(missingDiscriminants.ts, 17, 32))
+
diff --git a/testdata/baselines/reference/submodule/compiler/missingDiscriminants.types b/testdata/baselines/reference/submodule/compiler/missingDiscriminants.types
new file mode 100644
index 0000000000..8460338504
--- /dev/null
+++ b/testdata/baselines/reference/submodule/compiler/missingDiscriminants.types
@@ -0,0 +1,74 @@
+//// [tests/cases/compiler/missingDiscriminants.ts] ////
+
+=== missingDiscriminants.ts ===
+// https://github.com/microsoft/typescript-go/issues/1020
+
+type Thing =
+>Thing : Thing
+
+ | { str: "a", num: 0 }
+>str : "a"
+>num : 0
+
+ | { str: "b" }
+>str : "b"
+
+ | { num: 1 }
+>num : 1
+
+const thing1: Thing = { str: "a", num: 0 }
+>thing1 : Thing
+>{ str: "a", num: 0 } : { str: "a"; num: 0; }
+>str : "a"
+>"a" : "a"
+>num : 0
+>0 : 0
+
+const thing2: Thing = { str: "b", num: 1 } // Shouldn't be error
+>thing2 : Thing
+>{ str: "b", num: 1 } : { str: "b"; num: 1; }
+>str : "b"
+>"b" : "b"
+>num : 1
+>1 : 1
+
+const thing3: Thing = { num: 1, str: "b" } // Shouldn't be error
+>thing3 : Thing
+>{ num: 1, str: "b" } : { num: 1; str: "b"; }
+>num : 1
+>1 : 1
+>str : "b"
+>"b" : "b"
+
+type Item =
+>Item : Item
+
+ | { kind: "a", subkind: 0, value: string }
+>kind : "a"
+>subkind : 0
+>value : string
+
+ | { kind: "a", subkind: 1, value: number }
+>kind : "a"
+>subkind : 1
+>value : number
+
+ | { kind: "b" }
+>kind : "b"
+
+const item1: Item = { subkind: 1, kind: "b" } // Error, type "b" not assignable to type "a"
+>item1 : Item
+>{ subkind: 1, kind: "b" } : { subkind: number; kind: "b"; }
+>subkind : number
+>1 : 1
+>kind : "b"
+>"b" : "b"
+
+const item2: Item = { kind: "b", subkind: 1 } // Error, 'subkind' isn't a known property
+>item2 : Item
+>{ kind: "b", subkind: 1 } : { kind: "b"; subkind: number; }
+>kind : "b"
+>"b" : "b"
+>subkind : number
+>1 : 1
+
diff --git a/testdata/baselines/reference/submodule/compiler/missingFunctionImplementation.js.diff b/testdata/baselines/reference/submodule/compiler/missingFunctionImplementation.js.diff
deleted file mode 100644
index 7c3ada8cd5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/missingFunctionImplementation.js.diff
+++ /dev/null
@@ -1,90 +0,0 @@
---- old.missingFunctionImplementation.js
-+++ new.missingFunctionImplementation.js
-@@= skipped -84, +84 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.C2 = exports.C1 = void 0;
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
--}());
-+class C1 {
-+}
- exports.C1 = C1;
- // merged with a namespace
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
--}());
-+class C2 {
-+}
- exports.C2 = C2;
- // merged with a namespace, multiple overloads
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- return C3;
--}());
--// static methods, multiple overloads
--var C4 = /** @class */ (function () {
-- function C4() {
-- }
-- return C4;
--}());
--// static methods, multiple overloads
--var C5 = /** @class */ (function () {
-- function C5() {
-- }
-- return C5;
--}());
-+class C3 {
-+}
-+// static methods, multiple overloads
-+class C4 {
-+}
-+// static methods, multiple overloads
-+class C5 {
-+}
- // merged with namespace, static methods
--var C6 = /** @class */ (function () {
-- function C6() {
-- }
-- return C6;
--}());
-+class C6 {
-+}
- // merged with namespace, static methods, multiple overloads
--var C7 = /** @class */ (function () {
-- function C7() {
-- }
-- return C7;
--}());
-+class C7 {
-+}
- // merged with namespace, static methods, duplicate declarations
--var C8 = /** @class */ (function () {
-- function C8() {
-- }
-- return C8;
--}());
-+class C8 {
-+}
- (function (C8) {
- function m(a, b) { }
- C8.m = m;
- })(C8 || (C8 = {}));
- // merged with namespace, static methods, duplicate declarations
--var C9 = /** @class */ (function () {
-- function C9() {
-- }
-- C9.m = function (a) { };
-- return C9;
--}());
-+class C9 {
-+ static m(a) { }
-+}
- (function (C9) {
- })(C9 || (C9 = {}));
- // merged namespaces
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/missingImportAfterModuleImport.js.diff b/testdata/baselines/reference/submodule/compiler/missingImportAfterModuleImport.js.diff
index 20e3c4843d..7c99a5ce27 100644
--- a/testdata/baselines/reference/submodule/compiler/missingImportAfterModuleImport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/missingImportAfterModuleImport.js.diff
@@ -1,23 +1,15 @@
--- old.missingImportAfterModuleImport.js
+++ new.missingImportAfterModuleImport.js
-@@= skipped -24, +24 lines =@@
- //// [missingImportAfterModuleImport_0.js]
+@@= skipped -25, +25 lines =@@
//// [missingImportAfterModuleImport_1.js]
"use strict";
--var MainModule = /** @class */ (function () {
-- function MainModule() {
-- }
-- return MainModule;
--}());
-+class MainModule {
+ class MainModule {
+ // public static SubModule: SubModule;
+ SubModule;
-+ constructor() { }
-+}
+ constructor() { }
+ }
module.exports = MainModule;
-
-
-@@= skipped -18, +18 lines =@@
+@@= skipped -15, +17 lines =@@
export = SubModule;
}
//// [missingImportAfterModuleImport_1.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/missingPropertiesOfClassExpression.js.diff b/testdata/baselines/reference/submodule/compiler/missingPropertiesOfClassExpression.js.diff
deleted file mode 100644
index c4091442d2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/missingPropertiesOfClassExpression.js.diff
+++ /dev/null
@@ -1,40 +0,0 @@
---- old.missingPropertiesOfClassExpression.js
-+++ new.missingPropertiesOfClassExpression.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [missingPropertiesOfClassExpression.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var George = /** @class */ (function (_super) {
-- __extends(George, _super);
-- function George() {
-- return _super.call(this) || this;
-- }
-- return George;
--}(/** @class */ (function () {
-- function class_1() {
-- }
-- class_1.prototype.reset = function () { return this.y; };
-- return class_1;
--}())));
-+class George extends class {
-+ reset() { return this.y; }
-+} {
-+ constructor() {
-+ super();
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/missingReturnStatement.js.diff b/testdata/baselines/reference/submodule/compiler/missingReturnStatement.js.diff
deleted file mode 100644
index 5b170576ed..0000000000
--- a/testdata/baselines/reference/submodule/compiler/missingReturnStatement.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.missingReturnStatement.js
-+++ new.missingReturnStatement.js
-@@= skipped -11, +11 lines =@@
- //// [missingReturnStatement.js]
- var Test;
- (function (Test) {
-- var Bug = /** @class */ (function () {
-- function Bug() {
-+ class Bug {
-+ foo() {
- }
-- Bug.prototype.foo = function () {
-- };
-- return Bug;
-- }());
-+ }
- Test.Bug = Bug;
- })(Test || (Test = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/missingReturnStatement1.js.diff b/testdata/baselines/reference/submodule/compiler/missingReturnStatement1.js.diff
deleted file mode 100644
index e832ca79da..0000000000
--- a/testdata/baselines/reference/submodule/compiler/missingReturnStatement1.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.missingReturnStatement1.js
-+++ new.missingReturnStatement1.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [missingReturnStatement1.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Foo.prototype.foo = function () {
-+class Foo {
-+ foo() {
- //return 4;
-- };
-- return Foo;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/missingSelf.js.diff b/testdata/baselines/reference/submodule/compiler/missingSelf.js.diff
deleted file mode 100644
index 3879ae448e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/missingSelf.js.diff
+++ /dev/null
@@ -1,34 +0,0 @@
---- old.missingSelf.js
-+++ new.missingSelf.js
-@@= skipped -20, +20 lines =@@
-
-
- //// [missingSelf.js]
--var CalcButton = /** @class */ (function () {
-- function CalcButton() {
-- }
-- CalcButton.prototype.a = function () { this.onClick(); };
-- CalcButton.prototype.onClick = function () { };
-- return CalcButton;
--}());
--var CalcButton2 = /** @class */ (function () {
-- function CalcButton2() {
-- }
-- CalcButton2.prototype.b = function () {
-- var _this = this;
-- (function () { return _this.onClick(); });
-- };
-- CalcButton2.prototype.onClick = function () { };
-- return CalcButton2;
--}());
-+class CalcButton {
-+ a() { this.onClick(); }
-+ onClick() { }
-+}
-+class CalcButton2 {
-+ b() { () => this.onClick(); }
-+ onClick() { }
-+}
- var c = new CalcButton();
- c.a();
- var c2 = new CalcButton2();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/missingTypeArguments1.js.diff b/testdata/baselines/reference/submodule/compiler/missingTypeArguments1.js.diff
index 66aa9837f1..308fe90a9d 100644
--- a/testdata/baselines/reference/submodule/compiler/missingTypeArguments1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/missingTypeArguments1.js.diff
@@ -1,103 +1,45 @@
--- old.missingTypeArguments1.js
+++ new.missingTypeArguments1.js
-@@= skipped -56, +56 lines =@@
-
-
- //// [missingTypeArguments1.js]
--var Y = /** @class */ (function () {
-- function Y() {
-- }
-- return Y;
--}());
--var X = /** @class */ (function () {
-- function X() {
-- }
-- return X;
--}());
-+class Y {
-+}
-+class X {
+@@= skipped -59, +59 lines =@@
+ class Y {
+ }
+ class X {
+ p1;
-+}
+ }
var a;
--var X2 = /** @class */ (function () {
-- function X2() {
-- }
-- return X2;
--}());
-+class X2 {
+ class X2 {
+ p2;
-+}
+ }
var a2;
--var X3 = /** @class */ (function () {
-- function X3() {
-- }
-- return X3;
--}());
-+class X3 {
+ class X3 {
+ p3;
-+}
+ }
var a3;
--var X4 = /** @class */ (function () {
-- function X4() {
-- }
-- return X4;
--}());
-+class X4 {
+ class X4 {
+ p4;
-+}
+ }
var a4;
--var X5 = /** @class */ (function () {
-- function X5() {
-- }
-- return X5;
--}());
-+class X5 {
+ class X5 {
+ p5;
-+}
+ }
var a5;
--var X6 = /** @class */ (function () {
-- function X6() {
-- }
-- return X6;
--}());
-+class X6 {
+ class X6 {
+ p6;
-+}
+ }
var a6;
--var X7 = /** @class */ (function () {
-- function X7() {
-- }
-- return X7;
--}());
-+class X7 {
+ class X7 {
+ p7;
-+}
+ }
var a7;
--var X8 = /** @class */ (function () {
-- function X8() {
-- }
-- return X8;
--}());
-+class X8 {
+ class X8 {
+ p8;
-+}
+ }
var a8;
--var X9 = /** @class */ (function () {
-- function X9() {
-- }
-- return X9;
--}());
-+class X9 {
+ class X9 {
+ p9;
-+}
+ }
var a9;
--var X10 = /** @class */ (function () {
-- function X10() {
-- }
-- return X10;
--}());
-+class X10 {
+ class X10 {
+ pa;
-+}
+ }
var a10;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/missingTypeArguments2.js.diff b/testdata/baselines/reference/submodule/compiler/missingTypeArguments2.js.diff
deleted file mode 100644
index fb4ba57094..0000000000
--- a/testdata/baselines/reference/submodule/compiler/missingTypeArguments2.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.missingTypeArguments2.js
-+++ new.missingTypeArguments2.js
-@@= skipped -8, +8 lines =@@
- (): A => null;
-
- //// [missingTypeArguments2.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
- var x;
--(function (a) { });
-+(a) => { };
- var y;
--(function () { return null; });
-+() => null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mixedStaticAndInstanceClassMembers.js.diff b/testdata/baselines/reference/submodule/compiler/mixedStaticAndInstanceClassMembers.js.diff
deleted file mode 100644
index 25fd9f1525..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mixedStaticAndInstanceClassMembers.js.diff
+++ /dev/null
@@ -1,32 +0,0 @@
---- old.mixedStaticAndInstanceClassMembers.js
-+++ new.mixedStaticAndInstanceClassMembers.js
-@@= skipped -17, +17 lines =@@
- }
-
- //// [mixedStaticAndInstanceClassMembers.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.f = function () { };
-- A.prototype.m1 = function (a) {
-- };
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- B.prototype.f = function () { };
-- B.prototype.m1 = function (a) {
-- };
-- return B;
--}());
-+class A {
-+ f() { }
-+ m1(a) {
-+ }
-+}
-+class B {
-+ f() { }
-+ m1(a) {
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mixinIntersectionIsValidbaseType.js.diff b/testdata/baselines/reference/submodule/compiler/mixinIntersectionIsValidbaseType.js.diff
deleted file mode 100644
index 53b006e50c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mixinIntersectionIsValidbaseType.js.diff
+++ /dev/null
@@ -1,66 +0,0 @@
---- old.mixinIntersectionIsValidbaseType.js
-+++ new.mixinIntersectionIsValidbaseType.js
-@@= skipped -30, +30 lines =@@
-
- //// [mixinIntersectionIsValidbaseType.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Serializable = void 0;
- /**
- * Plain mixin where the superclass must be Initable
- */
--var Serializable = function (SuperClass) {
-- var LocalMixin = function (InnerSuperClass) {
-- return /** @class */ (function (_super) {
-- __extends(SerializableLocal, _super);
-- function SerializableLocal() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return SerializableLocal;
-- }(InnerSuperClass));
-+const Serializable = (SuperClass) => {
-+ const LocalMixin = (InnerSuperClass) => {
-+ return class SerializableLocal extends InnerSuperClass {
-+ };
- };
-- var ResultClass = LocalMixin(SuperClass);
-+ let ResultClass = LocalMixin(SuperClass);
- return ResultClass;
- };
- exports.Serializable = Serializable;
--var AMixin = function (SuperClass) {
-- var SomeHowOkay = /** @class */ (function (_super) {
-- __extends(A, _super);
-- function A() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return A;
-- }(SuperClass));
-- var SomeHowNotOkay = /** @class */ (function (_super) {
-- __extends(A, _super);
-- function A() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return A;
-- }((0, exports.Serializable)(SuperClass)));
-+const AMixin = (SuperClass) => {
-+ let SomeHowOkay = class A extends SuperClass {
-+ };
-+ let SomeHowNotOkay = class A extends (0, exports.Serializable)(SuperClass) {
-+ };
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mixinPrivateAndProtected.js.diff b/testdata/baselines/reference/submodule/compiler/mixinPrivateAndProtected.js.diff
index 4b511051cb..c9cd276f69 100644
--- a/testdata/baselines/reference/submodule/compiler/mixinPrivateAndProtected.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mixinPrivateAndProtected.js.diff
@@ -5,143 +5,62 @@
//// [mixinPrivateAndProtected.js]
-// Repro from #13830
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
+ class A {
+- constructor() {
- this.pb = 2;
- this.ptd = 1;
- this.pvt = 0;
- }
-- return A;
--}());
-+class A {
+ pb = 2;
+ ptd = 1;
+ pvt = 0;
-+}
+ }
function mixB(Cls) {
-- return /** @class */ (function (_super) {
-- __extends(class_1, _super);
-- function class_1() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this.ptd = 10;
-- _this.pvt = 0;
-- return _this;
+ return class extends Cls {
+- constructor() {
+- super(...arguments);
+- this.ptd = 10;
+- this.pvt = 0;
- }
-- return class_1;
-- }(Cls));
-+ return class extends Cls {
+ ptd = 10;
+ pvt = 0;
-+ };
+ };
}
function mixB2(Cls) {
-- return /** @class */ (function (_super) {
-- __extends(class_2, _super);
-- function class_2() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this.ptd = 10;
-- return _this;
+ return class extends Cls {
+- constructor() {
+- super(...arguments);
+- this.ptd = 10;
- }
-- return class_2;
-- }(Cls));
-+ return class extends Cls {
+ ptd = 10;
-+ };
+ };
}
--var AB = mixB(A), AB2 = mixB2(A);
-+const AB = mixB(A), AB2 = mixB2(A);
+ const AB = mixB(A), AB2 = mixB2(A);
function mixC(Cls) {
-- return /** @class */ (function (_super) {
-- __extends(class_3, _super);
-- function class_3() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this.ptd = 100;
-- _this.pvt = 0;
-- return _this;
+ return class extends Cls {
+- constructor() {
+- super(...arguments);
+- this.ptd = 100;
+- this.pvt = 0;
- }
-- return class_3;
-- }(Cls));
-+ return class extends Cls {
+ ptd = 100;
+ pvt = 0;
-+ };
+ };
}
--var AB2C = mixC(AB2), ABC = mixC(AB);
--var a = new A(), ab = new AB(), abc = new ABC(), ab2c = new AB2C();
-+const AB2C = mixC(AB2), ABC = mixC(AB);
-+const a = new A(), ab = new AB(), abc = new ABC(), ab2c = new AB2C();
- a.pb.toFixed();
- a.ptd.toFixed(); // Error
- a.pvt.toFixed(); // Error
-@@= skipped -75, +38 lines =@@
- ab2c.ptd.toFixed(); // Error
+ const AB2C = mixC(AB2), ABC = mixC(AB);
+@@= skipped -51, +39 lines =@@
ab2c.pvt.toFixed(); // Error
// Repro from #13924
--var Person = /** @class */ (function () {
-- function Person(name) {
-+class Person {
+ class Person {
+ name;
-+ constructor(name) {
+ constructor(name) {
this.name = name;
}
-- Person.prototype.myProtectedFunction = function () {
-+ myProtectedFunction() {
- // do something
-- };
-- return Person;
--}());
-+ }
-+}
- function PersonMixin(Base) {
-- return /** @class */ (function (_super) {
-- __extends(class_4, _super);
-- function class_4() {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
-- }
-- return _super.apply(this, args) || this;
-+ return class extends Base {
-+ constructor(...args) {
-+ super(...args);
- }
-- class_4.prototype.myProtectedFunction = function () {
-- _super.prototype.myProtectedFunction.call(this);
-+ myProtectedFunction() {
-+ super.myProtectedFunction();
- // do more things
-- };
-- return class_4;
-- }(Base));
--}
--var Customer = /** @class */ (function (_super) {
-- __extends(Customer, _super);
-- function Customer() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Customer.prototype.f = function () {
-+ }
+@@= skipped -19, +20 lines =@@
};
-- return Customer;
--}(PersonMixin(Person)));
-+}
-+class Customer extends PersonMixin(Person) {
+ }
+ class Customer extends PersonMixin(Person) {
+ accountBalance;
-+ f() {
-+ }
-+}
\ No newline at end of file
+ f() {
+ }
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mixingApparentTypeOverrides.js.diff b/testdata/baselines/reference/submodule/compiler/mixingApparentTypeOverrides.js.diff
index 6e4e61b5a3..3d96d4b17e 100644
--- a/testdata/baselines/reference/submodule/compiler/mixingApparentTypeOverrides.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mixingApparentTypeOverrides.js.diff
@@ -1,80 +1,10 @@
--- old.mixingApparentTypeOverrides.js
+++ new.mixingApparentTypeOverrides.js
-@@= skipped -30, +30 lines =@@
- }
-
+@@= skipped -32, +32 lines =@@
//// [mixingApparentTypeOverrides.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
function Tagged(Base) {
-- return /** @class */ (function (_super) {
-- __extends(class_1, _super);
-- function class_1() {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
-- }
-- var _this = _super.apply(this, args) || this;
-- _this._tag = "";
-- return _this;
-+ return class extends Base {
+ return class extends Base {
+ _tag;
-+ constructor(...args) {
-+ super(...args);
-+ this._tag = "";
- }
-- return class_1;
-- }(Base));
-+ };
- }
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.toString = function () {
-+class A {
-+ toString() {
- return "class A";
-- };
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
- }
-- B.prototype.toString = function () {
-+}
-+class B extends Tagged(A) {
-+ toString() {
- return "class B";
-- };
-- return B;
--}(Tagged(A)));
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
- }
-- C.prototype.toString = function () {
-+}
-+class C extends A {
-+ toString() {
- return "class C";
-- };
-- return C;
--}(A));
-+ }
-+}
\ No newline at end of file
+ constructor(...args) {
+ super(...args);
+ this._tag = "";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mixingStaticAndInstanceOverloads.js.diff b/testdata/baselines/reference/submodule/compiler/mixingStaticAndInstanceOverloads.js.diff
deleted file mode 100644
index 250e67b445..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mixingStaticAndInstanceOverloads.js.diff
+++ /dev/null
@@ -1,53 +0,0 @@
---- old.mixingStaticAndInstanceOverloads.js
-+++ new.mixingStaticAndInstanceOverloads.js
-@@= skipped -37, +37 lines =@@
- }
-
- //// [mixingStaticAndInstanceOverloads.js]
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- C1.foo1 = function (a) { };
-- return C1;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- C2.prototype.foo2 = function (a) { };
-- return C2;
--}());
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- C3.prototype.foo3 = function (a) { };
-- return C3;
--}());
--var C4 = /** @class */ (function () {
-- function C4() {
-- }
-- C4.foo4 = function (a) { };
-- return C4;
--}());
--var C5 = /** @class */ (function () {
-- function C5() {
-- }
-- C5.prototype.foo5 = function (a) { };
-- C5.foo5 = function (a) { };
-- return C5;
--}());
-+class C1 {
-+ static foo1(a) { }
-+}
-+class C2 {
-+ foo2(a) { }
-+}
-+class C3 {
-+ foo3(a) { }
-+}
-+class C4 {
-+ static foo4(a) { }
-+}
-+class C5 {
-+ foo5(a) { }
-+ static foo5(a) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/modifierOnParameter1.js.diff b/testdata/baselines/reference/submodule/compiler/modifierOnParameter1.js.diff
deleted file mode 100644
index a16c956696..0000000000
--- a/testdata/baselines/reference/submodule/compiler/modifierOnParameter1.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.modifierOnParameter1.js
-+++ new.modifierOnParameter1.js
-@@= skipped -5, +5 lines =@@
- }
-
- //// [modifierOnParameter1.js]
--var C = /** @class */ (function () {
-- function C(p) {
-- }
-- return C;
--}());
-+class C {
-+ constructor(p) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/modifierParenCast.js.diff b/testdata/baselines/reference/submodule/compiler/modifierParenCast.js.diff
deleted file mode 100644
index d0992ccd81..0000000000
--- a/testdata/baselines/reference/submodule/compiler/modifierParenCast.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.modifierParenCast.js
-+++ new.modifierParenCast.js
-@@= skipped -14, +14 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.d = exports.c = exports.b = exports.a = void 0;
--var readonly = undefined;
--var override = undefined;
--var out = undefined;
--var declare = undefined;
-+let readonly = undefined;
-+let override = undefined;
-+let out = undefined;
-+let declare = undefined;
- exports.a = readonly;
- exports.b = override;
- exports.c = out;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/modifiersInObjectLiterals.js.diff b/testdata/baselines/reference/submodule/compiler/modifiersInObjectLiterals.js.diff
deleted file mode 100644
index 182f329a02..0000000000
--- a/testdata/baselines/reference/submodule/compiler/modifiersInObjectLiterals.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.modifiersInObjectLiterals.js
-+++ new.modifiersInObjectLiterals.js
-@@= skipped -11, +11 lines =@@
-
-
- //// [modifiersInObjectLiterals.js]
--var data = {
-+let data = {
- foo: 'hey',
- bar: 'nay',
- baz: 'oh my',
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/modularizeLibrary_ErrorFromUsingWellknownSymbolWithOutES6WellknownSymbolLib.js.diff b/testdata/baselines/reference/submodule/compiler/modularizeLibrary_ErrorFromUsingWellknownSymbolWithOutES6WellknownSymbolLib.js.diff
deleted file mode 100644
index e669b5a45e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/modularizeLibrary_ErrorFromUsingWellknownSymbolWithOutES6WellknownSymbolLib.js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.modularizeLibrary_ErrorFromUsingWellknownSymbolWithOutES6WellknownSymbolLib.js
-+++ new.modularizeLibrary_ErrorFromUsingWellknownSymbolWithOutES6WellknownSymbolLib.js
-@@= skipped -13, +13 lines =@@
- return Array.from(arguments);
- }
- f(1, 2, 3); // no error
--var a = ['c', 'd'];
-+let a = ['c', 'd'];
- a[Symbol.isConcatSpreadable] = false;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.js.diff b/testdata/baselines/reference/submodule/compiler/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.js.diff
deleted file mode 100644
index 4bafdd01f8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.js
-+++ new.modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.js
-@@= skipped -13, +13 lines =@@
- return Array.from(arguments);
- }
- f(1, 2, 3); // no error
--var a = ['c', 'd'];
-+let a = ['c', 'd'];
- a[Symbol.isConcatSpreadable] = false;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAliasInterface.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAliasInterface.js.diff
index 1bda2559ce..4d99de66ca 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAliasInterface.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAliasInterface.js.diff
@@ -1,80 +1,22 @@
--- old.moduleAliasInterface.js
+++ new.moduleAliasInterface.js
-@@= skipped -59, +59 lines =@@
- //// [moduleAliasInterface.js]
- var _modes;
- (function (_modes) {
-- var Mode = /** @class */ (function () {
-- function Mode() {
-- }
-- return Mode;
-- }());
-+ class Mode {
-+ }
- _modes.Mode = Mode;
- })(_modes || (_modes = {}));
+@@= skipped -66, +66 lines =@@
// _modes. // produces an internal error - please implement in derived class
var editor;
(function (editor) {
+ var modes = _modes;
var i;
// If you just use p1:modes, the compiler accepts it - should be an error
-- var Bug = /** @class */ (function () {
-- function Bug(p1, p2) {
-- } // should be an error on p2 - it's not exported
-- Bug.prototype.foo = function (p1) {
-- };
-- return Bug;
-- }());
-+ class Bug {
-+ constructor(p1, p2) { } // should be an error on p2 - it's not exported
-+ foo(p1) {
-+ }
-+ }
+ class Bug {
+@@= skipped -8, +9 lines =@@
+ }
+ }
})(editor || (editor = {}));
-var modesOuter = _modes;
var editor2;
(function (editor2) {
var i;
-- var Bug = /** @class */ (function () {
-- function Bug(p1, p2) {
-- } // no error here, since modesOuter is declared externally
-- return Bug;
-- }());
-- var Foo;
-+ class Bug {
-+ constructor(p1, p2) { } // no error here, since modesOuter is declared externally
-+ }
-+ let Foo;
- (function (Foo) {
-- var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- return Bar;
-- }());
-+ class Bar {
-+ }
- Foo.Bar = Bar;
- })(Foo || (Foo = {}));
-- var Bug2 = /** @class */ (function () {
-- function Bug2(p1, p2) {
-- }
-- return Bug2;
-- }());
-+ class Bug2 {
-+ constructor(p1, p2) { }
-+ }
- })(editor2 || (editor2 = {}));
- var A1;
- (function (A1) {
-- var A1C1 = /** @class */ (function () {
-- function A1C1() {
-- }
-- return A1C1;
-- }());
-+ class A1C1 {
-+ }
- A1.A1C1 = A1C1;
+@@= skipped -25, +24 lines =@@
})(A1 || (A1 = {}));
var B1;
(function (B1) {
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAndInterfaceWithSameName.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAndInterfaceWithSameName.js.diff
deleted file mode 100644
index 0b86f8d8d2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleAndInterfaceWithSameName.js.diff
+++ /dev/null
@@ -1,28 +0,0 @@
---- old.moduleAndInterfaceWithSameName.js
-+++ new.moduleAndInterfaceWithSameName.js
-@@= skipped -35, +35 lines =@@
- //// [moduleAndInterfaceWithSameName.js]
- var Foo1;
- (function (Foo1) {
-- var Bar;
-+ let Bar;
- (function (Bar) {
- Bar.x = 42;
- })(Bar = Foo1.Bar || (Foo1.Bar = {}));
- })(Foo1 || (Foo1 = {}));
- var Foo2;
- (function (Foo2) {
-- var Bar;
-+ let Bar;
- (function (Bar) {
- Bar.x = 42;
- })(Bar || (Bar = {}));
-@@= skipped -15, +15 lines =@@
- var z2 = Foo2.Bar.y; // Error for using interface name as a value.
- var Foo3;
- (function (Foo3) {
-- var Bar;
-+ let Bar;
- (function (Bar) {
- Bar.x = 42;
- })(Bar = Foo3.Bar || (Foo3.Bar = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAsBaseType.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAsBaseType.js.diff
deleted file mode 100644
index f518b5f0c9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleAsBaseType.js.diff
+++ /dev/null
@@ -1,37 +0,0 @@
---- old.moduleAsBaseType.js
-+++ new.moduleAsBaseType.js
-@@= skipped -6, +6 lines =@@
- class C2 implements M { }
-
- //// [moduleAsBaseType.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(M));
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
--}());
-+class C extends M {
-+}
-+class C2 {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAssignmentCompat1.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAssignmentCompat1.js.diff
deleted file mode 100644
index 095edf83ba..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleAssignmentCompat1.js.diff
+++ /dev/null
@@ -1,35 +0,0 @@
---- old.moduleAssignmentCompat1.js
-+++ new.moduleAssignmentCompat1.js
-@@= skipped -20, +20 lines =@@
- //// [moduleAssignmentCompat1.js]
- var A;
- (function (A) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- A.C = C;
- })(A || (A = {}));
- var B;
- (function (B) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- B.C = C;
-- var D = /** @class */ (function () {
-- function D() {
-- }
-- return D;
-- }());
-+ class D {
-+ }
- })(B || (B = {}));
- var a;
- var b;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAssignmentCompat2.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAssignmentCompat2.js.diff
deleted file mode 100644
index 7f807b9397..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleAssignmentCompat2.js.diff
+++ /dev/null
@@ -1,35 +0,0 @@
---- old.moduleAssignmentCompat2.js
-+++ new.moduleAssignmentCompat2.js
-@@= skipped -17, +17 lines =@@
- //// [moduleAssignmentCompat2.js]
- var A;
- (function (A) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- A.C = C;
- })(A || (A = {}));
- var B;
- (function (B) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- B.C = C;
-- var D = /** @class */ (function () {
-- function D() {
-- }
-- return D;
-- }());
-+ class D {
-+ }
- B.D = D;
- })(B || (B = {}));
- var a;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAssignmentCompat4.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAssignmentCompat4.js.diff
deleted file mode 100644
index 3c9179b69f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleAssignmentCompat4.js.diff
+++ /dev/null
@@ -1,33 +0,0 @@
---- old.moduleAssignmentCompat4.js
-+++ new.moduleAssignmentCompat4.js
-@@= skipped -20, +20 lines =@@
- //// [moduleAssignmentCompat4.js]
- var A;
- (function (A) {
-- var M;
-+ let M;
- (function (M) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- })(M = A.M || (A.M = {}));
- })(A || (A = {}));
- var B;
- (function (B) {
-- var M;
-+ let M;
- (function (M) {
-- var D = /** @class */ (function () {
-- function D() {
-- }
-- return D;
-- }());
-+ class D {
-+ }
- M.D = D;
- })(M = B.M || (B.M = {}));
- })(B || (B = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationCollidingNamesInAugmentation1.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationCollidingNamesInAugmentation1.js.diff
index 9c1949c7c7..1159030386 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationCollidingNamesInAugmentation1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationCollidingNamesInAugmentation1.js.diff
@@ -34,7 +34,7 @@
-define(["require", "exports", "./map1", "./map2"], function (require, exports) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
-- var x;
+- let x;
-});
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationDeclarationEmit1.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationDeclarationEmit1.js.diff
index af240efde5..b93825248f 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationDeclarationEmit1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationDeclarationEmit1.js.diff
@@ -1,12 +1,6 @@
--- old.moduleAugmentationDeclarationEmit1.js
+++ new.moduleAugmentationDeclarationEmit1.js
-@@= skipped -36, +36 lines =@@
- exports.Observable = void 0;
- var Observable;
- (function (Observable) {
-- var someValue;
-+ let someValue;
- })(Observable || (exports.Observable = Observable = {}));
+@@= skipped -41, +41 lines =@@
//// [map.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
@@ -14,13 +8,4 @@
+const observable_1 = require("./observable");
observable_1.Observable.prototype.map = function () { };
//// [main.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- require("./map");
--var x;
--var y = x.map(function (x) { return x + 1; });
-+let x;
-+let y = x.map(x => x + 1);
-
-
- //// [observable.d.ts]
\ No newline at end of file
+ "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationDeclarationEmit2.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationDeclarationEmit2.js.diff
index 2262ad8283..20868b2b05 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationDeclarationEmit2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationDeclarationEmit2.js.diff
@@ -13,14 +13,5 @@
-var observable_1 = require("./observable");
+const observable_1 = require("./observable");
require("./map");
--var x;
--var y = x.map(function (x) { return x + 1; });
--var z1 = observable_1.Observable.someValue.toFixed();
--var z2 = observable_1.Observable.someAnotherValue.toLowerCase();
-+let x;
-+let y = x.map(x => x + 1);
-+let z1 = observable_1.Observable.someValue.toFixed();
-+let z2 = observable_1.Observable.someAnotherValue.toLowerCase();
-
-
- //// [observable.d.ts]
\ No newline at end of file
+ let x;
+ let y = x.map(x => x + 1);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationDoesNamespaceEnumMergeOfReexport.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationDoesNamespaceEnumMergeOfReexport.js.diff
index 72f4a19a47..82f4b126e0 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationDoesNamespaceEnumMergeOfReexport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationDoesNamespaceEnumMergeOfReexport.js.diff
@@ -5,7 +5,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var ns = require("./reexport");
--var g = ns.Root.A;
+const ns = require("./reexport");
-+const g = ns.Root.A;
+ const g = ns.Root.A;
f.x;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationEnumClassMergeOfReexportIsError.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationEnumClassMergeOfReexportIsError.js.diff
index e4fc9f0fda..bb38d4dbab 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationEnumClassMergeOfReexportIsError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationEnumClassMergeOfReexportIsError.js.diff
@@ -1,17 +1,10 @@
--- old.moduleAugmentationEnumClassMergeOfReexportIsError.js
+++ new.moduleAugmentationEnumClassMergeOfReexportIsError.js
-@@= skipped -21, +21 lines =@@
- "use strict";
+@@= skipped -22, +22 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Foo = void 0;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
+ class Foo {
+ member;
-+}
+ }
exports.Foo = Foo;
- //// [reexport.js]
- "use strict";
\ No newline at end of file
+ //// [reexport.js]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendAmbientModule1.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendAmbientModule1.js.diff
index 90a0ebc9e2..7693b95b05 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendAmbientModule1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendAmbientModule1.js.diff
@@ -8,10 +8,4 @@
+const observable_1 = require("observable");
observable_1.Observable.prototype.map = function () { };
//// [main.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- require("./map");
--var x;
--var y = x.map(function (x) { return x + 1; });
-+let x;
-+let y = x.map(x => x + 1);
\ No newline at end of file
+ "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendAmbientModule2.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendAmbientModule2.js.diff
index 4537885472..ddb9f63fa0 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendAmbientModule2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendAmbientModule2.js.diff
@@ -14,14 +14,5 @@
-var observable_1 = require("observable");
+const observable_1 = require("observable");
require("./map");
--var x;
--var y = x.map(function (x) { return x + 1; });
--var z1 = observable_1.Observable.someValue.toFixed();
--var z2 = observable_1.Observable.someAnotherValue.toLowerCase();
-+let x;
-+let y = x.map(x => x + 1);
-+let z1 = observable_1.Observable.someValue.toFixed();
-+let z2 = observable_1.Observable.someAnotherValue.toLowerCase();
-
-
- //// [map.d.ts]
\ No newline at end of file
+ let x;
+ let y = x.map(x => x + 1);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendFileModule1.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendFileModule1.js.diff
index 091731953e..2c04c78c11 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendFileModule1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendFileModule1.js.diff
@@ -1,12 +1,6 @@
--- old.moduleAugmentationExtendFileModule1.js
+++ new.moduleAugmentationExtendFileModule1.js
-@@= skipped -36, +36 lines =@@
- exports.Observable = void 0;
- var Observable;
- (function (Observable) {
-- var someValue;
-+ let someValue;
- })(Observable || (exports.Observable = Observable = {}));
+@@= skipped -41, +41 lines =@@
//// [map.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
@@ -14,10 +8,4 @@
+const observable_1 = require("./observable");
observable_1.Observable.prototype.map = function () { };
//// [main.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- require("./map");
--var x;
--var y = x.map(function (x) { return x + 1; });
-+let x;
-+let y = x.map(x => x + 1);
\ No newline at end of file
+ "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendFileModule2.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendFileModule2.js.diff
index 91ad77d61b..7eba27eabc 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendFileModule2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationExtendFileModule2.js.diff
@@ -13,11 +13,5 @@
-var observable_1 = require("./observable");
+const observable_1 = require("./observable");
require("./map");
--var x;
--var y = x.map(function (x) { return x + 1; });
--var z1 = observable_1.Observable.someValue.toFixed();
--var z2 = observable_1.Observable.someAnotherValue.toLowerCase();
-+let x;
-+let y = x.map(x => x + 1);
-+let z1 = observable_1.Observable.someValue.toFixed();
-+let z2 = observable_1.Observable.someAnotherValue.toLowerCase();
\ No newline at end of file
+ let x;
+ let y = x.map(x => x + 1);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationGlobal1.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationGlobal1.js.diff
index f7b1a89180..4148f7e8d3 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationGlobal1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationGlobal1.js.diff
@@ -1,29 +1,14 @@
--- old.moduleAugmentationGlobal1.js
+++ new.moduleAugmentationGlobal1.js
-@@= skipped -20, +20 lines =@@
- "use strict";
+@@= skipped -21, +21 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
+ class A {
+ x;
-+}
+ }
exports.A = A;
//// [f2.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var x = [1];
--var y = x.getA().x;
-+let x = [1];
-+let y = x.getA().x;
-
-
- //// [f1.d.ts]
-@@= skipped -19, +17 lines =@@
+@@= skipped -15, +16 lines =@@
}
//// [f2.d.ts]
import { A } from "./f1";
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationGlobal2.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationGlobal2.js.diff
index a3716ab949..7d0a9df9b9 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationGlobal2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationGlobal2.js.diff
@@ -1,28 +1,6 @@
--- old.moduleAugmentationGlobal2.js
+++ new.moduleAugmentationGlobal2.js
-@@= skipped -19, +19 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
- exports.A = A;
- ;
- //// [f2.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var x = [1];
--var y = x.getCountAsString().toLowerCase();
-+let x = [1];
-+let y = x.getCountAsString().toLowerCase();
-
-
- //// [f1.d.ts]
+@@= skipped -34, +34 lines =@@
export declare class A {
}
//// [f2.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationGlobal3.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationGlobal3.js.diff
index d82b8dddf3..76d60358de 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationGlobal3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationGlobal3.js.diff
@@ -1,30 +1,6 @@
--- old.moduleAugmentationGlobal3.js
+++ new.moduleAugmentationGlobal3.js
-@@= skipped -22, +22 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
- exports.A = A;
- ;
- //// [f2.js]
-@@= skipped -14, +11 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- require("./f2");
--var x = [1];
--var y = x.getCountAsString().toLowerCase();
-+let x = [1];
-+let y = x.getCountAsString().toLowerCase();
-
-
- //// [f1.d.ts]
+@@= skipped -41, +41 lines =@@
export declare class A {
}
//// [f2.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports1.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports1.js.diff
index e8aa874aee..34f5dc2758 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports1.js.diff
@@ -1,29 +1,11 @@
--- old.moduleAugmentationImportsAndExports1.js
+++ new.moduleAugmentationImportsAndExports1.js
-@@= skipped -29, +29 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
- exports.A = A;
- //// [f2.js]
- "use strict";
+@@= skipped -37, +37 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.B = void 0;
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
-+class B {
+ class B {
+ n;
-+}
+ }
exports.B = B;
//// [f3.js]
"use strict";
@@ -32,13 +14,4 @@
+const f1_1 = require("./f1");
f1_1.A.prototype.foo = function () { return undefined; };
//// [f4.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- require("./f3");
--var a;
--var b = a.foo().n;
-+let a;
-+let b = a.foo().n;
-
-
- //// [f1.d.ts]
\ No newline at end of file
+ "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports2.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports2.js.diff
index 2ad23c3422..b5b56a5204 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports2.js.diff
@@ -1,29 +1,11 @@
--- old.moduleAugmentationImportsAndExports2.js
+++ new.moduleAugmentationImportsAndExports2.js
-@@= skipped -41, +41 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
- exports.A = A;
- //// [f2.js]
- "use strict";
+@@= skipped -49, +49 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.B = void 0;
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
-+class B {
+ class B {
+ n;
-+}
+ }
exports.B = B;
//// [f3.js]
"use strict";
@@ -33,16 +15,7 @@
f1_1.A.prototype.foo = function () { return undefined; };
//// [f4.js]
"use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- require("./f3");
--var a;
--var b = a.foo().n;
-+let a;
-+let b = a.foo().n;
-
-
- //// [f1.d.ts]
-@@= skipped -50, +45 lines =@@
+@@= skipped -36, +37 lines =@@
export { B } from "./f2";
import I = N.Ifc;
import C = N.Cls;
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports3.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports3.js.diff
index 69f212f211..eec7eda1f2 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports3.js.diff
@@ -1,29 +1,11 @@
--- old.moduleAugmentationImportsAndExports3.js
+++ new.moduleAugmentationImportsAndExports3.js
-@@= skipped -39, +39 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
- exports.A = A;
- //// [f2.js]
- "use strict";
+@@= skipped -47, +47 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.B = void 0;
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
-+class B {
+ class B {
+ n;
-+}
+ }
exports.B = B;
//// [f3.js]
"use strict";
@@ -32,13 +14,4 @@
+const f1_1 = require("./f1");
f1_1.A.prototype.foo = function () { return undefined; };
//// [f4.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- require("./f3");
--var a;
--var b = a.foo().n;
-+let a;
-+let b = a.foo().n;
-
-
- //// [f1.d.ts]
\ No newline at end of file
+ "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports4.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports4.js.diff
index 4ad61fb00c..ee11647cd6 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports4.js.diff
@@ -1,29 +1,11 @@
--- old.moduleAugmentationImportsAndExports4.js
+++ new.moduleAugmentationImportsAndExports4.js
-@@= skipped -41, +41 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
- exports.A = A;
- //// [f2.js]
- "use strict";
+@@= skipped -49, +49 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.B = void 0;
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
-+class B {
+ class B {
+ n;
-+}
+ }
exports.B = B;
//// [f3.js]
"use strict";
@@ -32,14 +14,4 @@
+const f1_1 = require("./f1");
f1_1.A.prototype.foo = function () { return undefined; };
//// [f4.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- require("./f3");
--var a;
--var b = a.foo().n;
--var c = a.bar().a;
--var d = a.baz().b;
-+let a;
-+let b = a.foo().n;
-+let c = a.bar().a;
-+let d = a.baz().b;
\ No newline at end of file
+ "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports5.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports5.js.diff
index e4c0e85581..1c208e9bc0 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports5.js.diff
@@ -1,29 +1,11 @@
--- old.moduleAugmentationImportsAndExports5.js
+++ new.moduleAugmentationImportsAndExports5.js
-@@= skipped -41, +41 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
- exports.A = A;
- //// [f2.js]
- "use strict";
+@@= skipped -49, +49 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.B = void 0;
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
-+class B {
+ class B {
+ n;
-+}
+ }
exports.B = B;
//// [f3.js]
"use strict";
@@ -32,17 +14,4 @@
+const f1_1 = require("./f1");
f1_1.A.prototype.foo = function () { return undefined; };
//// [f4.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- require("./f3");
--var a;
--var b = a.foo().n;
--var c = a.bar().a;
--var d = a.baz().b;
-+let a;
-+let b = a.foo().n;
-+let c = a.bar().a;
-+let d = a.baz().b;
-
-
- //// [f1.d.ts]
\ No newline at end of file
+ "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports6.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports6.js.diff
index 665ae84cac..1d510b5d60 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports6.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationImportsAndExports6.js.diff
@@ -1,29 +1,11 @@
--- old.moduleAugmentationImportsAndExports6.js
+++ new.moduleAugmentationImportsAndExports6.js
-@@= skipped -41, +41 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
- exports.A = A;
- //// [f2.js]
- "use strict";
+@@= skipped -49, +49 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.B = void 0;
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
-+class B {
+ class B {
+ n;
-+}
+ }
exports.B = B;
//// [f3.js]
"use strict";
@@ -32,17 +14,4 @@
+const f1_1 = require("./f1");
f1_1.A.prototype.foo = function () { return undefined; };
//// [f4.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- require("./f3");
--var a;
--var b = a.foo().n;
--var c = a.bar().a;
--var d = a.baz().b;
-+let a;
-+let b = a.foo().n;
-+let c = a.bar().a;
-+let d = a.baz().b;
-
-
- //// [f1.d.ts]
\ No newline at end of file
+ "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule1.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule1.js.diff
index 79efd30302..d8f590916e 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule1.js.diff
@@ -6,7 +6,5 @@
"use strict";
-///
Object.defineProperty(exports, "__esModule", { value: true });
--var x;
-+let x;
- x.foo().x;
-
+ let x;
+ x.foo().x;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule2.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule2.js.diff
index dba393d40d..5bb4aef0ec 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule2.js.diff
@@ -7,8 +7,7 @@
-///
Object.defineProperty(exports, "__esModule", { value: true });
require("Map");
--var x;
-+let x;
+ let x;
x.foo().x;
+
+
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule3.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule3.js.diff
index 6745af4db3..f9bab0626d 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule3.js.diff
@@ -7,8 +7,7 @@
-///
Object.defineProperty(exports, "__esModule", { value: true });
require("Map");
--var x;
-+let x;
+ let x;
x.foo().x;
x.foo2().x2;
+
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule4.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule4.js.diff
index 922a4bd305..b88382915e 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule4.js.diff
@@ -8,8 +8,7 @@
-///
Object.defineProperty(exports, "__esModule", { value: true });
require("Map");
--var x;
-+let x;
+ let x;
x.foo().x;
x.foo2().x2;
+
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule5.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule5.js.diff
deleted file mode 100644
index 7b3107717c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationInAmbientModule5.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.moduleAugmentationInAmbientModule5.js
-+++ new.moduleAugmentationInAmbientModule5.js
-@@= skipped -26, +26 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- ///
- require("array");
--var x = [1];
--var y = x.getA().x;
-+let x = [1];
-+let y = x.getA().x;
-
-
- //// [f.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleAugmentationNoNewNames.js.diff b/testdata/baselines/reference/submodule/compiler/moduleAugmentationNoNewNames.js.diff
index 2813e04465..fa2c7508e9 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleAugmentationNoNewNames.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleAugmentationNoNewNames.js.diff
@@ -8,10 +8,4 @@
+const observable_1 = require("./observable");
observable_1.Observable.prototype.map = function () { };
//// [main.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- require("./map");
--var x;
--var y = x.map(function (x) { return x + 1; });
-+let x;
-+let y = x.map(x => x + 1);
\ No newline at end of file
+ "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleClassArrayCodeGenTest.js.diff b/testdata/baselines/reference/submodule/compiler/moduleClassArrayCodeGenTest.js.diff
deleted file mode 100644
index 8dc0c3f2c3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleClassArrayCodeGenTest.js.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- old.moduleClassArrayCodeGenTest.js
-+++ new.moduleClassArrayCodeGenTest.js
-@@= skipped -15, +15 lines =@@
- // Invalid code gen for Array of Module class
- var M;
- (function (M) {
-- var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
-- }());
-+ class A {
-+ }
- M.A = A;
-- var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
-- }());
-+ class B {
-+ }
- })(M || (M = {}));
- var t = [];
- var t2 = [];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleCodeGenTest5.js.diff b/testdata/baselines/reference/submodule/compiler/moduleCodeGenTest5.js.diff
index 5bf4a3918d..f921d74b52 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleCodeGenTest5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleCodeGenTest5.js.diff
@@ -1,32 +1,21 @@
--- old.moduleCodeGenTest5.js
+++ new.moduleCodeGenTest5.js
-@@= skipped -31, +31 lines =@@
- var y = 0;
+@@= skipped -32, +32 lines =@@
function f1() { }
function f2() { }
--var C1 = /** @class */ (function () {
-- function C1() {
+ class C1 {
+- constructor() {
- this.p1 = 0;
- }
-- C1.prototype.p2 = function () { };
-- return C1;
--}());
-+class C1 {
+ p1 = 0;
-+ p2() { }
-+}
+ p2() { }
+ }
exports.C1 = C1;
--var C2 = /** @class */ (function () {
-- function C2() {
+ class C2 {
+- constructor() {
- this.p1 = 0;
- }
-- C2.prototype.p2 = function () { };
-- return C2;
--}());
-+class C2 {
+ p1 = 0;
-+ p2() { }
-+}
- var E1;
- (function (E1) {
- E1[E1["A"] = 0] = "A";
\ No newline at end of file
+ p2() { }
+ }
+ var E1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleCrashBug1.js.diff b/testdata/baselines/reference/submodule/compiler/moduleCrashBug1.js.diff
deleted file mode 100644
index 9f2ee7cbaa..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleCrashBug1.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.moduleCrashBug1.js
-+++ new.moduleCrashBug1.js
-@@= skipped -25, +25 lines =@@
- //// [moduleCrashBug1.js]
- var _modes;
- (function (_modes) {
-- var Mode = /** @class */ (function () {
-- function Mode() {
-- }
-- return Mode;
-- }());
-+ class Mode {
-+ }
- })(_modes || (_modes = {}));
- var m;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleDeclarationExportStarShadowingGlobalIsNameable.js.diff b/testdata/baselines/reference/submodule/compiler/moduleDeclarationExportStarShadowingGlobalIsNameable.js.diff
index 358a6e86da..0edec3dea1 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleDeclarationExportStarShadowingGlobalIsNameable.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleDeclarationExportStarShadowingGlobalIsNameable.js.diff
@@ -1,15 +1,6 @@
--- old.moduleDeclarationExportStarShadowingGlobalIsNameable.js
+++ new.moduleDeclarationExportStarShadowingGlobalIsNameable.js
-@@= skipped -49, +49 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.func = void 0;
--var func = function (account, acc2) { };
-+const func = (account, acc2) => { };
- exports.func = func;
-
-
-@@= skipped -15, +15 lines =@@
+@@= skipped -64, +64 lines =@@
//// [index.d.ts]
export * from "./account";
//// [index.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/moduleDuplicateIdentifiers.js.diff b/testdata/baselines/reference/submodule/compiler/moduleDuplicateIdentifiers.js.diff
index d28e5164cb..def01a77bd 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleDuplicateIdentifiers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleDuplicateIdentifiers.js.diff
@@ -1,28 +1,20 @@
--- old.moduleDuplicateIdentifiers.js
+++ new.moduleDuplicateIdentifiers.js
-@@= skipped -54, +54 lines =@@
- (function (FooBar) {
+@@= skipped -55, +55 lines =@@
FooBar.member2 = 42;
})(FooBar || (exports.FooBar = FooBar = {}));
--var Kettle = /** @class */ (function () {
-- function Kettle() {
+ class Kettle {
+- constructor() {
- this.member1 = 2;
- }
-- return Kettle;
--}());
-+class Kettle {
+ member1 = 2;
-+}
+ }
exports.Kettle = Kettle;
--var Kettle = /** @class */ (function () {
-- function Kettle() {
+ class Kettle {
+- constructor() {
- this.member2 = 42;
- }
-- return Kettle;
--}());
-+class Kettle {
+ member2 = 42;
-+}
+ }
exports.Kettle = Kettle;
- exports.Pot = 2;
- exports.Pot = 42; // Shouldn't error
\ No newline at end of file
+ exports.Pot = 2;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleElementsInWrongContext.js.diff b/testdata/baselines/reference/submodule/compiler/moduleElementsInWrongContext.js.diff
index 325e9ff859..e6b8b383c5 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleElementsInWrongContext.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleElementsInWrongContext.js.diff
@@ -1,17 +1,8 @@
--- old.moduleElementsInWrongContext.js
+++ new.moduleElementsInWrongContext.js
-@@= skipped -40, +40 lines =@@
- export { foo };
- export { baz as b } from "ambient";
- export default v;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-- export default C;
-+ export default class C {
-+ }
+@@= skipped -43, +43 lines =@@
+ export default class C {
+ }
export function bee() { }
+ var I = M;
import I2 = require("foo");
diff --git a/testdata/baselines/reference/submodule/compiler/moduleElementsInWrongContext2.js.diff b/testdata/baselines/reference/submodule/compiler/moduleElementsInWrongContext2.js.diff
index 8f325eb39a..69ab721d5d 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleElementsInWrongContext2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleElementsInWrongContext2.js.diff
@@ -1,17 +1,8 @@
--- old.moduleElementsInWrongContext2.js
+++ new.moduleElementsInWrongContext2.js
-@@= skipped -40, +40 lines =@@
- export { foo };
- export { baz as b } from "ambient";
- export default v;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-- export default C;
-+ export default class C {
-+ }
+@@= skipped -43, +43 lines =@@
+ export default class C {
+ }
export function bee() { }
+ var I = M;
import I2 = require("foo");
diff --git a/testdata/baselines/reference/submodule/compiler/moduleElementsInWrongContext3.js.diff b/testdata/baselines/reference/submodule/compiler/moduleElementsInWrongContext3.js.diff
index 9e22e5bd86..b13de9fd08 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleElementsInWrongContext3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleElementsInWrongContext3.js.diff
@@ -4,15 +4,10 @@
export { foo };
export { baz as b } from "ambient";
export default v;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-- export default C;
-- export function bee() { }
+- export default class C {
+ class C {
-+ }
+ }
+- export function bee() { }
+ P.C = C;
+ function bee() { }
+ P.bee = bee;
diff --git a/testdata/baselines/reference/submodule/compiler/moduleExports1.js.diff b/testdata/baselines/reference/submodule/compiler/moduleExports1.js.diff
index 46aa6e31da..4b327608b3 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleExports1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleExports1.js.diff
@@ -14,11 +14,8 @@
- (function (Strasse) {
- var Street;
- (function (Street) {
-- var Rue = /** @class */ (function () {
-- function Rue() {
-- }
-- return Rue;
-- }());
+- class Rue {
+- }
- Street.Rue = Rue;
- })(Street = Strasse.Street || (Strasse.Street = {}));
- })(Strasse = TypeScript.Strasse || (TypeScript.Strasse = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/moduleExportsUnaryExpression.js.diff b/testdata/baselines/reference/submodule/compiler/moduleExportsUnaryExpression.js.diff
deleted file mode 100644
index 6ebc3cad80..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleExportsUnaryExpression.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.moduleExportsUnaryExpression.js
-+++ new.moduleExportsUnaryExpression.js
-@@= skipped -23, +23 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.x = void 0;
- exports.foo = foo;
--var x = 1;
-+let x = 1;
- exports.x = x;
- function foo(y) {
- if (y <= (exports.x = (_a = x++, x), _a))
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleImportedForTypeArgumentPosition.js.diff b/testdata/baselines/reference/submodule/compiler/moduleImportedForTypeArgumentPosition.js.diff
index 0052540e67..772d373960 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleImportedForTypeArgumentPosition.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleImportedForTypeArgumentPosition.js.diff
@@ -10,36 +10,13 @@
- Object.defineProperty(exports, "__esModule", { value: true });
-});
//// [moduleImportedForTypeArgumentPosition_1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
-define(["require", "exports"], function (require, exports) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
-- var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
-- }());
-- var Test1 = /** @class */ (function (_super) {
-- __extends(Test1, _super);
-- function Test1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Test1;
-- }(C1));
+- class C1 {
+- }
+- class Test1 extends C1 {
+- }
-});
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/moduleInTypePosition1.js.diff b/testdata/baselines/reference/submodule/compiler/moduleInTypePosition1.js.diff
index 247abd7ebd..2b7e7c4e7a 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleInTypePosition1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleInTypePosition1.js.diff
@@ -1,20 +1,10 @@
--- old.moduleInTypePosition1.js
+++ new.moduleInTypePosition1.js
-@@= skipped -14, +14 lines =@@
- "use strict";
+@@= skipped -15, +15 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Promise = void 0;
--var Promise = /** @class */ (function () {
-- function Promise() {
-- }
-- return Promise;
--}());
-+class Promise {
+ class Promise {
+ foo;
-+}
+ }
exports.Promise = Promise;
- //// [moduleInTypePosition1_1.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var x = function (w1) { };
-+var x = (w1) => { };
\ No newline at end of file
+ //// [moduleInTypePosition1_1.js]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleMemberWithoutTypeAnnotation1.js.diff b/testdata/baselines/reference/submodule/compiler/moduleMemberWithoutTypeAnnotation1.js.diff
index 3c8a5ec562..febf92badc 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleMemberWithoutTypeAnnotation1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleMemberWithoutTypeAnnotation1.js.diff
@@ -7,66 +7,18 @@
- var Parser;
+ let Parser;
(function (Parser) {
-- var SyntaxCursor = /** @class */ (function () {
-- function SyntaxCursor() {
-- }
-- SyntaxCursor.prototype.currentNode = function () {
-+ class SyntaxCursor {
-+ currentNode() {
- return null;
-- };
-- return SyntaxCursor;
-- }());
-+ }
-+ }
- })(Parser = TypeScript.Parser || (TypeScript.Parser = {}));
- })(TypeScript || (TypeScript = {}));
- (function (TypeScript) {
- ;
+ class SyntaxCursor {
+ currentNode() {
+@@= skipped -14, +14 lines =@@
;
-- var PositionedElement = /** @class */ (function () {
-- function PositionedElement() {
-+ class PositionedElement {
-+ childIndex(child) {
+ class PositionedElement {
+ childIndex(child) {
+- return TypeScript.Syntax.childIndex();
+ return Syntax.childIndex();
}
-- PositionedElement.prototype.childIndex = function (child) {
-- return TypeScript.Syntax.childIndex();
-- };
-- return PositionedElement;
-- }());
-+ }
+ }
TypeScript.PositionedElement = PositionedElement;
-- var PositionedToken = /** @class */ (function () {
-- function PositionedToken(parent, token, fullStart) {
-+ class PositionedToken {
-+ constructor(parent, token, fullStart) {
- }
-- return PositionedToken;
-- }());
-+ }
- TypeScript.PositionedToken = PositionedToken;
- })(TypeScript || (TypeScript = {}));
- (function (TypeScript) {
-- var SyntaxNode = /** @class */ (function () {
-- function SyntaxNode() {
-- }
-- SyntaxNode.prototype.findToken = function (position, includeSkippedTokens) {
-- if (includeSkippedTokens === void 0) { includeSkippedTokens = false; }
-+ class SyntaxNode {
-+ findToken(position, includeSkippedTokens = false) {
- var positionedToken = this.findTokenInternal(null, position, 0);
- return null;
-- };
-- SyntaxNode.prototype.findTokenInternal = function (x, y, z) {
-+ }
-+ findTokenInternal(x, y, z) {
- return null;
-- };
-- return SyntaxNode;
-- }());
-+ }
-+ }
+@@= skipped -23, +23 lines =@@
TypeScript.SyntaxNode = SyntaxNode;
})(TypeScript || (TypeScript = {}));
(function (TypeScript) {
@@ -75,18 +27,10 @@
(function (Syntax) {
function childIndex() { }
Syntax.childIndex = childIndex;
-- var VariableWidthTokenWithTrailingTrivia = /** @class */ (function () {
-- function VariableWidthTokenWithTrailingTrivia() {
-+ class VariableWidthTokenWithTrailingTrivia {
-+ findTokenInternal(parent, position, fullStart) {
+ class VariableWidthTokenWithTrailingTrivia {
+ findTokenInternal(parent, position, fullStart) {
+- return new TypeScript.PositionedToken(parent, this, fullStart);
+ return new PositionedToken(parent, this, fullStart);
}
-- VariableWidthTokenWithTrailingTrivia.prototype.findTokenInternal = function (parent, position, fullStart) {
-- return new TypeScript.PositionedToken(parent, this, fullStart);
-- };
-- return VariableWidthTokenWithTrailingTrivia;
-- }());
-+ }
- Syntax.VariableWidthTokenWithTrailingTrivia = VariableWidthTokenWithTrailingTrivia;
- })(Syntax = TypeScript.Syntax || (TypeScript.Syntax = {}));
- })(TypeScript || (TypeScript = {}));
\ No newline at end of file
+ }
+ Syntax.VariableWidthTokenWithTrailingTrivia = VariableWidthTokenWithTrailingTrivia;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleMemberWithoutTypeAnnotation2.js.diff b/testdata/baselines/reference/submodule/compiler/moduleMemberWithoutTypeAnnotation2.js.diff
deleted file mode 100644
index d4ace66569..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleMemberWithoutTypeAnnotation2.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.moduleMemberWithoutTypeAnnotation2.js
-+++ new.moduleMemberWithoutTypeAnnotation2.js
-@@= skipped -21, +21 lines =@@
- //// [moduleMemberWithoutTypeAnnotation2.js]
- var TypeScript;
- (function (TypeScript) {
-- var CompilerDiagnostics;
-+ let CompilerDiagnostics;
- (function (CompilerDiagnostics) {
- CompilerDiagnostics.diagnosticWriter = null;
- function Alert(output) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleMerge.js.diff b/testdata/baselines/reference/submodule/compiler/moduleMerge.js.diff
deleted file mode 100644
index f07d8da2ba..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleMerge.js.diff
+++ /dev/null
@@ -1,34 +0,0 @@
---- old.moduleMerge.js
-+++ new.moduleMerge.js
-@@= skipped -28, +28 lines =@@
- // This should not compile both B classes are in the same module this should be a collission
- var A;
- (function (A) {
-- var B = /** @class */ (function () {
-- function B() {
-- }
-- B.prototype.Hello = function () {
-+ class B {
-+ Hello() {
- return "from private B";
-- };
-- return B;
-- }());
-+ }
-+ }
- })(A || (A = {}));
- (function (A) {
-- var B = /** @class */ (function () {
-- function B() {
-- }
-- B.prototype.Hello = function () {
-+ class B {
-+ Hello() {
- return "from export B";
-- };
-- return B;
-- }());
-+ }
-+ }
- A.B = B;
- })(A || (A = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleMergeConstructor.js.diff b/testdata/baselines/reference/submodule/compiler/moduleMergeConstructor.js.diff
index b2400757d4..1ee65a0441 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleMergeConstructor.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleMergeConstructor.js.diff
@@ -7,13 +7,10 @@
-define(["require", "exports", "foo"], function (require, exports, foo) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
-- var Test = /** @class */ (function () {
-- function Test() {
+- class Test {
+- constructor() {
- this.bar = new foo.Foo();
- }
-- return Test;
-- }());
--});
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+const foo = require("foo");
@@ -21,5 +18,6 @@
+ bar;
+ constructor() {
+ this.bar = new foo.Foo();
-+ }
+ }
+-});
+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleNewExportBug.js.diff b/testdata/baselines/reference/submodule/compiler/moduleNewExportBug.js.diff
deleted file mode 100644
index 31579e6ac2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleNewExportBug.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.moduleNewExportBug.js
-+++ new.moduleNewExportBug.js
-@@= skipped -17, +17 lines =@@
- //// [moduleNewExportBug.js]
- var mod1;
- (function (mod1) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.moo = function () { };
-- return C;
-- }());
-+ class C {
-+ moo() { }
-+ }
- })(mod1 || (mod1 = {}));
- var c; // ERROR: C should not be visible
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleNoneErrors.js.diff b/testdata/baselines/reference/submodule/compiler/moduleNoneErrors.js.diff
index f8fc44433a..947da46971 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleNoneErrors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleNoneErrors.js.diff
@@ -1,15 +1,9 @@
--- old.moduleNoneErrors.js
+++ new.moduleNoneErrors.js
-@@= skipped -9, +9 lines =@@
- "use strict";
+@@= skipped -10, +10 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Foo = void 0;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
+ class Foo {
+ foo;
-+}
+ }
exports.Foo = Foo;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/modulePrologueAMD.js.diff b/testdata/baselines/reference/submodule/compiler/modulePrologueAMD.js.diff
index d66ec1ba8d..25bfdb5ad5 100644
--- a/testdata/baselines/reference/submodule/compiler/modulePrologueAMD.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/modulePrologueAMD.js.diff
@@ -8,11 +8,8 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Foo = void 0;
-- var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
-- }());
+- class Foo {
+- }
- exports.Foo = Foo;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/modulePrologueCommonjs.js.diff b/testdata/baselines/reference/submodule/compiler/modulePrologueCommonjs.js.diff
deleted file mode 100644
index 3a9d3672e9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/modulePrologueCommonjs.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.modulePrologueCommonjs.js
-+++ new.modulePrologueCommonjs.js
-@@= skipped -8, +8 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Foo = void 0;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- exports.Foo = Foo;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/modulePrologueSystem.js.diff b/testdata/baselines/reference/submodule/compiler/modulePrologueSystem.js.diff
index 898ceb53f4..37596bc15f 100644
--- a/testdata/baselines/reference/submodule/compiler/modulePrologueSystem.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/modulePrologueSystem.js.diff
@@ -11,11 +11,8 @@
- return {
- setters: [],
- execute: function () {
-- Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
-- }());
+- Foo = class Foo {
+- };
- exports_1("Foo", Foo);
- }
- };
diff --git a/testdata/baselines/reference/submodule/compiler/modulePrologueUmd.js.diff b/testdata/baselines/reference/submodule/compiler/modulePrologueUmd.js.diff
index a5da804b05..0aee281c7e 100644
--- a/testdata/baselines/reference/submodule/compiler/modulePrologueUmd.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/modulePrologueUmd.js.diff
@@ -16,11 +16,8 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Foo = void 0;
-- var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
-- }());
+- class Foo {
+- }
- exports.Foo = Foo;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/moduleRedifinitionErrors.js.diff b/testdata/baselines/reference/submodule/compiler/moduleRedifinitionErrors.js.diff
deleted file mode 100644
index fe48661eec..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleRedifinitionErrors.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.moduleRedifinitionErrors.js
-+++ new.moduleRedifinitionErrors.js
-@@= skipped -7, +7 lines =@@
-
-
- //// [moduleRedifinitionErrors.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleReopenedTypeOtherBlock.js.diff b/testdata/baselines/reference/submodule/compiler/moduleReopenedTypeOtherBlock.js.diff
deleted file mode 100644
index f5de9a2348..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleReopenedTypeOtherBlock.js.diff
+++ /dev/null
@@ -1,27 +0,0 @@
---- old.moduleReopenedTypeOtherBlock.js
-+++ new.moduleReopenedTypeOtherBlock.js
-@@= skipped -12, +12 lines =@@
- //// [moduleReopenedTypeOtherBlock.js]
- var M;
- (function (M) {
-- var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
-- }());
-+ class C1 {
-+ }
- M.C1 = C1;
- })(M || (M = {}));
- (function (M) {
-- var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- C2.prototype.f = function () { return null; };
-- return C2;
-- }());
-+ class C2 {
-+ f() { return null; }
-+ }
- M.C2 = C2;
- })(M || (M = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleReopenedTypeSameBlock.js.diff b/testdata/baselines/reference/submodule/compiler/moduleReopenedTypeSameBlock.js.diff
deleted file mode 100644
index c6da1dc8a3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleReopenedTypeSameBlock.js.diff
+++ /dev/null
@@ -1,27 +0,0 @@
---- old.moduleReopenedTypeSameBlock.js
-+++ new.moduleReopenedTypeSameBlock.js
-@@= skipped -10, +10 lines =@@
- //// [moduleReopenedTypeSameBlock.js]
- var M;
- (function (M) {
-- var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
-- }());
-+ class C1 {
-+ }
- M.C1 = C1;
- })(M || (M = {}));
- (function (M) {
-- var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- C2.prototype.f = function () { return null; };
-- return C2;
-- }());
-+ class C2 {
-+ f() { return null; }
-+ }
- M.C2 = C2;
- })(M || (M = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleResolutionWithRequire.js.diff b/testdata/baselines/reference/submodule/compiler/moduleResolutionWithRequire.js.diff
deleted file mode 100644
index 86cea6409a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleResolutionWithRequire.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.moduleResolutionWithRequire.js
-+++ new.moduleResolutionWithRequire.js
-@@= skipped -12, +12 lines =@@
-
- //// [index.js]
- function foo() {
-- var a = require('../outside-of-rootdir/foo');
-- var other = require('./other').other;
-+ const a = require('../outside-of-rootdir/foo');
-+ const { other } = require('./other');
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleResolutionWithRequireAndImport.js.diff b/testdata/baselines/reference/submodule/compiler/moduleResolutionWithRequireAndImport.js.diff
deleted file mode 100644
index e9de8119f6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleResolutionWithRequireAndImport.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.moduleResolutionWithRequireAndImport.js
-+++ new.moduleResolutionWithRequireAndImport.js
-@@= skipped -17, +17 lines =@@
- exports.other = void 0;
- exports.other = 123;
- //// [index.js]
--var a = null;
-+const a = null;
- function foo() {
-- var a = require('../outside-of-rootdir/foo');
-- var other = require('./other').other;
-+ const a = require('../outside-of-rootdir/foo');
-+ const { other } = require('./other');
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleResolutionWithSymlinks.js.diff b/testdata/baselines/reference/submodule/compiler/moduleResolutionWithSymlinks.js.diff
index fcf4ff7209..9910731a11 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleResolutionWithSymlinks.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleResolutionWithSymlinks.js.diff
@@ -1,17 +1,11 @@
--- old.moduleResolutionWithSymlinks.js
+++ new.moduleResolutionWithSymlinks.js
-@@= skipped -39, +39 lines =@@
- "use strict";
+@@= skipped -40, +40 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyClass = void 0;
--var MyClass = /** @class */ (function () {
-- function MyClass() {
-- }
-- return MyClass;
--}());
-+class MyClass {
+ class MyClass {
+ x;
-+}
+ }
exports.MyClass = MyClass;
//// [/src/library-b/index.js]
"use strict";
@@ -21,12 +15,4 @@
+const library_a_1 = require("library-a");
Object.defineProperty(exports, "MyClass2", { enumerable: true, get: function () { return library_a_1.MyClass; } });
//// [/src/app.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var x;
--var y;
-+let x;
-+let y;
- x = y;
- y = x;
- /*
\ No newline at end of file
+ "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleResolutionWithSymlinks_preserveSymlinks.js.diff b/testdata/baselines/reference/submodule/compiler/moduleResolutionWithSymlinks_preserveSymlinks.js.diff
index aadea48800..01db587117 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleResolutionWithSymlinks_preserveSymlinks.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleResolutionWithSymlinks_preserveSymlinks.js.diff
@@ -10,9 +10,8 @@
-Object.defineProperty(exports, "__esModule", { value: true });
-var linked_1 = require("linked");
-var linked2_1 = require("linked2");
--var x = new linked_1.C();
+const linked_1 = require("linked");
+const linked2_1 = require("linked2");
-+let x = new linked_1.C();
+ let x = new linked_1.C();
// Should fail. We no longer resolve any symlinks.
x = new linked2_1.C();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleResolutionWithSymlinks_withOutDir.js.diff b/testdata/baselines/reference/submodule/compiler/moduleResolutionWithSymlinks_withOutDir.js.diff
index 4c4b8b398e..1cacc18e08 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleResolutionWithSymlinks_withOutDir.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleResolutionWithSymlinks_withOutDir.js.diff
@@ -1,17 +1,11 @@
--- old.moduleResolutionWithSymlinks_withOutDir.js
+++ new.moduleResolutionWithSymlinks_withOutDir.js
-@@= skipped -20, +20 lines =@@
- "use strict";
+@@= skipped -21, +21 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyClass = void 0;
--var MyClass = /** @class */ (function () {
-- function MyClass() {
-- }
-- return MyClass;
--}());
-+class MyClass {
+ class MyClass {
+ x;
-+}
+ }
exports.MyClass = MyClass;
//// [/src/bin/library-b/index.js]
"use strict";
@@ -21,11 +15,4 @@
+const library_a_1 = require("library-a");
Object.defineProperty(exports, "MyClass2", { enumerable: true, get: function () { return library_a_1.MyClass; } });
//// [/src/bin/app.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var x;
--var y;
-+let x;
-+let y;
- x = y;
- y = x;
\ No newline at end of file
+ "use strict";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleScopingBug.js.diff b/testdata/baselines/reference/submodule/compiler/moduleScopingBug.js.diff
deleted file mode 100644
index 93f5fd1a2a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleScopingBug.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.moduleScopingBug.js
-+++ new.moduleScopingBug.js
-@@= skipped -37, +37 lines =@@
- function f() {
- var inner = outer; // Ok
- }
-- var C = /** @class */ (function () {
-- function C() {
-+ class C {
-+ constructor() {
- var inner = outer; // Ok
- }
-- return C;
-- }());
-- var X;
-+ }
-+ let X;
- (function (X) {
- var inner = outer; // Error: outer not visible
- })(X || (X = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleSharesNameWithImportDeclarationInsideIt3.js.diff b/testdata/baselines/reference/submodule/compiler/moduleSharesNameWithImportDeclarationInsideIt3.js.diff
index e116021602..84f926317a 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleSharesNameWithImportDeclarationInsideIt3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleSharesNameWithImportDeclarationInsideIt3.js.diff
@@ -1,15 +1,6 @@
--- old.moduleSharesNameWithImportDeclarationInsideIt3.js
+++ new.moduleSharesNameWithImportDeclarationInsideIt3.js
-@@= skipped -20, +20 lines =@@
- //// [moduleSharesNameWithImportDeclarationInsideIt3.js]
- var Z;
- (function (Z) {
-- var M;
-+ let M;
- (function (M) {
- function bar() {
- return "";
-@@= skipped -10, +10 lines =@@
+@@= skipped -30, +30 lines =@@
})(Z || (Z = {}));
var A;
(function (A) {
diff --git a/testdata/baselines/reference/submodule/compiler/moduleSharesNameWithImportDeclarationInsideIt5.js.diff b/testdata/baselines/reference/submodule/compiler/moduleSharesNameWithImportDeclarationInsideIt5.js.diff
index e1010885c1..5e72ba4d40 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleSharesNameWithImportDeclarationInsideIt5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleSharesNameWithImportDeclarationInsideIt5.js.diff
@@ -1,15 +1,6 @@
--- old.moduleSharesNameWithImportDeclarationInsideIt5.js
+++ new.moduleSharesNameWithImportDeclarationInsideIt5.js
-@@= skipped -20, +20 lines =@@
- //// [moduleSharesNameWithImportDeclarationInsideIt5.js]
- var Z;
- (function (Z) {
-- var M;
-+ let M;
- (function (M) {
- function bar() {
- return "";
-@@= skipped -10, +10 lines =@@
+@@= skipped -30, +30 lines =@@
})(Z || (Z = {}));
var A;
(function (A) {
diff --git a/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest1.js.diff b/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest1.js.diff
index 3a4efff80a..3f3a1c7e68 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest1.js.diff
@@ -1,65 +1,34 @@
--- old.moduleVisibilityTest1.js
+++ new.moduleVisibilityTest1.js
-@@= skipped -71, +71 lines =@@
- (function (OuterMod) {
- function someExportedOuterFunc() { return -1; }
- OuterMod.someExportedOuterFunc = someExportedOuterFunc;
-- var OuterInnerMod;
-+ let OuterInnerMod;
- (function (OuterInnerMod) {
- function someExportedOuterInnerFunc() { return "foo"; }
+@@= skipped -77, +77 lines =@@
OuterInnerMod.someExportedOuterInnerFunc = someExportedOuterInnerFunc;
})(OuterInnerMod = OuterMod.OuterInnerMod || (OuterMod.OuterInnerMod = {}));
})(OuterMod || (OuterMod = {}));
-var OuterInnerAlias = OuterMod.OuterInnerMod;
var M;
(function (M) {
-- var InnerMod;
-+ let InnerMod;
- (function (InnerMod) {
- function someExportedInnerFunc() { return -2; }
- InnerMod.someExportedInnerFunc = someExportedInnerFunc;
- })(InnerMod = M.InnerMod || (M.InnerMod = {}));
-- var E;
-+ let E;
- (function (E) {
- E[E["A"] = 0] = "A";
- E[E["B"] = 1] = "B";
-@@= skipped -22, +21 lines =@@
- })(E = M.E || (M.E = {}));
+ let InnerMod;
+@@= skipped -17, +16 lines =@@
M.x = 5;
var y = M.x + M.x;
-- var B = /** @class */ (function () {
-- function B() {
+ class B {
+- constructor() {
- this.b = 0;
- }
-- return B;
-- }());
-- var C = /** @class */ (function () {
-- function C() {
-- this.someProp = 1;
-+ class B {
+ b = 0;
-+ }
-+ class C {
-+ someMethodThatCallsAnOuterMethod() { return OuterInnerAlias.someExportedOuterInnerFunc(); }
-+ someMethodThatCallsAnInnerMethod() { return InnerMod.someExportedInnerFunc(); }
-+ someMethodThatCallsAnOuterInnerMethod() { return OuterMod.someExportedOuterFunc(); }
-+ someMethod() { return 0; }
+ }
+ class C {
+ someMethodThatCallsAnOuterMethod() { return OuterInnerAlias.someExportedOuterInnerFunc(); }
+ someMethodThatCallsAnInnerMethod() { return InnerMod.someExportedInnerFunc(); }
+ someMethodThatCallsAnOuterInnerMethod() { return OuterMod.someExportedOuterFunc(); }
+ someMethod() { return 0; }
+ someProp = 1;
-+ constructor() {
+ constructor() {
+- this.someProp = 1;
function someInnerFunc() { return 2; }
var someInnerVar = 3;
}
-- C.prototype.someMethodThatCallsAnOuterMethod = function () { return OuterInnerAlias.someExportedOuterInnerFunc(); };
-- C.prototype.someMethodThatCallsAnInnerMethod = function () { return InnerMod.someExportedInnerFunc(); };
-- C.prototype.someMethodThatCallsAnOuterInnerMethod = function () { return OuterMod.someExportedOuterFunc(); };
-- C.prototype.someMethod = function () { return 0; };
-- return C;
-- }());
-+ }
- M.C = C;
- var someModuleVar = 4;
+@@= skipped -20, +18 lines =@@
function someModuleFunction() { return 5; }
})(M || (M = {}));
(function (M) {
diff --git a/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest2.js.diff b/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest2.js.diff
index b4ed6945ad..5f0dbf81a6 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest2.js.diff
@@ -1,63 +1,30 @@
--- old.moduleVisibilityTest2.js
+++ new.moduleVisibilityTest2.js
-@@= skipped -72, +72 lines =@@
- (function (OuterMod) {
- function someExportedOuterFunc() { return -1; }
- OuterMod.someExportedOuterFunc = someExportedOuterFunc;
-- var OuterInnerMod;
-+ let OuterInnerMod;
- (function (OuterInnerMod) {
- function someExportedOuterInnerFunc() { return "foo"; }
+@@= skipped -78, +78 lines =@@
OuterInnerMod.someExportedOuterInnerFunc = someExportedOuterInnerFunc;
})(OuterInnerMod = OuterMod.OuterInnerMod || (OuterMod.OuterInnerMod = {}));
})(OuterMod || (OuterMod = {}));
-var OuterInnerAlias = OuterMod.OuterInnerMod;
var M;
(function (M) {
-- var InnerMod;
-+ let InnerMod;
- (function (InnerMod) {
- function someExportedInnerFunc() { return -2; }
- InnerMod.someExportedInnerFunc = someExportedInnerFunc;
- })(InnerMod || (InnerMod = {}));
-- var E;
-+ let E;
- (function (E) {
- E[E["A"] = 0] = "A";
- E[E["B"] = 1] = "B";
-@@= skipped -22, +21 lines =@@
- })(E || (E = {}));
+ let InnerMod;
+@@= skipped -17, +16 lines =@@
var x = 5;
var y = x + x;
-- var B = /** @class */ (function () {
-- function B() {
+ class B {
+- constructor() {
- this.b = 0;
- }
-- return B;
-- }());
-- var C = /** @class */ (function () {
-- function C() {
-- this.someProp = 1;
-+ class B {
+ b = 0;
-+ }
-+ class C {
-+ someMethodThatCallsAnOuterMethod() { return OuterInnerAlias.someExportedOuterInnerFunc(); }
-+ someMethodThatCallsAnInnerMethod() { return InnerMod.someExportedInnerFunc(); }
-+ someMethodThatCallsAnOuterInnerMethod() { return OuterMod.someExportedOuterFunc(); }
-+ someMethod() { return 0; }
+ }
+ class C {
+ someMethodThatCallsAnOuterMethod() { return OuterInnerAlias.someExportedOuterInnerFunc(); }
+ someMethodThatCallsAnInnerMethod() { return InnerMod.someExportedInnerFunc(); }
+ someMethodThatCallsAnOuterInnerMethod() { return OuterMod.someExportedOuterFunc(); }
+ someMethod() { return 0; }
+ someProp = 1;
-+ constructor() {
+ constructor() {
+- this.someProp = 1;
function someInnerFunc() { return 2; }
var someInnerVar = 3;
- }
-- C.prototype.someMethodThatCallsAnOuterMethod = function () { return OuterInnerAlias.someExportedOuterInnerFunc(); };
-- C.prototype.someMethodThatCallsAnInnerMethod = function () { return InnerMod.someExportedInnerFunc(); };
-- C.prototype.someMethodThatCallsAnOuterInnerMethod = function () { return OuterMod.someExportedOuterFunc(); };
-- C.prototype.someMethod = function () { return 0; };
-- return C;
-- }());
-+ }
- M.C = C;
- var someModuleVar = 4;
- function someModuleFunction() { return 5; }
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest3.js.diff b/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest3.js.diff
index 7038b3c873..f236b5d822 100644
--- a/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest3.js.diff
@@ -1,30 +1,10 @@
--- old.moduleVisibilityTest3.js
+++ new.moduleVisibilityTest3.js
-@@= skipped -30, +30 lines =@@
- //// [moduleVisibilityTest3.js]
- var _modes;
- (function (_modes) {
-- var Mode = /** @class */ (function () {
-- function Mode() {
-- }
-- return Mode;
-- }());
-+ class Mode {
-+ }
- })(_modes || (_modes = {}));
+@@= skipped -36, +36 lines =@@
//_modes. // produces an internal error - please implement in derived class
var editor;
(function (editor) {
+ var modes = _modes;
var i;
// If you just use p1:modes, the compiler accepts it - should be an error
-- var Bug = /** @class */ (function () {
-- function Bug(p1, p2) {
-+ class Bug {
-+ constructor(p1, p2) {
- var x;
- }
-- return Bug;
-- }());
-+ }
- })(editor || (editor = {}));
\ No newline at end of file
+ class Bug {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest4.js.diff b/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest4.js.diff
deleted file mode 100644
index 023f837930..0000000000
--- a/testdata/baselines/reference/submodule/compiler/moduleVisibilityTest4.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.moduleVisibilityTest4.js
-+++ new.moduleVisibilityTest4.js
-@@= skipped -18, +18 lines =@@
-
-
- //// [moduleVisibilityTest4.js]
--var a1;
--var b1;
--var c1;
--var a2;
--var b2;
--var c2;
-+let a1;
-+let b1;
-+let c1;
-+let a2;
-+let b2;
-+let c2;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/moduledecl.js.diff b/testdata/baselines/reference/submodule/compiler/moduledecl.js.diff
index 37e687f6dc..0107c55ca7 100644
--- a/testdata/baselines/reference/submodule/compiler/moduledecl.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/moduledecl.js.diff
@@ -1,20 +1,14 @@
--- old.moduledecl.js
+++ new.moduledecl.js
-@@= skipped -240, +240 lines =@@
- }
+@@= skipped -241, +241 lines =@@
function f2(ns) {
}
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
+ class c1 {
+ a;
+ b;
+ static s1;
+ static s2;
-+ }
+ }
+ var m2 = a;
+ var m3 = b;
+ var m4 = b.a;
@@ -24,13 +18,10 @@
})(m0 || (m0 = {}));
var m1;
(function (m1) {
-@@= skipped -14, +21 lines =@@
- function f2(ns) {
+@@= skipped -11, +21 lines =@@
}
m1.f2 = f2;
-- var c1 = /** @class */ (function () {
-- function c1(n, n2, n3, n4) {
-+ class c1 {
+ class c1 {
+ n;
+ n2;
+ n3;
@@ -39,22 +30,16 @@
+ b;
+ static s1;
+ static s2;
-+ d() {
-+ return "Hello";
-+ }
+ d() {
+ return "Hello";
+ }
+ e;
-+ constructor(n, n2, n3, n4) {
+ constructor(n, n2, n3, n4) {
this.n = n;
this.n2 = n2;
- this.n3 = n3;
- this.n4 = n4;
+@@= skipped -11, +20 lines =@@
}
-- c1.prototype.d = function () {
-- return "Hello";
-- };
-- return c1;
-- }());
-+ }
+ }
m1.c1 = c1;
+ var m2 = a;
+ var m3 = b;
@@ -64,126 +49,4 @@
+ var m7 = c.a.b;
})(m1 || (m1 = {}));
var m;
- (function (m) {
-- var m2;
-+ let m2;
- (function (m2) {
- var a = 10;
- })(m2 = m.m2 || (m.m2 = {}));
-- var m3;
-+ let m3;
- (function (m3) {
- })(m3 = m.m3 || (m.m3 = {}));
- })(m || (m = {}));
- (function (m) {
-- var m25;
-+ let m25;
- (function (m25) {
-- var m5;
-+ let m5;
- (function (m5) {
- })(m5 = m25.m5 || (m25.m5 = {}));
- })(m25 = m.m25 || (m.m25 = {}));
- })(m || (m = {}));
- var m13;
- (function (m13) {
-- var m4;
-+ let m4;
- (function (m4) {
-- var m2;
-+ let m2;
- (function (m2) {
-- var m3;
-+ let m3;
- (function (m3) {
- })(m3 = m2.m3 || (m2.m3 = {}));
- })(m2 = m4.m2 || (m4.m2 = {}));
-@@= skipped -50, +64 lines =@@
- })(m13 || (m13 = {}));
- var exportTests;
- (function (exportTests) {
-- var C1_public = /** @class */ (function () {
-- function C1_public() {
-- }
-- C1_public.prototype.f2 = function () {
-+ class C1_public {
-+ f2() {
- return 30;
-- };
-- C1_public.prototype.f3 = function () {
-+ }
-+ f3() {
- return "string";
-- };
-- return C1_public;
-- }());
-+ }
-+ }
- exportTests.C1_public = C1_public;
-- var C2_private = /** @class */ (function () {
-- function C2_private() {
-- }
-- C2_private.prototype.f2 = function () {
-+ class C2_private {
-+ f2() {
- return 30;
-- };
-- C2_private.prototype.f3 = function () {
-+ }
-+ f3() {
- return "string";
-- };
-- return C2_private;
-- }());
-- var C3_public = /** @class */ (function () {
-- function C3_public() {
-- }
-- C3_public.prototype.getC2_private = function () {
-- return new C2_private();
-- };
-- C3_public.prototype.setC2_private = function (arg) {
-- };
-- Object.defineProperty(C3_public.prototype, "c2", {
-- get: function () {
-- return new C2_private();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- C3_public.prototype.getC1_public = function () {
-- return new C1_public();
-- };
-- C3_public.prototype.setC1_public = function (arg) {
-- };
-- Object.defineProperty(C3_public.prototype, "c1", {
-- get: function () {
-- return new C1_public();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C3_public;
-- }());
-+ }
-+ }
-+ class C3_public {
-+ getC2_private() {
-+ return new C2_private();
-+ }
-+ setC2_private(arg) {
-+ }
-+ get c2() {
-+ return new C2_private();
-+ }
-+ getC1_public() {
-+ return new C1_public();
-+ }
-+ setC1_public(arg) {
-+ }
-+ get c1() {
-+ return new C1_public();
-+ }
-+ }
- exportTests.C3_public = C3_public;
- })(exportTests || (exportTests = {}));
- function foo() {
\ No newline at end of file
+ (function (m) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/multiImportExport.js.diff b/testdata/baselines/reference/submodule/compiler/multiImportExport.js.diff
index 68260cf10a..f4c3ef9be3 100644
--- a/testdata/baselines/reference/submodule/compiler/multiImportExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/multiImportExport.js.diff
@@ -1,19 +1,6 @@
--- old.multiImportExport.js
+++ new.multiImportExport.js
-@@= skipped -26, +26 lines =@@
-
- //// [Adder.js]
- "use strict";
--var Adder = /** @class */ (function () {
-- function Adder() {
-+class Adder {
-+ add(a, b) {
- }
-- Adder.prototype.add = function (a, b) {
-- };
-- return Adder;
--}());
-+}
+@@= skipped -33, +33 lines =@@
module.exports = Adder;
//// [Math.js]
"use strict";
@@ -22,7 +9,7 @@
var Math = {
Adder: Adder
};
-@@= skipped -22, +19 lines =@@
+@@= skipped -12, +12 lines =@@
//// [consumer.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/multiLineContextDiagnosticWithPretty.js.diff b/testdata/baselines/reference/submodule/compiler/multiLineContextDiagnosticWithPretty.js.diff
deleted file mode 100644
index e8bf0b3ae0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/multiLineContextDiagnosticWithPretty.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.multiLineContextDiagnosticWithPretty.js
-+++ new.multiLineContextDiagnosticWithPretty.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [multiLineContextDiagnosticWithPretty.js]
--var x = {
-+const x = {
- a: {
- b: '',
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/multiLinePropertyAccessAndArrowFunctionIndent1.js.diff b/testdata/baselines/reference/submodule/compiler/multiLinePropertyAccessAndArrowFunctionIndent1.js.diff
deleted file mode 100644
index 71991ea7bf..0000000000
--- a/testdata/baselines/reference/submodule/compiler/multiLinePropertyAccessAndArrowFunctionIndent1.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.multiLinePropertyAccessAndArrowFunctionIndent1.js
-+++ new.multiLinePropertyAccessAndArrowFunctionIndent1.js
-@@= skipped -7, +7 lines =@@
-
-
- //// [multiLinePropertyAccessAndArrowFunctionIndent1.js]
--var _this = this;
- return this.edit(role)
-- .then(function (role) {
-- return _this.roleService.add(role)
-- .then(function (data) { return data.data; });
--});
-+ .then((role) => this.roleService.add(role)
-+ .then((data) => data.data));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/multiModuleClodule1.js.diff b/testdata/baselines/reference/submodule/compiler/multiModuleClodule1.js.diff
deleted file mode 100644
index b989159646..0000000000
--- a/testdata/baselines/reference/submodule/compiler/multiModuleClodule1.js.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- old.multiModuleClodule1.js
-+++ new.multiModuleClodule1.js
-@@= skipped -20, +20 lines =@@
- c.foo = C.foo;
-
- //// [multiModuleClodule1.js]
--var C = /** @class */ (function () {
-- function C(x) {
-- }
-- C.prototype.foo = function () { };
-- C.prototype.bar = function () { };
-- C.boo = function () { };
-- return C;
--}());
-+class C {
-+ constructor(x) { }
-+ foo() { }
-+ bar() { }
-+ static boo() { }
-+}
- (function (C) {
- C.x = 1;
- var y = 2;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/multipleClassPropertyModifiers.js.diff b/testdata/baselines/reference/submodule/compiler/multipleClassPropertyModifiers.js.diff
index 118ba386df..ceea8c4494 100644
--- a/testdata/baselines/reference/submodule/compiler/multipleClassPropertyModifiers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/multipleClassPropertyModifiers.js.diff
@@ -1,17 +1,11 @@
--- old.multipleClassPropertyModifiers.js
+++ new.multipleClassPropertyModifiers.js
-@@= skipped -8, +8 lines =@@
- }
+@@= skipped -9, +9 lines =@@
//// [multipleClassPropertyModifiers.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ static p1;
+ static p2;
+ static p3;
+ static p4;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/multipleClassPropertyModifiersErrors.js.diff b/testdata/baselines/reference/submodule/compiler/multipleClassPropertyModifiersErrors.js.diff
index a44f111502..457989001b 100644
--- a/testdata/baselines/reference/submodule/compiler/multipleClassPropertyModifiersErrors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/multipleClassPropertyModifiersErrors.js.diff
@@ -1,15 +1,9 @@
--- old.multipleClassPropertyModifiersErrors.js
+++ new.multipleClassPropertyModifiersErrors.js
-@@= skipped -11, +11 lines =@@
- }
+@@= skipped -12, +12 lines =@@
//// [multipleClassPropertyModifiersErrors.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ p1;
+ p2;
+ static static;
@@ -18,4 +12,4 @@
+ p5;
+ static p6;
+ static p7;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/multipleExports.js.diff b/testdata/baselines/reference/submodule/compiler/multipleExports.js.diff
index a72fb2076b..5ca6d70b76 100644
--- a/testdata/baselines/reference/submodule/compiler/multipleExports.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/multipleExports.js.diff
@@ -1,11 +1,8 @@
--- old.multipleExports.js
+++ new.multipleExports.js
-@@= skipped -20, +20 lines =@@
- (function (M) {
- M.v = 0;
+@@= skipped -22, +22 lines =@@
})(M || (exports.M = M = {}));
--var x = 0;
-+const x = 0;
+ const x = 0;
(function (M) {
- M.v;
+ v;
diff --git a/testdata/baselines/reference/submodule/compiler/multipleInferenceContexts.js.diff b/testdata/baselines/reference/submodule/compiler/multipleInferenceContexts.js.diff
index 53ae6b37d6..62f828f5a1 100644
--- a/testdata/baselines/reference/submodule/compiler/multipleInferenceContexts.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/multipleInferenceContexts.js.diff
@@ -5,13 +5,6 @@
//// [multipleInferenceContexts.js]
-"use strict";
--var r2 = Moon({
-+const r2 = Moon({
+ const r2 = Moon({
data: { msg: "" },
-- render: function () {
-- var h = function (x) { return x; };
-+ render() {
-+ const h = (x) => x;
- return h(this.get("msg"));
- },
- });
\ No newline at end of file
+ render() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/multipleInheritance.js.diff b/testdata/baselines/reference/submodule/compiler/multipleInheritance.js.diff
index d4840a7c0a..796bf0a1c9 100644
--- a/testdata/baselines/reference/submodule/compiler/multipleInheritance.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/multipleInheritance.js.diff
@@ -1,115 +1,30 @@
--- old.multipleInheritance.js
+++ new.multipleInheritance.js
-@@= skipped -40, +40 lines =@@
-
+@@= skipped -41, +41 lines =@@
//// [multipleInheritance.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var B1 = /** @class */ (function () {
-- function B1() {
-- }
-- return B1;
--}());
--var B2 = /** @class */ (function () {
-- function B2() {
-- }
-- return B2;
--}());
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(B1));
--var D1 = /** @class */ (function (_super) {
-- __extends(D1, _super);
-- function D1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return D1;
--}(B1));
--var D2 = /** @class */ (function (_super) {
-- __extends(D2, _super);
-- function D2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return D2;
--}(B2));
--var E = /** @class */ (function (_super) {
-- __extends(E, _super);
-- function E() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return E;
--}(D1));
--var N = /** @class */ (function () {
-- function N() {
-- }
-- return N;
--}());
--var ND = /** @class */ (function (_super) {
-- __extends(ND, _super);
-- function ND() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return ND;
--}(N));
--var Good = /** @class */ (function () {
-- function Good() {
-- this.f = function () { return 0; };
-- }
-- Good.prototype.g = function () { return 0; };
-- return Good;
--}());
--var Baad = /** @class */ (function (_super) {
-- __extends(Baad, _super);
-- function Baad() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Baad.prototype.f = function () { return 0; };
-- Baad.prototype.g = function (n) { return 0; };
-- return Baad;
--}(Good));
-+class B1 {
+ class B1 {
+ x;
-+}
-+class B2 {
+ }
+ class B2 {
+ x;
-+}
-+class C extends B1, B2 {
-+}
-+class D1 extends B1 {
-+}
-+class D2 extends B2 {
-+}
-+class E extends D1, D2 {
-+}
-+class N {
+ }
+ class C extends B1, B2 {
+ }
+@@= skipped -12, +14 lines =@@
+ class E extends D1, D2 {
+ }
+ class N {
+ y;
-+}
-+class ND extends N {
+ }
+ class ND extends N {
+ y;
-+}
-+class Good {
+ }
+ class Good {
+- constructor() {
+- this.f = function () { return 0; };
+- }
+ f = function () { return 0; };
-+ g() { return 0; }
-+}
-+class Baad extends Good {
-+ f() { return 0; }
-+ g(n) { return 0; }
-+}
\ No newline at end of file
+ g() { return 0; }
+ }
+ class Baad extends Good {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/multivar.js.diff b/testdata/baselines/reference/submodule/compiler/multivar.js.diff
index 21dbbd30c2..d8f94ea594 100644
--- a/testdata/baselines/reference/submodule/compiler/multivar.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/multivar.js.diff
@@ -1,33 +1,16 @@
--- old.multivar.js
+++ new.multivar.js
-@@= skipped -56, +56 lines =@@
- var m1;
+@@= skipped -57, +57 lines =@@
var a2, b22 = 10, b222;
var m3;
-- var C = /** @class */ (function () {
-- function C(b) {
-- this.b = b;
-- }
-- return C;
-- }());
-- var C2 = /** @class */ (function () {
-- function C2(b) {
-- this.b = b;
-- }
-- return C2;
-- }());
-+ class C {
+ class C {
+ b;
-+ constructor(b) {
-+ this.b = b;
-+ }
-+ }
-+ class C2 {
+ constructor(b) {
+ this.b = b;
+ }
+ }
+ class C2 {
+ b;
-+ constructor(b) {
-+ this.b = b;
-+ }
-+ }
- m2.C2 = C2;
- var m;
- var b2;
\ No newline at end of file
+ constructor(b) {
+ this.b = b;
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mutuallyRecursiveGenericBaseTypes2.js.diff b/testdata/baselines/reference/submodule/compiler/mutuallyRecursiveGenericBaseTypes2.js.diff
deleted file mode 100644
index 2dcee2ac52..0000000000
--- a/testdata/baselines/reference/submodule/compiler/mutuallyRecursiveGenericBaseTypes2.js.diff
+++ /dev/null
@@ -1,40 +0,0 @@
---- old.mutuallyRecursiveGenericBaseTypes2.js
-+++ new.mutuallyRecursiveGenericBaseTypes2.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [mutuallyRecursiveGenericBaseTypes2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var foo = /** @class */ (function () {
-- function foo() {
-- }
-- foo.prototype.bar = function () { return null; };
-- return foo;
--}());
--var foo2 = /** @class */ (function (_super) {
-- __extends(foo2, _super);
-- function foo2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return foo2;
--}(foo));
-+class foo {
-+ bar() { return null; }
-+}
-+class foo2 extends foo {
-+}
- var test = new foo();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/mutuallyRecursiveInference.js.diff b/testdata/baselines/reference/submodule/compiler/mutuallyRecursiveInference.js.diff
index 48427ba9a9..adb391a62e 100644
--- a/testdata/baselines/reference/submodule/compiler/mutuallyRecursiveInference.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/mutuallyRecursiveInference.js.diff
@@ -1,57 +1,18 @@
--- old.mutuallyRecursiveInference.js
+++ new.mutuallyRecursiveInference.js
-@@= skipped -17, +17 lines =@@
-
+@@= skipped -18, +18 lines =@@
//// [mutuallyRecursiveInference.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var T = /** @class */ (function () {
-- function T() {
-- }
-- return T;
--}());
--var L = /** @class */ (function (_super) {
-- __extends(L, _super);
-- function L() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- L.prototype.m = function () { this.a; };
-- return L;
--}(T));
--var X = /** @class */ (function (_super) {
-- __extends(X, _super);
-- function X() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- X.prototype.m2 = function () {
-+class T {
+ class T {
+ a;
+ b;
-+}
-+class L extends T {
-+ m() { this.a; }
-+}
-+class X extends L {
+ }
+ class L extends T {
+ m() { this.a; }
+ }
+ class X extends L {
+ a;
+ b;
-+ m2() {
+ m2() {
this.a;
-- };
-- return X;
--}(L));
-+ }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nameCollisions.js.diff b/testdata/baselines/reference/submodule/compiler/nameCollisions.js.diff
index b9b7c9c181..9432c8c671 100644
--- a/testdata/baselines/reference/submodule/compiler/nameCollisions.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nameCollisions.js.diff
@@ -4,71 +4,10 @@
var T;
(function (T) {
var x = 2;
-- var x;
+- let x;
(function (x) {
-- var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- return Bar;
-- }());
-+ class Bar {
+ class Bar {
+ test;
-+ }
+ }
x.Bar = Bar;
- })(x || (x = {}));
-- var z;
-+ let z;
- (function (z) {
- var t;
- })(z || (z = {}));
- var z; // error
-- var y;
-+ let y;
- (function (y) {
- var b;
- })(y || (y = {}));
-- var y = /** @class */ (function () {
-- function y() {
-- }
-- return y;
-- }()); // error
-+ class y {
-+ } // error
- var w;
- var f;
- function f() { } //error
- function f2() { }
- var f2; // error
- var i;
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- function C() { } // error
- function C2() { }
-- var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
-- }()); // error
-+ class C2 {
-+ } // error
- function fi() { }
-- var cli = /** @class */ (function () {
-- function cli() {
-- }
-- return cli;
-- }());
-- var cli2 = /** @class */ (function () {
-- function cli2() {
-- }
-- return cli2;
-- }());
-+ class cli {
-+ }
-+ class cli2 {
-+ }
- })(T || (T = {}));
\ No newline at end of file
+ })(x || (x = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nameCollisionsInPropertyAssignments.js.diff b/testdata/baselines/reference/submodule/compiler/nameCollisionsInPropertyAssignments.js.diff
deleted file mode 100644
index acc8ade0e0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nameCollisionsInPropertyAssignments.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.nameCollisionsInPropertyAssignments.js
-+++ new.nameCollisionsInPropertyAssignments.js
-@@= skipped -5, +5 lines =@@
-
- //// [nameCollisionsInPropertyAssignments.js]
- var x = 1;
--var y = { x: function () { x++; } };
-+var y = { x() { x++; } };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/namedFunctionExpressionAssignedToClassProperty.js.diff b/testdata/baselines/reference/submodule/compiler/namedFunctionExpressionAssignedToClassProperty.js.diff
index 5a6db6826c..6d21878398 100644
--- a/testdata/baselines/reference/submodule/compiler/namedFunctionExpressionAssignedToClassProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/namedFunctionExpressionAssignedToClassProperty.js.diff
@@ -1,18 +1,13 @@
--- old.namedFunctionExpressionAssignedToClassProperty.js
+++ new.namedFunctionExpressionAssignedToClassProperty.js
-@@= skipped -16, +16 lines =@@
-
+@@= skipped -17, +17 lines =@@
//// [namedFunctionExpressionAssignedToClassProperty.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- this.a = function bar() {
-- }; // this shouldn't crash the compiler...
-+class Foo {
+ class Foo {
+ a = function bar() {
+ }; // this shouldn't crash the compiler...
-+ constructor() {
+ constructor() {
+- this.a = function bar() {
+- }; // this shouldn't crash the compiler...
}
-- return Foo;
--}());
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/namedImportNonExistentName.js.diff b/testdata/baselines/reference/submodule/compiler/namedImportNonExistentName.js.diff
index fb982f2cea..db2631c5a8 100644
--- a/testdata/baselines/reference/submodule/compiler/namedImportNonExistentName.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/namedImportNonExistentName.js.diff
@@ -1,12 +1,6 @@
--- old.namedImportNonExistentName.js
+++ new.namedImportNonExistentName.js
-@@= skipped -19, +19 lines =@@
-
- //// [foo2.js]
- "use strict";
--var x;
-+let x;
- module.exports = x;
+@@= skipped -24, +24 lines =@@
//// [bar.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/namespaceDisambiguationInUnion.js.diff b/testdata/baselines/reference/submodule/compiler/namespaceDisambiguationInUnion.js.diff
deleted file mode 100644
index 85050900a2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/namespaceDisambiguationInUnion.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.namespaceDisambiguationInUnion.js
-+++ new.namespaceDisambiguationInUnion.js
-@@= skipped -16, +16 lines =@@
-
-
- //// [namespaceDisambiguationInUnion.js]
--var x = { type: "wat.nup" };
--var val1 = x;
--var y = [{ type: "a" }, { type: "b" }];
--var val2 = y;
-+const x = { type: "wat.nup" };
-+const val1 = x;
-+const y = [{ type: "a" }, { type: "b" }];
-+const val2 = y;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/namespaces2.js.diff b/testdata/baselines/reference/submodule/compiler/namespaces2.js.diff
deleted file mode 100644
index 39b0348895..0000000000
--- a/testdata/baselines/reference/submodule/compiler/namespaces2.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.namespaces2.js
-+++ new.namespaces2.js
-@@= skipped -11, +11 lines =@@
- //// [namespaces2.js]
- var A;
- (function (A) {
-- var B;
-+ let B;
- (function (B) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- B.C = C;
- })(B = A.B || (A.B = {}));
- })(A || (A = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/namespacesDeclaration2.js.diff b/testdata/baselines/reference/submodule/compiler/namespacesDeclaration2.js.diff
deleted file mode 100644
index 60018a606e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/namespacesDeclaration2.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.namespacesDeclaration2.js
-+++ new.namespacesDeclaration2.js
-@@= skipped -26, +26 lines =@@
- })(M || (M = {}));
- var foge;
- var foo;
--var x;
-+let x;
-
-
- //// [namespacesDeclaration2.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowByEquality.js.diff b/testdata/baselines/reference/submodule/compiler/narrowByEquality.js.diff
index 210a6550b7..0887b322ba 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowByEquality.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowByEquality.js.diff
@@ -7,13 +7,4 @@
-"use strict";
if (x == n) {
x;
- }
-@@= skipped -35, +34 lines =@@
- // Repro from #24991
- function test(level) {
- if (level == +level) {
-- var q2 = level; // error
-+ const q2 = level; // error
- return level;
- }
- return 0;
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowByInstanceof.js.diff b/testdata/baselines/reference/submodule/compiler/narrowByInstanceof.js.diff
index c49c4f0b34..568bd2488f 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowByInstanceof.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowByInstanceof.js.diff
@@ -5,64 +5,6 @@
//// [narrowByInstanceof.js]
-"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
function foo(x, A, B, AB) {
if (x instanceof A) {
- x; // A
-@@= skipped -42, +26 lines =@@
- }
- }
- // Repro from #52571
--var PersonMixin = /** @class */ (function (_super) {
-- __extends(PersonMixin, _super);
-- function PersonMixin() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- PersonMixin.prototype.check = function (o) {
-+class PersonMixin extends Function {
-+ check(o) {
- return typeof o === "object" && o !== null && o instanceof Person;
-- };
-- return PersonMixin;
--}(Function));
--var cls = new PersonMixin();
--var Person = /** @class */ (function () {
-- function Person() {
-- }
-- Person.prototype.work = function () { console.log("work"); };
-- Person.prototype.sayHi = function () { console.log("Hi"); };
-- return Person;
--}());
--var Car = /** @class */ (function () {
-- function Car() {
-- }
-- Car.prototype.sayHi = function () { console.log("Wof Wof"); };
-- return Car;
--}());
-+ }
-+}
-+const cls = new PersonMixin();
-+class Person {
-+ work() { console.log("work"); }
-+ sayHi() { console.log("Hi"); }
-+}
-+class Car {
-+ sayHi() { console.log("Wof Wof"); }
-+}
- function test(o) {
- if (o instanceof cls) {
- console.log("Is Person");
\ No newline at end of file
+ x; // A
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowCommaOperatorNestedWithinLHS.js.diff b/testdata/baselines/reference/submodule/compiler/narrowCommaOperatorNestedWithinLHS.js.diff
deleted file mode 100644
index 19ff6ee4f8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/narrowCommaOperatorNestedWithinLHS.js.diff
+++ /dev/null
@@ -1,25 +0,0 @@
---- old.narrowCommaOperatorNestedWithinLHS.js
-+++ new.narrowCommaOperatorNestedWithinLHS.js
-@@= skipped -18, +18 lines =@@
- }
-
- //// [narrowCommaOperatorNestedWithinLHS.js]
--var otherValue = function () { return true; };
--var value = null;
-+const otherValue = () => true;
-+const value = null;
- function isNumber(obj) {
- return true; // method implementation irrelevant
- }
- if (typeof (otherValue(), value).inner === 'number') {
-- var a = value.inner; // number
-- var b = (otherValue(), value).inner; // string | number , but should be number
-+ const a = value.inner; // number
-+ const b = (otherValue(), value).inner; // string | number , but should be number
- }
- if (isNumber((otherValue(), value).inner)) {
-- var a = value.inner; // number
-- var b = (otherValue(), value).inner; // string | number , but should be number
-+ const a = value.inner; // number
-+ const b = (otherValue(), value).inner; // string | number , but should be number
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowTypeByInstanceof.js.diff b/testdata/baselines/reference/submodule/compiler/narrowTypeByInstanceof.js.diff
deleted file mode 100644
index 6325bb71fb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/narrowTypeByInstanceof.js.diff
+++ /dev/null
@@ -1,46 +0,0 @@
---- old.narrowTypeByInstanceof.js
-+++ new.narrowTypeByInstanceof.js
-@@= skipped -27, +27 lines =@@
-
-
- //// [narrowTypeByInstanceof.js]
--var Match = /** @class */ (function () {
-- function Match() {
-- }
-- Match.prototype.range = function () {
-- return undefined;
-- };
-- return Match;
--}());
--var FileMatch = /** @class */ (function () {
-- function FileMatch() {
-- }
-- FileMatch.prototype.resource = function () {
-- return undefined;
-- };
-- return FileMatch;
--}());
--var elementA, elementB;
-+class Match {
-+ range() {
-+ return undefined;
-+ }
-+}
-+class FileMatch {
-+ resource() {
-+ return undefined;
-+ }
-+}
-+let elementA, elementB;
- if (elementA instanceof FileMatch && elementB instanceof FileMatch) {
-- var a = elementA.resource().path;
-- var b = elementB.resource().path;
-+ let a = elementA.resource().path;
-+ let b = elementB.resource().path;
- }
- else if (elementA instanceof Match && elementB instanceof Match) {
-- var a = elementA.range();
-- var b = elementB.range();
-+ let a = elementA.range();
-+ let b = elementB.range();
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowedConstInMethod.js.diff b/testdata/baselines/reference/submodule/compiler/narrowedConstInMethod.js.diff
deleted file mode 100644
index 176bbfa06a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/narrowedConstInMethod.js.diff
+++ /dev/null
@@ -1,30 +0,0 @@
---- old.narrowedConstInMethod.js
-+++ new.narrowedConstInMethod.js
-@@= skipped -23, +23 lines =@@
- //// [narrowedConstInMethod.js]
- // Fixes #10501, possibly null 'x'
- function f() {
-- var x = {};
-+ const x = {};
- if (x !== null) {
- return {
-- bar: function () { return x.length; } // ok
-+ bar() { return x.length; } // ok
- };
- }
- }
- function f2() {
-- var x = {};
-+ const x = {};
- if (x !== null) {
-- return /** @class */ (function () {
-- function class_1() {
-- }
-- class_1.prototype.bar = function () { return x.length; }; // ok
-- return class_1;
-- }());
-+ return class {
-+ bar() { return x.length; } // ok
-+ };
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowedImports.js.diff b/testdata/baselines/reference/submodule/compiler/narrowedImports.js.diff
index 877bc8d30f..3f7754832c 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowedImports.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowedImports.js.diff
@@ -7,11 +7,9 @@
-var a_1 = require("./a");
-var b0 = require("./b");
-var b1 = require("./b");
--var x;
+const a_1 = require("./a");
+const b0 = require("./b");
+const b1 = require("./b");
-+let x;
+ let x;
if (a_1.default)
- x = a_1.default;
- if (a_1.a1)
\ No newline at end of file
+ x = a_1.default;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowingAssignmentReadonlyRespectsAssertion.js.diff b/testdata/baselines/reference/submodule/compiler/narrowingAssignmentReadonlyRespectsAssertion.js.diff
index 22db996e20..ee0de41a3e 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowingAssignmentReadonlyRespectsAssertion.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowingAssignmentReadonlyRespectsAssertion.js.diff
@@ -7,20 +7,4 @@
-// https://github.com/microsoft/TypeScript/issues/41984
function subDataFunc() {
return [
- { val1: "a", val2: ["a", "b", "c"] },
-@@= skipped -13, +12 lines =@@
- return { cases: subFunc() };
- }
- function testFunc() {
-- var fixture = dataFunc(subDataFunc);
-- fixture.cases.forEach(function (_a) {
-- var val1 = _a.val1, val2 = _a.val2;
-+ const fixture = dataFunc(subDataFunc);
-+ fixture.cases.forEach(({ val1, val2 }) => {
- if (Array.isArray(val1)) {
- // This should retain val1 as being an array
-- var reversedVal1 = val1.slice().reverse();
-+ const reversedVal1 = val1.slice().reverse();
- console.log(reversedVal1);
- }
- else {
\ No newline at end of file
+ { val1: "a", val2: ["a", "b", "c"] },
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowingByDiscriminantInLoop.js.diff b/testdata/baselines/reference/submodule/compiler/narrowingByDiscriminantInLoop.js.diff
index 6d86eb2978..4b13749fc3 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowingByDiscriminantInLoop.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowingByDiscriminantInLoop.js.diff
@@ -6,19 +6,5 @@
//// [narrowingByDiscriminantInLoop.js]
-// Repro from #9977
function insertInterface(callbackType) {
-- for (var _i = 0, _a = callbackType.members; _i < _a.length; _i++) {
-- var memberType = _a[_i];
-+ for (const memberType of callbackType.members) {
- if (memberType.type === "const") {
- memberType.idlType; // string
- }
-@@= skipped -14, +12 lines =@@
- }
- }
- function insertInterface2(callbackType) {
-- for (var _i = 0, _a = callbackType.members; _i < _a.length; _i++) {
-- var memberType = _a[_i];
-+ for (const memberType of callbackType.members) {
- if (memberType.type === "operation") {
- memberType.idlType.origin; // string
- }
\ No newline at end of file
+ for (const memberType of callbackType.members) {
+ if (memberType.type === "const") {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowingByTypeofInSwitch.js.diff b/testdata/baselines/reference/submodule/compiler/narrowingByTypeofInSwitch.js.diff
index 81587d07d6..b6baa01312 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowingByTypeofInSwitch.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowingByTypeofInSwitch.js.diff
@@ -7,122 +7,4 @@
-"use strict";
function assertNever(x) {
return x;
- }
-@@= skipped -318, +317 lines =@@
- assertSymbol(x);
- return;
- case 'object':
-- var _ = x;
-+ const _ = x;
- return;
- case 'string':
- assertString(x);
-@@= skipped -12, +12 lines =@@
- assertNever(x);
- return;
- default:
-- var _y = x;
-+ const _y = x;
- return;
- }
- }
-@@= skipped -19, +19 lines =@@
- assertNever(x);
- return;
- case 'object':
-- var _ = assertNever(x);
-+ const _ = assertNever(x);
- return;
- case 'string':
- assertString(x);
-@@= skipped -12, +12 lines =@@
- assertNever(x);
- return;
- default:
-- var _y = assertNever(x);
-+ const _y = assertNever(x);
- return;
- }
- }
- /* Template literals */
- function testUnionWithTempalte(x) {
- switch (typeof x) {
-- case "number":
-+ case `number`:
- assertNumber(x);
- return;
-- case "boolean":
-+ case `boolean`:
- assertBoolean(x);
- return;
-- case "function":
-+ case `function`:
- assertFunction(x);
- return;
-- case "symbol":
-+ case `symbol`:
- assertSymbol(x);
- return;
-- case "object":
-+ case `object`:
- assertObject(x);
- return;
-- case "string":
-+ case `string`:
- assertString(x);
- return;
-- case "undefined":
-+ case `undefined`:
- assertUndefined(x);
- return;
- }
-@@= skipped -33, +33 lines =@@
- }
- function fallThroughTestWithTempalte(x) {
- switch (typeof x) {
-- case "number":
-+ case `number`:
- assertNumber(x);
-- case "string":
-+ case `string`:
- assertStringOrNumber(x);
- break;
- default:
- assertObject(x);
-- case "number":
-- case "boolean":
-+ case `number`:
-+ case `boolean`:
- assertBooleanOrObject(x);
- break;
- }
-@@= skipped -16, +16 lines =@@
- function keyofNarrowingWithTemplate(k) {
- function assertKeyofS(k1) { }
- switch (typeof k) {
-- case "number":
-+ case `number`:
- assertNumber(k);
- assertKeyofS(k);
- return;
-- case "symbol":
-+ case `symbol`:
- assertSymbol(k);
- assertKeyofS(k);
- return;
-- case "string":
-+ case `string`:
- assertString(k);
- assertKeyofS(k);
- return;
-@@= skipped -17, +17 lines =@@
- /* Both string literals and template literals */
- function multipleGenericFuseWithBoth(xy) {
- switch (typeof xy) {
-- case "function": return [xy, 1];
-+ case `function`: return [xy, 1];
- case 'object': return [xy, 'two'];
-- case "number": return [xy];
-+ case `number`: return [xy];
- }
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowingDestructuring.js.diff b/testdata/baselines/reference/submodule/compiler/narrowingDestructuring.js.diff
index 5f936c9edb..18bc4369db 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowingDestructuring.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowingDestructuring.js.diff
@@ -18,45 +18,29 @@
function func(value) {
if (value.kind === "a") {
value.a;
-- var a = value.a;
-+ const { a } = value;
- }
- else {
- value.b;
-- var b = value.b;
-+ const { b } = value;
- }
- }
+@@= skipped -24, +13 lines =@@
function func2(value) {
if (value.kind === "f") {
-- var f1 = value.f;
-- var _a = value.f, a = _a.a, spread = __rest(_a, ["a"]);
-+ const { f: f1 } = value;
+ const { f: f1 } = value;
+- const _a = value.f, { a } = _a, spread = __rest(_a, ["a"]);
+ const { f: { a, ...spread } } = value;
value.f;
}
else {
-- var _b = value.g, c = _b.c, spread = __rest(_b, ["c"]);
+- const _b = value.g, { c } = _b, spread = __rest(_b, ["c"]);
+ const { g: { c, ...spread } } = value;
value.g;
}
}
function func3(t) {
if (t.kind === "a") {
-- var kind = t.kind, r1 = __rest(t, ["kind"]);
-- var r2 = (function (_a) {
-- var kind = _a.kind, rest = __rest(_a, ["kind"]);
+- const { kind } = t, r1 = __rest(t, ["kind"]);
+- const r2 = ((_a) => {
+- var { kind } = _a, rest = __rest(_a, ["kind"]);
- return rest;
- })(t);
+ const { kind, ...r1 } = t;
+ const r2 = (({ kind, ...rest }) => rest)(t);
}
}
- function farr(x) {
-- var head = x[0], tail = x.slice(1);
-+ const [head, ...tail] = x;
- if (typeof x[0] === 'number') {
-- var head_1 = x[0], tail_1 = x.slice(1);
-+ const [head, ...tail] = x;
- }
- }
\ No newline at end of file
+ function farr(x) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowingMutualSubtypes.js.diff b/testdata/baselines/reference/submodule/compiler/narrowingMutualSubtypes.js.diff
index 0ff9f8a64c..da7c361c5c 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowingMutualSubtypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowingMutualSubtypes.js.diff
@@ -6,63 +6,6 @@
//// [narrowingMutualSubtypes.js]
-"use strict";
-// Check that `any` is a strict supertype of `unknown`
--var a1a = [ru1, ra1]; // { [x: string]: any }[]
--var a1b = [ra1, ru1]; // { [x: string]: any }[]
--var a2a = [ru2, ra2]; // { [x: string]: any }[]
--var a2b = [ra2, ru2]; // { [x: string]: any }[]
-+const a1a = [ru1, ra1]; // { [x: string]: any }[]
-+const a1b = [ra1, ru1]; // { [x: string]: any }[]
-+const a2a = [ru2, ra2]; // { [x: string]: any }[]
-+const a2b = [ra2, ru2]; // { [x: string]: any }[]
- // Check that `{}` is strict supertype of any non-empty object
--var c3 = {};
--var a3a = [c3, r3]; // {}[]
--var a3b = [r3, c3]; // {}[]
--var c4 = {};
--var a4a = [c4, r4]; // {}[]
--var a4b = [r4, c4]; // {}[]
-+const c3 = {};
-+const a3a = [c3, r3]; // {}[]
-+const a3b = [r3, c3]; // {}[]
-+const c4 = {};
-+const a4a = [c4, r4]; // {}[]
-+const a4b = [r4, c4]; // {}[]
- function gg1(x) {
- if (isObject1(x)) {
- x; // Record
-@@= skipped -66, +64 lines =@@
- function checksArrayOrObject1(obj) {
- // "accidentally" guards the first branch on the length
- if (Array.isArray(obj) && obj.length) {
-- for (var key in obj) {
-+ for (let key in obj) {
- if (obj[key] !== undefined) {
- console.log(obj[key]);
- }
-@@= skipped -8, +8 lines =@@
- }
- else {
- // 'obj' should probably not include an array type here.
-- for (var key in obj) {
-+ for (let key in obj) {
- if (obj[key] !== undefined) {
- console.log(obj[key]);
- }
-@@= skipped -10, +10 lines =@@
- function checksArrayOrObject2(obj) {
- if (Array.isArray(obj)) {
- // obj should only be an array type here
-- for (var key in obj) {
-+ for (let key in obj) {
- if (obj[key] !== undefined) {
- console.log(obj[key]);
- }
-@@= skipped -8, +8 lines =@@
- }
- else {
- // 'obj' should probably not include an array type here.
-- for (var key in obj) {
-+ for (let key in obj) {
- if (obj[key] !== undefined) {
- console.log(obj[key]);
- }
\ No newline at end of file
+ const a1a = [ru1, ra1]; // { [x: string]: any }[]
+ const a1b = [ra1, ru1]; // { [x: string]: any }[]
+ const a2a = [ru2, ra2]; // { [x: string]: any }[]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowingOfDottedNames.js.diff b/testdata/baselines/reference/submodule/compiler/narrowingOfDottedNames.js.diff
index 67afc37922..caee403a67 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowingOfDottedNames.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowingOfDottedNames.js.diff
@@ -6,120 +6,53 @@
//// [narrowingOfDottedNames.js]
-"use strict";
// Repro from #8383
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
-+class A {
+ class A {
+ prop;
-+}
-+class B {
+ }
+ class B {
+ prop;
-+}
+ }
function isA(x) {
return x instanceof A;
- }
-@@= skipped -54, +34 lines =@@
- }
+@@= skipped -34, +35 lines =@@
}
// Repro from #28100
--var Foo1 = /** @class */ (function () {
-- function Foo1() {
-+class Foo1 {
+ class Foo1 {
+ x; // Error
-+ constructor() {
+ constructor() {
if (this instanceof Boolean) {
}
}
-- return Foo1;
--}());
--var Foo2 = /** @class */ (function () {
-- function Foo2() {
-+}
-+class Foo2 {
+ }
+ class Foo2 {
+ x; // Error
-+ constructor() {
+ constructor() {
}
-- return Foo2;
--}());
-+}
+ }
// Repro from #29513
--var AInfo = /** @class */ (function () {
-- function AInfo() {
+ class AInfo {
+- constructor() {
- this.a_count = 1;
- }
-- return AInfo;
--}());
--var BInfo = /** @class */ (function () {
-- function BInfo() {
++ a_count = 1;
+ }
+ class BInfo {
+- constructor() {
- this.b_count = 1;
- }
-- return BInfo;
--}());
--var Base = /** @class */ (function () {
-- function Base() {
++ b_count = 1;
+ }
+ class Base {
+- constructor() {
- this.id = 0;
- }
-- return Base;
--}());
--var A2 = /** @class */ (function (_super) {
-- __extends(A2, _super);
-- function A2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return A2;
--}(Base));
--var B2 = /** @class */ (function (_super) {
-- __extends(B2, _super);
-- function B2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B2;
--}(Base));
--var target = null;
-+class AInfo {
-+ a_count = 1;
-+}
-+class BInfo {
-+ b_count = 1;
-+}
-+class Base {
+ id = 0;
-+}
-+class A2 extends Base {
+ }
+ class A2 extends Base {
+ info;
-+}
-+class B2 extends Base {
+ }
+ class B2 extends Base {
+ info;
-+}
-+let target = null;
- while (target) {
- if (target instanceof A2) {
- target.info.a_count = 3;
- }
- else if (target instanceof B2) {
-- var j = target.info;
-+ const j = target.info;
- }
- }
\ No newline at end of file
+ }
+ let target = null;
+ while (target) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowingOfQualifiedNames.js.diff b/testdata/baselines/reference/submodule/compiler/narrowingOfQualifiedNames.js.diff
index 2305231893..5ab38260dd 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowingOfQualifiedNames.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowingOfQualifiedNames.js.diff
@@ -8,45 +8,4 @@
-// Repro from #43411
function init(properties) {
if (properties.foo) {
- properties.foo; // type is { aaa: string; bbb: string; }
-- for (var _i = 0, _a = [1, 2, 3]; _i < _a.length; _i++) {
-- var x = _a[_i];
-+ for (const x of [1, 2, 3]) {
- properties.foo; // type is { aaa: string; bbb: string; }
- }
- }
- }
- function init2(foo) {
- if (foo.a) {
-- for (var _i = 0, _a = [1]; _i < _a.length; _i++) {
-- var _ = _a[_i];
-+ for (const _ of [1]) {
- if (foo.a.b) {
-- for (var _b = 0, _c = [1]; _b < _c.length; _b++) {
-- var _1 = _c[_b];
-+ for (const _ of [1]) {
- if (foo.a.b.c) {
-- for (var _d = 0, _e = [1]; _d < _e.length; _d++) {
-- var _2 = _e[_d];
-+ for (const _ of [1]) {
- }
- }
- }
-@@= skipped -30, +24 lines =@@
- }
- function handleDogBroken(pet) {
- if (pet.type === 'dog') {
-- var _okay1 = pet.saysWoof;
-- var _okay2 = pet.saysWoof;
-+ const _okay1 = pet.saysWoof;
-+ const _okay2 = pet.saysWoof;
- }
- }
- function handleDogWorking(pet) {
- if (pet.type === 'dog') {
-- var _okay1 = pet.saysWoof;
-- var _okay2 = pet.saysWoof;
-+ const _okay1 = pet.saysWoof;
-+ const _okay2 = pet.saysWoof;
- }
- }
\ No newline at end of file
+ properties.foo; // type is { aaa: string; bbb: string; }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowingOrderIndependent.js.diff b/testdata/baselines/reference/submodule/compiler/narrowingOrderIndependent.js.diff
index 14a95456c7..984f77c3ce 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowingOrderIndependent.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowingOrderIndependent.js.diff
@@ -6,28 +6,14 @@
//// [narrowingOrderIndependent.js]
-"use strict";
// Repro from #36709
--var A = /** @class */ (function () {
-- function A(stringOrUndefined) {
-+class A {
+ class A {
+ stringOrUndefined;
-+ constructor(stringOrUndefined) {
+ constructor(stringOrUndefined) {
this.stringOrUndefined = stringOrUndefined;
}
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B(str) {
-+}
-+class B {
+ }
+ class B {
+ str;
-+ constructor(str) {
+ constructor(str) {
this.str = str;
- }
-- return B;
--}());
--var a = new A("123");
-+}
-+const a = new A("123");
- if (a instanceof A && a.stringOrUndefined) {
- new B(a.stringOrUndefined);
- }
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowingRestGenericCall.js.diff b/testdata/baselines/reference/submodule/compiler/narrowingRestGenericCall.js.diff
index 9d790c6e98..b1f0987e63 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowingRestGenericCall.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowingRestGenericCall.js.diff
@@ -18,8 +18,8 @@
function call(obj, cb) {
cb(obj);
}
--call(obj, function (_a) {
-- var foo = _a.foo, rest = __rest(_a, ["foo"]);
+-call(obj, (_a) => {
+- var { foo } = _a, rest = __rest(_a, ["foo"]);
+call(obj, ({ foo, ...rest }) => {
console.log(rest.bar);
});
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowingTypeofUndefined2.js.diff b/testdata/baselines/reference/submodule/compiler/narrowingTypeofUndefined2.js.diff
index d8206c435e..b8bf387059 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowingTypeofUndefined2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowingTypeofUndefined2.js.diff
@@ -5,25 +5,6 @@
//// [narrowingTypeofUndefined2.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)) {
-- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
-- ar[i] = from[i];
-- }
-- }
-- return to.concat(ar || Array.prototype.slice.call(from));
--};
function fn(arg) {
if (typeof arg !== "undefined") {
- takeArray(arg);
-- var n = arg;
-- for (var _i = 0, arg_1 = arg; _i < arg_1.length; _i++) {
-- var p = arg_1[_i];
-- }
-- var m = __spreadArray([], arg, true);
-+ const n = arg;
-+ for (const p of arg) { }
-+ const m = [...arg];
- }
- }
\ No newline at end of file
+ takeArray(arg);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowingUnionToNeverAssigment.js.diff b/testdata/baselines/reference/submodule/compiler/narrowingUnionToNeverAssigment.js.diff
index 64146ce3f6..d107db0a80 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowingUnionToNeverAssigment.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowingUnionToNeverAssigment.js.diff
@@ -7,9 +7,4 @@
-"use strict";
function fx1(x) {
if (x === "a" || x === "b") {
- }
- else {
-- var y = x;
-+ const y = x;
- }
- }
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/narrowingUnionToUnion.js.diff b/testdata/baselines/reference/submodule/compiler/narrowingUnionToUnion.js.diff
index ffac21159f..14399f0c9b 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowingUnionToUnion.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowingUnionToUnion.js.diff
@@ -8,81 +8,7 @@
function fx1(x) {
if (isFalsy(x)) {
x; // "" | 0 | undefined
-@@= skipped -42, +41 lines =@@
- }
- // Repro from #37807
- function f1(x) { }
--var v1;
-+let v1;
- f1(v1);
- v1; // number | undefined
- function f2(x) { }
--var v2;
-+let v2;
- f2(v2);
- v2; // 6 | undefined
--var TEST_CASES = [
-- function (value) {
-+const TEST_CASES = [
-+ (value) => {
- if (isEmptyString(value)) {
- value; // ""
- }
-@@= skipped -22, +22 lines =@@
- value; // string
- }
- },
-- function (value) {
-+ (value) => {
- if (isMaybeEmptyString(value)) {
- value; // "" | undefined
- }
-@@= skipped -8, +8 lines =@@
- value; // string
- }
- },
-- function (value) {
-+ (value) => {
- if (isZero(value)) {
- value; // 0
- }
-@@= skipped -14, +14 lines =@@
- value; // number
- }
- },
-- function (value) {
-+ (value) => {
- if (isMaybeZero(value)) {
- value; // 0 | undefined
- }
-@@= skipped -8, +8 lines =@@
- value; // number
- }
- },
-- function (value) {
-+ (value) => {
- if (isEmptyArray(value)) {
- value; // []
- }
-@@= skipped -14, +14 lines =@@
- value; // string[]
- }
- },
-- function (value) {
-+ (value) => {
- if (isMaybeEmptyArray(value)) {
- value; // [] | undefined
- }
-@@= skipped -12, +12 lines =@@
- function isEmpty(value) {
- return value === '' || value === null || value === undefined;
- }
--var test;
-+let test;
- if (isEmpty(test)) {
- test; // EmptyString
- }
-@@= skipped -95, +95 lines =@@
+@@= skipped -215, +214 lines =@@
}
declare function isXSorY(obj: unknown): obj is XS | Y;
declare function fx5(obj: X | YS, c: typeof XS | typeof Y): void;
diff --git a/testdata/baselines/reference/submodule/compiler/narrowingUnionWithBang.js.diff b/testdata/baselines/reference/submodule/compiler/narrowingUnionWithBang.js.diff
index 95cba8b7eb..06cc1ce7a6 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowingUnionWithBang.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowingUnionWithBang.js.diff
@@ -6,25 +6,13 @@
"use strict";
-var _a;
Object.defineProperty(exports, "__esModule", { value: true });
--var working = null;
-+const working = null;
+ const working = null;
if (working.thing.name !== "Correct") {
- console.log(working.thing.message);
- }
- else {
- console.log(working.thing.id);
- }
--var borked = null;
-+const borked = null;
- if (borked.thing.name !== "Correct") {
- console.log(borked.thing.message);
- }
- else {
+@@= skipped -17, +16 lines =@@
console.log(borked.thing.id);
}
--var fixed = null;
+ const fixed = null;
-if (((_a = fixed.thing) === null || _a === void 0 ? void 0 : _a.name) !== "Correct") {
-+const fixed = null;
+if (fixed.thing?.name !== "Correct") {
console.log(fixed.thing.message);
}
diff --git a/testdata/baselines/reference/submodule/compiler/narrowingWithNonNullExpression.js.diff b/testdata/baselines/reference/submodule/compiler/narrowingWithNonNullExpression.js.diff
index beeb92e5d5..d26225012f 100644
--- a/testdata/baselines/reference/submodule/compiler/narrowingWithNonNullExpression.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/narrowingWithNonNullExpression.js.diff
@@ -1,11 +1,8 @@
--- old.narrowingWithNonNullExpression.js
+++ new.narrowingWithNonNullExpression.js
-@@= skipped -6, +6 lines =@@
-
-
+@@= skipped -8, +8 lines =@@
//// [narrowingWithNonNullExpression.js]
--var m = ''.match('');
-+const m = ''.match('');
+ const m = ''.match('');
m && m[0];
-(m === null || m === void 0 ? void 0 : m[0]) && m[0];
+m?.[0] && m[0];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nearbyIdenticalGenericLambdasAssignable.js.diff b/testdata/baselines/reference/submodule/compiler/nearbyIdenticalGenericLambdasAssignable.js.diff
deleted file mode 100644
index b2915ddf1d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nearbyIdenticalGenericLambdasAssignable.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.nearbyIdenticalGenericLambdasAssignable.js
-+++ new.nearbyIdenticalGenericLambdasAssignable.js
-@@= skipped -30, +30 lines =@@
- // ~~ previously an error
-
- //// [nearbyIdenticalGenericLambdasAssignable.js]
--var fB = function () {
-+const fB = () => {
- return { v: '' };
- };
--var fC = function () {
-+const fC = () => {
- return {};
- };
- // These should all be OK, every type is identical
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings1.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings1.js.diff
deleted file mode 100644
index ca42b8e24b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings1.js.diff
+++ /dev/null
@@ -1,58 +0,0 @@
---- old.nestedBlockScopedBindings1.js
-+++ new.nestedBlockScopedBindings1.js
-@@= skipped -54, +54 lines =@@
- //// [nestedBlockScopedBindings1.js]
- function a0() {
- {
-- var x = 1;
-+ let x = 1;
- }
- {
-- var x = 1;
-+ let x = 1;
- }
- }
- function a1() {
- {
-- var x = void 0;
-+ let x;
- }
- {
-- var x = 1;
-+ let x = 1;
- }
- }
- function a2() {
- {
-- var x = 1;
-+ let x = 1;
- }
- {
-- var x = void 0;
-+ let x;
- }
- }
- function a3() {
- {
-- var x = 1;
-+ let x = 1;
- }
- switch (1) {
- case 1:
-- var x = void 0;
-+ let x;
- break;
- }
- }
- function a4() {
- {
-- var x = void 0;
-+ let x;
- }
- switch (1) {
- case 1:
-- var x = 1;
-+ let x = 1;
- break;
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings10.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings10.js.diff
deleted file mode 100644
index daa1ab2e72..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings10.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.nestedBlockScopedBindings10.js
-+++ new.nestedBlockScopedBindings10.js
-@@= skipped -14, +14 lines =@@
-
- //// [nestedBlockScopedBindings10.js]
- {
-- var x = void 0;
-+ let x;
- x = 1;
- }
- switch (1) {
- case 1:
-- var y = void 0;
-+ let y;
- y = 1;
- break;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings11.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings11.js.diff
deleted file mode 100644
index 55bcf1d33f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings11.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.nestedBlockScopedBindings11.js
-+++ new.nestedBlockScopedBindings11.js
-@@= skipped -17, +17 lines =@@
- //// [nestedBlockScopedBindings11.js]
- var x;
- {
-- var x_1;
-- (function () { return x_1; });
-+ let x;
-+ () => x;
- }
- var y;
- switch (1) {
- case 1:
-- var y_1;
-- (function () { return y_1; });
-+ let y;
-+ () => y;
- break;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings12.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings12.js.diff
deleted file mode 100644
index da4567ae2d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings12.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.nestedBlockScopedBindings12.js
-+++ new.nestedBlockScopedBindings12.js
-@@= skipped -17, +17 lines =@@
- //// [nestedBlockScopedBindings12.js]
- var x;
- {
-- var x_1;
-- x_1 = 1;
-+ let x;
-+ x = 1;
- }
- var y;
- switch (1) {
- case 1:
-- var y_1;
-- y_1 = 1;
-+ let y;
-+ y = 1;
- break;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings13.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings13.js.diff
deleted file mode 100644
index e26640280e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings13.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.nestedBlockScopedBindings13.js
-+++ new.nestedBlockScopedBindings13.js
-@@= skipped -11, +11 lines =@@
- }
-
- //// [nestedBlockScopedBindings13.js]
--var _loop_1 = function () {
-- var x;
-- (function () { return x; });
--};
- for (; false;) {
-- _loop_1();
-+ let x;
-+ () => x;
- }
- for (; false;) {
-- var y = void 0;
-+ let y;
- y = 1;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings14.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings14.js.diff
deleted file mode 100644
index bea3428bb9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings14.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.nestedBlockScopedBindings14.js
-+++ new.nestedBlockScopedBindings14.js
-@@= skipped -14, +14 lines =@@
-
- //// [nestedBlockScopedBindings14.js]
- var x;
--var _loop_1 = function () {
-- var x_1;
-- (function () { return x_1; });
--};
- for (; false;) {
-- _loop_1();
-+ let x;
-+ () => x;
- }
- var y;
- for (; false;) {
-- var y_1 = void 0;
-- y_1 = 1;
-+ let y;
-+ y = 1;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings15.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings15.js.diff
deleted file mode 100644
index 1132ecfb94..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings15.js.diff
+++ /dev/null
@@ -1,47 +0,0 @@
---- old.nestedBlockScopedBindings15.js
-+++ new.nestedBlockScopedBindings15.js
-@@= skipped -33, +33 lines =@@
- }
-
- //// [nestedBlockScopedBindings15.js]
--var _loop_1 = function () {
-+for (; false;) {
- {
-- var x_1;
-- (function () { return x_1; });
-+ let x;
-+ () => x;
- }
--};
--for (; false;) {
-- _loop_1();
- }
- for (; false;) {
- {
-- var y = void 0;
-+ let y;
- y = 1;
- }
- }
--var _loop_2 = function () {
-+for (; false;) {
- switch (1) {
- case 1:
-- var z0_1;
-- (function () { return z0_1; });
-+ let z0;
-+ () => z0;
- break;
- }
--};
--for (; false;) {
-- _loop_2();
- }
- for (; false;) {
- switch (1) {
- case 1:
-- var z = void 0;
-+ let z;
- z = 1;
- break;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings16.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings16.js.diff
deleted file mode 100644
index 7e74bb46d3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings16.js.diff
+++ /dev/null
@@ -1,53 +0,0 @@
---- old.nestedBlockScopedBindings16.js
-+++ new.nestedBlockScopedBindings16.js
-@@= skipped -38, +38 lines =@@
-
- //// [nestedBlockScopedBindings16.js]
- var x;
--var _loop_1 = function () {
-+for (; false;) {
- {
-- var x_1;
-- (function () { return x_1; });
-+ let x;
-+ () => x;
- }
--};
--for (; false;) {
-- _loop_1();
- }
- var y;
- for (; false;) {
- {
-- var y_1 = void 0;
-- y_1 = 1;
-+ let y;
-+ y = 1;
- }
- }
- var z0;
--var _loop_2 = function () {
-+for (; false;) {
- switch (1) {
- case 1:
-- var z0_1;
-- (function () { return z0_1; });
-+ let z0;
-+ () => z0;
- break;
- }
--};
--for (; false;) {
-- _loop_2();
- }
- var z;
- for (; false;) {
- switch (1) {
- case 1:
-- var z_1 = void 0;
-- z_1 = 1;
-+ let z;
-+ z = 1;
- break;
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings2.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings2.js.diff
deleted file mode 100644
index 07ea63dd22..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings2.js.diff
+++ /dev/null
@@ -1,150 +0,0 @@
---- old.nestedBlockScopedBindings2.js
-+++ new.nestedBlockScopedBindings2.js
-@@= skipped -131, +131 lines =@@
- //// [nestedBlockScopedBindings2.js]
- function a0() {
- {
-- var x_1 = 1;
-- (function () { return x_1; });
-+ let x = 1;
-+ () => x;
- }
- {
-- var x = 1;
-+ let x = 1;
- }
- }
- function a1() {
- {
-- var x = void 0;
-+ let x;
- }
- {
-- var x_2 = 1;
-- (function () { return x_2; });
-+ let x = 1;
-+ () => x;
- }
- }
- function a2() {
- {
-- var x_3 = 1;
-- (function () { return x_3; });
-+ let x = 1;
-+ () => x;
- }
- {
-- var x_4;
-- (function () { return x_4; });
-+ let x;
-+ () => x;
- }
- }
- function a3() {
- {
-- var x_5 = 1;
-- (function () { return x_5; });
-+ let x = 1;
-+ () => x;
- }
- switch (1) {
- case 1:
-- var x_6;
-- (function () { return x_6; });
-+ let x;
-+ () => x;
- break;
- }
- }
- function a4() {
- {
-- var x = void 0;
-+ let x;
- }
- switch (1) {
- case 1:
-- var x_7;
-- (function () { return x_7; });
-+ let x;
-+ () => x;
- break;
- }
- }
- function a5() {
- {
-- var x_8;
-- (function () { return x_8; });
-+ let x;
-+ () => x;
- }
- switch (1) {
- case 1:
-- var x = void 0;
-+ let x;
- break;
- }
- }
- function a6() {
- switch (1) {
- case 1:
-- var x = void 0;
-+ let x;
- break;
- }
- switch (1) {
- case 1:
-- var x = void 0;
-+ let x;
- break;
- }
- }
- function a7() {
- switch (1) {
- case 1:
-- var x_9;
-- (function () { return x_9; });
-+ let x;
-+ () => x;
- break;
- }
- switch (1) {
- case 1:
-- var x = void 0;
-+ let x;
- break;
- }
- }
- function a8() {
- switch (1) {
- case 1:
-- var x = void 0;
-+ let x;
- break;
- }
- switch (1) {
- case 1:
-- var x_10;
-- (function () { return x_10; });
-+ let x;
-+ () => x;
- break;
- }
- }
- function a9() {
- switch (1) {
- case 1:
-- var x_11;
-- (function () { return x_11; });
-+ let x;
-+ () => x;
- break;
- }
- switch (1) {
- case 1:
-- var x_12;
-- (function () { return x_12; });
-+ let x;
-+ () => x;
- break;
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings3.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings3.js.diff
deleted file mode 100644
index 60f401ec54..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings3.js.diff
+++ /dev/null
@@ -1,108 +0,0 @@
---- old.nestedBlockScopedBindings3.js
-+++ new.nestedBlockScopedBindings3.js
-@@= skipped -72, +72 lines =@@
- //// [nestedBlockScopedBindings3.js]
- function a0() {
- {
-- var _loop_1 = function (x) {
-- (function () { return x; });
-- };
-- for (var x = 0; x < 1;) {
-- _loop_1(x);
-+ for (let x = 0; x < 1;) {
-+ () => x;
- }
- }
- {
-- var _loop_2 = function (x) {
-- (function () { return x; });
-- };
-- for (var x = void 0;;) {
-- _loop_2(x);
-+ for (let x;;) {
-+ () => x;
- }
- }
- }
- function a1() {
-- var _loop_3 = function (x) {
-- (function () { return x; });
-- };
-- for (var x = void 0; x < 1;) {
-- _loop_3(x);
-+ for (let x; x < 1;) {
-+ () => x;
- }
-- var _loop_4 = function (x) {
-- (function () { return x; });
-- };
-- for (var x = void 0;;) {
-- _loop_4(x);
-+ for (let x;;) {
-+ () => x;
- }
- }
- function a2() {
-- for (var x = void 0; x < 1;) {
-+ for (let x; x < 1;) {
- x = x + 1;
- }
-- for (var x = void 0;;) {
-+ for (let x;;) {
- x = x + 2;
- }
- }
- function a3() {
-- for (var x = void 0; x < 1;) {
-+ for (let x; x < 1;) {
- x = x + 1;
- }
- switch (1) {
- case 1:
-- var x = void 0;
-+ let x;
- break;
- }
- }
- function a4() {
-- var _loop_5 = function (x) {
-+ for (let x; x < 1;) {
- x = x + 1;
-- (function () { return x; });
-- out_x_1 = x;
-- };
-- var out_x_1;
-- for (var x = void 0; x < 1;) {
-- _loop_5(x);
-- x = out_x_1;
-+ () => x;
- }
- switch (1) {
- case 1:
-- var x = void 0;
-+ let x;
- break;
- }
- }
- function a5() {
-- var _loop_6 = function (x) {
-+ for (let x; x < 1;) {
- x = x + 1;
-- (function () { return x; });
-- out_x_2 = x;
-- };
-- var out_x_2;
-- for (var x = void 0; x < 1;) {
-- _loop_6(x);
-- x = out_x_2;
-+ () => x;
- }
- switch (1) {
- case 1:
-- var x_1;
-- (function () { return x_1; });
-+ let x;
-+ () => x;
- break;
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings4.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings4.js.diff
deleted file mode 100644
index 522fac4313..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings4.js.diff
+++ /dev/null
@@ -1,77 +0,0 @@
---- old.nestedBlockScopedBindings4.js
-+++ new.nestedBlockScopedBindings4.js
-@@= skipped -43, +43 lines =@@
-
- //// [nestedBlockScopedBindings4.js]
- function a0() {
-- for (var x = void 0; x < 1;) {
-+ for (let x; x < 1;) {
- x = x + 1;
- }
-- for (var x = void 0;;) {
-+ for (let x;;) {
- x = x + 2;
- }
- }
- function a1() {
-- var _loop_1 = function (x) {
-+ for (let x; x < 1;) {
- x = x + 1;
-- (function () { return x; });
-- out_x_1 = x;
-- };
-- var out_x_1;
-- for (var x = void 0; x < 1;) {
-- _loop_1(x);
-- x = out_x_1;
-+ () => x;
- }
-- for (var x = void 0;;) {
-+ for (let x;;) {
- x = x + 2;
- }
- }
- function a2() {
-- for (var x = void 0; x < 1;) {
-+ for (let x; x < 1;) {
- x = x + 1;
- }
-- var _loop_2 = function (x) {
-+ for (let x;;) {
- x = x + 2;
-- (function () { return x; });
-- out_x_2 = x;
-- };
-- var out_x_2;
-- for (var x = void 0;;) {
-- _loop_2(x);
-- x = out_x_2;
-+ () => x;
- }
- }
- function a3() {
-- var _loop_3 = function (x) {
-+ for (let x; x < 1;) {
- x = x + 1;
-- (function () { return x; });
-- out_x_3 = x;
-- };
-- var out_x_3;
-- for (var x = void 0; x < 1;) {
-- _loop_3(x);
-- x = out_x_3;
-+ () => x;
- }
-- var _loop_4 = function (x) {
-+ for (let x;;) {
- x = x + 2;
-- (function () { return x; });
-- out_x_4 = x;
-- };
-- var out_x_4;
-- for (var x = void 0;;) {
-- _loop_4(x);
-- x = out_x_4;
-+ () => x;
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings5.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings5.js.diff
deleted file mode 100644
index 0bde827ba9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings5.js.diff
+++ /dev/null
@@ -1,123 +0,0 @@
---- old.nestedBlockScopedBindings5.js
-+++ new.nestedBlockScopedBindings5.js
-@@= skipped -83, +83 lines =@@
-
- //// [nestedBlockScopedBindings5.js]
- function a0() {
-- for (var x in []) {
-+ for (let x in []) {
- x = x + 1;
- }
-- for (var x = void 0;;) {
-+ for (let x;;) {
- x = x + 2;
- }
- }
- function a1() {
-- var _loop_1 = function (x) {
-+ for (let x in []) {
- x = x + 1;
-- (function () { return x; });
-- };
-- for (var x in []) {
-- _loop_1(x);
-+ () => x;
- }
-- for (var x = void 0;;) {
-+ for (let x;;) {
- x = x + 2;
- }
- }
- function a2() {
-- for (var x in []) {
-+ for (let x in []) {
- x = x + 1;
- }
-- var _loop_2 = function (x) {
-+ for (let x;;) {
- x = x + 2;
-- (function () { return x; });
-- out_x_1 = x;
-- };
-- var out_x_1;
-- for (var x = void 0;;) {
-- _loop_2(x);
-- x = out_x_1;
-+ () => x;
- }
- }
- function a3() {
-- var _loop_3 = function (x) {
-+ for (let x in []) {
- x = x + 1;
-- (function () { return x; });
-- };
-- for (var x in []) {
-- _loop_3(x);
-+ () => x;
- }
-- var _loop_4 = function (x) {
-+ for (let x; false;) {
- x = x + 2;
-- (function () { return x; });
-- out_x_2 = x;
-- };
-- var out_x_2;
-- for (var x = void 0; false;) {
-- _loop_4(x);
-- x = out_x_2;
-+ () => x;
- }
- switch (1) {
- case 1:
-- var x_1;
-- (function () { return x_1; });
-+ let x;
-+ () => x;
- break;
- }
- }
- function a4() {
-- for (var x in []) {
-+ for (let x in []) {
- x = x + 1;
- }
-- for (var x = void 0; false;) {
-+ for (let x; false;) {
- x = x + 2;
- }
- switch (1) {
- case 1:
-- var x_2;
-- (function () { return x_2; });
-+ let x;
-+ () => x;
- break;
- }
- }
- function a5() {
-- var y;
-- for (var x in []) {
-+ let y;
-+ for (let x in []) {
- x = x + 1;
- }
-- var _loop_5 = function (x) {
-+ for (let x; false;) {
- x = x + 2;
-- (function () { return x; });
-- out_x_3 = x;
-- };
-- var out_x_3;
-- for (var x = void 0; false;) {
-- _loop_5(x);
-- x = out_x_3;
-+ () => x;
- }
- switch (1) {
- case 1:
-- var x = void 0;
-+ let x;
- break;
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings6.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings6.js.diff
deleted file mode 100644
index cb6ab741c5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings6.js.diff
+++ /dev/null
@@ -1,141 +0,0 @@
---- old.nestedBlockScopedBindings6.js
-+++ new.nestedBlockScopedBindings6.js
-@@= skipped -91, +91 lines =@@
-
- //// [nestedBlockScopedBindings6.js]
- function a0() {
-- for (var _i = 0, _a = [1]; _i < _a.length; _i++) {
-- var x = _a[_i];
-+ for (let x of [1]) {
- x = x + 1;
- }
-- for (var x = void 0;;) {
-+ for (let x;;) {
- x = x + 2;
- }
- }
- function a1() {
-- var _loop_1 = function (x) {
-+ for (let x of [1]) {
- x = x + 1;
-- (function () { return x; });
-- };
-- for (var _i = 0, _a = [1]; _i < _a.length; _i++) {
-- var x = _a[_i];
-- _loop_1(x);
-+ () => x;
- }
-- for (var x = void 0;;) {
-+ for (let x;;) {
- x = x + 2;
- }
- }
- function a2() {
-- for (var _i = 0, _a = [1]; _i < _a.length; _i++) {
-- var x = _a[_i];
-+ for (let x of [1]) {
- x = x + 1;
- }
-- var _loop_2 = function (x) {
-+ for (let x;;) {
- x = x + 2;
-- (function () { return x; });
-- out_x_1 = x;
-- };
-- var out_x_1;
-- for (var x = void 0;;) {
-- _loop_2(x);
-- x = out_x_1;
-+ () => x;
- }
- }
- function a3() {
-- var _loop_3 = function (x) {
-+ for (let x of [1]) {
- x = x + 1;
-- (function () { return x; });
-- };
-- for (var _i = 0, _a = [1]; _i < _a.length; _i++) {
-- var x = _a[_i];
-- _loop_3(x);
-+ () => x;
- }
-- var _loop_4 = function (x) {
-+ for (let x;;) {
- x = x + 2;
-- (function () { return x; });
-- out_x_2 = x;
-- };
-- var out_x_2;
-- for (var x = void 0;;) {
-- _loop_4(x);
-- x = out_x_2;
-+ () => x;
- }
- }
- function a4() {
-- var _loop_5 = function (x) {
-+ for (let x of [1]) {
- x = x + 1;
-- (function () { return x; });
-- };
-- for (var _i = 0, _a = [1]; _i < _a.length; _i++) {
-- var x = _a[_i];
-- _loop_5(x);
-+ () => x;
- }
- switch (1) {
- case 1:
-- var x = void 0;
-+ let x;
- break;
- }
- }
- function a5() {
-- for (var _i = 0, _a = [1]; _i < _a.length; _i++) {
-- var x = _a[_i];
-+ for (let x of [1]) {
- x = x + 1;
- }
- switch (1) {
- case 1:
-- var x_1;
-- (function () { return x_1; });
-+ let x;
-+ () => x;
- break;
- }
- }
- function a6() {
-- for (var _i = 0, _a = [1]; _i < _a.length; _i++) {
-- var x = _a[_i];
-+ for (let x of [1]) {
- x = x + 1;
- }
- switch (1) {
- case 1:
-- var x = void 0;
-+ let x;
- break;
- }
- }
- function a7() {
-- var _loop_6 = function (x) {
-+ for (let x of [1]) {
- x = x + 1;
-- (function () { return x; });
-- };
-- for (var _i = 0, _a = [1]; _i < _a.length; _i++) {
-- var x = _a[_i];
-- _loop_6(x);
-+ () => x;
- }
- switch (1) {
- case 1:
-- var x_2;
-- (function () { return x_2; });
-+ let x;
-+ () => x;
- break;
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings7.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings7.js.diff
deleted file mode 100644
index e0692412df..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings7.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.nestedBlockScopedBindings7.js
-+++ new.nestedBlockScopedBindings7.js
-@@= skipped -9, +9 lines =@@
- }
-
- //// [nestedBlockScopedBindings7.js]
--var _loop_1 = function (x) {
-- (function () { return x; });
--};
--for (var x = void 0; false;) {
-- _loop_1(x);
-+for (let x; false;) {
-+ () => x;
- }
--for (var y = void 0; false;) {
-+for (let y; false;) {
- y = 1;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings8.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings8.js.diff
deleted file mode 100644
index 5b893ea633..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings8.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.nestedBlockScopedBindings8.js
-+++ new.nestedBlockScopedBindings8.js
-@@= skipped -12, +12 lines =@@
-
- //// [nestedBlockScopedBindings8.js]
- var x;
--var _loop_1 = function (x_1) {
-- (function () { return x_1; });
--};
--for (var x_1; false;) {
-- _loop_1(x_1);
-+for (let x; false;) {
-+ () => x;
- }
- var y;
--for (var y_1; false;) {
-- y_1 = 1;
-+for (let y; false;) {
-+ y = 1;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings9.js.diff b/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings9.js.diff
deleted file mode 100644
index 3a797166fc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedBlockScopedBindings9.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.nestedBlockScopedBindings9.js
-+++ new.nestedBlockScopedBindings9.js
-@@= skipped -14, +14 lines =@@
-
- //// [nestedBlockScopedBindings9.js]
- {
-- var x_1;
-- (function () { return x_1; });
-+ let x;
-+ () => x;
- }
- switch (1) {
- case 1:
-- var y_1;
-- (function () { return y_1; });
-+ let y;
-+ () => y;
- break;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedExcessPropertyChecking.js.diff b/testdata/baselines/reference/submodule/compiler/nestedExcessPropertyChecking.js.diff
index 36358df695..58dd8ba9fb 100644
--- a/testdata/baselines/reference/submodule/compiler/nestedExcessPropertyChecking.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nestedExcessPropertyChecking.js.diff
@@ -5,37 +5,6 @@
//// [nestedExcessPropertyChecking.js]
-"use strict";
--var ab1 = {}; // Error
--var ab2 = {}; // Error
-+const ab1 = {}; // Error
-+const ab2 = {}; // Error
- var E;
- (function (E) {
- E["A"] = "A";
- })(E || (E = {}));
--var x = E.A; // Error
--var y = "A"; // Error
--var foo1 = { variables: { overrides: false } }; // Error
--var foo2 = {
-+let x = E.A; // Error
-+let y = "A"; // Error
-+const foo1 = { variables: { overrides: false } }; // Error
-+const foo2 = {
- variables: {
- overrides: false // Error
- }
- };
--var response = {
-+const response = {
- primary: {
- colors: {
- light: 1,
-@@= skipped -23, +22 lines =@@
- },
- },
- };
--var TEST_VALUE = {
-+const TEST_VALUE = {
- items: [
- { id: 1, description: null },
- { id: 2, description: 'wigglytubble' },
\ No newline at end of file
+ const ab1 = {}; // Error
+ const ab2 = {}; // Error
+ var E;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedFreshLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/nestedFreshLiteral.js.diff
deleted file mode 100644
index 591373fa3a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedFreshLiteral.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.nestedFreshLiteral.js
-+++ new.nestedFreshLiteral.js
-@@= skipped -15, +15 lines =@@
- }
-
- //// [nestedFreshLiteral.js]
--var stylen = {
-+let stylen = {
- nested: { prop: { colour: 'red' } }
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedGenericSpreadInference.js.diff b/testdata/baselines/reference/submodule/compiler/nestedGenericSpreadInference.js.diff
index 0f677dc4aa..2e4ce5e1c2 100644
--- a/testdata/baselines/reference/submodule/compiler/nestedGenericSpreadInference.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nestedGenericSpreadInference.js.diff
@@ -6,5 +6,4 @@
//// [nestedGenericSpreadInference.js]
-"use strict";
// This should be of type `number` - ideally, it also would not error.
--var leak = call(wrap(function (x) { return x; }), 1);
-+const leak = call(wrap((x) => x), 1);
\ No newline at end of file
+ const leak = call(wrap((x) => x), 1);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedGlobalNamespaceInClass.js.diff b/testdata/baselines/reference/submodule/compiler/nestedGlobalNamespaceInClass.js.diff
index 2b61c212ad..2925305da5 100644
--- a/testdata/baselines/reference/submodule/compiler/nestedGlobalNamespaceInClass.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nestedGlobalNamespaceInClass.js.diff
@@ -1,17 +1,10 @@
--- old.nestedGlobalNamespaceInClass.js
+++ new.nestedGlobalNamespaceInClass.js
-@@= skipped -8, +8 lines =@@
-
- //// [nestedGlobalNamespaceInClass.js]
+@@= skipped -10, +10 lines =@@
// should not crash - from #35717
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
+ class C {
+ }
-var global;
-(function (global) {
-})(global || (global = {}));
-+class C {
-+}
x;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedLoopWithOnlyInnerLetCaptured.js.diff b/testdata/baselines/reference/submodule/compiler/nestedLoopWithOnlyInnerLetCaptured.js.diff
deleted file mode 100644
index 29c113946f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedLoopWithOnlyInnerLetCaptured.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.nestedLoopWithOnlyInnerLetCaptured.js
-+++ new.nestedLoopWithOnlyInnerLetCaptured.js
-@@= skipped -7, +7 lines =@@
- doSomething(() => a2);
-
- //// [nestedLoopWithOnlyInnerLetCaptured.js]
--for (var _i = 0, _a = []; _i < _a.length; _i++) {
-- var a1 = _a[_i];
-- var _loop_1 = function (a2) {
-- doSomething(function () { return a2; });
-- };
-- for (var _b = 0, _c = a1.someArray; _b < _c.length; _b++) {
-- var a2 = _c[_b];
-- _loop_1(a2);
-- }
--}
-+for (let a1 of [])
-+ for (let a2 of a1.someArray)
-+ doSomething(() => a2);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedLoops.js.diff b/testdata/baselines/reference/submodule/compiler/nestedLoops.js.diff
deleted file mode 100644
index 5b85274e05..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedLoops.js.diff
+++ /dev/null
@@ -1,44 +0,0 @@
---- old.nestedLoops.js
-+++ new.nestedLoops.js
-@@= skipped -22, +22 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Test = void 0;
--var Test = /** @class */ (function () {
-- function Test() {
-- var outerArray = [1, 2, 3];
-- var innerArray = [1, 2, 3];
-- var _loop_1 = function (outer) {
-- var _loop_2 = function (inner) {
-- this_1.aFunction(function (newValue, oldValue) {
-- var x = outer + inner + newValue;
-+class Test {
-+ constructor() {
-+ let outerArray = [1, 2, 3];
-+ let innerArray = [1, 2, 3];
-+ for (let outer of outerArray)
-+ for (let inner of innerArray) {
-+ this.aFunction((newValue, oldValue) => {
-+ let x = outer + inner + newValue;
- });
-- };
-- for (var _a = 0, innerArray_1 = innerArray; _a < innerArray_1.length; _a++) {
-- var inner = innerArray_1[_a];
-- _loop_2(inner);
- }
-- };
-- var this_1 = this;
-- for (var _i = 0, outerArray_1 = outerArray; _i < outerArray_1.length; _i++) {
-- var outer = outerArray_1[_i];
-- _loop_1(outer);
-- }
-- }
-- Test.prototype.aFunction = function (func) {
-- };
-- return Test;
--}());
-+ }
-+ aFunction(func) {
-+ }
-+}
- exports.Test = Test;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedModulePrivateAccess.js.diff b/testdata/baselines/reference/submodule/compiler/nestedModulePrivateAccess.js.diff
deleted file mode 100644
index 45b63f1cb5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedModulePrivateAccess.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.nestedModulePrivateAccess.js
-+++ new.nestedModulePrivateAccess.js
-@@= skipped -11, +11 lines =@@
- var a;
- (function (a) {
- var x;
-- var b;
-+ let b;
- (function (b) {
- var y = x; // should not be an error
- })(b || (b = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedRecursiveArraysOrObjectsError01.js.diff b/testdata/baselines/reference/submodule/compiler/nestedRecursiveArraysOrObjectsError01.js.diff
deleted file mode 100644
index f0a10431c4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedRecursiveArraysOrObjectsError01.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.nestedRecursiveArraysOrObjectsError01.js
-+++ new.nestedRecursiveArraysOrObjectsError01.js
-@@= skipped -16, +16 lines =@@
-
-
- //// [nestedRecursiveArraysOrObjectsError01.js]
--var blah = [
-+const blah = [
- [[{
- foo: 'asdf',
- jj: 1 // intentional error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedRecursiveLambda.js.diff b/testdata/baselines/reference/submodule/compiler/nestedRecursiveLambda.js.diff
deleted file mode 100644
index e06f769d97..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedRecursiveLambda.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.nestedRecursiveLambda.js
-+++ new.nestedRecursiveLambda.js
-@@= skipped -9, +9 lines =@@
-
- //// [nestedRecursiveLambda.js]
- function f(a) {
-- void (function (r) { return (function (r) { return r; }); });
-+ void (r => (r => r));
- }
--f((function (r) { return (function (r) { return r; }); }));
--void (function (r) { return (function (r) { return r; }); });
--[(function (r) { return (function (r) { return r; }); })];
-+f((r => (r => r)));
-+void (r => (r => r));
-+[(r => (r => r))];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedSelf.js.diff b/testdata/baselines/reference/submodule/compiler/nestedSelf.js.diff
index c8f6fa8d2b..5a77d21555 100644
--- a/testdata/baselines/reference/submodule/compiler/nestedSelf.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nestedSelf.js.diff
@@ -1,22 +1,13 @@
--- old.nestedSelf.js
+++ new.nestedSelf.js
-@@= skipped -12, +12 lines =@@
- //// [nestedSelf.js]
+@@= skipped -13, +13 lines =@@
var M;
(function (M) {
-- var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.n = 42;
- }
-- C.prototype.foo = function () {
-- var _this = this;
-- [1, 2, 3].map(function (x) { return _this.n * x; });
-- };
-- return C;
-- }());
-+ class C {
+ n = 42;
-+ foo() { [1, 2, 3].map((x) => { return this.n * x; }); }
-+ }
- M.C = C;
- })(M || (M = {}));
\ No newline at end of file
+ foo() { [1, 2, 3].map((x) => { return this.n * x; }); }
+ }
+ M.C = C;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedSuperCallEmit.js.diff b/testdata/baselines/reference/submodule/compiler/nestedSuperCallEmit.js.diff
deleted file mode 100644
index d6359a3b5e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedSuperCallEmit.js.diff
+++ /dev/null
@@ -1,58 +0,0 @@
---- old.nestedSuperCallEmit.js
-+++ new.nestedSuperCallEmit.js
-@@= skipped -27, +27 lines =@@
-
-
- //// [nestedSuperCallEmit.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- // https://github.com/microsoft/TypeScript/issues/55646
--var Foo = /** @class */ (function () {
-- function Foo(shouldThrow) {
-+class Foo {
-+ constructor(shouldThrow) {
- if (shouldThrow) {
- throw new Error('Please retry');
- }
-@@= skipped -25, +10 lines =@@
- console.log('OK');
- }
- }
-- return Foo;
--}());
--var Bar = /** @class */ (function (_super) {
-- __extends(Bar, _super);
-- function Bar() {
-- var _this = this;
-+}
-+class Bar extends Foo {
-+ constructor() {
- try {
-- _this = _super.call(this, true) || this;
-+ super(true);
- }
- catch (e) {
- console.log('Error: ' + e.message);
- // retry
-- _this = _super.call(this, false) || this;
-+ super(false);
- }
-- return _this;
- }
-- return Bar;
--}(Foo));
-+}
- new Bar();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedThisContainer.js.diff b/testdata/baselines/reference/submodule/compiler/nestedThisContainer.js.diff
deleted file mode 100644
index 4dc06e36d9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedThisContainer.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.nestedThisContainer.js
-+++ new.nestedThisContainer.js
-@@= skipped -14, +14 lines =@@
-
-
- //// [nestedThisContainer.js]
--var foo = {};
-+const foo = {};
- foo.bar = function () {
-- var self = this;
-+ const self = this;
- };
- foo.zab = (function () {
-- var self = this;
-+ const self = this;
- });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nestedTypeVariableInfersLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/nestedTypeVariableInfersLiteral.js.diff
deleted file mode 100644
index 70f3e6a0ff..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nestedTypeVariableInfersLiteral.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.nestedTypeVariableInfersLiteral.js
-+++ new.nestedTypeVariableInfersLiteral.js
-@@= skipped -21, +21 lines =@@
-
-
- //// [nestedTypeVariableInfersLiteral.js]
--var directUnionSingle = direct("z");
--var directUnionArray = direct(["z", "y"]);
--var nestedSingle = nested({ fields: "z" });
--var nestedUnionSingle = nestedUnion({ fields: "z" });
--var nestedUnionArray = nestedUnion({ fields: ["z", "y"] });
-+const directUnionSingle = direct("z");
-+const directUnionArray = direct(["z", "y"]);
-+const nestedSingle = nested({ fields: "z" });
-+const nestedUnionSingle = nestedUnion({ fields: "z" });
-+const nestedUnionArray = nestedUnion({ fields: ["z", "y"] });
- hasZField(directUnionSingle); // ok
- hasZField(directUnionArray); // ok
- hasZField(nestedSingle); // ok
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/neverAsDiscriminantType(strict=false).js.diff b/testdata/baselines/reference/submodule/compiler/neverAsDiscriminantType(strict=false).js.diff
index 718e130e13..a281d1eec4 100644
--- a/testdata/baselines/reference/submodule/compiler/neverAsDiscriminantType(strict=false).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/neverAsDiscriminantType(strict=false).js.diff
@@ -12,49 +12,19 @@
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
--};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
-};
Object.defineProperty(exports, "__esModule", { value: true });
exports.GatewayOpcode = void 0;
exports.adaptSession = adaptSession;
-@@= skipped -64, +28 lines =@@
+@@= skipped -37, +28 lines =@@
GatewayOpcode[GatewayOpcode["HEARTBEAT_ACK"] = 11] = "HEARTBEAT_ACK";
})(GatewayOpcode || (exports.GatewayOpcode = GatewayOpcode = {}));
function assertMessage(event) { }
-function adaptSession(input) {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- if (input.t === 'MESSAGE_CREATE') {
-- assertMessage(input.d);
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- if (input.t === 'MESSAGE_CREATE') {
+- assertMessage(input.d);
+- }
- });
+async function adaptSession(input) {
+ if (input.t === 'MESSAGE_CREATE') {
diff --git a/testdata/baselines/reference/submodule/compiler/neverAsDiscriminantType(strict=true).js.diff b/testdata/baselines/reference/submodule/compiler/neverAsDiscriminantType(strict=true).js.diff
index 9dd448fbf0..57e6e98eae 100644
--- a/testdata/baselines/reference/submodule/compiler/neverAsDiscriminantType(strict=true).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/neverAsDiscriminantType(strict=true).js.diff
@@ -12,49 +12,19 @@
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
--};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
-};
Object.defineProperty(exports, "__esModule", { value: true });
exports.GatewayOpcode = void 0;
exports.adaptSession = adaptSession;
-@@= skipped -64, +28 lines =@@
+@@= skipped -37, +28 lines =@@
GatewayOpcode[GatewayOpcode["HEARTBEAT_ACK"] = 11] = "HEARTBEAT_ACK";
})(GatewayOpcode || (exports.GatewayOpcode = GatewayOpcode = {}));
function assertMessage(event) { }
-function adaptSession(input) {
-- return __awaiter(this, void 0, void 0, function () {
-- return __generator(this, function (_a) {
-- if (input.t === 'MESSAGE_CREATE') {
-- assertMessage(input.d);
-- }
-- return [2 /*return*/];
-- });
+- return __awaiter(this, void 0, void 0, function* () {
+- if (input.t === 'MESSAGE_CREATE') {
+- assertMessage(input.d);
+- }
- });
+async function adaptSession(input) {
+ if (input.t === 'MESSAGE_CREATE') {
diff --git a/testdata/baselines/reference/submodule/compiler/newAbstractInstance.js.diff b/testdata/baselines/reference/submodule/compiler/newAbstractInstance.js.diff
deleted file mode 100644
index b8292f656e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/newAbstractInstance.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.newAbstractInstance.js
-+++ new.newAbstractInstance.js
-@@= skipped -6, +6 lines =@@
-
-
- //// [newAbstractInstance.js]
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
-+class B {
-+}
- new b();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/newAbstractInstance2.js.diff b/testdata/baselines/reference/submodule/compiler/newAbstractInstance2.js.diff
index 182dc9b1ee..5aab015da1 100644
--- a/testdata/baselines/reference/submodule/compiler/newAbstractInstance2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/newAbstractInstance2.js.diff
@@ -1,17 +1,6 @@
--- old.newAbstractInstance2.js
+++ new.newAbstractInstance2.js
-@@= skipped -10, +10 lines =@@
- //// [a.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var default_1 = /** @class */ (function () {
-- function default_1() {
-- }
-- return default_1;
--}());
-+class default_1 {
-+}
- exports.default = default_1;
+@@= skipped -16, +16 lines =@@
//// [b.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/newArrays.js.diff b/testdata/baselines/reference/submodule/compiler/newArrays.js.diff
index 100967946f..521366c8c6 100644
--- a/testdata/baselines/reference/submodule/compiler/newArrays.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/newArrays.js.diff
@@ -1,31 +1,16 @@
--- old.newArrays.js
+++ new.newArrays.js
-@@= skipped -16, +16 lines =@@
- //// [newArrays.js]
- var M;
- (function (M) {
-- var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
-- }());
-- var Gar = /** @class */ (function () {
-- function Gar() {
+@@= skipped -19, +19 lines =@@
+ class Foo {
+ }
+ class Gar {
+- constructor() {
- this.x = 10;
- this.y = 10;
- }
-- Gar.prototype.m = function () {
-+ class Foo {
-+ }
-+ class Gar {
+ fa;
+ x = 10;
+ y = 10;
-+ m() {
+ m() {
this.fa = new Array(this.x * this.y);
-- };
-- return Gar;
-- }());
-+ }
-+ }
- })(M || (M = {}));
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/newLexicalEnvironmentForConvertedLoop.js.diff b/testdata/baselines/reference/submodule/compiler/newLexicalEnvironmentForConvertedLoop.js.diff
deleted file mode 100644
index 3ca6584f24..0000000000
--- a/testdata/baselines/reference/submodule/compiler/newLexicalEnvironmentForConvertedLoop.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.newLexicalEnvironmentForConvertedLoop.js
-+++ new.newLexicalEnvironmentForConvertedLoop.js
-@@= skipped -18, +18 lines =@@
- return [[x, x]];
- }
- function foo(set) {
-- var _loop_1 = function (value, i) {
-- var _c;
-- var bar = [];
-- (function () { return bar; });
-- (_c = set.values).push.apply(_c, []);
-- };
-- for (var _i = 0, _a = baz(set.values); _i < _a.length; _i++) {
-- var _b = _a[_i], value = _b[0], i = _b[1];
-- _loop_1(value, i);
-+ for (const [value, i] of baz(set.values)) {
-+ const bar = [];
-+ (() => bar);
-+ set.values.push(...[]);
- }
- }
- ;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/newOnInstanceSymbol.js.diff b/testdata/baselines/reference/submodule/compiler/newOnInstanceSymbol.js.diff
deleted file mode 100644
index 7ba468829a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/newOnInstanceSymbol.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.newOnInstanceSymbol.js
-+++ new.newOnInstanceSymbol.js
-@@= skipped -5, +5 lines =@@
- new x(); // should error
-
- //// [newOnInstanceSymbol.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
- var x = new C(); // should be ok
- new x(); // should error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/newOperator.js.diff b/testdata/baselines/reference/submodule/compiler/newOperator.js.diff
index 15256ed0b1..4126740261 100644
--- a/testdata/baselines/reference/submodule/compiler/newOperator.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/newOperator.js.diff
@@ -9,33 +9,11 @@
// Can be an expression
new String;
new union;
-@@= skipped -8, +8 lines =@@
- new ctorUnion2("");
+@@= skipped -9, +9 lines =@@
var M;
(function (M) {
-- var T = /** @class */ (function () {
-- function T() {
-- }
-- return T;
-- }());
-+ class T {
+ class T {
+ x;
-+ }
- M.T = T;
- })(M || (M = {}));
--var S = /** @class */ (function () {
-- function S() {
-+class S {
-+ get xs() {
-+ return new M.T[];
}
-- Object.defineProperty(S.prototype, "xs", {
-- get: function () {
-- return new M.T[];
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return S;
--}());
-+}
\ No newline at end of file
+ M.T = T;
+ })(M || (M = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noCircularDefinitionOnExportOfPrivateInMergedNamespace.js.diff b/testdata/baselines/reference/submodule/compiler/noCircularDefinitionOnExportOfPrivateInMergedNamespace.js.diff
deleted file mode 100644
index b225b2cc7f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noCircularDefinitionOnExportOfPrivateInMergedNamespace.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.noCircularDefinitionOnExportOfPrivateInMergedNamespace.js
-+++ new.noCircularDefinitionOnExportOfPrivateInMergedNamespace.js
-@@= skipped -9, +9 lines =@@
-
- //// [noCircularDefinitionOnExportOfPrivateInMergedNamespace.js]
- "use strict";
--var cat = 12;
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+const cat = 12;
-+class Foo {
-+}
- module.exports = Foo;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndClassInGlobal.js.diff b/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndClassInGlobal.js.diff
deleted file mode 100644
index e0d5e6c159..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndClassInGlobal.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.noCollisionThisExpressionAndClassInGlobal.js
-+++ new.noCollisionThisExpressionAndClassInGlobal.js
-@@= skipped -5, +5 lines =@@
- var f = () => _this;
-
- //// [noCollisionThisExpressionAndClassInGlobal.js]
--var _this = /** @class */ (function () {
-- function _this() {
-- }
-- return _this;
--}());
--var f = function () { return _this; };
-+class _this {
-+}
-+var f = () => _this;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInAccessors.js.diff b/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInAccessors.js.diff
deleted file mode 100644
index 658588eb35..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInAccessors.js.diff
+++ /dev/null
@@ -1,96 +0,0 @@
---- old.noCollisionThisExpressionAndLocalVarInAccessors.js
-+++ new.noCollisionThisExpressionAndLocalVarInAccessors.js
-@@= skipped -45, +45 lines =@@
- }
-
- //// [noCollisionThisExpressionAndLocalVarInAccessors.js]
--var class1 = /** @class */ (function () {
-- function class1() {
-- }
-- Object.defineProperty(class1.prototype, "a", {
-- get: function () {
-- var x2 = {
-- doStuff: function (callback) { return function () {
-- var _this = 2;
-- return callback(_this);
-- }; }
-- };
-- return 10;
-- },
-- set: function (val) {
-- var x2 = {
-- doStuff: function (callback) { return function () {
-- var _this = 2;
-- return callback(_this);
-- }; }
-- };
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return class1;
--}());
--var class2 = /** @class */ (function () {
-- function class2() {
-- }
-- Object.defineProperty(class2.prototype, "a", {
-- get: function () {
-- var _this = 2;
-- var x2 = {
-- doStuff: function (callback) { return function () {
-- return callback(_this);
-- }; }
-- };
-- return 10;
-- },
-- set: function (val) {
-- var _this = 2;
-- var x2 = {
-- doStuff: function (callback) { return function () {
-- return callback(_this);
-- }; }
-- };
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return class2;
--}());
-+class class1 {
-+ get a() {
-+ var x2 = {
-+ doStuff: (callback) => () => {
-+ var _this = 2;
-+ return callback(_this);
-+ }
-+ };
-+ return 10;
-+ }
-+ set a(val) {
-+ var x2 = {
-+ doStuff: (callback) => () => {
-+ var _this = 2;
-+ return callback(_this);
-+ }
-+ };
-+ }
-+}
-+class class2 {
-+ get a() {
-+ var _this = 2;
-+ var x2 = {
-+ doStuff: (callback) => () => {
-+ return callback(_this);
-+ }
-+ };
-+ return 10;
-+ }
-+ set a(val) {
-+ var _this = 2;
-+ var x2 = {
-+ doStuff: (callback) => () => {
-+ return callback(_this);
-+ }
-+ };
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInConstructor.js.diff b/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInConstructor.js.diff
deleted file mode 100644
index 8aec7bf9e6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInConstructor.js.diff
+++ /dev/null
@@ -1,38 +0,0 @@
---- old.noCollisionThisExpressionAndLocalVarInConstructor.js
-+++ new.noCollisionThisExpressionAndLocalVarInConstructor.js
-@@= skipped -23, +23 lines =@@
- }
-
- //// [noCollisionThisExpressionAndLocalVarInConstructor.js]
--var class1 = /** @class */ (function () {
-- function class1() {
-+class class1 {
-+ constructor() {
- var x2 = {
-- doStuff: function (callback) { return function () {
-+ doStuff: (callback) => () => {
- var _this = 2;
- return callback(_this);
-- }; }
-+ }
- };
- }
-- return class1;
--}());
--var class2 = /** @class */ (function () {
-- function class2() {
-+}
-+class class2 {
-+ constructor() {
- var _this = 2;
- var x2 = {
-- doStuff: function (callback) { return function () {
-+ doStuff: (callback) => () => {
- return callback(_this);
-- }; }
-+ }
- };
- }
-- return class2;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInFunction.js.diff b/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInFunction.js.diff
deleted file mode 100644
index fde80117da..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInFunction.js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.noCollisionThisExpressionAndLocalVarInFunction.js
-+++ new.noCollisionThisExpressionAndLocalVarInFunction.js
-@@= skipped -12, +12 lines =@@
- var console;
- function x() {
- var _this = 5;
-- (function (x) { console.log(_this); });
-+ x => { console.log(_this); };
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInLambda.js.diff b/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInLambda.js.diff
deleted file mode 100644
index 2dbc9b53a0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInLambda.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.noCollisionThisExpressionAndLocalVarInLambda.js
-+++ new.noCollisionThisExpressionAndLocalVarInLambda.js
-@@= skipped -11, +11 lines =@@
-
- //// [noCollisionThisExpressionAndLocalVarInLambda.js]
- var x = {
-- doStuff: function (callback) { return function () {
-+ doStuff: (callback) => () => {
- var _this = 2;
- return callback(_this);
-- }; }
-+ }
- };
--alert(x.doStuff(function (x) { return alert(x); }));
-+alert(x.doStuff(x => alert(x)));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInMethod.js.diff b/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInMethod.js.diff
deleted file mode 100644
index 8b7dbca664..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInMethod.js.diff
+++ /dev/null
@@ -1,37 +0,0 @@
---- old.noCollisionThisExpressionAndLocalVarInMethod.js
-+++ new.noCollisionThisExpressionAndLocalVarInMethod.js
-@@= skipped -22, +22 lines =@@
-
- //// [noCollisionThisExpressionAndLocalVarInMethod.js]
- var _this = 2;
--var a = /** @class */ (function () {
-- function a() {
-- }
-- a.prototype.method1 = function () {
-+class a {
-+ method1() {
- return {
-- doStuff: function (callback) { return function () {
-+ doStuff: (callback) => () => {
- var _this = 2;
- return callback(_this);
-- }; }
-+ }
- };
-- };
-- a.prototype.method2 = function () {
-+ }
-+ method2() {
- var _this = 2;
- return {
-- doStuff: function (callback) { return function () {
-+ doStuff: (callback) => () => {
- return callback(_this);
-- }; }
-+ }
- };
-- };
-- return a;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInProperty.js.diff b/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInProperty.js.diff
index 52b6f015f4..f4d7c658e1 100644
--- a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndLocalVarInProperty.js.diff
@@ -1,44 +1,36 @@
--- old.noCollisionThisExpressionAndLocalVarInProperty.js
+++ new.noCollisionThisExpressionAndLocalVarInProperty.js
-@@= skipped -21, +21 lines =@@
- }
+@@= skipped -22, +22 lines =@@
//// [noCollisionThisExpressionAndLocalVarInProperty.js]
--var class1 = /** @class */ (function () {
-- function class1() {
+ class class1 {
+- constructor() {
- this.prop1 = {
-- doStuff: function (callback) { return function () {
+- doStuff: (callback) => () => {
- var _this = 2;
- return callback(_this);
-- }; }
+- }
- };
- }
-- return class1;
--}());
--var class2 = /** @class */ (function () {
-- function class2() {
-- this.prop1 = {
-- doStuff: function (callback) { return function () {
-- return callback(10);
-- }; }
-- };
-+class class1 {
+ prop1 = {
+ doStuff: (callback) => () => {
+ var _this = 2;
+ return callback(_this);
+ }
+ };
-+}
-+class class2 {
-+ constructor() {
+ }
+ class class2 {
+ constructor() {
+- this.prop1 = {
+- doStuff: (callback) => () => {
+- return callback(10);
+- }
+- };
var _this = 2;
}
-- return class2;
--}());
+ prop1 = {
+ doStuff: (callback) => () => {
+ return callback(10);
+ }
+ };
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndVarInGlobal.js.diff b/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndVarInGlobal.js.diff
deleted file mode 100644
index 57435e8139..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionAndVarInGlobal.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.noCollisionThisExpressionAndVarInGlobal.js
-+++ new.noCollisionThisExpressionAndVarInGlobal.js
-@@= skipped -5, +5 lines =@@
-
- //// [noCollisionThisExpressionAndVarInGlobal.js]
- var _this = 1;
--var f = function () { return _this; };
-+var f = () => _this;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionInFunctionAndVarInGlobal.js.diff b/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionInFunctionAndVarInGlobal.js.diff
deleted file mode 100644
index 385d548467..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noCollisionThisExpressionInFunctionAndVarInGlobal.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.noCollisionThisExpressionInFunctionAndVarInGlobal.js
-+++ new.noCollisionThisExpressionInFunctionAndVarInGlobal.js
-@@= skipped -12, +12 lines =@@
- var console;
- var _this = 5;
- function x() {
-- var _this_1 = this;
-- (function (x) { console.log(_this_1); });
-+ x => { console.log(this); };
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noConstraintInReturnType1.js.diff b/testdata/baselines/reference/submodule/compiler/noConstraintInReturnType1.js.diff
deleted file mode 100644
index 9c7046b24c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noConstraintInReturnType1.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.noConstraintInReturnType1.js
-+++ new.noConstraintInReturnType1.js
-@@= skipped -6, +6 lines =@@
-
-
- //// [noConstraintInReturnType1.js]
--var List = /** @class */ (function () {
-- function List() {
-- }
-- List.empty = function () { return null; };
-- return List;
--}());
-+class List {
-+ static empty() { return null; }
-+}
-
-
- //// [noConstraintInReturnType1.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noCrashOnImportShadowing.js.diff b/testdata/baselines/reference/submodule/compiler/noCrashOnImportShadowing.js.diff
index 4eaf398d2a..a6b80d575c 100644
--- a/testdata/baselines/reference/submodule/compiler/noCrashOnImportShadowing.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/noCrashOnImportShadowing.js.diff
@@ -7,19 +7,16 @@
-var B = require("./b");
+const B = require("./b");
exports.B = B;
--var x = { x: "" };
-+const x = { x: "" };
+ const x = { x: "" };
B.zzz;
//// [index.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var a_1 = require("./a");
--var x = { x: "" };
+const a_1 = require("./a");
-+const x = { x: "" };
+ const x = { x: "" };
a_1.B.zzz;
-var OriginalB = require("./b");
+const OriginalB = require("./b");
OriginalB.zzz;
--var y = x;
-+const y = x;
\ No newline at end of file
+ const y = x;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noCrashOnMixin.js.diff b/testdata/baselines/reference/submodule/compiler/noCrashOnMixin.js.diff
deleted file mode 100644
index 1ad8bf3f9d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noCrashOnMixin.js.diff
+++ /dev/null
@@ -1,72 +0,0 @@
---- old.noCrashOnMixin.js
-+++ new.noCrashOnMixin.js
-@@= skipped -25, +25 lines =@@
- }
-
- //// [noCrashOnMixin.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Abstract = /** @class */ (function () {
-- function Abstract() {
-- }
-- return Abstract;
--}());
--var Concrete = /** @class */ (function (_super) {
-- __extends(Concrete, _super);
-- function Concrete() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Concrete;
--}(Abstract));
-+class Abstract {
-+ constructor() {
-+ }
-+}
-+class Concrete extends Abstract {
-+}
- function Mixin(Base) {
-- return /** @class */ (function (_super) {
-- __extends(class_1, _super);
-- function class_1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return class_1;
-- }(Base));
--}
--var Empty = /** @class */ (function () {
-- function Empty() {
-- }
-- return Empty;
--}());
--var CrashTrigger = /** @class */ (function (_super) {
-- __extends(CrashTrigger, _super);
-- function CrashTrigger() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- CrashTrigger.prototype.trigger = function () {
-+ return class extends Base {
-+ };
-+}
-+class Empty {
-+}
-+class CrashTrigger extends Mixin(Empty) {
-+ trigger() {
- new Concrete();
-- };
-- return CrashTrigger;
--}(Mixin(Empty)));
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noCrashOnNoLib.js.diff b/testdata/baselines/reference/submodule/compiler/noCrashOnNoLib.js.diff
deleted file mode 100644
index e1a15dc18a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noCrashOnNoLib.js.diff
+++ /dev/null
@@ -1,25 +0,0 @@
---- old.noCrashOnNoLib.js
-+++ new.noCrashOnNoLib.js
-@@= skipped -9, +9 lines =@@
-
- //// [noCrashOnNoLib.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)) {
-- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
-- ar[i] = from[i];
-- }
-- }
-- return to.concat(ar || Array.prototype.slice.call(from));
--};
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.f = f;
- function f() {
-- var e;
-+ let e;
- while (true) {
-- e = __spreadArray([], (e || []), true);
-+ e = [...(e || [])];
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noCrashOnThisTypeUsage.js.diff b/testdata/baselines/reference/submodule/compiler/noCrashOnThisTypeUsage.js.diff
index f34be3ee97..95e3bfa1fd 100644
--- a/testdata/baselines/reference/submodule/compiler/noCrashOnThisTypeUsage.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/noCrashOnThisTypeUsage.js.diff
@@ -1,33 +1,21 @@
--- old.noCrashOnThisTypeUsage.js
+++ new.noCrashOnThisTypeUsage.js
-@@= skipped -31, +31 lines =@@
- exports.ObservableValue = void 0;
+@@= skipped -32, +32 lines =@@
function notifyListeners(listenable, change) {
}
--var ObservableValue = /** @class */ (function () {
-- function ObservableValue(value) {
-+class ObservableValue {
+ class ObservableValue {
+ value;
-+ constructor(value) {
+ constructor(value) {
this.value = value;
- this.changeListeners = [];
-- var newValue = value;
-- var oldValue = null;
-+ const newValue = value;
-+ const oldValue = null;
+ const newValue = value;
+ const oldValue = null;
notifyListeners(this, {
- type: "update",
- object: this,
-- newValue: newValue,
-- oldValue: oldValue
-+ newValue,
-+ oldValue
+@@= skipped -12, +12 lines =@@
+ oldValue
});
}
-- ObservableValue.prototype.observe = function (handler, fireImmediately) { };
-- return ObservableValue;
--}());
+ changeListeners = [];
-+ observe(handler, fireImmediately) { }
-+}
+ observe(handler, fireImmediately) { }
+ }
exports.ObservableValue = ObservableValue;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noEmitHelpers.js.diff b/testdata/baselines/reference/submodule/compiler/noEmitHelpers.js.diff
deleted file mode 100644
index fb86aa5df3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noEmitHelpers.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.noEmitHelpers.js
-+++ new.noEmitHelpers.js
-@@= skipped -5, +5 lines =@@
-
-
- //// [noEmitHelpers.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class A {
-+}
-+class B extends A {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noEmitHelpers2.js.diff b/testdata/baselines/reference/submodule/compiler/noEmitHelpers2.js.diff
index c5fbb28520..96e1098244 100644
--- a/testdata/baselines/reference/submodule/compiler/noEmitHelpers2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/noEmitHelpers2.js.diff
@@ -4,17 +4,20 @@
}
//// [noEmitHelpers2.js]
--var A = /** @class */ (function () {
-- function A(a, b) {
-+@decorator
-+class A {
-+ constructor(a, b) {
- }
+-let A = (() => {
+- let A = class A {
+- constructor(a, b) {
+- }
+- };
- A = __decorate([
- decorator,
- __param(1, decorator),
- __metadata("design:paramtypes", [Number, String])
- ], A);
- return A;
--}());
+-})();
++@decorator
++class A {
++ constructor(a, b) {
++ }
+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noErrorTruncation.js.diff b/testdata/baselines/reference/submodule/compiler/noErrorTruncation.js.diff
index 6af7e4596f..f66891b2e7 100644
--- a/testdata/baselines/reference/submodule/compiler/noErrorTruncation.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/noErrorTruncation.js.diff
@@ -5,5 +5,4 @@
//// [noErrorTruncation.js]
-// @noErrorTruncation
--var x = 42;
-+const x = 42;
\ No newline at end of file
+ const x = 42;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noErrorsInCallback.js.diff b/testdata/baselines/reference/submodule/compiler/noErrorsInCallback.js.diff
index b2e41ed53d..937f7a94de 100644
--- a/testdata/baselines/reference/submodule/compiler/noErrorsInCallback.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/noErrorsInCallback.js.diff
@@ -1,21 +1,10 @@
--- old.noErrorsInCallback.js
+++ new.noErrorsInCallback.js
-@@= skipped -10, +10 lines =@@
-
+@@= skipped -11, +11 lines =@@
//// [noErrorsInCallback.js]
--var Bar = /** @class */ (function () {
-- function Bar(foo) {
-+class Bar {
+ class Bar {
+ foo;
-+ constructor(foo) {
+ constructor(foo) {
this.foo = foo;
- }
-- return Bar;
--}());
-+}
- var one = new Bar({}); // Error
--[].forEach(function () {
-+[].forEach(() => {
- var two = new Bar({}); // No error?
- });
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyDestructuringInPrivateMethod.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyDestructuringInPrivateMethod.js.diff
deleted file mode 100644
index f4a7a5d0d9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyDestructuringInPrivateMethod.js.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- old.noImplicitAnyDestructuringInPrivateMethod.js
-+++ new.noImplicitAnyDestructuringInPrivateMethod.js
-@@= skipped -16, +16 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Bar = void 0;
--var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- Bar.prototype.bar = function (_a) {
-- var a = _a.a;
-+class Bar {
-+ bar({ a, }) {
- return a;
-- };
-- return Bar;
--}());
-+ }
-+}
- exports.Bar = Bar;
-
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyDestructuringParameterDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyDestructuringParameterDeclaration.js.diff
deleted file mode 100644
index 4de8d4e2bf..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyDestructuringParameterDeclaration.js.diff
+++ /dev/null
@@ -1,38 +0,0 @@
---- old.noImplicitAnyDestructuringParameterDeclaration.js
-+++ new.noImplicitAnyDestructuringParameterDeclaration.js
-@@= skipped -12, +12 lines =@@
- }
-
- //// [noImplicitAnyDestructuringParameterDeclaration.js]
--function f1(_a, _b, c, d) {
-- var a = _a[0];
-- var b = _b.b;
--}
--function f2(_a, _b, c, d) {
-- var _c = _a[0], a = _c === void 0 ? undefined : _c;
-- var _d = _b.b, b = _d === void 0 ? null : _d;
-- if (c === void 0) { c = undefined; }
-- if (d === void 0) { d = null; }
--}
--function f3(_a, _b, c, d) {
-- var a = _a[0];
-- var b = _b.b;
--}
--function f4(_a, x) {
-- var b = _a.b;
--}
--function f5(_a, _b, c1, d1) {
-- var _c = _a === void 0 ? [undefined] : _a, a1 = _c[0];
-- var _d = _b === void 0 ? { b1: null } : _b, b1 = _d.b1;
-- if (c1 === void 0) { c1 = undefined; }
-- if (d1 === void 0) { d1 = null; }
-+function f1([a], { b }, c, d) {
-+}
-+function f2([a = undefined], { b = null }, c = undefined, d = null) {
-+}
-+function f3([a], { b }, c, d) {
-+}
-+function f4({ b }, x) {
-+}
-+function f5([a1] = [undefined], { b1 } = { b1: null }, c1 = undefined, d1 = null) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyDestructuringVarDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyDestructuringVarDeclaration.js.diff
deleted file mode 100644
index 723a8769a8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyDestructuringVarDeclaration.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.noImplicitAnyDestructuringVarDeclaration.js
-+++ new.noImplicitAnyDestructuringVarDeclaration.js
-@@= skipped -13, +13 lines =@@
- var [a5 = undefined] = []; // error
-
- //// [noImplicitAnyDestructuringVarDeclaration.js]
--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;
--var b3 = (void 0).b3, c3; // error in type instead
--var a4 = [undefined][0], b4 = { b4: null }.b4, c4 = undefined, d4 = null; // error
--var _c = [][0], a5 = _c === void 0 ? undefined : _c; // error
-+var [a], { b }, c, d; // error
-+var [a1 = undefined], { b1 = null }, c1 = undefined, d1 = null; // error
-+var [a2], { b2 }, c2, d2;
-+var { b3 }, c3; // error in type instead
-+var [a4] = [undefined], { b4 } = { b4: null }, c4 = undefined, d4 = null; // error
-+var [a5 = undefined] = []; // error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyDestructuringVarDeclaration2.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyDestructuringVarDeclaration2.js.diff
deleted file mode 100644
index 8f8cfe9cf2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyDestructuringVarDeclaration2.js.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- old.noImplicitAnyDestructuringVarDeclaration2.js
-+++ new.noImplicitAnyDestructuringVarDeclaration2.js
-@@= skipped -14, +14 lines =@@
-
-
- //// [noImplicitAnyDestructuringVarDeclaration2.js]
--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
--var _k = [1, 2, 3], _l = _k[0], a3 = _l === void 0 ? undefined : _l, _m = _k[1], b3 = _m === void 0 ? null : _m, _o = _k[2], c3 = _o === void 0 ? undefined : _o; // no error
--var a4 = [undefined][0], b4 = [null][0], c4 = undefined, d4 = null; // no error
--var _p = { x: 1, y: 2, z: 3 }, x = _p.x, y = _p.y, z = _p.z; // no error
--var _q = { x1: 1, y1: 2, z1: 3 }, _r = _q.x1, x1 = _r === void 0 ? 10 : _r, _s = _q.y1, y1 = _s === void 0 ? 10 : _s, _t = _q.z1, z1 = _t === void 0 ? 10 : _t; // no error
--var _u = { x2: 1, y2: 2, z2: 3 }, _v = _u.x2, x2 = _v === void 0 ? undefined : _v, _w = _u.y2, y2 = _w === void 0 ? undefined : _w, _x = _u.z2, z2 = _x === void 0 ? undefined : _x; // no error
--var _y = { x3: 1, y3: 2, z3: 3 }, _z = _y.x3, x3 = _z === void 0 ? undefined : _z, _0 = _y.y3, y3 = _0 === void 0 ? null : _0, _1 = _y.z3, z3 = _1 === void 0 ? undefined : _1; // no error
--var x4 = { x4: undefined }.x4, y4 = { y4: null }.y4; // no error
-+let [a, b, c] = [1, 2, 3]; // no error
-+let [a1 = 10, b1 = 10, c1 = 10] = [1, 2, 3]; // no error
-+let [a2 = undefined, b2 = undefined, c2 = undefined] = [1, 2, 3]; // no error
-+let [a3 = undefined, b3 = null, c3 = undefined] = [1, 2, 3]; // no error
-+let [a4] = [undefined], [b4] = [null], c4 = undefined, d4 = null; // no error
-+let { x, y, z } = { x: 1, y: 2, z: 3 }; // no error
-+let { x1 = 10, y1 = 10, z1 = 10 } = { x1: 1, y1: 2, z1: 3 }; // no error
-+let { x2 = undefined, y2 = undefined, z2 = undefined } = { x2: 1, y2: 2, z2: 3 }; // no error
-+let { x3 = undefined, y3 = null, z3 = undefined } = { x3: 1, y3: 2, z3: 3 }; // no error
-+let { x4 } = { x4: undefined }, { y4 } = { y4: null }; // no error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyForMethodParameters.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyForMethodParameters.js.diff
deleted file mode 100644
index 84dddde652..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyForMethodParameters.js.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- old.noImplicitAnyForMethodParameters.js
-+++ new.noImplicitAnyForMethodParameters.js
-@@= skipped -16, +16 lines =@@
- }
-
- //// [noImplicitAnyForMethodParameters.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.foo = function (a) { }; // OK - non-ambient class and private method - error
-- return C;
--}());
--var D = /** @class */ (function () {
-- function D() {
-- }
-- D.prototype.foo = function (a) { }; // OK - non-ambient class and public method - error
-- return D;
--}());
-+class C {
-+ foo(a) { } // OK - non-ambient class and private method - error
-+}
-+class D {
-+ foo(a) { } // OK - non-ambient class and public method - error
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyInContextuallyTypesFunctionParamter.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyInContextuallyTypesFunctionParamter.js.diff
deleted file mode 100644
index 3d15af8b4d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyInContextuallyTypesFunctionParamter.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.noImplicitAnyInContextuallyTypesFunctionParamter.js
-+++ new.noImplicitAnyInContextuallyTypesFunctionParamter.js
-@@= skipped -6, +6 lines =@@
-
- //// [noImplicitAnyInContextuallyTypesFunctionParamter.js]
- var regexMatchList = ['', ''];
--regexMatchList.forEach(function (match) { return ''.replace(match, ''); });
-+regexMatchList.forEach(match => ''.replace(match, ''));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyLoopCrash.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyLoopCrash.js.diff
deleted file mode 100644
index 0b9b03df39..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyLoopCrash.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.noImplicitAnyLoopCrash.js
-+++ new.noImplicitAnyLoopCrash.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [noImplicitAnyLoopCrash.js]
--var foo = function () { };
--var bar;
-+let foo = () => { };
-+let bar;
- while (1) {
-- bar = ~foo.apply(void 0, bar);
-+ bar = ~foo(...bar);
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyMissingGetAccessor.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyMissingGetAccessor.js.diff
index f03b251434..414ca84798 100644
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyMissingGetAccessor.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/noImplicitAnyMissingGetAccessor.js.diff
@@ -1,48 +1,10 @@
--- old.noImplicitAnyMissingGetAccessor.js
+++ new.noImplicitAnyMissingGetAccessor.js
-@@= skipped -13, +13 lines =@@
+@@= skipped -16, +16 lines =@@
+ class Parent {
}
-
- //// [noImplicitAnyMissingGetAccessor.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Parent = /** @class */ (function () {
-- function Parent() {
-- }
-- return Parent;
--}());
--var Child = /** @class */ (function (_super) {
-- __extends(Child, _super);
-- function Child() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Object.defineProperty(Child.prototype, "message", {
-- set: function (str) {
-- this._x = str;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return Child;
--}(Parent));
-+class Parent {
-+}
-+class Child extends Parent {
+ class Child extends Parent {
+ _x;
-+ set message(str) {
-+ this._x = str;
-+ }
-+}
\ No newline at end of file
+ set message(str) {
+ this._x = str;
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyMissingSetAccessor.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyMissingSetAccessor.js.diff
deleted file mode 100644
index 3efb49bbd3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyMissingSetAccessor.js.diff
+++ /dev/null
@@ -1,47 +0,0 @@
---- old.noImplicitAnyMissingSetAccessor.js
-+++ new.noImplicitAnyMissingSetAccessor.js
-@@= skipped -12, +12 lines =@@
- }
-
- //// [noImplicitAnyMissingSetAccessor.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Parent = /** @class */ (function () {
-- function Parent() {
-- }
-- return Parent;
--}());
--var Child = /** @class */ (function (_super) {
-- __extends(Child, _super);
-- function Child() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Object.defineProperty(Child.prototype, "message", {
-- get: function () {
-- return "";
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return Child;
--}(Parent));
-+class Parent {
-+}
-+class Child extends Parent {
-+ get message() {
-+ return "";
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyNamelessParameter.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyNamelessParameter.js.diff
deleted file mode 100644
index 822433abb8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyNamelessParameter.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.noImplicitAnyNamelessParameter.js
-+++ new.noImplicitAnyNamelessParameter.js
-@@= skipped -9, +9 lines =@@
-
-
- //// [noImplicitAnyNamelessParameter.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
- // note: null and void do not parse correctly without a preceding parameter name
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyParametersInBareFunctions.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyParametersInBareFunctions.js.diff
deleted file mode 100644
index 265b5ae5da..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyParametersInBareFunctions.js.diff
+++ /dev/null
@@ -1,52 +0,0 @@
---- old.noImplicitAnyParametersInBareFunctions.js
-+++ new.noImplicitAnyParametersInBareFunctions.js
-@@= skipped -56, +56 lines =@@
- // Implicit-'any' errors for x, and z.
- function f5(x, y, z) { }
- // Implicit-'any[]' error for r.
--function f6() {
-- var r = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- r[_i] = arguments[_i];
-- }
--}
-+function f6(...r) { }
- // Implicit-'any'/'any[]' errors for x, r.
--function f7(x) {
-- var r = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- r[_i - 1] = arguments[_i];
-- }
--}
-+function f7(x, ...r) { }
- function f8(x3, y3) { }
- // No implicit-'any' errors.
--var f9 = function () { return ""; };
-+var f9 = () => "";
- // Implicit-'any' errors for x.
--var f10 = function (x) { return ""; };
-+var f10 = (x) => "";
- // Implicit-'any' errors for x, y, and z.
--var f11 = function (x, y, z) { return ""; };
-+var f11 = (x, y, z) => "";
- // Implicit-'any' errors for x and z.
--var f12 = function (x, y, z) { return ""; };
-+var f12 = (x, y, z) => "";
- // Implicit-'any[]' error for r.
--var f13 = function () {
-- var r = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- r[_i] = arguments[_i];
-- }
-- return "";
--};
-+var f13 = (...r) => "";
- // Implicit-'any'/'any[]' errors for x, r.
--var f14 = function (x) {
-- var r = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- r[_i - 1] = arguments[_i];
-- }
-- return "";
--};
-+var f14 = (x, ...r) => "";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyParametersInClass.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyParametersInClass.js.diff
index d5f065e41f..56544577f6 100644
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyParametersInClass.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/noImplicitAnyParametersInClass.js.diff
@@ -1,95 +1,42 @@
--- old.noImplicitAnyParametersInClass.js
+++ new.noImplicitAnyParametersInClass.js
-@@= skipped -93, +93 lines =@@
- }
+@@= skipped -94, +94 lines =@@
//// [noImplicitAnyParametersInClass.js]
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- // No implicit-'any' errors.
-- this.pub_f9 = function () { return ""; };
+- this.pub_f9 = () => "";
- // Implicit-'any' errors for x.
-- this.pub_f10 = function (x) { return ""; };
+- this.pub_f10 = (x) => "";
- // Implicit-'any' errors for x, y, and z.
-- this.pub_f11 = function (x, y, z) { return ""; };
+- this.pub_f11 = (x, y, z) => "";
- // Implicit-'any' errors for x and z.
-- this.pub_f12 = function (x, y, z) { return ""; };
+- this.pub_f12 = (x, y, z) => "";
- // Implicit-'any[]' error for r.
-- this.pub_f13 = function () {
-- var r = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- r[_i] = arguments[_i];
-- }
-- return "";
-- };
+- this.pub_f13 = (...r) => "";
- // Implicit-'any'/'any[]' errors for x, r.
-- this.pub_f14 = function (x) {
-- var r = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- r[_i - 1] = arguments[_i];
-- }
-- return "";
-- };
+- this.pub_f14 = (x, ...r) => "";
- // No implicit-'any' errors.
-- this.priv_f9 = function () { return ""; };
+- this.priv_f9 = () => "";
- // Implicit-'any' errors for x.
-- this.priv_f10 = function (x) { return ""; };
+- this.priv_f10 = (x) => "";
- // Implicit-'any' errors for x, y, and z.
-- this.priv_f11 = function (x, y, z) { return ""; };
+- this.priv_f11 = (x, y, z) => "";
- // Implicit-'any' errors for x and z.
-- this.priv_f12 = function (x, y, z) { return ""; };
+- this.priv_f12 = (x, y, z) => "";
- // Implicit-'any[]' error for r.
-- this.priv_f13 = function () {
-- var r = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- r[_i] = arguments[_i];
-- }
-- return "";
-- };
+- this.priv_f13 = (...r) => "";
- // Implicit-'any'/'any[]' errors for x, r.
-- this.priv_f14 = function (x) {
-- var r = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- r[_i - 1] = arguments[_i];
-- }
-- return "";
-- };
+- this.priv_f14 = (x, ...r) => "";
- }
-+class C {
// No implicit-'any' errors.
-- C.prototype.pub_f1 = function () { };
-+ pub_f1() { }
+ pub_f1() { }
// Implicit-'any' errors for x.
-- C.prototype.pub_f2 = function (x) { };
-+ pub_f2(x) { }
- // No implicit-'any' errors.
-- C.prototype.pub_f3 = function (x) { };
-+ pub_f3(x) { }
- // Implicit-'any' errors for x, y, and z.
-- C.prototype.pub_f4 = function (x, y, z) { };
-+ pub_f4(x, y, z) { }
- // Implicit-'any' errors for x, and z.
-- C.prototype.pub_f5 = function (x, y, z) { };
-+ pub_f5(x, y, z) { }
- // Implicit-'any[]' errors for r.
-- C.prototype.pub_f6 = function () {
-- var r = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- r[_i] = arguments[_i];
-- }
-- };
-- // Implicit-'any'/'any[]' errors for x, r.
-- C.prototype.pub_f7 = function (x) {
-- var r = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- r[_i - 1] = arguments[_i];
-- }
-- };
-- C.prototype.pub_f8 = function (x3, y3) { };
-+ pub_f6(...r) { }
-+ // Implicit-'any'/'any[]' errors for x, r.
-+ pub_f7(x, ...r) { }
-+ pub_f8(x3, y3) { }
+@@= skipped -41, +15 lines =@@
+ // Implicit-'any'/'any[]' errors for x, r.
+ pub_f7(x, ...r) { }
+ pub_f8(x3, y3) { }
+ // No implicit-'any' errors.
+ pub_f9 = () => "";
+ // Implicit-'any' errors for x.
@@ -104,41 +51,11 @@
+ pub_f14 = (x, ...r) => "";
///////////////////////////////////////////
// No implicit-'any' errors.
-- C.prototype.priv_f1 = function () { };
-+ priv_f1() { }
- // Implicit-'any' errors for x.
-- C.prototype.priv_f2 = function (x) { };
-+ priv_f2(x) { }
- // No implicit-'any' errors.
-- C.prototype.priv_f3 = function (x) { };
-+ priv_f3(x) { }
- // Implicit-'any' errors for x, y, and z.
-- C.prototype.priv_f4 = function (x, y, z) { };
-+ priv_f4(x, y, z) { }
- // Implicit-'any' errors for x, and z.
-- C.prototype.priv_f5 = function (x, y, z) { };
-+ priv_f5(x, y, z) { }
- // Implicit-'any[]' errors for r.
-- C.prototype.priv_f6 = function () {
-- var r = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- r[_i] = arguments[_i];
-- }
-- };
-- // Implicit-'any'/'any[]' errors for x, r.
-- C.prototype.priv_f7 = function (x) {
-- var r = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- r[_i - 1] = arguments[_i];
-- }
-- };
-- C.prototype.priv_f8 = function (x3, y3) { };
-- return C;
--}());
-+ priv_f6(...r) { }
-+ // Implicit-'any'/'any[]' errors for x, r.
-+ priv_f7(x, ...r) { }
-+ priv_f8(x3, y3) { }
+ priv_f1() { }
+@@= skipped -16, +28 lines =@@
+ // Implicit-'any'/'any[]' errors for x, r.
+ priv_f7(x, ...r) { }
+ priv_f8(x3, y3) { }
+ // No implicit-'any' errors.
+ priv_f9 = () => "";
+ // Implicit-'any' errors for x.
@@ -151,4 +68,4 @@
+ priv_f13 = (...r) => "";
+ // Implicit-'any'/'any[]' errors for x, r.
+ priv_f14 = (x, ...r) => "";
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyParametersInModule.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyParametersInModule.js.diff
deleted file mode 100644
index 042592a4a6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyParametersInModule.js.diff
+++ /dev/null
@@ -1,53 +0,0 @@
---- old.noImplicitAnyParametersInModule.js
-+++ new.noImplicitAnyParametersInModule.js
-@@= skipped -60, +60 lines =@@
- // Implicit-'any' errors for x and z.
- function m_f5(x, y, z) { }
- // Implicit-'any[]' error for r.
-- function m_f6() {
-- var r = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- r[_i] = arguments[_i];
-- }
-- }
-+ function m_f6(...r) { }
- // Implicit-'any'/'any[]' errors for x and r.
-- function m_f7(x) {
-- var r = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- r[_i - 1] = arguments[_i];
-- }
-- }
-+ function m_f7(x, ...r) { }
- function m_f8(x3, y3) { }
- // No implicit-'any' errors.
-- var m_f9 = function () { return ""; };
-+ var m_f9 = () => "";
- // Implicit-'any' error for x.
-- var m_f10 = function (x) { return ""; };
-+ var m_f10 = (x) => "";
- // Implicit-'any' errors for x, y, and z.
-- var m_f11 = function (x, y, z) { return ""; };
-+ var m_f11 = (x, y, z) => "";
- // Implicit-'any' errors for x and z.
-- var m_f12 = function (x, y, z) { return ""; };
-+ var m_f12 = (x, y, z) => "";
- // Implicit-'any[]' errors for r.
-- var m_f13 = function () {
-- var r = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- r[_i] = arguments[_i];
-- }
-- return "";
-- };
-+ var m_f13 = (...r) => "";
- // Implicit-'any'/'any[]' errors for x and r.
-- var m_f14 = function (x) {
-- var r = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- r[_i - 1] = arguments[_i];
-- }
-- return "";
-- };
-+ var m_f14 = (x, ...r) => "";
- })(M || (M = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyStringIndexerOnObject.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyStringIndexerOnObject.js.diff
deleted file mode 100644
index cb0c4126b5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyStringIndexerOnObject.js.diff
+++ /dev/null
@@ -1,126 +0,0 @@
---- old.noImplicitAnyStringIndexerOnObject.js
-+++ new.noImplicitAnyStringIndexerOnObject.js
-@@= skipped -105, +105 lines =@@
- var a = {}["hello"];
- var b = { '': 'foo' }[''];
- var c = {
-- get: function (key) { return 'foobar'; }
-+ get: (key) => 'foobar'
- };
- c['hello'];
--var foo = c['hello'];
-+const foo = c['hello'];
- var d = {
-- set: function (key) { return 'foobar'; }
-+ set: (key) => 'foobar'
- };
--var bar = d['hello'];
--{
-- var e = {
-- get: function (key) { return 'foobar'; },
-- set: function (key) { return 'foobar'; }
-- };
-- e['hello'];
-- e['hello'] = 'modified';
-- e['hello'] += 1;
-- e['hello']++;
--}
--{
-- var e = {
-- get: function (key) { return 'foobar'; },
-- set: function (key, value) { return 'foobar'; }
-- };
-- e['hello'];
-- e['hello'] = 'modified';
-- e['hello'] += 1;
-- e['hello']++;
--}
--{
-- var e = {
-- get: function (key) { return 'foobar'; },
-- set: function (key, value) { return 'foobar'; }
-- };
-- e['hello'];
-- e['hello'] = 'modified';
-- e['hello'] += 1;
-- e['hello']++;
--}
--{
-- ({ get: function (key) { return 'hello'; }, set: function (key, value) { } })['hello'];
-- ({ get: function (key) { return 'hello'; }, set: function (key, value) { } })['hello'] = 'modified';
-- ({ get: function (key) { return 'hello'; }, set: function (key, value) { } })['hello'] += 1;
-- ({ get: function (key) { return 'hello'; }, set: function (key, value) { } })['hello']++;
--}
--{
-- ({ foo: { get: function (key) { return 'hello'; }, set: function (key, value) { } } }).foo['hello'];
-- ({ foo: { get: function (key) { return 'hello'; }, set: function (key, value) { } } }).foo['hello'] = 'modified';
-- ({ foo: { get: function (key) { return 'hello'; }, set: function (key, value) { } } }).foo['hello'] += 1;
-- ({ foo: { get: function (key) { return 'hello'; }, set: function (key, value) { } } }).foo['hello']++;
--}
--var o = { a: 0 };
-+const bar = d['hello'];
-+{
-+ let e = {
-+ get: (key) => 'foobar',
-+ set: (key) => 'foobar'
-+ };
-+ e['hello'];
-+ e['hello'] = 'modified';
-+ e['hello'] += 1;
-+ e['hello']++;
-+}
-+{
-+ let e = {
-+ get: (key) => 'foobar',
-+ set: (key, value) => 'foobar'
-+ };
-+ e['hello'];
-+ e['hello'] = 'modified';
-+ e['hello'] += 1;
-+ e['hello']++;
-+}
-+{
-+ let e = {
-+ get: (key) => 'foobar',
-+ set: (key, value) => 'foobar'
-+ };
-+ e['hello'];
-+ e['hello'] = 'modified';
-+ e['hello'] += 1;
-+ e['hello']++;
-+}
-+{
-+ ({ get: (key) => 'hello', set: (key, value) => { } })['hello'];
-+ ({ get: (key) => 'hello', set: (key, value) => { } })['hello'] = 'modified';
-+ ({ get: (key) => 'hello', set: (key, value) => { } })['hello'] += 1;
-+ ({ get: (key) => 'hello', set: (key, value) => { } })['hello']++;
-+}
-+{
-+ ({ foo: { get: (key) => 'hello', set: (key, value) => { } } }).foo['hello'];
-+ ({ foo: { get: (key) => 'hello', set: (key, value) => { } } }).foo['hello'] = 'modified';
-+ ({ foo: { get: (key) => 'hello', set: (key, value) => { } } }).foo['hello'] += 1;
-+ ({ foo: { get: (key) => 'hello', set: (key, value) => { } } }).foo['hello']++;
-+}
-+const o = { a: 0 };
- o[k];
- o[k2];
- o[sym];
-@@= skipped -59, +59 lines =@@
- NumEnum[NumEnum["a"] = 0] = "a";
- NumEnum[NumEnum["b"] = 1] = "b";
- })(NumEnum || (NumEnum = {}));
--var numEnumKey;
-+let numEnumKey;
- o[numEnumKey];
- var StrEnum;
- (function (StrEnum) {
- StrEnum["a"] = "a";
- StrEnum["b"] = "b";
- })(StrEnum || (StrEnum = {}));
--var strEnumKey;
-+let strEnumKey;
- o[strEnumKey];
--var rover = { bark: function () { } };
-+let rover = { bark() { } };
- map[rover] = "Rover";
- m.prop['a'];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitAnyWithOverloads.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitAnyWithOverloads.js.diff
deleted file mode 100644
index 534bad2810..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitAnyWithOverloads.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.noImplicitAnyWithOverloads.js
-+++ new.noImplicitAnyWithOverloads.js
-@@= skipped -12, +12 lines =@@
-
- //// [noImplicitAnyWithOverloads.js]
- function callb(a) { }
--callb(function (a) { a.foo; }); // error, chose first overload
-+callb((a) => { a.foo; }); // error, chose first overload
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitReturnInConstructors.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitReturnInConstructors.js.diff
deleted file mode 100644
index e0bdc6a36c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitReturnInConstructors.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.noImplicitReturnInConstructors.js
-+++ new.noImplicitReturnInConstructors.js
-@@= skipped -7, +7 lines =@@
- }
-
- //// [noImplicitReturnInConstructors.js]
--var C = /** @class */ (function () {
-- function C() {
-+class C {
-+ constructor() {
- return;
- }
-- return C;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitSymbolToString.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitSymbolToString.js.diff
deleted file mode 100644
index d9d2b1ddba..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitSymbolToString.js.diff
+++ /dev/null
@@ -1,53 +0,0 @@
---- old.noImplicitSymbolToString.js
-+++ new.noImplicitSymbolToString.js
-@@= skipped -50, +50 lines =@@
-
- //// [noImplicitSymbolToString.js]
- // Fix #19666
--var symbol;
--var str = "hello ";
--var templateStr = "hello ".concat(symbol);
--var appendStr = "hello " + symbol;
-+let symbol;
-+let str = "hello ";
-+const templateStr = `hello ${symbol}`;
-+const appendStr = "hello " + symbol;
- str += symbol;
--var symbolUnionNumber;
--var symbolUnionString;
--var templateStrUnion = "union with number ".concat(symbolUnionNumber, " and union with string ").concat(symbolUnionString);
-+let symbolUnionNumber;
-+let symbolUnionString;
-+const templateStrUnion = `union with number ${symbolUnionNumber} and union with string ${symbolUnionString}`;
- function getKey(key) {
-- return "".concat(key, " is the key");
-+ return `${key} is the key`;
- }
- function getKey1(key) {
-- var s1;
-- "".concat(s1);
-+ let s1;
-+ `${s1}`;
- s1 + '';
- +s1;
-- var s2;
-- "".concat(s2);
-+ let s2;
-+ `${s2}`;
- s2 + '';
- +s2;
- }
- function getKey2(key) {
-- var s1;
-- "".concat(s1);
-+ let s1;
-+ `${s1}`;
- s1 + '';
- +s1;
-- var s2;
-- "".concat(s2);
-+ let s2;
-+ `${s2}`;
- s2 + '';
- +s2;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitThisBigThis.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitThisBigThis.js.diff
index 61871e5815..99cfa80f8a 100644
--- a/testdata/baselines/reference/submodule/compiler/noImplicitThisBigThis.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/noImplicitThisBigThis.js.diff
@@ -1,83 +1,6 @@
--- old.noImplicitThisBigThis.js
+++ new.noImplicitThisBigThis.js
-@@= skipped -53, +53 lines =@@
- // https://github.com/microsoft/TypeScript/issues/29902
- function createObj() {
- return {
-- func1: function () {
-- return this;
-- },
-- func2: function () {
-- return this;
-- },
-- func3: function () {
-+ func1() {
-+ return this;
-+ },
-+ func2() {
-+ return this;
-+ },
-+ func3() {
- return this;
- }
- };
- }
- function createObjNoCrash() {
- return {
-- func1: function () {
-- return this;
-- },
-- func2: function () {
-- return this;
-- },
-- func3: function () {
-- return this;
-- },
-- func4: function () {
-- return this;
-- },
-- func5: function () {
-- return this;
-- },
-- func6: function () {
-- return this;
-- },
-- func7: function () {
-- return this;
-- },
-- func8: function () {
-- return this;
-- },
-- func9: function () {
-+ func1() {
-+ return this;
-+ },
-+ func2() {
-+ return this;
-+ },
-+ func3() {
-+ return this;
-+ },
-+ func4() {
-+ return this;
-+ },
-+ func5() {
-+ return this;
-+ },
-+ func6() {
-+ return this;
-+ },
-+ func7() {
-+ return this;
-+ },
-+ func8() {
-+ return this;
-+ },
-+ func9() {
- return this;
- }
- };
-@@= skipped -45, +45 lines =@@
+@@= skipped -98, +98 lines =@@
//// [noImplicitThisBigThis.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/noImplicitThisFunctions.js.diff b/testdata/baselines/reference/submodule/compiler/noImplicitThisFunctions.js.diff
deleted file mode 100644
index 42ab3ec1f0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noImplicitThisFunctions.js.diff
+++ /dev/null
@@ -1,25 +0,0 @@
---- old.noImplicitThisFunctions.js
-+++ new.noImplicitThisFunctions.js
-@@= skipped -24, +24 lines =@@
-
-
- //// [noImplicitThisFunctions.js]
--var _this = this;
- function f1(x) {
- // implicit any is still allowed
- return x + 1;
-@@= skipped -14, +13 lines =@@
- return this.a + z;
- }
- // error: `this` is `window`, but is still of type `any`
--var f4 = function (b) { return _this.c + b; };
--var f5 = function () { return function () { return _this; }; };
--var f6 = function () {
-- var _this = this;
-- return function () { return _this; };
--};
--var f7 = function () { return function () { return this; }; };
-+let f4 = b => this.c + b;
-+let f5 = () => () => this;
-+let f6 = function () { return () => this; };
-+let f7 = function () { return function () { return this; }; };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noRepeatedPropertyNames.js.diff b/testdata/baselines/reference/submodule/compiler/noRepeatedPropertyNames.js.diff
deleted file mode 100644
index 149c88abcb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noRepeatedPropertyNames.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.noRepeatedPropertyNames.js
-+++ new.noRepeatedPropertyNames.js
-@@= skipped -12, +12 lines =@@
-
- //// [noRepeatedPropertyNames.js]
- // https://github.com/microsoft/TypeScript/issues/46815
--var first = { a: 1, a: 2 };
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.m = function () {
-- var second = { a: 1, a: 2 };
-+const first = { a: 1, a: 2 };
-+class C {
-+ m() {
-+ const second = { a: 1, a: 2 };
- return second.a;
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noSubstitutionTemplateStringLiteralTypes.js.diff b/testdata/baselines/reference/submodule/compiler/noSubstitutionTemplateStringLiteralTypes.js.diff
deleted file mode 100644
index 63fa8073cc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noSubstitutionTemplateStringLiteralTypes.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.noSubstitutionTemplateStringLiteralTypes.js
-+++ new.noSubstitutionTemplateStringLiteralTypes.js
-@@= skipped -4, +4 lines =@@
-
-
- //// [noSubstitutionTemplateStringLiteralTypes.js]
--var x = "foo";
-+const x = "foo";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noTypeArgumentOnReturnType1.js.diff b/testdata/baselines/reference/submodule/compiler/noTypeArgumentOnReturnType1.js.diff
deleted file mode 100644
index a23e7d1337..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noTypeArgumentOnReturnType1.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.noTypeArgumentOnReturnType1.js
-+++ new.noTypeArgumentOnReturnType1.js
-@@= skipped -8, +8 lines =@@
- }
-
- //// [noTypeArgumentOnReturnType1.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.foo = function () {
-+class A {
-+ foo() {
- return null;
-- };
-- return A;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noUncheckedIndexAccess.js.diff b/testdata/baselines/reference/submodule/compiler/noUncheckedIndexAccess.js.diff
deleted file mode 100644
index 8f6adb87d4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noUncheckedIndexAccess.js.diff
+++ /dev/null
@@ -1,34 +0,0 @@
---- old.noUncheckedIndexAccess.js
-+++ new.noUncheckedIndexAccess.js
-@@= skipped -34, +34 lines =@@
- Meat[Meat["Sausage"] = 0] = "Sausage";
- Meat[Meat["Bacon"] = 1] = "Bacon";
- })(Meat || (Meat = {}));
--var sausage = Meat.Sausage;
--var valueSausage = Meat[sausage];
--var bacon = Meat.Bacon;
--var valueBacon = Meat[bacon];
--var union = Meat.Bacon;
--var valueUnion = Meat[union];
-+const sausage = Meat.Sausage;
-+const valueSausage = Meat[sausage];
-+const bacon = Meat.Bacon;
-+const valueBacon = Meat[bacon];
-+const union = Meat.Bacon;
-+const valueUnion = Meat[union];
- //Avoiding a false positive
--var value = Meat[0];
--var valueUndefined = "testing";
--var value2 = Meat[valueUndefined];
-+const value = Meat[0];
-+const valueUndefined = "testing";
-+const value2 = Meat[valueUndefined];
- var A;
- (function (A) {
- A[A["a"] = 0] = "a";
-@@= skipped -22, +22 lines =@@
- B[B["y"] = 1] = "y";
- B[B["z"] = 2] = "z";
- })(B || (B = {}));
--var value3 = A[B.x];
-+const value3 = A[B.x];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noUnusedLocals_destructuringAssignment.js.diff b/testdata/baselines/reference/submodule/compiler/noUnusedLocals_destructuringAssignment.js.diff
index e2d0ab577f..f5df52f3cf 100644
--- a/testdata/baselines/reference/submodule/compiler/noUnusedLocals_destructuringAssignment.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/noUnusedLocals_destructuringAssignment.js.diff
@@ -1,33 +1,13 @@
--- old.noUnusedLocals_destructuringAssignment.js
+++ new.noUnusedLocals_destructuringAssignment.js
-@@= skipped -18, +18 lines =@@
-
+@@= skipped -19, +19 lines =@@
//// [noUnusedLocals_destructuringAssignment.js]
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.x = 0;
- }
-- C.prototype.m = function () {
-- var x;
-- (x = this.x);
-+class C {
+ x = 0;
-+ m() {
-+ let x;
-+ ({ x } = this);
- return x;
-- };
-- C.prototype.f = function () {
-- var f;
-- (f = this.f);
-+ }
-+ f() {
-+ let f;
-+ ({ f } = this);
- return f;
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
+ m() {
+ let x;
+ ({ x } = this);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noUnusedLocals_selfReference.js.diff b/testdata/baselines/reference/submodule/compiler/noUnusedLocals_selfReference.js.diff
deleted file mode 100644
index 1ff72b0904..0000000000
--- a/testdata/baselines/reference/submodule/compiler/noUnusedLocals_selfReference.js.diff
+++ /dev/null
@@ -1,43 +0,0 @@
---- old.noUnusedLocals_selfReference.js
-+++ new.noUnusedLocals_selfReference.js
-@@= skipped -38, +38 lines =@@
- g;
- }
- }
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.m = function () { C; };
-- return C;
--}());
-+class C {
-+ m() { C; }
-+}
- var E;
- (function (E) {
- E[E["A"] = 0] = "A";
-@@= skipped -16, +13 lines =@@
- (function (N) {
- N;
- })(N || (N = {}));
--var P = /** @class */ (function () {
-- function P() {
-- }
-- P.prototype.m = function () { this.m; };
-- return P;
--}());
-+class P {
-+ m() { this.m; }
-+}
- P;
- // Does not detect mutual recursion.
- function g() { D; }
--var D = /** @class */ (function () {
-- function D() {
-- }
-- D.prototype.m = function () { g; };
-- return D;
--}());
-+class D {
-+ m() { g; }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noUnusedLocals_writeOnly.js.diff b/testdata/baselines/reference/submodule/compiler/noUnusedLocals_writeOnly.js.diff
index 1d1db58b92..e4edd5baf6 100644
--- a/testdata/baselines/reference/submodule/compiler/noUnusedLocals_writeOnly.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/noUnusedLocals_writeOnly.js.diff
@@ -5,33 +5,6 @@
//// [noUnusedLocals_writeOnly.js]
-"use strict";
--function f(x, b) {
-- var _a, _b;
-- if (x === void 0) { x = 0; }
-- if (b === void 0) { b = false; }
-+function f(x = 0, b = false) {
+ function f(x = 0, b = false) {
// None of these statements read from 'x', so it will be marked unused.
- x = 1;
-- (x = [1][0]);
-- (x = { x: 1 }.x);
-- (x = { x: 1 }.x);
-- (x = { a: [{ b: 1 }] }.a[0].b);
-- (_a = { x: b ? 1 : undefined }.x, x = _a === void 0 ? 2 : _a);
-- var used = 1;
-- (_b = { x: b ? 1 : undefined }.x, x = _b === void 0 ? used : _b);
-- var y = 0;
-+ ([x] = [1]);
-+ ({ x } = { x: 1 });
-+ ({ x: x } = { x: 1 });
-+ ({ a: [{ b: x }] } = { a: [{ b: 1 }] });
-+ ({ x = 2 } = { x: b ? 1 : undefined });
-+ let used = 1;
-+ ({ x = used } = { x: b ? 1 : undefined });
-+ let y = 0;
- // This is a write access to y, but not a write-*only* access.
- f(y++);
-- var z = 0;
-+ let z = 0;
- f(z = 1); // This effectively doesn't use `z`, values just pass through it.
- }
- function f2(_) { }
\ No newline at end of file
+ x = 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noUnusedLocals_writeOnlyProperty.js.diff b/testdata/baselines/reference/submodule/compiler/noUnusedLocals_writeOnlyProperty.js.diff
index d9a4f0014f..aeef474b09 100644
--- a/testdata/baselines/reference/submodule/compiler/noUnusedLocals_writeOnlyProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/noUnusedLocals_writeOnlyProperty.js.diff
@@ -1,19 +1,10 @@
--- old.noUnusedLocals_writeOnlyProperty.js
+++ new.noUnusedLocals_writeOnlyProperty.js
-@@= skipped -9, +9 lines =@@
-
+@@= skipped -10, +10 lines =@@
//// [noUnusedLocals_writeOnlyProperty.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.m = function () {
-+class C {
+ class C {
+ x;
-+ m() {
+ m() {
this.x = 0;
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/noUnusedLocals_writeOnlyProperty_dynamicNames.js.diff b/testdata/baselines/reference/submodule/compiler/noUnusedLocals_writeOnlyProperty_dynamicNames.js.diff
index ab3aacef5b..4b197d4df3 100644
--- a/testdata/baselines/reference/submodule/compiler/noUnusedLocals_writeOnlyProperty_dynamicNames.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/noUnusedLocals_writeOnlyProperty_dynamicNames.js.diff
@@ -1,25 +1,11 @@
--- old.noUnusedLocals_writeOnlyProperty_dynamicNames.js
+++ new.noUnusedLocals_writeOnlyProperty_dynamicNames.js
-@@= skipped -13, +13 lines =@@
-
-
- //// [noUnusedLocals_writeOnlyProperty_dynamicNames.js]
--var x = Symbol("x");
--var y = Symbol("y");
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.m = function () {
-+const x = Symbol("x");
-+const y = Symbol("y");
-+class C {
+@@= skipped -16, +16 lines =@@
+ const x = Symbol("x");
+ const y = Symbol("y");
+ class C {
+ [x];
+ [y];
-+ m() {
+ m() {
this[x] = 0; // write-only
- this[y];
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
+ this[y];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nodeModuleReexportFromDottedPath.js.diff b/testdata/baselines/reference/submodule/compiler/nodeModuleReexportFromDottedPath.js.diff
index ea3cf34917..ce61505671 100644
--- a/testdata/baselines/reference/submodule/compiler/nodeModuleReexportFromDottedPath.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nodeModuleReexportFromDottedPath.js.diff
@@ -5,9 +5,8 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var client_1 = require("@prisma/client");
--var EnhancedPrisma = enhancePrisma(client_1.PrismaClient);
+const client_1 = require("@prisma/client");
-+const EnhancedPrisma = enhancePrisma(client_1.PrismaClient);
+ const EnhancedPrisma = enhancePrisma(client_1.PrismaClient);
exports.default = new EnhancedPrisma();
diff --git a/testdata/baselines/reference/submodule/compiler/nonArrayRestArgs.js.diff b/testdata/baselines/reference/submodule/compiler/nonArrayRestArgs.js.diff
deleted file mode 100644
index 3dde8e1265..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nonArrayRestArgs.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.nonArrayRestArgs.js
-+++ new.nonArrayRestArgs.js
-@@= skipped -6, +6 lines =@@
- }
-
- //// [nonArrayRestArgs.js]
--function foo() {
-- var rest = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- rest[_i] = arguments[_i];
-- }
-+function foo(...rest) {
- var x = rest[0];
- return x;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonExportedElementsOfMergedModules.js.diff b/testdata/baselines/reference/submodule/compiler/nonExportedElementsOfMergedModules.js.diff
deleted file mode 100644
index f81ecfd0a0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nonExportedElementsOfMergedModules.js.diff
+++ /dev/null
@@ -1,27 +0,0 @@
---- old.nonExportedElementsOfMergedModules.js
-+++ new.nonExportedElementsOfMergedModules.js
-@@= skipped -20, +20 lines =@@
- //// [nonExportedElementsOfMergedModules.js]
- var One;
- (function (One) {
-- var A;
-+ let A;
- (function (A) {
- A[A["X"] = 0] = "X";
- })(A || (A = {}));
-- var B;
-+ let B;
- (function (B) {
- })(B || (B = {}));
- })(One || (One = {}));
- (function (One) {
-- var A;
-+ let A;
- (function (A) {
- A[A["Y"] = 0] = "Y";
- })(A || (A = {}));
-- var B;
-+ let B;
- (function (B) {
- })(B || (B = {}));
- B.x;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonGenericClassExtendingGenericClassWithAny.js.diff b/testdata/baselines/reference/submodule/compiler/nonGenericClassExtendingGenericClassWithAny.js.diff
index 10c17d8ccb..c77e17fcdd 100644
--- a/testdata/baselines/reference/submodule/compiler/nonGenericClassExtendingGenericClassWithAny.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nonGenericClassExtendingGenericClassWithAny.js.diff
@@ -1,38 +1,10 @@
--- old.nonGenericClassExtendingGenericClassWithAny.js
+++ new.nonGenericClassExtendingGenericClassWithAny.js
-@@= skipped -7, +7 lines =@@
- class Bar extends Foo { } // Valid
+@@= skipped -8, +8 lines =@@
//// [nonGenericClassExtendingGenericClassWithAny.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
--var Bar = /** @class */ (function (_super) {
-- __extends(Bar, _super);
-- function Bar() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Bar;
--}(Foo)); // Valid
-+class Foo {
+ class Foo {
+ t;
-+}
-+class Bar extends Foo {
-+} // Valid
\ No newline at end of file
+ }
+ class Bar extends Foo {
+ } // Valid
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonIdenticalTypeConstraints.js.diff b/testdata/baselines/reference/submodule/compiler/nonIdenticalTypeConstraints.js.diff
index 0eece6d491..759c1c87d1 100644
--- a/testdata/baselines/reference/submodule/compiler/nonIdenticalTypeConstraints.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nonIdenticalTypeConstraints.js.diff
@@ -1,56 +1,25 @@
--- old.nonIdenticalTypeConstraints.js
+++ new.nonIdenticalTypeConstraints.js
-@@= skipped -40, +40 lines =@@
- }
+@@= skipped -41, +41 lines =@@
//// [nonIdenticalTypeConstraints.js]
--var Different = /** @class */ (function () {
-- function Different() {
-- }
-- return Different;
--}());
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
--var Qux = /** @class */ (function () {
-- function Qux() {
-- }
-- return Qux;
--}());
--var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- return Bar;
--}());
--var Baz = /** @class */ (function () {
-- function Baz() {
-- }
-- return Baz;
--}());
--var Quux = /** @class */ (function () {
-- function Quux() {
-- }
-- return Quux;
--}());
-+class Different {
+ class Different {
+ a;
+ b;
+ c;
-+}
-+class Foo {
+ }
+ class Foo {
+ n;
-+}
-+class Qux {
+ }
+ class Qux {
+ n;
-+}
-+class Bar {
+ }
+ class Bar {
+ n;
-+}
-+class Baz {
+ }
+ class Baz {
+ n;
-+}
-+class Quux {
+ }
+ class Quux {
+ n;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonInferrableTypePropagation1.js.diff b/testdata/baselines/reference/submodule/compiler/nonInferrableTypePropagation1.js.diff
index d4fbd43996..0db370dfe4 100644
--- a/testdata/baselines/reference/submodule/compiler/nonInferrableTypePropagation1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nonInferrableTypePropagation1.js.diff
@@ -5,7 +5,5 @@
//// [nonInferrableTypePropagation1.js]
-"use strict";
--var result1 = createAndUnbox(function () { return thing.pipe(map(function (data) { return box(data); }), tap(function (v) { return log(v); })); });
--var result2 = createAndUnbox(function () { return thing.pipe(tap(function (v) { return log(v); }), map(function (data) { return box(data); })); });
-+const result1 = createAndUnbox(() => thing.pipe(map((data) => box(data)), tap((v) => log(v))));
-+const result2 = createAndUnbox(() => thing.pipe(tap((v) => log(v)), map((data) => box(data))));
\ No newline at end of file
+ const result1 = createAndUnbox(() => thing.pipe(map((data) => box(data)), tap((v) => log(v))));
+ const result2 = createAndUnbox(() => thing.pipe(tap((v) => log(v)), map((data) => box(data))));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonInferrableTypePropagation2.js.diff b/testdata/baselines/reference/submodule/compiler/nonInferrableTypePropagation2.js.diff
deleted file mode 100644
index 621c600ea0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nonInferrableTypePropagation2.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.nonInferrableTypePropagation2.js
-+++ new.nonInferrableTypePropagation2.js
-@@= skipped -36, +36 lines =@@
- //// [nonInferrableTypePropagation2.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var x = pipe(es, filter(exists(function (n) { return n > 0; })));
-+const x = pipe(es, filter(exists((n) => n > 0)));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonMergedDeclarationsAndOverloads.js.diff b/testdata/baselines/reference/submodule/compiler/nonMergedDeclarationsAndOverloads.js.diff
index 5efc47a800..8287c975cd 100644
--- a/testdata/baselines/reference/submodule/compiler/nonMergedDeclarationsAndOverloads.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nonMergedDeclarationsAndOverloads.js.diff
@@ -1,19 +1,10 @@
--- old.nonMergedDeclarationsAndOverloads.js
+++ new.nonMergedDeclarationsAndOverloads.js
-@@= skipped -10, +10 lines =@@
- }
+@@= skipped -11, +11 lines =@@
//// [nonMergedDeclarationsAndOverloads.js]
--var A = /** @class */ (function () {
-- function A() {
-+class A {
+ class A {
+ m1;
-+ f() { }
-+ m1(a) {
- }
-- A.prototype.f = function () { };
-- A.prototype.m1 = function (a) {
-- };
-- return A;
--}());
-+}
\ No newline at end of file
+ f() { }
+ m1(a) {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonNullFullInference.js.diff b/testdata/baselines/reference/submodule/compiler/nonNullFullInference.js.diff
deleted file mode 100644
index d7d99b6800..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nonNullFullInference.js.diff
+++ /dev/null
@@ -1,28 +0,0 @@
---- old.nonNullFullInference.js
-+++ new.nonNullFullInference.js
-@@= skipped -37, +37 lines =@@
- //// [nonNullFullInference.js]
- // https://github.com/microsoft/TypeScript/issues/19577
- function testNonNullInference(numbers) {
-- var last;
-- for (var _i = 0, numbers_1 = numbers; _i < numbers_1.length; _i++) {
-- var n = numbers_1[_i];
-+ let last;
-+ for (const n of numbers) {
- if (n % 2) {
- return n;
- }
-@@= skipped -12, +11 lines =@@
- last;
- }
- function testNonNullInferenceWithArrays(numbers) {
-- var result;
-- var arr = [];
-- for (var _i = 0, numbers_2 = numbers; _i < numbers_2.length; _i++) {
-- var n = numbers_2[_i];
-+ let result;
-+ const arr = [];
-+ for (const n of numbers) {
- if (n % 2) {
- return [n];
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonNullMappedType.js.diff b/testdata/baselines/reference/submodule/compiler/nonNullMappedType.js.diff
index 4b5b8e3141..0330be472b 100644
--- a/testdata/baselines/reference/submodule/compiler/nonNullMappedType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nonNullMappedType.js.diff
@@ -6,6 +6,5 @@
//// [nonNullMappedType.js]
-"use strict";
function f(p0, p1) {
-- var v = p0[p1];
-+ const v = p0[p1];
+ const v = p0[p1];
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonNullParameterExtendingStringAssignableToString.js.diff b/testdata/baselines/reference/submodule/compiler/nonNullParameterExtendingStringAssignableToString.js.diff
index c3ea67a9e6..3e4a27e1f7 100644
--- a/testdata/baselines/reference/submodule/compiler/nonNullParameterExtendingStringAssignableToString.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nonNullParameterExtendingStringAssignableToString.js.diff
@@ -6,8 +6,5 @@
//// [nonNullParameterExtendingStringAssignableToString.js]
-"use strict";
function fn(one, two) {
-- var three = Boolean() ? one : two;
-+ let three = Boolean() ? one : two;
- foo(one);
- foo(two);
- foo(three); // this line is the important one
\ No newline at end of file
+ let three = Boolean() ? one : two;
+ foo(one);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonNullReferenceMatching.js.diff b/testdata/baselines/reference/submodule/compiler/nonNullReferenceMatching.js.diff
index ff67f7786e..4c8cc04196 100644
--- a/testdata/baselines/reference/submodule/compiler/nonNullReferenceMatching.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nonNullReferenceMatching.js.diff
@@ -5,24 +5,20 @@
//// [nonNullReferenceMatching.js]
-"use strict";
--var Component = /** @class */ (function () {
-- function Component() {
-- var _this = this;
-- this.thumbYElementRef = function (ref) {
-- typeof _this.props.thumbYProps.elementRef === 'function' && _this.props.thumbYProps.elementRef(ref);
-- typeof (_this.props.thumbYProps.elementRef) === 'function' && _this.props.thumbYProps.elementRef(ref);
-- typeof ((_this.props).thumbYProps.elementRef) === 'function' && _this.props.thumbYProps.elementRef(ref);
-- typeof _this.props.thumbXProps.elementRef === 'function' && _this.props.thumbXProps.elementRef(ref);
-- typeof _this.props.thumbXProps.elementRef === 'function' && (_this.props).thumbXProps.elementRef(ref);
-- typeof _this.props.thumbXProps.elementRef === 'function' && (_this.props.thumbXProps).elementRef(ref);
-- typeof _this.props.thumbXProps.elementRef === 'function' && ((_this.props).thumbXProps).elementRef(ref);
-- typeof (_this.props.thumbXProps).elementRef === 'function' && ((_this.props).thumbXProps).elementRef(ref);
-- typeof _this.props.thumbXProps.elementRef === 'function' && ((_this.props).thumbXProps).elementRef(ref);
+ class Component {
+- constructor() {
+- this.thumbYElementRef = (ref) => {
+- typeof this.props.thumbYProps.elementRef === 'function' && this.props.thumbYProps.elementRef(ref);
+- typeof (this.props.thumbYProps.elementRef) === 'function' && this.props.thumbYProps.elementRef(ref);
+- typeof ((this.props).thumbYProps.elementRef) === 'function' && this.props.thumbYProps.elementRef(ref);
+- typeof this.props.thumbXProps.elementRef === 'function' && this.props.thumbXProps.elementRef(ref);
+- typeof this.props.thumbXProps.elementRef === 'function' && (this.props).thumbXProps.elementRef(ref);
+- typeof this.props.thumbXProps.elementRef === 'function' && (this.props.thumbXProps).elementRef(ref);
+- typeof this.props.thumbXProps.elementRef === 'function' && ((this.props).thumbXProps).elementRef(ref);
+- typeof (this.props.thumbXProps).elementRef === 'function' && ((this.props).thumbXProps).elementRef(ref);
+- typeof this.props.thumbXProps.elementRef === 'function' && ((this.props).thumbXProps).elementRef(ref);
- };
- }
-- return Component;
--}());
-+class Component {
+ props;
+ thumbYElementRef = (ref) => {
+ typeof this.props.thumbYProps.elementRef === 'function' && this.props.thumbYProps.elementRef(ref);
@@ -35,4 +31,4 @@
+ typeof (this.props.thumbXProps).elementRef === 'function' && ((this.props).thumbXProps).elementRef(ref);
+ typeof this.props.thumbXProps.elementRef === 'function' && ((this.props).thumbXProps).elementRef(ref);
+ };
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonNullableReduction.js.diff b/testdata/baselines/reference/submodule/compiler/nonNullableReduction.js.diff
index 06bd2ee8d5..e597bf5c0b 100644
--- a/testdata/baselines/reference/submodule/compiler/nonNullableReduction.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nonNullableReduction.js.diff
@@ -13,10 +13,4 @@
+ f2?.("hello");
}
function f1(x) {
-- var z = x; // NonNullable
-+ let z = x; // NonNullable
- }
- function f2(x) {
-- var z = x; // NonNullable
-+ let z = x; // NonNullable
- }
\ No newline at end of file
+ let z = x; // NonNullable
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonNullableReductionNonStrict.js.diff b/testdata/baselines/reference/submodule/compiler/nonNullableReductionNonStrict.js.diff
index 91923c6543..d2137e4a79 100644
--- a/testdata/baselines/reference/submodule/compiler/nonNullableReductionNonStrict.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nonNullableReductionNonStrict.js.diff
@@ -12,10 +12,4 @@
+ f2?.("hello");
}
function f1(x) {
-- var z = x; // NonNullable
-+ let z = x; // NonNullable
- }
- function f2(x) {
-- var z = x; // NonNullable
-+ let z = x; // NonNullable
- }
\ No newline at end of file
+ let z = x; // NonNullable
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonNullableTypes1.js.diff b/testdata/baselines/reference/submodule/compiler/nonNullableTypes1.js.diff
index e3975f2135..da78fe8cab 100644
--- a/testdata/baselines/reference/submodule/compiler/nonNullableTypes1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nonNullableTypes1.js.diff
@@ -6,17 +6,10 @@
//// [nonNullableTypes1.js]
-"use strict";
function f1(x) {
-- var y = x || "hello"; // NonNullable | string
-+ let y = x || "hello"; // NonNullable | string
+ let y = x || "hello"; // NonNullable | string
}
- function error() {
- throw new Error();
-@@= skipped -11, +10 lines =@@
- return x || error();
- }
- function f3(x) {
-- var y = x; // {}
-+ let y = x; // {}
+@@= skipped -14, +13 lines =@@
+ let y = x; // {}
}
function f4(obj) {
- if ((obj === null || obj === void 0 ? void 0 : obj.x) === "hello") {
@@ -26,18 +19,6 @@
- obj; // NonNullable
- }
- if (typeof (obj === null || obj === void 0 ? void 0 : obj.x) === "string") {
-- obj; // NonNullable
-- }
--}
--var A = /** @class */ (function () {
-- function A() {
-- this.x = "hello";
-- }
-- A.prototype.foo = function () {
-- var zz = this === null || this === void 0 ? void 0 : this.x; // string
-- };
-- return A;
--}());
+ if (obj?.x === "hello") {
+ obj; // NonNullable
+ }
@@ -45,15 +26,16 @@
+ obj; // NonNullable
+ }
+ if (typeof obj?.x === "string") {
-+ obj; // NonNullable
-+ }
-+}
-+class A {
+ obj; // NonNullable
+ }
+ }
+ class A {
+- constructor() {
+- this.x = "hello";
+- }
+ x = "hello";
-+ foo() {
+ foo() {
+- let zz = this === null || this === void 0 ? void 0 : this.x; // string
+ let zz = this?.x; // string
-+ }
-+}
-
-
- //// [nonNullableTypes1.d.ts]
\ No newline at end of file
+ }
+ }
diff --git a/testdata/baselines/reference/submodule/compiler/nonObjectUnionNestedExcessPropertyCheck.js.diff b/testdata/baselines/reference/submodule/compiler/nonObjectUnionNestedExcessPropertyCheck.js.diff
deleted file mode 100644
index 61c8eeb5eb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nonObjectUnionNestedExcessPropertyCheck.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.nonObjectUnionNestedExcessPropertyCheck.js
-+++ new.nonObjectUnionNestedExcessPropertyCheck.js
-@@= skipped -23, +23 lines =@@
-
- //// [nonObjectUnionNestedExcessPropertyCheck.js]
- // These are the types of errors we want:
--var propB1 = { INVALID_PROP_NAME: 'share', iconProp: 'test' };
-+const propB1 = { INVALID_PROP_NAME: 'share', iconProp: 'test' };
- // Nested typing works here and we also get an expected error:
--var propB2 = { nestedProp: { asdfasdf: 'test' }, iconProp: 'test' };
-+const propB2 = { nestedProp: { asdfasdf: 'test' }, iconProp: 'test' };
- // Want an error generated here but there isn't one.
--var propA1 = { nestedProps: { INVALID_PROP_NAME: 'share', iconProp: 'test' } };
-+const propA1 = { nestedProps: { INVALID_PROP_NAME: 'share', iconProp: 'test' } };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonnullAssertionPropegatesContextualType.js.diff b/testdata/baselines/reference/submodule/compiler/nonnullAssertionPropegatesContextualType.js.diff
index 21b1efbae0..489307535f 100644
--- a/testdata/baselines/reference/submodule/compiler/nonnullAssertionPropegatesContextualType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/nonnullAssertionPropegatesContextualType.js.diff
@@ -5,5 +5,4 @@
//// [nonnullAssertionPropegatesContextualType.js]
-"use strict";
--var rect2 = document.querySelector('.svg-rectangle'); // Error: Element
-+let rect2 = document.querySelector('.svg-rectangle'); // Error: Element
\ No newline at end of file
+ let rect2 = document.querySelector('.svg-rectangle'); // Error: Element
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nonstrictTemplateWithNotOctalPrintsAsIs.js.diff b/testdata/baselines/reference/submodule/compiler/nonstrictTemplateWithNotOctalPrintsAsIs.js.diff
deleted file mode 100644
index e45e39abd8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nonstrictTemplateWithNotOctalPrintsAsIs.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.nonstrictTemplateWithNotOctalPrintsAsIs.js
-+++ new.nonstrictTemplateWithNotOctalPrintsAsIs.js
-@@= skipped -6, +6 lines =@@
-
- //// [nonstrictTemplateWithNotOctalPrintsAsIs.js]
- // https://github.com/Microsoft/TypeScript/issues/21828
--var d2 = "\\0041";
-+const d2 = `\\0041`;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/normalizedIntersectionTooComplex.js.diff b/testdata/baselines/reference/submodule/compiler/normalizedIntersectionTooComplex.js.diff
index af15dd87b9..051b1d5c7b 100644
--- a/testdata/baselines/reference/submodule/compiler/normalizedIntersectionTooComplex.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/normalizedIntersectionTooComplex.js.diff
@@ -6,7 +6,5 @@
//// [normalizedIntersectionTooComplex.js]
-"use strict";
-// Repro from #30050
--var ctor = getCtor(all);
--var comp = ctor({ common: "ok", ref: function (x) { return console.log(x); } });
-+const ctor = getCtor(all);
-+const comp = ctor({ common: "ok", ref: x => console.log(x) });
\ No newline at end of file
+ const ctor = getCtor(all);
+ const comp = ctor({ common: "ok", ref: x => console.log(x) });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/null.js.diff b/testdata/baselines/reference/submodule/compiler/null.js.diff
deleted file mode 100644
index 50d354c186..0000000000
--- a/testdata/baselines/reference/submodule/compiler/null.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.null.js
-+++ new.null.js
-@@= skipped -26, +26 lines =@@
- var x = null;
- var y = 3 + x;
- var z = 3 + null;
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
- function f() {
- return null;
- return new C();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/nullableFunctionError.js.diff b/testdata/baselines/reference/submodule/compiler/nullableFunctionError.js.diff
deleted file mode 100644
index 6564a4d9f7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/nullableFunctionError.js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.nullableFunctionError.js
-+++ new.nullableFunctionError.js
-@@= skipped -9, +9 lines =@@
- //// [nullableFunctionError.js]
- null();
- undefined();
--var f;
-+let f;
- f();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/numberAssignableToEnumInsideUnion.js.diff b/testdata/baselines/reference/submodule/compiler/numberAssignableToEnumInsideUnion.js.diff
deleted file mode 100644
index 1b6f083abe..0000000000
--- a/testdata/baselines/reference/submodule/compiler/numberAssignableToEnumInsideUnion.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.numberAssignableToEnumInsideUnion.js
-+++ new.numberAssignableToEnumInsideUnion.js
-@@= skipped -11, +11 lines =@@
- E[E["A"] = 0] = "A";
- E[E["B"] = 1] = "B";
- })(E || (E = {}));
--var n;
--var z = n;
-+let n;
-+let z = n;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/numericClassMembers1.js.diff b/testdata/baselines/reference/submodule/compiler/numericClassMembers1.js.diff
index 67ad926d28..e4574479af 100644
--- a/testdata/baselines/reference/submodule/compiler/numericClassMembers1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/numericClassMembers1.js.diff
@@ -1,39 +1,29 @@
--- old.numericClassMembers1.js
+++ new.numericClassMembers1.js
-@@= skipped -17, +17 lines =@@
-
+@@= skipped -18, +18 lines =@@
//// [numericClassMembers1.js]
--var C234 = /** @class */ (function () {
-- function C234() {
+ class C234 {
+- constructor() {
- this[0] = 1;
- this[0.0] = 2;
- }
-- return C234;
--}());
--var C235 = /** @class */ (function () {
-- function C235() {
++ 0 = 1;
++ 0.0 = 2;
+ }
+ class C235 {
+- constructor() {
- this[0.0] = 1;
- this['0'] = 2;
- }
-- return C235;
--}());
--var C236 = /** @class */ (function () {
-- function C236() {
++ 0.0 = 1;
++ '0' = 2;
+ }
+ class C236 {
+- constructor() {
- this['0.0'] = 1;
- this['0'] = 2;
- }
-- return C236;
--}());
-+class C234 {
-+ 0 = 1;
-+ 0.0 = 2;
-+}
-+class C235 {
-+ 0.0 = 1;
-+ '0' = 2;
-+}
-+class C236 {
+ '0.0' = 1;
+ '0' = 2;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/numericEnumMappedType.js.diff b/testdata/baselines/reference/submodule/compiler/numericEnumMappedType.js.diff
index ad7483d9a8..d3570f1d57 100644
--- a/testdata/baselines/reference/submodule/compiler/numericEnumMappedType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/numericEnumMappedType.js.diff
@@ -8,21 +8,7 @@
// Repro from #31771
var E1;
(function (E1) {
-@@= skipped -8, +7 lines =@@
- E1[E1["TWO"] = 1] = "TWO";
- E1[E1["THREE"] = 2] = "THREE";
- })(E1 || (E1 = {}));
--var b1 = {};
--var b2 = {};
--var e1 = E1.ONE;
--var e2 = E2.ONE;
-+const b1 = {};
-+const b2 = {};
-+const e1 = E1.ONE;
-+const e2 = E2.ONE;
- b1[1] = "a";
- b1[e1] = "b";
- b2[1] = "a";
+@@= skipped -18, +17 lines =@@
b2[e2] = "b";
var N1;
(function (N1) {
@@ -42,10 +28,8 @@
+ N2["D"] = val();
+ if (typeof N2.D !== "string") N2[N2.D] = "D";
})(N2 || (N2 = {}));
--var e = E.ONE;
--var x = e;
-+const e = E.ONE;
-+const x = e;
+ const e = E.ONE;
+ const x = e;
//// [numericEnumMappedType.d.ts]
@@ -53,7 +37,7 @@
declare enum E1 {
ONE = 0,
TWO = 1,
-@@= skipped -43, +48 lines =@@
+@@= skipped -33, +38 lines =@@
declare const b2: Bins2;
declare const e1: E1;
declare const e2: E2;
diff --git a/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint.js.diff b/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint.js.diff
index 34d6cf2445..96beeeb8b5 100644
--- a/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint.js.diff
@@ -1,14 +1,8 @@
--- old.numericIndexerConstraint.js
+++ new.numericIndexerConstraint.js
-@@= skipped -6, +6 lines =@@
- }
+@@= skipped -7, +7 lines =@@
//// [numericIndexerConstraint.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ 0;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint1.js.diff b/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint1.js.diff
deleted file mode 100644
index f5ebd4d9f7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint1.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.numericIndexerConstraint1.js
-+++ new.numericIndexerConstraint1.js
-@@= skipped -6, +6 lines =@@
-
-
- //// [numericIndexerConstraint1.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Foo.prototype.foo = function () { };
-- return Foo;
--}());
-+class Foo {
-+ foo() { }
-+}
- var x;
- var result = x["one"]; // error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint2.js.diff b/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint2.js.diff
deleted file mode 100644
index 25820aed00..0000000000
--- a/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint2.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.numericIndexerConstraint2.js
-+++ new.numericIndexerConstraint2.js
-@@= skipped -6, +6 lines =@@
- x = a;
-
- //// [numericIndexerConstraint2.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Foo.prototype.foo = function () { };
-- return Foo;
--}());
-+class Foo {
-+ foo() { }
-+}
- var x;
- var a;
- x = a;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint3.js.diff b/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint3.js.diff
index 5eef10bc97..f8fa0220b7 100644
--- a/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint3.js.diff
@@ -1,47 +1,14 @@
--- old.numericIndexerConstraint3.js
+++ new.numericIndexerConstraint3.js
-@@= skipped -14, +14 lines =@@
- }
+@@= skipped -15, +15 lines =@@
//// [numericIndexerConstraint3.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class A {
+ class A {
+ foo;
-+}
-+class B extends A {
+ }
+ class B extends A {
+ bar;
-+}
-+class C {
+ }
+ class C {
+ 0;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint4.js.diff b/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint4.js.diff
index 46d16363e2..dec98b2aca 100644
--- a/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/numericIndexerConstraint4.js.diff
@@ -1,40 +1,12 @@
--- old.numericIndexerConstraint4.js
+++ new.numericIndexerConstraint4.js
-@@= skipped -14, +14 lines =@@
-
+@@= skipped -15, +15 lines =@@
//// [numericIndexerConstraint4.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class A {
+ class A {
+ foo;
-+}
-+class B extends A {
+ }
+ class B extends A {
+ bar;
-+}
+ }
var x = { 0: new B() };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/numericIndexerTyping2.js.diff b/testdata/baselines/reference/submodule/compiler/numericIndexerTyping2.js.diff
deleted file mode 100644
index 10c36f9eac..0000000000
--- a/testdata/baselines/reference/submodule/compiler/numericIndexerTyping2.js.diff
+++ /dev/null
@@ -1,40 +0,0 @@
---- old.numericIndexerTyping2.js
-+++ new.numericIndexerTyping2.js
-@@= skipped -14, +14 lines =@@
- var r2: string = i2[1]; // error: numeric indexer returns the type of the string indexere
-
- //// [numericIndexerTyping2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var I = /** @class */ (function () {
-- function I() {
-- }
-- return I;
--}());
--var I2 = /** @class */ (function (_super) {
-- __extends(I2, _super);
-- function I2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return I2;
--}(I));
-+class I {
-+}
-+class I2 extends I {
-+}
- var i;
- var r = i[1]; // error: numeric indexer returns the type of the string indexer
- var i2;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/numericMethodName1.js.diff b/testdata/baselines/reference/submodule/compiler/numericMethodName1.js.diff
index 1c159b279c..b08867507e 100644
--- a/testdata/baselines/reference/submodule/compiler/numericMethodName1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/numericMethodName1.js.diff
@@ -1,15 +1,11 @@
--- old.numericMethodName1.js
+++ new.numericMethodName1.js
-@@= skipped -6, +6 lines =@@
-
+@@= skipped -7, +7 lines =@@
//// [numericMethodName1.js]
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this[1] = 2;
- }
-- return C;
--}());
-+class C {
+ 1 = 2;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectAssignLikeNonUnionResult.js.diff b/testdata/baselines/reference/submodule/compiler/objectAssignLikeNonUnionResult.js.diff
deleted file mode 100644
index 081e7fcd1b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectAssignLikeNonUnionResult.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.objectAssignLikeNonUnionResult.js
-+++ new.objectAssignLikeNonUnionResult.js
-@@= skipped -20, +20 lines =@@
- type e1 = Explode;
-
- //// [objectAssignLikeNonUnionResult.js]
--var defaultValue = { field: 1 };
-+const defaultValue = { field: 1 };
- // Displayed type: Interface & { field: number }
- // Underlying type: Something else...
--var data1 = assign(defaultValue, Date.now() > 3 ? { field: 2 } : {});
-+const data1 = assign(defaultValue, Date.now() > 3 ? { field: 2 } : {});
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectBindingPatternContextuallyTypesArgument.js.diff b/testdata/baselines/reference/submodule/compiler/objectBindingPatternContextuallyTypesArgument.js.diff
deleted file mode 100644
index 2dda9bb1be..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectBindingPatternContextuallyTypesArgument.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.objectBindingPatternContextuallyTypesArgument.js
-+++ new.objectBindingPatternContextuallyTypesArgument.js
-@@= skipped -5, +5 lines =@@
-
-
- //// [objectBindingPatternContextuallyTypesArgument.js]
--var _a = id({ f: function (x) { return x.charAt; } }).f, f = _a === void 0 ? function (x) { return x.length; } : _a;
-+const { f = (x) => x.length } = id({ f: x => x.charAt });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectBindingPattern_restElementWithPropertyName.js.diff b/testdata/baselines/reference/submodule/compiler/objectBindingPattern_restElementWithPropertyName.js.diff
index 9f297a2c12..d029d3b3cc 100644
--- a/testdata/baselines/reference/submodule/compiler/objectBindingPattern_restElementWithPropertyName.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/objectBindingPattern_restElementWithPropertyName.js.diff
@@ -15,5 +15,5 @@
- }
- return t;
-};
--var b = __rest({}, []);
+-const b = __rest({}, []);
+const { ...a: b } = {};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectCreationExpressionInFunctionParameter.js.diff b/testdata/baselines/reference/submodule/compiler/objectCreationExpressionInFunctionParameter.js.diff
index ecf2fafe8d..879b9f758d 100644
--- a/testdata/baselines/reference/submodule/compiler/objectCreationExpressionInFunctionParameter.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/objectCreationExpressionInFunctionParameter.js.diff
@@ -1,20 +1,10 @@
--- old.objectCreationExpressionInFunctionParameter.js
+++ new.objectCreationExpressionInFunctionParameter.js
-@@= skipped -8, +8 lines =@@
- }}
+@@= skipped -9, +9 lines =@@
//// [objectCreationExpressionInFunctionParameter.js]
--var A = /** @class */ (function () {
-- function A(a1) {
-+class A {
+ class A {
+ a1;
-+ constructor(a1) {
+ constructor(a1) {
this.a1 = a1;
- }
-- return A;
--}());
--function foo(x) {
-- if (x === void 0) { x = new A(123); }
-+}
-+function foo(x = new A(123)) {
- }
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectCreationOfElementAccessExpression.js.diff b/testdata/baselines/reference/submodule/compiler/objectCreationOfElementAccessExpression.js.diff
index 66164fd172..57a5c6b4d7 100644
--- a/testdata/baselines/reference/submodule/compiler/objectCreationOfElementAccessExpression.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/objectCreationOfElementAccessExpression.js.diff
@@ -1,157 +1,58 @@
--- old.objectCreationOfElementAccessExpression.js
+++ new.objectCreationOfElementAccessExpression.js
-@@= skipped -57, +57 lines =@@
-
+@@= skipped -58, +58 lines =@@
//// [objectCreationOfElementAccessExpression.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Food = /** @class */ (function () {
-- function Food(name) {
-+class Food {
+ class Food {
+ name;
+ amount;
-+ constructor(name) {
+ constructor(name) {
this.name = name;
this.amount = 100;
+@@= skipped -16, +18 lines =@@
}
-- Food.prototype.eat = function (amountToEat) {
-+ eat(amountToEat) {
- this.amount -= amountToEat;
- if (this.amount <= 0) {
- this.amount = 0;
-@@= skipped -29, +16 lines =@@
- else {
- return true;
- }
-- };
-- return Food;
--}());
--var MonsterFood = /** @class */ (function (_super) {
-- __extends(MonsterFood, _super);
-- function MonsterFood(name, flavor) {
-- var _this = _super.call(this, name) || this;
-- _this.flavor = flavor;
-- return _this;
-- }
-- return MonsterFood;
--}(Food));
--var IceCream = /** @class */ (function (_super) {
-- __extends(IceCream, _super);
-- function IceCream(flavor) {
-- var _this = _super.call(this, "Ice Cream", flavor) || this;
-- _this.flavor = flavor;
-- return _this;
-- }
-- return IceCream;
--}(MonsterFood));
--var Cookie = /** @class */ (function (_super) {
-- __extends(Cookie, _super);
-- function Cookie(flavor, isGlutenFree) {
-- var _this = _super.call(this, "Cookie", flavor) || this;
-- _this.flavor = flavor;
-- _this.isGlutenFree = isGlutenFree;
-- return _this;
-- }
-- return Cookie;
--}(MonsterFood));
--var PetFood = /** @class */ (function (_super) {
-- __extends(PetFood, _super);
-- function PetFood(name, whereToBuy) {
-- var _this = _super.call(this, name) || this;
-- _this.whereToBuy = whereToBuy;
-- return _this;
-- }
-- return PetFood;
--}(Food));
--var ExpensiveOrganicDogFood = /** @class */ (function (_super) {
-- __extends(ExpensiveOrganicDogFood, _super);
-- function ExpensiveOrganicDogFood(whereToBuy) {
-- var _this = _super.call(this, "Origen", whereToBuy) || this;
-- _this.whereToBuy = whereToBuy;
-- return _this;
-- }
-- return ExpensiveOrganicDogFood;
--}(PetFood));
--var ExpensiveOrganicCatFood = /** @class */ (function (_super) {
-- __extends(ExpensiveOrganicCatFood, _super);
-- function ExpensiveOrganicCatFood(whereToBuy, containsFish) {
-- var _this = _super.call(this, "Nature's Logic", whereToBuy) || this;
-- _this.whereToBuy = whereToBuy;
-- _this.containsFish = containsFish;
-- return _this;
-- }
-- return ExpensiveOrganicCatFood;
--}(PetFood));
--var Slug = /** @class */ (function () {
-- function Slug() {
-- }
-- return Slug;
--}());
-+ }
-+}
-+class MonsterFood extends Food {
+ }
+ class MonsterFood extends Food {
+ flavor;
-+ constructor(name, flavor) {
-+ super(name);
-+ this.flavor = flavor;
-+ }
-+}
-+class IceCream extends MonsterFood {
+ constructor(name, flavor) {
+ super(name);
+ this.flavor = flavor;
+ }
+ }
+ class IceCream extends MonsterFood {
+ flavor;
+ isDairyFree;
-+ constructor(flavor) {
-+ super("Ice Cream", flavor);
-+ this.flavor = flavor;
-+ }
-+}
-+class Cookie extends MonsterFood {
+ constructor(flavor) {
+ super("Ice Cream", flavor);
+ this.flavor = flavor;
+ }
+ }
+ class Cookie extends MonsterFood {
+ flavor;
+ isGlutenFree;
-+ constructor(flavor, isGlutenFree) {
-+ super("Cookie", flavor);
-+ this.flavor = flavor;
-+ this.isGlutenFree = isGlutenFree;
-+ }
-+}
-+class PetFood extends Food {
+ constructor(flavor, isGlutenFree) {
+ super("Cookie", flavor);
+ this.flavor = flavor;
+@@= skipped -19, +24 lines =@@
+ }
+ }
+ class PetFood extends Food {
+ whereToBuy;
-+ constructor(name, whereToBuy) {
-+ super(name);
-+ this.whereToBuy = whereToBuy;
-+ }
-+}
-+class ExpensiveOrganicDogFood extends PetFood {
+ constructor(name, whereToBuy) {
+ super(name);
+ this.whereToBuy = whereToBuy;
+ }
+ }
+ class ExpensiveOrganicDogFood extends PetFood {
+ whereToBuy;
-+ constructor(whereToBuy) {
-+ super("Origen", whereToBuy);
-+ this.whereToBuy = whereToBuy;
-+ }
-+}
-+class ExpensiveOrganicCatFood extends PetFood {
+ constructor(whereToBuy) {
+ super("Origen", whereToBuy);
+ this.whereToBuy = whereToBuy;
+ }
+ }
+ class ExpensiveOrganicCatFood extends PetFood {
+ whereToBuy;
+ containsFish;
-+ constructor(whereToBuy, containsFish) {
-+ super("Nature's Logic", whereToBuy);
-+ this.whereToBuy = whereToBuy;
-+ this.containsFish = containsFish;
-+ }
-+}
-+class Slug {
-+}
- // ElementAccessExpressions can only contain one expression. There should be a parse error here.
- var foods = new PetFood[new IceCream('Mint chocolate chip'), Cookie('Chocolate chip', false), new Cookie('Peanut butter', true)];
- var foods2 = new PetFood[new IceCream('Mint chocolate chip'), Cookie('Chocolate chip', false), new Cookie('Peanut butter', true)];
\ No newline at end of file
+ constructor(whereToBuy, containsFish) {
+ super("Nature's Logic", whereToBuy);
+ this.whereToBuy = whereToBuy;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectFreeze.js.diff b/testdata/baselines/reference/submodule/compiler/objectFreeze.js.diff
deleted file mode 100644
index 5342b3b8f9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectFreeze.js.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- old.objectFreeze.js
-+++ new.objectFreeze.js
-@@= skipped -15, +15 lines =@@
-
-
- //// [objectFreeze.js]
--var f = Object.freeze(function foo(a, b) { return false; });
-+const f = Object.freeze(function foo(a, b) { return false; });
- f(1, "") === false;
--var C = /** @class */ (function () {
-- function C(a) {
-- }
-- return C;
--}());
--var c = Object.freeze(C);
-+class C {
-+ constructor(a) { }
-+}
-+const c = Object.freeze(C);
- new c(1);
--var a = Object.freeze([1, 2, 3]);
-+const a = Object.freeze([1, 2, 3]);
- a[0] = a[2].toString();
--var o = Object.freeze({ a: 1, b: "string", c: true });
-+const o = Object.freeze({ a: 1, b: "string", c: true });
- o.b = o.a.toString();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectFreezeLiteralsDontWiden.js.diff b/testdata/baselines/reference/submodule/compiler/objectFreezeLiteralsDontWiden.js.diff
deleted file mode 100644
index 75ce7f629e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectFreezeLiteralsDontWiden.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.objectFreezeLiteralsDontWiden.js
-+++ new.objectFreezeLiteralsDontWiden.js
-@@= skipped -10, +10 lines =@@
-
-
- //// [objectFreezeLiteralsDontWiden.js]
--var PUPPETEER_REVISIONS = Object.freeze({
-+const PUPPETEER_REVISIONS = Object.freeze({
- chromium: '1011831',
- firefox: 'latest',
- });
--var preferredRevision = PUPPETEER_REVISIONS.chromium;
-+let preferredRevision = PUPPETEER_REVISIONS.chromium;
- preferredRevision = PUPPETEER_REVISIONS.firefox;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectIndexer.js.diff b/testdata/baselines/reference/submodule/compiler/objectIndexer.js.diff
index 0fe0af41e5..3d24e480ba 100644
--- a/testdata/baselines/reference/submodule/compiler/objectIndexer.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/objectIndexer.js.diff
@@ -7,18 +7,16 @@
-define(["require", "exports"], function (require, exports) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
-- var Emitter = /** @class */ (function () {
-- function Emitter() {
+- class Emitter {
+- constructor() {
- this.listeners = {};
- }
-- return Emitter;
-- }());
--});
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+class Emitter {
+ listeners;
+ constructor() {
+ this.listeners = {};
-+ }
+ }
+-});
+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectInstantiationFromUnionSpread.js.diff b/testdata/baselines/reference/submodule/compiler/objectInstantiationFromUnionSpread.js.diff
index f663b4a385..dac1325cf9 100644
--- a/testdata/baselines/reference/submodule/compiler/objectInstantiationFromUnionSpread.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/objectInstantiationFromUnionSpread.js.diff
@@ -17,10 +17,10 @@
- return __assign.apply(this, arguments);
-};
function f1(a) {
-- a.map(function (item) { return (__assign({}, item)); }).filter(function (value) { });
+- a.map(item => (__assign({}, item))).filter(value => { });
+ a.map(item => ({ ...item })).filter(value => { });
}
function f2(a) {
-- a.map(function (item) { return (__assign({}, item)); }).filter(function (value) { });
+- a.map(item => (__assign({}, item))).filter(value => { });
+ a.map(item => ({ ...item })).filter(value => { });
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLitArrayDeclNoNew.js.diff b/testdata/baselines/reference/submodule/compiler/objectLitArrayDeclNoNew.js.diff
index c082384892..c610da1481 100644
--- a/testdata/baselines/reference/submodule/compiler/objectLitArrayDeclNoNew.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/objectLitArrayDeclNoNew.js.diff
@@ -1,18 +1,13 @@
--- old.objectLitArrayDeclNoNew.js
+++ new.objectLitArrayDeclNoNew.js
-@@= skipped -32, +32 lines =@@
- "use strict";
+@@= skipped -33, +33 lines =@@
var Test;
(function (Test) {
-- var Gar = /** @class */ (function () {
-- function Gar() {
+ class Gar {
+- constructor() {
- this.moo = 0;
- }
-- return Gar;
-- }());
-+ class Gar {
+ moo = 0;
-+ }
+ }
Test.Gar = Gar;
- function bug() {
- var state = null;
\ No newline at end of file
+ function bug() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLitIndexerContextualType.js.diff b/testdata/baselines/reference/submodule/compiler/objectLitIndexerContextualType.js.diff
deleted file mode 100644
index 752d0529f0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLitIndexerContextualType.js.diff
+++ /dev/null
@@ -1,25 +0,0 @@
---- old.objectLitIndexerContextualType.js
-+++ new.objectLitIndexerContextualType.js
-@@= skipped -28, +28 lines =@@
- var x;
- var y;
- x = {
-- s: function (t) { return t * t; }, // Should error
-+ s: t => t * t, // Should error
- };
- x = {
-- 0: function (t) { return t * t; }, // Should error
--};
--y = {
-- s: function (t) { return t * t; }, // Should error
--};
--y = {
-- 0: function (t) { return t * t; }, // Should error
-+ 0: t => t * t, // Should error
-+};
-+y = {
-+ s: t => t * t, // Should error
-+};
-+y = {
-+ 0: t => t * t, // Should error
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralArraySpecialization.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralArraySpecialization.js.diff
deleted file mode 100644
index 3d2cc3e2f2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralArraySpecialization.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.objectLiteralArraySpecialization.js
-+++ new.objectLiteralArraySpecialization.js
-@@= skipped -11, +11 lines =@@
-
- //// [objectLiteralArraySpecialization.js]
- 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
-+thing.doSomething((x, y) => x.name === "bob"); // should not error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralComputedNameNoDeclarationError.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralComputedNameNoDeclarationError.js.diff
deleted file mode 100644
index 992e79f658..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralComputedNameNoDeclarationError.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.objectLiteralComputedNameNoDeclarationError.js
-+++ new.objectLiteralComputedNameNoDeclarationError.js
-@@= skipped -10, +10 lines =@@
-
- //// [objectLiteralComputedNameNoDeclarationError.js]
- "use strict";
--var _a;
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Baa = void 0;
--var Foo = {
-+const Foo = {
- BANANA: 'banana',
- };
--exports.Baa = (_a = {},
-- _a[Foo.BANANA] = 1,
-- _a);
-+exports.Baa = {
-+ [Foo.BANANA]: 1
-+};
-
-
- //// [objectLiteralComputedNameNoDeclarationError.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralDeclarationGeneration1.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralDeclarationGeneration1.js.diff
deleted file mode 100644
index 69165a69d3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralDeclarationGeneration1.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.objectLiteralDeclarationGeneration1.js
-+++ new.objectLiteralDeclarationGeneration1.js
-@@= skipped -3, +3 lines =@@
- class y{ }
-
- //// [objectLiteralDeclarationGeneration1.js]
--var y = /** @class */ (function () {
-- function y() {
-- }
-- return y;
--}());
-+class y {
-+}
-
-
- //// [objectLiteralDeclarationGeneration1.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralEnumPropertyNames.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralEnumPropertyNames.js.diff
deleted file mode 100644
index 9fb7e619a5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralEnumPropertyNames.js.diff
+++ /dev/null
@@ -1,98 +0,0 @@
---- old.objectLiteralEnumPropertyNames.js
-+++ new.objectLiteralEnumPropertyNames.js
-@@= skipped -55, +55 lines =@@
-
-
- //// [objectLiteralEnumPropertyNames.js]
--var _a, _b, _c, _d, _e, _f, _g, _h, _j;
- // Fixes #16887
- var Strs;
- (function (Strs) {
- Strs["A"] = "a";
- Strs["B"] = "b";
- })(Strs || (Strs = {}));
--var x = (_a = {},
-- _a[Strs.A] = 'xo',
-- _a[Strs.B] = 'xe',
-- _a);
--var ux = (_b = {},
-- _b[Strs.A] = 'xo',
-- _b[Strs.B] = 'xe',
-- _b);
--var y = (_c = {},
-- _c['a'] = 'yo',
-- _c['b'] = 'ye',
-- _c);
--var a = 'a';
--var b = 'b';
--var z = (_d = {},
-- _d[a] = 'zo',
-- _d[b] = 'ze',
-- _d);
--var uz = (_e = {},
-- _e[a] = 'zo',
-- _e[b] = 'ze',
-- _e);
-+const x = {
-+ [Strs.A]: 'xo',
-+ [Strs.B]: 'xe'
-+};
-+const ux = {
-+ [Strs.A]: 'xo',
-+ [Strs.B]: 'xe'
-+};
-+const y = {
-+ ['a']: 'yo',
-+ ['b']: 'ye'
-+};
-+const a = 'a';
-+const b = 'b';
-+const z = {
-+ [a]: 'zo',
-+ [b]: 'ze'
-+};
-+const uz = {
-+ [a]: 'zo',
-+ [b]: 'ze'
-+};
- var Nums;
- (function (Nums) {
- Nums[Nums["A"] = 0] = "A";
- Nums[Nums["B"] = 1] = "B";
- })(Nums || (Nums = {}));
--var n = (_f = {},
-- _f[Nums.A] = 1,
-- _f[Nums.B] = 2,
-- _f);
--var un = (_g = {},
-- _g[Nums.A] = 3,
-- _g[Nums.B] = 4,
-- _g);
--var an = 0;
--var bn = 1;
--var m = (_h = {},
-- _h[an] = 5,
-- _h[bn] = 6,
-- _h);
--var um = (_j = {},
-- _j[an] = 7,
-- _j[bn] = 8,
-- _j);
-+const n = {
-+ [Nums.A]: 1,
-+ [Nums.B]: 2
-+};
-+const un = {
-+ [Nums.A]: 3,
-+ [Nums.B]: 4
-+};
-+const an = 0;
-+const bn = 1;
-+const m = {
-+ [an]: 5,
-+ [bn]: 6
-+};
-+const um = {
-+ [an]: 7,
-+ [bn]: 8
-+};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralExcessProperties.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralExcessProperties.js.diff
deleted file mode 100644
index 1c9e07332f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralExcessProperties.js.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- old.objectLiteralExcessProperties.js
-+++ new.objectLiteralExcessProperties.js
-@@= skipped -67, +67 lines =@@
- // Repros inspired by #28752
- function test() {
- // No excess property checks on generic types
-- var obj1 = { name: "test" };
-+ const obj1 = { name: "test" };
- // No excess property checks on intersections involving generics
-- var obj2 = { name: "test", prop: true };
-- // Excess property checks only on non-generic parts of unions
-- var obj3 = { name: "test", prop: true };
-- // Excess property checks only on non-generic parts of unions
-- var obj4 = { name: "test", prop: true };
-+ const obj2 = { name: "test", prop: true };
-+ // Excess property checks only on non-generic parts of unions
-+ const obj3 = { name: "test", prop: true };
-+ // Excess property checks only on non-generic parts of unions
-+ const obj4 = { name: "test", prop: true };
- // No excess property checks when union includes 'object' type
-- var obj5 = { z: 'abc' };
-+ const obj5 = { z: 'abc' };
- // The 'object' type has no effect on intersections
-- var obj6 = { z: 'abc' };
-+ const obj6 = { z: 'abc' };
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralFreshnessWithSpread.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralFreshnessWithSpread.js.diff
index 8dc08991f9..c4057a6dad 100644
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralFreshnessWithSpread.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/objectLiteralFreshnessWithSpread.js.diff
@@ -15,7 +15,6 @@
- };
- return __assign.apply(this, arguments);
-};
--var x = { b: 1, extra: 2 };
--var xx = __assign(__assign({ a: 1 }, x), { z: 3 }); // error for 'z', no error for 'extra'
-+let x = { b: 1, extra: 2 };
+ let x = { b: 1, extra: 2 };
+-let xx = __assign(__assign({ a: 1 }, x), { z: 3 }); // error for 'z', no error for 'extra'
+let xx = { a: 1, ...x, z: 3 }; // error for 'z', no error for 'extra'
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralFunctionArgContextualTyping.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralFunctionArgContextualTyping.js.diff
deleted file mode 100644
index b0a29c88d2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralFunctionArgContextualTyping.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.objectLiteralFunctionArgContextualTyping.js
-+++ new.objectLiteralFunctionArgContextualTyping.js
-@@= skipped -19, +19 lines =@@
- f2({ hello: 1 }); // error
- f2({ value: '' }); // missing toString satisfied by Object's member
- f2({ value: '', what: 1 }); // missing toString satisfied by Object's member
--f2({ toString: function (s) { return s; } }); // error, missing property value from ArgsString
--f2({ toString: function (s) { return s; } }); // error, missing property value from ArgsString
--f2({ value: '', toString: function (s) { return s.uhhh; } }); // error
-+f2({ toString: (s) => s }); // error, missing property value from ArgsString
-+f2({ toString: (s) => s }); // error, missing property value from ArgsString
-+f2({ value: '', toString: (s) => s.uhhh }); // error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralFunctionArgContextualTyping2.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralFunctionArgContextualTyping2.js.diff
deleted file mode 100644
index 330416a1b8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralFunctionArgContextualTyping2.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.objectLiteralFunctionArgContextualTyping2.js
-+++ new.objectLiteralFunctionArgContextualTyping2.js
-@@= skipped -19, +19 lines =@@
- f2({ hello: 1 });
- f2({ value: '' });
- f2({ value: '', what: 1 });
--f2({ toString: function (s) { return s; } });
--f2({ toString: function (s) { return s; } });
--f2({ value: '', toString: function (s) { return s.uhhh; } });
-+f2({ toString: (s) => s });
-+f2({ toString: (s) => s });
-+f2({ value: '', toString: (s) => s.uhhh });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralMemberWithModifiers1.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralMemberWithModifiers1.js.diff
deleted file mode 100644
index abcbf835bb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralMemberWithModifiers1.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.objectLiteralMemberWithModifiers1.js
-+++ new.objectLiteralMemberWithModifiers1.js
-@@= skipped -3, +3 lines =@@
- var v = { public foo() { } }
-
- //// [objectLiteralMemberWithModifiers1.js]
--var v = { foo: function () { } };
-+var v = { foo() { } };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralMemberWithQuestionMark1.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralMemberWithQuestionMark1.js.diff
deleted file mode 100644
index 5fe0aa623d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralMemberWithQuestionMark1.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.objectLiteralMemberWithQuestionMark1.js
-+++ new.objectLiteralMemberWithQuestionMark1.js
-@@= skipped -3, +3 lines =@@
- var v = { foo?() { } }
-
- //// [objectLiteralMemberWithQuestionMark1.js]
--var v = { foo: function () { } };
-+var v = { foo() { } };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralThisWidenedOnUse.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralThisWidenedOnUse.js.diff
deleted file mode 100644
index 8437dafe37..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralThisWidenedOnUse.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.objectLiteralThisWidenedOnUse.js
-+++ new.objectLiteralThisWidenedOnUse.js
-@@= skipped -19, +19 lines =@@
- prop1: 1,
- prop2: 2,
- prop3: 3,
-- test: function () {
-+ test() {
- this.accept_foo(this);
- },
-- accept_foo: function (foo) {
-+ accept_foo(foo) {
- return !!foo && !!foo.bar;
- }
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons1.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons1.js.diff
deleted file mode 100644
index d7fab07c18..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons1.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.objectLiteralWithSemicolons1.js
-+++ new.objectLiteralWithSemicolons1.js
-@@= skipped -3, +3 lines =@@
- var v = { a; b; c }
-
- //// [objectLiteralWithSemicolons1.js]
--var v = { a: a, b: b, c: c };
-+var v = { a, b, c };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons2.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons2.js.diff
deleted file mode 100644
index 9c96a1529c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons2.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.objectLiteralWithSemicolons2.js
-+++ new.objectLiteralWithSemicolons2.js
-@@= skipped -8, +8 lines =@@
-
- //// [objectLiteralWithSemicolons2.js]
- var v = {
-- a: a,
-- b: b,
-- c: c
-+ a,
-+ b,
-+ c
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons3.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons3.js.diff
index bd73c79698..f8ad4e4342 100644
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons3.js.diff
@@ -1,13 +1,9 @@
--- old.objectLiteralWithSemicolons3.js
+++ new.objectLiteralWithSemicolons3.js
-@@= skipped -8, +8 lines =@@
-
- //// [objectLiteralWithSemicolons3.js]
+@@= skipped -10, +10 lines =@@
var v = {
-- a: a,
-- b: b,
-- c: c
-+ a,
-+ b,
+ a,
+ b,
+- c
+ c,
};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons4.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons4.js.diff
deleted file mode 100644
index 293bd9c8f1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons4.js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.objectLiteralWithSemicolons4.js
-+++ new.objectLiteralWithSemicolons4.js
-@@= skipped -6, +6 lines =@@
-
- //// [objectLiteralWithSemicolons4.js]
- var v = {
-- a: a
-+ a
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons5.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons5.js.diff
index 4f478b9c79..372b925fb4 100644
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/objectLiteralWithSemicolons5.js.diff
@@ -4,5 +4,5 @@
var v = { foo() { }; a: b; get baz() { }; }
//// [objectLiteralWithSemicolons5.js]
--var v = { foo: function () { }, a: b, get baz() { } };
+-var v = { foo() { }, a: b, get baz() { } };
+var v = { foo() { }, a: b, get baz() { }, };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectLiteralsAgainstUnionsOfArrays01.js.diff b/testdata/baselines/reference/submodule/compiler/objectLiteralsAgainstUnionsOfArrays01.js.diff
deleted file mode 100644
index 01e6ab68d1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectLiteralsAgainstUnionsOfArrays01.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.objectLiteralsAgainstUnionsOfArrays01.js
-+++ new.objectLiteralsAgainstUnionsOfArrays01.js
-@@= skipped -14, +14 lines =@@
-
-
- //// [objectLiteralsAgainstUnionsOfArrays01.js]
--var x = [
-+let x = [
- { bar: { prop: 100 } }
- ];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectMembersOnTypes.js.diff b/testdata/baselines/reference/submodule/compiler/objectMembersOnTypes.js.diff
deleted file mode 100644
index fb821c4d80..0000000000
--- a/testdata/baselines/reference/submodule/compiler/objectMembersOnTypes.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.objectMembersOnTypes.js
-+++ new.objectMembersOnTypes.js
-@@= skipped -11, +11 lines =@@
-
-
- //// [objectMembersOnTypes.js]
--var AAA = /** @class */ (function () {
-- function AAA() {
-- }
-- return AAA;
--}());
-+class AAA {
-+}
- var x;
- x.toString();
- var i;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/objectSpreadWithinMethodWithinObjectWithSpread.js.diff b/testdata/baselines/reference/submodule/compiler/objectSpreadWithinMethodWithinObjectWithSpread.js.diff
index 8c5434a4c3..4ac09a0679 100644
--- a/testdata/baselines/reference/submodule/compiler/objectSpreadWithinMethodWithinObjectWithSpread.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/objectSpreadWithinMethodWithinObjectWithSpread.js.diff
@@ -14,7 +14,11 @@
- return t;
- };
- return __assign.apply(this, arguments);
-+const obj = {};
+-};
+ const obj = {};
+-const a = __assign(__assign({}, obj), { prop() {
+- return __assign(__assign({}, obj), { metadata: 213 });
+- } });
+const a = {
+ ...obj,
+ prop() {
@@ -23,8 +27,4 @@
+ metadata: 213
+ };
+ }
- };
--var obj = {};
--var a = __assign(__assign({}, obj), { prop: function () {
-- return __assign(__assign({}, obj), { metadata: 213 });
-- } });
\ No newline at end of file
++};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/octalLiteralAndEscapeSequence.js.diff b/testdata/baselines/reference/submodule/compiler/octalLiteralAndEscapeSequence.js.diff
index 08d8e91571..37923e0730 100644
--- a/testdata/baselines/reference/submodule/compiler/octalLiteralAndEscapeSequence.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/octalLiteralAndEscapeSequence.js.diff
@@ -5,16 +5,16 @@
0;
5;
-45;
--"0".concat(0);
--"0".concat(5);
--"0".concat(0);
--"0".concat(5);
--"0".concat(45);
--"".concat(0, "0");
--"".concat(5, "0");
--"".concat(0, "0");
--"".concat(5, "0");
--"".concat(45, "0");
+-`0${0}`;
+-`0${5}`;
+-`0${0}`;
+-`0${5}`;
+-`0${45}`;
+-`${0}0`;
+-`${5}0`;
+-`${0}0`;
+-`${5}0`;
+-`${45}0`;
+55;
+`0${0}`;
+`0${5}`;
@@ -28,72 +28,4 @@
+`${55}0`;
"\0";
"\5";
- "\00";
-@@= skipped -79, +79 lines =@@
- '\88';
- '\088';
- '\0088';
--"\0";
--"\u0005";
--"\0";
--"\u0005";
--"-";
--"\0";
--"\u0005";
--"-";
--"".concat(0, "\0");
--"".concat(0, "\u0005");
--"".concat(0, "\0");
--"".concat(0, "\u0005");
--"".concat(0, "-");
--"".concat(0, "\0");
--"".concat(0, "\u0005");
--"".concat(0, "-");
--"\0".concat(0);
--"\u0005".concat(0);
--"\0".concat(0);
--"\u0005".concat(0);
--"-".concat(0);
--"\0".concat(0);
--"\u0005".concat(0);
--"-".concat(0);
--"".concat(0, "\0").concat(0);
--"".concat(0, "\u0005").concat(0);
--"".concat(0, "\0").concat(0);
--"".concat(0, "\u0005").concat(0);
--"".concat(0, "-").concat(0);
--"".concat(0, "\0").concat(0);
--"".concat(0, "\u0005").concat(0);
--"".concat(0, "-").concat(0);
-+`\0`;
-+`\5`;
-+`\00`;
-+`\05`;
-+`\55`;
-+`\000`;
-+`\005`;
-+`\055`;
-+`${0}\0`;
-+`${0}\5`;
-+`${0}\00`;
-+`${0}\05`;
-+`${0}\55`;
-+`${0}\000`;
-+`${0}\005`;
-+`${0}\055`;
-+`\0${0}`;
-+`\5${0}`;
-+`\00${0}`;
-+`\05${0}`;
-+`\55${0}`;
-+`\000${0}`;
-+`\005${0}`;
-+`\055${0}`;
-+`${0}\0${0}`;
-+`${0}\5${0}`;
-+`${0}\00${0}`;
-+`${0}\05${0}`;
-+`${0}\55${0}`;
-+`${0}\000${0}`;
-+`${0}\005${0}`;
-+`${0}\055${0}`;
\ No newline at end of file
+ "\00";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/omitTypeHelperModifiers01.js.diff b/testdata/baselines/reference/submodule/compiler/omitTypeHelperModifiers01.js.diff
index 4125515b1e..ec1f958f60 100644
--- a/testdata/baselines/reference/submodule/compiler/omitTypeHelperModifiers01.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/omitTypeHelperModifiers01.js.diff
@@ -6,14 +6,5 @@
//// [omitTypeHelperModifiers01.js]
-"use strict";
function f(x) {
-- var b = x.b;
-+ const b = x.b;
- x.b = "hello";
- x.b = undefined;
-- var c = x.c;
-+ const c = x.c;
- x.c = true;
-- var d = x.d;
-+ const d = x.d;
- x.d = d;
- }
\ No newline at end of file
+ const b = x.b;
+ x.b = "hello";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/operationsAvailableOnPromisedType.js.diff b/testdata/baselines/reference/submodule/compiler/operationsAvailableOnPromisedType.js.diff
index 67e73d5b49..5407512e52 100644
--- a/testdata/baselines/reference/submodule/compiler/operationsAvailableOnPromisedType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/operationsAvailableOnPromisedType.js.diff
@@ -13,33 +13,6 @@
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
--};
-var __asyncValues = (this && this.__asyncValues) || function (o) {
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
- var m = o[Symbol.asyncIterator], i;
@@ -47,76 +20,40 @@
- 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 __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)) {
-- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
-- ar[i] = from[i];
-- }
-- }
-- return to.concat(ar || Array.prototype.slice.call(from));
--};
-function fn(a, b, c, d, e, f, g) {
-- return __awaiter(this, void 0, void 0, function () {
-- var _i, c_1, s, s, e_1_1;
-- var _a, e_1, _b, _c, _d, c_2, c_2_1;
-- return __generator(this, function (_e) {
-- switch (_e.label) {
-- case 0:
-- // All errors
-- a | b;
-- b | a;
-- a + b;
-- a > b;
-- b++;
-- --b;
-- a === b;
-- __spreadArray([], c, true);
-- for (_i = 0, c_1 = c; _i < c_1.length; _i++) {
-- s = c_1[_i];
-- fn(b, b, c, d, e, f, g);
-- d.prop;
-- }
-- _e.label = 1;
-- case 1:
-- _e.trys.push([1, 6, 7, 12]);
-- _d = true, c_2 = __asyncValues(c);
-- _e.label = 2;
-- case 2: return [4 /*yield*/, c_2.next()];
-- case 3:
-- if (!(c_2_1 = _e.sent(), _a = c_2_1.done, !_a)) return [3 /*break*/, 5];
-- _c = c_2_1.value;
-- _d = false;
-- s = _c;
-- _e.label = 4;
-- case 4:
-- _d = true;
-- return [3 /*break*/, 2];
-- case 5: return [3 /*break*/, 12];
-- case 6:
-- e_1_1 = _e.sent();
-- e_1 = { error: e_1_1 };
-- return [3 /*break*/, 12];
-- case 7:
-- _e.trys.push([7, , 10, 11]);
-- if (!(!_d && !_a && (_b = c_2.return))) return [3 /*break*/, 9];
-- return [4 /*yield*/, _b.call(c_2)];
-- case 8:
-- _e.sent();
-- _e.label = 9;
-- case 9: return [3 /*break*/, 11];
-- case 10:
-- if (e_1) throw e_1.error;
-- return [7 /*endfinally*/];
-- case 11: return [7 /*endfinally*/];
-- case 12:
-- e();
-- f();
-- new g();
-- b();
-- return [2 /*return*/];
+- return __awaiter(this, void 0, void 0, function* () {
+- var _a, e_1, _b, _c, _d, c_1, c_1_1;
+- // All errors
+- a | b;
+- b | a;
+- a + b;
+- a > b;
+- b++;
+- --b;
+- a === b;
+- [...c];
+- for (const s of c) {
+- fn(b, b, c, d, e, f, g);
+- d.prop;
+- }
+- try {
+- for (_d = true, c_1 = __asyncValues(c); c_1_1 = yield c_1.next(), _a = c_1_1.done, !_a; _d = true) {
+- _c = c_1_1.value;
+- _d = false;
+- const s = _c;
+- }
+- }
+- catch (e_1_1) { e_1 = { error: e_1_1 }; }
+- finally {
+- try {
+- if (!_d && !_a && (_b = c_1.return)) yield _b.call(c_1);
- }
-- });
+- finally { if (e_1) throw e_1.error; }
+- }
+- e();
+- f();
+- new g();
+- b();
- });
+async function fn(a, b, c, d, e, f, g) {
+ // All errors
diff --git a/testdata/baselines/reference/submodule/compiler/optionalArgsWithDefaultValues.js.diff b/testdata/baselines/reference/submodule/compiler/optionalArgsWithDefaultValues.js.diff
deleted file mode 100644
index 38f2a5b21d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/optionalArgsWithDefaultValues.js.diff
+++ /dev/null
@@ -1,37 +0,0 @@
---- old.optionalArgsWithDefaultValues.js
-+++ new.optionalArgsWithDefaultValues.js
-@@= skipped -11, +11 lines =@@
- var b = (x, y?:number = 2) => { x; };
-
- //// [optionalArgsWithDefaultValues.js]
--function foo(x, y, z) {
-- if (y === void 0) { y = false; }
-- if (z === void 0) { z = 0; }
-+function foo(x, y = false, z = 0) { }
-+class CCC {
-+ foo(x, y = false, z = 0) { }
-+ static foo2(x, y = false, z = 0) { }
- }
--var CCC = /** @class */ (function () {
-- function CCC() {
-- }
-- CCC.prototype.foo = function (x, y, z) {
-- if (y === void 0) { y = false; }
-- if (z === void 0) { z = 0; }
-- };
-- CCC.foo2 = function (x, y, z) {
-- if (y === void 0) { y = false; }
-- if (z === void 0) { z = 0; }
-- };
-- return CCC;
--}());
--var a = function (x) {
-- if (x === void 0) { x = 0; }
-- return 1;
--};
--var b = function (x, y) {
-- if (y === void 0) { y = 2; }
-- x;
--};
-+var a = (x = 0) => { return 1; };
-+var b = (x, y = 2) => { x; };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionalConstructorArgInSuper.js.diff b/testdata/baselines/reference/submodule/compiler/optionalConstructorArgInSuper.js.diff
deleted file mode 100644
index 8eda7b20a7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/optionalConstructorArgInSuper.js.diff
+++ /dev/null
@@ -1,43 +0,0 @@
---- old.optionalConstructorArgInSuper.js
-+++ new.optionalConstructorArgInSuper.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [optionalConstructorArgInSuper.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Base = /** @class */ (function () {
-- function Base(opt) {
-- }
-- Base.prototype.foo = function (other) { };
-- return Base;
--}());
--var Derived = /** @class */ (function (_super) {
-- __extends(Derived, _super);
-- function Derived() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Derived;
--}(Base));
-+class Base {
-+ constructor(opt) { }
-+ foo(other) { }
-+}
-+class Derived extends Base {
-+}
- var d = new Derived(); // bug caused an error here, couldn't select overload
- var d2;
- d2.foo();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionalParamArgsTest.js.diff b/testdata/baselines/reference/submodule/compiler/optionalParamArgsTest.js.diff
index 8f6bde179f..bdd12464cd 100644
--- a/testdata/baselines/reference/submodule/compiler/optionalParamArgsTest.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/optionalParamArgsTest.js.diff
@@ -5,100 +5,13 @@
//// [optionalParamArgsTest.js]
-// Optional parameter and default argument tests
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
// test basic configurations
--var C1 = /** @class */ (function () {
-- function C1(v, p) {
-- if (v === void 0) { v = 1; }
-- if (p === void 0) { p = 0; }
+ class C1 {
+- constructor(v = 1, p = 0) {
- this.n = 0;
- }
-- C1.prototype.C1M1 = function () { return 0; }; // returning C1M1A1 will result in "Unresolved symbol C1M1A1"
-- C1.prototype.C1M2 = function (C1M2A1) { return C1M2A1; }; // will return C1M1A2 without complaint
-+class C1 {
+ constructor(v = 1, p = 0) { }
+ n = 0;
-+ C1M1() { return 0; } // returning C1M1A1 will result in "Unresolved symbol C1M1A1"
-+ C1M2(C1M2A1) { return C1M2A1; } // will return C1M1A2 without complaint
- // C1M3 contains all optional parameters
-- C1.prototype.C1M3 = function (C1M3A1, C1M3A2) {
-- if (C1M3A1 === void 0) { C1M3A1 = 0; }
-- if (C1M3A2 === void 0) { C1M3A2 = C1M3A1; }
-- return C1M3A1 + C1M3A2;
-- };
-+ C1M3(C1M3A1 = 0, C1M3A2 = C1M3A1) { return C1M3A1 + C1M3A2; }
- // C1M4 contains a mix of optional and non-optional parameters
-- C1.prototype.C1M4 = function (C1M4A1, C1M4A2) { return C1M4A1 + C1M4A2; };
-- C1.prototype.C1M5 = function (C1M5A1, C1M5A2, C1M5A3) {
-- if (C1M5A2 === void 0) { C1M5A2 = 0; }
-- return C1M5A1 + C1M5A2;
-- };
-+ C1M4(C1M4A1, C1M4A2) { return C1M4A1 + C1M4A2; }
-+ C1M5(C1M5A1, C1M5A2 = 0, C1M5A3) { return C1M5A1 + C1M5A2; }
- // Uninitialized parameter makes the initialized one required
-- C1.prototype.C1M5 = function (C1M5A1, C1M5A2, C1M5A3) {
-- if (C1M5A2 === void 0) { C1M5A2 = 0; }
-- return C1M5A1 + C1M5A2;
-- };
-- return C1;
--}());
--var C2 = /** @class */ (function (_super) {
-- __extends(C2, _super);
-- function C2(v2) {
-- if (v2 === void 0) { v2 = 6; }
-- return _super.call(this, v2) || this;
-+ C1M5(C1M5A1, C1M5A2 = 0, C1M5A3) { return C1M5A1 + C1M5A2; }
-+}
-+class C2 extends C1 {
-+ constructor(v2 = 6) {
-+ super(v2);
- }
-- return C2;
--}(C1));
-+}
- function F1() { return 0; }
- function F2(F2A1) { return F2A1; }
--function F3(F3A1, F3A2) {
-- if (F3A1 === void 0) { F3A1 = 0; }
-- if (F3A2 === void 0) { F3A2 = F3A1; }
-- return F3A1 + F3A2;
--}
-+function F3(F3A1 = 0, F3A2 = F3A1) { return F3A1 + F3A2; }
- function F4(F4A1, F4A2) { return F4A1 + F4A2; }
- var L1 = function () { return 0; };
- var L2 = function (L2A1) { return L2A1; };
--var L3 = function (L3A1, L3A2) {
-- if (L3A1 === void 0) { L3A1 = 0; }
-- if (L3A2 === void 0) { L3A2 = L3A1; }
-- return L3A1 + L3A2;
--};
-+var L3 = function (L3A1 = 0, L3A2 = L3A1) { return L3A1 + L3A2; };
- var L4 = function (L4A1, L4A2) { return L4A1 + L4A2; };
- var c1o1 = new C1(5);
- var i1o1 = new C1(5);
-@@= skipped -125, +84 lines =@@
- i1o1.C1M4();
- F4();
- L4();
--function fnOpt1(id, children, expectedPath, isRoot) {
-- if (children === void 0) { children = []; }
-- if (expectedPath === void 0) { expectedPath = []; }
--}
-+function fnOpt1(id, children = [], expectedPath = [], isRoot) { }
- function fnOpt2(id, children, expectedPath, isRoot) { }
- fnOpt1(1, [2, 3], [1], true);
- fnOpt2(1, [2, 3], [1], true);
\ No newline at end of file
+ C1M1() { return 0; } // returning C1M1A1 will result in "Unresolved symbol C1M1A1"
+ C1M2(C1M2A1) { return C1M2A1; } // will return C1M1A2 without complaint
+ // C1M3 contains all optional parameters
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionalParamInOverride.js.diff b/testdata/baselines/reference/submodule/compiler/optionalParamInOverride.js.diff
deleted file mode 100644
index e2566c05a4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/optionalParamInOverride.js.diff
+++ /dev/null
@@ -1,41 +0,0 @@
---- old.optionalParamInOverride.js
-+++ new.optionalParamInOverride.js
-@@= skipped -9, +9 lines =@@
-
-
- //// [optionalParamInOverride.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Z = /** @class */ (function () {
-- function Z() {
-- }
-- Z.prototype.func = function () { };
-- return Z;
--}());
--var Y = /** @class */ (function (_super) {
-- __extends(Y, _super);
-- function Y() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Y.prototype.func = function (value) { };
-- return Y;
--}(Z));
-+class Z {
-+ func() { }
-+}
-+class Y extends Z {
-+ func(value) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionalParamReferencingOtherParams1.js.diff b/testdata/baselines/reference/submodule/compiler/optionalParamReferencingOtherParams1.js.diff
deleted file mode 100644
index 1d7a660903..0000000000
--- a/testdata/baselines/reference/submodule/compiler/optionalParamReferencingOtherParams1.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.optionalParamReferencingOtherParams1.js
-+++ new.optionalParamReferencingOtherParams1.js
-@@= skipped -5, +5 lines =@@
- }
-
- //// [optionalParamReferencingOtherParams1.js]
--function strange(x, y, z) {
-- if (y === void 0) { y = x * 1; }
-- if (z === void 0) { z = x + y; }
-+function strange(x, y = x * 1, z = x + y) {
- return z;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionalParamReferencingOtherParams2.js.diff b/testdata/baselines/reference/submodule/compiler/optionalParamReferencingOtherParams2.js.diff
deleted file mode 100644
index db4a3a4c35..0000000000
--- a/testdata/baselines/reference/submodule/compiler/optionalParamReferencingOtherParams2.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.optionalParamReferencingOtherParams2.js
-+++ new.optionalParamReferencingOtherParams2.js
-@@= skipped -8, +8 lines =@@
-
- //// [optionalParamReferencingOtherParams2.js]
- var a = 1;
--function strange(x, y) {
-- if (x === void 0) { x = a; }
-- if (y === void 0) { y = b; }
-+function strange(x = a, y = b) {
- var b = "";
- return y;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionalParamReferencingOtherParams3.js.diff b/testdata/baselines/reference/submodule/compiler/optionalParamReferencingOtherParams3.js.diff
deleted file mode 100644
index d20daf5c5c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/optionalParamReferencingOtherParams3.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.optionalParamReferencingOtherParams3.js
-+++ new.optionalParamReferencingOtherParams3.js
-@@= skipped -6, +6 lines =@@
- }
-
- //// [optionalParamReferencingOtherParams3.js]
--function right(a, b) {
-- if (a === void 0) { a = b; }
-- if (b === void 0) { b = a; }
-+function right(a = b, b = a) {
- a;
- b;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionalParameterInDestructuringWithInitializer.js.diff b/testdata/baselines/reference/submodule/compiler/optionalParameterInDestructuringWithInitializer.js.diff
index 5fa374636b..99c9386da7 100644
--- a/testdata/baselines/reference/submodule/compiler/optionalParameterInDestructuringWithInitializer.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/optionalParameterInDestructuringWithInitializer.js.diff
@@ -5,78 +5,6 @@
//// [optionalParameterInDestructuringWithInitializer.js]
-// 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;
-- f(a, b);
-- // error
--}
--function func2(_a) {
-- var _b = _a === void 0 ? { a: 1, b: 2 } : _a, a = _b.a, _c = _b.b, b = _c === void 0 ? 3 : _c;
-- f(a, b);
-- // no error
--}
--function func3(_a) {
-- var _b = _a === void 0 ? { a: 1 } : _a, a = _b.a, b = _b.b;
-- f(a, b);
-- // error
--}
--function func4(_a) {
-- var _b = _a === void 0 ? { a: { b: 1, c: 2 }, d: 3 } : _a, _c = _b.a, b = _c.b, c = _c.c, d = _b.d;
-- f(b, c);
-- // error
--}
--function func5(_a) {
-- var _b = _a === void 0 ? { a: { b: 1, c: 2 }, d: 3 } : _a, _c = _b.a, b = _c.b, _d = _c.c, c = _d === void 0 ? 4 : _d, d = _b.d;
-- f(b, c);
-- // no error
--}
--function func6(_a) {
-- var _b = _a === void 0 ? { a: { b: 1, c: 2 }, d: 3 } : _a, _c = _b.a, _d = _c === void 0 ? { b: 4, c: 5 } : _c, b = _d.b, c = _d.c, d = _b.d;
-- f(b, c);
-- // error
--}
--function func7(_a) {
-- var _b = _a === void 0 ? { a: { b: 1, c: 2 }, d: 3 } : _a, _c = _b.a, _d = _c === void 0 ? { b: 4, c: 5 } : _c, b = _d.b, _e = _d.c, c = _e === void 0 ? 6 : _e, d = _b.d;
-- f(b, c);
-- // no error
--}
--function performFoo(_a) {
-- var _b = _a === void 0 ? {} : _a, bar = _b.bar;
-+function func1({ a, b } = { a: 1, b: 2 }) {
-+ f(a, b);
-+ // error
-+}
-+function func2({ a, b = 3 } = { a: 1, b: 2 }) {
-+ f(a, b);
-+ // no error
-+}
-+function func3({ a, b } = { a: 1 }) {
-+ f(a, b);
-+ // error
-+}
-+function func4({ a: { b, c }, d } = { a: { b: 1, c: 2 }, d: 3 }) {
-+ f(b, c);
-+ // error
-+}
-+function func5({ a: { b, c = 4 }, d } = { a: { b: 1, c: 2 }, d: 3 }) {
-+ f(b, c);
-+ // no error
-+}
-+function func6({ a: { b, c } = { b: 4, c: 5 }, d } = { a: { b: 1, c: 2 }, d: 3 }) {
-+ f(b, c);
-+ // error
-+}
-+function func7({ a: { b, c = 6 } = { b: 4, c: 5 }, d } = { a: { b: 1, c: 2 }, d: 3 }) {
-+ f(b, c);
-+ // no error
-+}
-+function performFoo({ bar } = {}) {
- useBar(bar);
- }
- performFoo();
--function performFoo2(_a) {
-- var _b = _a === void 0 ? {} : _a, _c = _b.bar, bar = _c === void 0 ? null : _c;
-+function performFoo2({ bar = null } = {}) {
- useBar2(bar);
- }
- performFoo2();
\ No newline at end of file
+ function func1({ a, b } = { a: 1, b: 2 }) {
+ f(a, b);
+ // error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionalParameterProperty.js.diff b/testdata/baselines/reference/submodule/compiler/optionalParameterProperty.js.diff
index 33f73def0d..890122b247 100644
--- a/testdata/baselines/reference/submodule/compiler/optionalParameterProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/optionalParameterProperty.js.diff
@@ -1,45 +1,13 @@
--- old.optionalParameterProperty.js
+++ new.optionalParameterProperty.js
-@@= skipped -12, +12 lines =@@
-
+@@= skipped -13, +13 lines =@@
//// [optionalParameterProperty.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D(p) {
-- var _this = _super.call(this) || this;
-- _this.p = p;
-- return _this;
-- }
-- return D;
--}(C));
-+class C {
+ class C {
+ p;
-+}
-+class D extends C {
+ }
+ class D extends C {
+ p;
-+ constructor(p) {
-+ super();
-+ this.p = p;
-+ }
-+}
\ No newline at end of file
+ constructor(p) {
+ super();
+ this.p = p;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionalParameterRetainsNull.js.diff b/testdata/baselines/reference/submodule/compiler/optionalParameterRetainsNull.js.diff
deleted file mode 100644
index c673cfa308..0000000000
--- a/testdata/baselines/reference/submodule/compiler/optionalParameterRetainsNull.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.optionalParameterRetainsNull.js
-+++ new.optionalParameterRetainsNull.js
-@@= skipped -9, +9 lines =@@
-
-
- //// [optionalParameterRetainsNull.js]
--var a = {
-- test: function (a, b) { }
-+let a = {
-+ test(a, b) { }
- };
- a.test("bar", null); // ok, null is assignable to number | null | undefined
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionalParamterAndVariableDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/optionalParamterAndVariableDeclaration.js.diff
deleted file mode 100644
index 9d353c84c8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/optionalParamterAndVariableDeclaration.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.optionalParamterAndVariableDeclaration.js
-+++ new.optionalParamterAndVariableDeclaration.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [optionalParamterAndVariableDeclaration.js]
--var C = /** @class */ (function () {
-- function C(options) {
-+class C {
-+ constructor(options) {
- var options = (options || 0);
- }
-- return C;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionalParamterAndVariableDeclaration2.js.diff b/testdata/baselines/reference/submodule/compiler/optionalParamterAndVariableDeclaration2.js.diff
deleted file mode 100644
index 1f9daa32f6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/optionalParamterAndVariableDeclaration2.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.optionalParamterAndVariableDeclaration2.js
-+++ new.optionalParamterAndVariableDeclaration2.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [optionalParamterAndVariableDeclaration2.js]
--var C = /** @class */ (function () {
-- function C(options) {
-+class C {
-+ constructor(options) {
- var options = (options || 0);
- }
-- return C;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionalPropertiesInClasses.js.diff b/testdata/baselines/reference/submodule/compiler/optionalPropertiesInClasses.js.diff
index e1cd0c3625..678aa9f05f 100644
--- a/testdata/baselines/reference/submodule/compiler/optionalPropertiesInClasses.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/optionalPropertiesInClasses.js.diff
@@ -1,31 +1,15 @@
--- old.optionalPropertiesInClasses.js
+++ new.optionalPropertiesInClasses.js
-@@= skipped -19, +19 lines =@@
- }
+@@= skipped -20, +20 lines =@@
//// [optionalPropertiesInClasses.js]
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- return C1;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
--}());
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- return C3;
--}());
-+class C1 {
+ class C1 {
+ y;
-+}
-+class C2 {
+ }
+ class C2 {
+ x;
-+}
-+class C3 {
+ }
+ class C3 {
+ x;
+ y;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionalPropertiesTest.js.diff b/testdata/baselines/reference/submodule/compiler/optionalPropertiesTest.js.diff
deleted file mode 100644
index e2361214c9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/optionalPropertiesTest.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.optionalPropertiesTest.js
-+++ new.optionalPropertiesTest.js
-@@= skipped -47, +47 lines =@@
- foo = { id: 1234 }; // Ok
- foo = { id: 1234, name: "test" }; // Ok
- foo = { name: "test" }; // Error, id missing
--foo = { id: 1234, print: function () { } }; // Ok
-+foo = { id: 1234, print: () => { } }; // Ok
- var s = foo.name || "default";
- if (foo.print !== undefined)
- foo.print();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionalSetterParam.js.diff b/testdata/baselines/reference/submodule/compiler/optionalSetterParam.js.diff
deleted file mode 100644
index 67a1498ac2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/optionalSetterParam.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.optionalSetterParam.js
-+++ new.optionalSetterParam.js
-@@= skipped -7, +7 lines =@@
-
-
- //// [optionalSetterParam.js]
--var foo = /** @class */ (function () {
-- function foo() {
-- }
-- Object.defineProperty(foo.prototype, "bar", {
-- set: function (param) { },
-- enumerable: false,
-- configurable: true
-- });
-- return foo;
--}());
-+class foo {
-+ set bar(param) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionsCompositeWithIncrementalFalse.js.diff b/testdata/baselines/reference/submodule/compiler/optionsCompositeWithIncrementalFalse.js.diff
deleted file mode 100644
index f527a77bc3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/optionsCompositeWithIncrementalFalse.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.optionsCompositeWithIncrementalFalse.js
-+++ new.optionsCompositeWithIncrementalFalse.js
-@@= skipped -4, +4 lines =@@
-
-
- //// [optionsCompositeWithIncrementalFalse.js]
--var x = "Hello World";
-+const x = "Hello World";
-
-
- //// [optionsCompositeWithIncrementalFalse.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/optionsTsBuildInfoFileWithoutIncrementalAndComposite.js.diff b/testdata/baselines/reference/submodule/compiler/optionsTsBuildInfoFileWithoutIncrementalAndComposite.js.diff
deleted file mode 100644
index 170c9f15c8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/optionsTsBuildInfoFileWithoutIncrementalAndComposite.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.optionsTsBuildInfoFileWithoutIncrementalAndComposite.js
-+++ new.optionsTsBuildInfoFileWithoutIncrementalAndComposite.js
-@@= skipped -4, +4 lines =@@
-
-
- //// [optionsTsBuildInfoFileWithoutIncrementalAndComposite.js]
--var x = "Hello World";
-+const x = "Hello World";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/out-flag.js.diff b/testdata/baselines/reference/submodule/compiler/out-flag.js.diff
index b4742c3920..f797e2b72c 100644
--- a/testdata/baselines/reference/submodule/compiler/out-flag.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/out-flag.js.diff
@@ -1,27 +1,6 @@
--- old.out-flag.js
+++ new.out-flag.js
-@@= skipped -21, +21 lines =@@
- //// [out-flag.js]
- //// @outFile: bin\
- // my class comments
--var MyClass = /** @class */ (function () {
-- function MyClass() {
-- }
-+class MyClass {
- // my function comments
-- MyClass.prototype.Count = function () {
-+ Count() {
- return 42;
-- };
-- MyClass.prototype.SetCount = function (value) {
-+ }
-+ SetCount(value) {
- //
-- };
-- return MyClass;
--}());
-+ }
-+}
+@@= skipped -33, +33 lines =@@
//# sourceMappingURL=out-flag.js.map
//// [out-flag.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/out-flag.js.map.diff b/testdata/baselines/reference/submodule/compiler/out-flag.js.map.diff
index c39f69a7ae..041a18af48 100644
--- a/testdata/baselines/reference/submodule/compiler/out-flag.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/out-flag.js.map.diff
@@ -2,7 +2,7 @@
+++ new.out-flag.js.map
@@= skipped -0, +0 lines =@@
//// [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,MAAM,OAAO;IAET,uBAAuB;IAChB,KAAK;QAER,OAAO,EAAE,CAAC;IACd,CAAC;IAEM,QAAQ,CAAC,KAAa;QAEzB,EAAE;IACN,CAAC;CACJ"}
+-//// https://sokra.github.io/source-map-visualization#base64,Ly8vLyBAb3V0RmlsZTogYmluXA0KLy8gbXkgY2xhc3MgY29tbWVudHMNCmNsYXNzIE15Q2xhc3Mgew0KICAgIC8vIG15IGZ1bmN0aW9uIGNvbW1lbnRzDQogICAgQ291bnQoKSB7DQogICAgICAgIHJldHVybiA0MjsNCiAgICB9DQogICAgU2V0Q291bnQodmFsdWUpIHsNCiAgICAgICAgLy8NCiAgICB9DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1vdXQtZmxhZy5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0LWZsYWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJvdXQtZmxhZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxtQkFBbUI7QUFFbkIsb0JBQW9CO0FBQ3BCLE1BQU0sT0FBTztJQUVULHVCQUF1QjtJQUNoQixLQUFLO1FBRVIsT0FBTyxFQUFFLENBQUM7SUFDZCxDQUFDO0lBRU0sUUFBUSxDQUFDLEtBQWE7UUFFekIsRUFBRTtJQUNOLENBQUM7Q0FDSiJ9,Ly8vLyBAb3V0RmlsZTogYmluXAoKLy8gbXkgY2xhc3MgY29tbWVudHMKY2xhc3MgTXlDbGFzcwp7CiAgICAvLyBteSBmdW5jdGlvbiBjb21tZW50cwogICAgcHVibGljIENvdW50KCk6IG51bWJlcgogICAgewogICAgICAgIHJldHVybiA0MjsKICAgIH0KCiAgICBwdWJsaWMgU2V0Q291bnQodmFsdWU6IG51bWJlcikKICAgIHsKICAgICAgICAvLwogICAgfQp9Cg==
+{"version":3,"file":"out-flag.js","sourceRoot":"","sources":["out-flag.ts"],"names":[],"mappings":"AAAA,mBAAmB;AAEnB,oBAAoB;AACpB,MAAM,OAAO;IAET,uBAAuB;IAChB,KAAK,GACZ;QACI,OAAO,EAAE,CAAC;IAAA,CACb;IAEM,QAAQ,CAAC,KAAa,EAC7B;QACI,EAAE;IADL,CAEA;CACJ"}
+//// https://sokra.github.io/source-map-visualization#base64,Ly8vLyBAb3V0RmlsZTogYmluXA0KLy8gbXkgY2xhc3MgY29tbWVudHMNCmNsYXNzIE15Q2xhc3Mgew0KICAgIC8vIG15IGZ1bmN0aW9uIGNvbW1lbnRzDQogICAgQ291bnQoKSB7DQogICAgICAgIHJldHVybiA0MjsNCiAgICB9DQogICAgU2V0Q291bnQodmFsdWUpIHsNCiAgICAgICAgLy8NCiAgICB9DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1vdXQtZmxhZy5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0LWZsYWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJvdXQtZmxhZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxtQkFBbUI7QUFFbkIsb0JBQW9CO0FBQ3BCLE1BQU0sT0FBTztJQUVULHVCQUF1QjtJQUNoQixLQUFLLEdBQ1o7UUFDSSxPQUFPLEVBQUUsQ0FBQztJQUFBLENBQ2I7SUFFTSxRQUFRLENBQUMsS0FBYSxFQUM3QjtRQUNJLEVBQUU7SUFETCxDQUVBO0NBQ0oifQ==,Ly8vLyBAb3V0RmlsZTogYmluXAoKLy8gbXkgY2xhc3MgY29tbWVudHMKY2xhc3MgTXlDbGFzcwp7CiAgICAvLyBteSBmdW5jdGlvbiBjb21tZW50cwogICAgcHVibGljIENvdW50KCk6IG51bWJlcgogICAgewogICAgICAgIHJldHVybiA0MjsKICAgIH0KCiAgICBwdWJsaWMgU2V0Q291bnQodmFsdWU6IG51bWJlcikKICAgIHsKICAgICAgICAvLwogICAgfQp9Cg==
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/out-flag.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/out-flag.sourcemap.txt.diff
index a021657bc4..d6d00a54e4 100644
--- a/testdata/baselines/reference/submodule/compiler/out-flag.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/out-flag.sourcemap.txt.diff
@@ -1,168 +1,62 @@
--- old.out-flag.sourcemap.txt
+++ new.out-flag.sourcemap.txt
-@@= skipped -19, +19 lines =@@
- >>>// my class comments
- 1->
- 2 >^^^^^^^^^^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^->
- 1->
- >
- >
-@@= skipped -8, +7 lines =@@
- 1->Emitted(2, 1) Source(3, 1) + SourceIndex(0)
- 2 >Emitted(2, 21) Source(3, 21) + SourceIndex(0)
- ---
-->>>var MyClass = /** @class */ (function () {
--1->
--2 >^^^^^^^^^^^^^^^^^^^^^^^^^->
--1->
-- >
--1->Emitted(3, 1) Source(4, 1) + SourceIndex(0)
-----
-->>> function MyClass() {
--1->^^^^
--2 > ^^->
--1->
--1->Emitted(4, 5) Source(4, 1) + SourceIndex(0)
-----
-->>> }
--1->^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^->
--1->class MyClass
-- >{
-- > // my function comments
-- > public Count(): number
-- > {
-- > return 42;
-- > }
-- >
-- > public SetCount(value: number)
-- > {
-- > //
-- > }
-- >
--2 > }
--1->Emitted(5, 5) Source(16, 1) + SourceIndex(0)
--2 >Emitted(5, 6) Source(16, 2) + SourceIndex(0)
-+>>>class MyClass {
-+1 >
-+2 >^^^^^^
-+3 > ^^^^^^^
-+4 > ^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >class
-+3 > MyClass
-+1 >Emitted(3, 1) Source(4, 1) + SourceIndex(0)
-+2 >Emitted(3, 7) Source(4, 7) + SourceIndex(0)
-+3 >Emitted(3, 14) Source(4, 14) + SourceIndex(0)
- ---
- >>> // my function comments
- 1->^^^^
- 2 > ^^^^^^^^^^^^^^^^^^^^^^^
--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(4, 5) Source(6, 5) + SourceIndex(0)
-+2 >Emitted(4, 28) Source(6, 28) + SourceIndex(0)
- ---
-->>> MyClass.prototype.Count = function () {
--1->^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--1->
-+>>> Count() {
-+1 >^^^^
-+2 > ^^^^^
+@@= skipped -52, +52 lines =@@
+ >>> Count() {
+ 1 >^^^^
+ 2 > ^^^^^
+-3 > ^^^^^^^^^^->
+3 > ^^^
+4 > ^^^^^^^->
-+1 >
+ 1 >
> 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)
+3 > (): number
+ >
-+1 >Emitted(5, 5) Source(7, 12) + SourceIndex(0)
-+2 >Emitted(5, 10) Source(7, 17) + SourceIndex(0)
+ 1 >Emitted(5, 5) Source(7, 12) + SourceIndex(0)
+ 2 >Emitted(5, 10) Source(7, 17) + SourceIndex(0)
+3 >Emitted(5, 13) Source(8, 5) + SourceIndex(0)
---
>>> return 42;
--1 >^^^^^^^^
-+1->^^^^^^^^
+ 1->^^^^^^^^
2 > ^^^^^^^
3 > ^^
4 > ^
--1 >public Count(): number
+-1->(): number
- > {
+1->{
>
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(6, 9) Source(9, 9) + SourceIndex(0)
-+2 >Emitted(6, 16) Source(9, 16) + SourceIndex(0)
-+3 >Emitted(6, 18) Source(9, 18) + SourceIndex(0)
-+4 >Emitted(6, 19) Source(9, 19) + SourceIndex(0)
- ---
-->>> };
-+>>> }
- 1 >^^^^
+@@= skipped -28, +31 lines =@@
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^->
+ 3 > ^^^^^^^^^^^^^^^^^->
1 >
- >
-2 > }
--1 >Emitted(9, 5) Source(10, 5) + SourceIndex(0)
--2 >Emitted(9, 6) Source(10, 6) + SourceIndex(0)
+-1 >Emitted(7, 5) Source(10, 5) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(7, 5) Source(9, 19) + SourceIndex(0)
-+2 >Emitted(7, 6) Source(10, 6) + SourceIndex(0)
+ 2 >Emitted(7, 6) Source(10, 6) + SourceIndex(0)
---
-->>> MyClass.prototype.SetCount = function (value) {
-+>>> SetCount(value) {
- 1->^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^
--5 > ^^^^^
-+2 > ^^^^^^^^
-+3 > ^
-+4 > ^^^^^
+ >>> SetCount(value) {
+@@= skipped -10, +10 lines =@@
+ 2 > ^^^^^^^^
+ 3 > ^
+ 4 > ^^^^^
+5 > ^^
1->
>
> public
2 > SetCount
--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)
-+3 > (
-+4 > value: number
+ 3 > (
+ 4 > value: number
+5 > )
+ >
-+1->Emitted(8, 5) Source(12, 12) + SourceIndex(0)
-+2 >Emitted(8, 13) Source(12, 20) + SourceIndex(0)
-+3 >Emitted(8, 14) Source(12, 21) + SourceIndex(0)
-+4 >Emitted(8, 19) Source(12, 34) + SourceIndex(0)
+ 1->Emitted(8, 5) Source(12, 12) + SourceIndex(0)
+ 2 >Emitted(8, 13) Source(12, 20) + SourceIndex(0)
+ 3 >Emitted(8, 14) Source(12, 21) + SourceIndex(0)
+ 4 >Emitted(8, 19) Source(12, 34) + SourceIndex(0)
+5 >Emitted(8, 21) Source(13, 5) + SourceIndex(0)
---
>>> //
@@ -173,69 +67,18 @@
+1 >{
>
2 > //
--1 >Emitted(11, 9) Source(14, 9) + SourceIndex(0)
--2 >Emitted(11, 11) Source(14, 11) + SourceIndex(0)
-+1 >Emitted(9, 9) Source(14, 9) + SourceIndex(0)
-+2 >Emitted(9, 11) Source(14, 11) + SourceIndex(0)
- ---
-->>> };
-+>>> }
+ 1 >Emitted(9, 9) Source(14, 9) + SourceIndex(0)
+@@= skipped -25, +28 lines =@@
1 >^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^->
--1 >
+ 1 >
- >
-2 > }
--1 >Emitted(12, 5) Source(15, 5) + SourceIndex(0)
--2 >Emitted(12, 6) Source(15, 6) + SourceIndex(0)
-----
-->>> return MyClass;
--1->^^^^
--2 > ^^^^^^^^^^^^^^
--1->
-- >
--2 > }
--1->Emitted(13, 5) Source(16, 1) + SourceIndex(0)
--2 >Emitted(13, 19) Source(16, 2) + SourceIndex(0)
-----
-->>>}());
--1 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 >}
--3 >
--4 > class MyClass
-- > {
-- > // my function comments
-- > public Count(): number
-- > {
-- > return 42;
-- > }
-- >
-- > public SetCount(value: number)
-- > {
-- > //
-- > }
-- > }
--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 >
+-1 >Emitted(10, 5) Source(15, 5) + SourceIndex(0)
+2 >
+ > //
+ > }
+1 >Emitted(10, 5) Source(13, 6) + SourceIndex(0)
-+2 >Emitted(10, 6) Source(15, 6) + SourceIndex(0)
-+---
-+>>>}
-+1 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >}
-+1 >Emitted(11, 2) Source(16, 2) + SourceIndex(0)
+ 2 >Emitted(10, 6) Source(15, 6) + SourceIndex(0)
---
- >>>//# sourceMappingURL=out-flag.js.map
\ No newline at end of file
+ >>>}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/out-flag2.js.map.diff b/testdata/baselines/reference/submodule/compiler/out-flag2.js.map.diff
index 2ae285be57..ba9bd78a84 100644
--- a/testdata/baselines/reference/submodule/compiler/out-flag2.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/out-flag2.js.map.diff
@@ -2,8 +2,8 @@
+++ new.out-flag2.js.map
@@= skipped -0, +0 lines =@@
-//// [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,MAAM,CAAC;CAAI;ACAX,MAAM,CAAC;CAAI"}
+-//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgQSB7DQp9DQpjbGFzcyBCIHsNCn0NCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWMuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiLCJiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQztDQUFJO0FDQVgsTUFBTSxDQUFDO0NBQUkifQ==,Y2xhc3MgQSB7IH0K,Y2xhc3MgQiB7IH0K
+//// [a.js.map]
+{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC;CAAI"}
+//// [b.js.map]
diff --git a/testdata/baselines/reference/submodule/compiler/out-flag2.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/out-flag2.sourcemap.txt.diff
index 56d3d55c9d..e9f4282cac 100644
--- a/testdata/baselines/reference/submodule/compiler/out-flag2.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/out-flag2.sourcemap.txt.diff
@@ -15,66 +15,16 @@
+emittedFile:a.js
sourceFile:a.ts
-------------------------------------------------------------------
-->>>var A = /** @class */ (function () {
--1 >
--2 >^^^^^^^^^^^^^^^^^^^->
--1 >
-+>>>class A {
-+1 >
-+2 >^^^^^^
-+3 > ^
-+1 >
-+2 >class
-+3 > A
- 1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
-----
-->>> function A() {
--1->^^^^
--2 > ^^->
--1->
--1->Emitted(2, 5) Source(1, 1) + SourceIndex(0)
-----
-->>> }
--1->^^^^
--2 > ^
--3 > ^^^^^^^^^->
--1->class A {
--2 > }
--1->Emitted(3, 5) Source(1, 11) + SourceIndex(0)
--2 >Emitted(3, 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 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--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)
-----
-+2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0)
-+3 >Emitted(1, 8) Source(1, 8) + SourceIndex(0)
-+---
-+>>>}
-+1 >^
+ >>>class A {
+@@= skipped -20, +20 lines =@@
+ ---
+ >>>}
+ 1 >^
+-2 > ^^^^^^^^^->
+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 > { }
-+1 >Emitted(2, 2) Source(1, 12) + SourceIndex(0)
-+---
+ 1 > { }
+ 1 >Emitted(2, 2) Source(1, 12) + SourceIndex(0)
+ ---
+>>>//# sourceMappingURL=a.js.map===================================================================
+JsFile: b.js
+mapUrl: b.js.map
@@ -86,66 +36,28 @@
+emittedFile:b.js
sourceFile:b.ts
-------------------------------------------------------------------
-->>>var B = /** @class */ (function () {
+ >>>class B {
-1->
--2 >^^^^^^^^^^^^^^^^^^^->
--1->
--1->Emitted(6, 1) Source(1, 1) + SourceIndex(1)
-----
-->>> function B() {
--1->^^^^
--2 > ^^->
--1->
--1->Emitted(7, 5) Source(1, 1) + SourceIndex(1)
-----
-->>> }
--1->^^^^
--2 > ^
--3 > ^^^^^^^^^->
--1->class B {
--2 > }
--1->Emitted(8, 5) Source(1, 11) + SourceIndex(1)
--2 >Emitted(8, 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 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--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)
-----
-->>>//# sourceMappingURL=c.js.map
-+>>>class B {
+1 >
-+2 >^^^^^^
-+3 > ^
+ 2 >^^^^^^
+ 3 > ^
+-1->
+1 >
-+2 >class
-+3 > B
+ 2 >class
+ 3 > B
+-1->Emitted(3, 1) Source(1, 1) + SourceIndex(1)
+-2 >Emitted(3, 7) Source(1, 7) + SourceIndex(1)
+-3 >Emitted(3, 8) Source(1, 8) + SourceIndex(1)
+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 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 > { }
+ ---
+ >>>}
+ 1 >^
+ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 1 > { }
+-1 >Emitted(4, 2) Source(1, 12) + SourceIndex(1)
+1 >Emitted(2, 2) Source(1, 12) + SourceIndex(0)
-+---
+ ---
+->>>//# sourceMappingURL=c.js.map
+>>>//# sourceMappingURL=b.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/out-flag3.js.map.diff b/testdata/baselines/reference/submodule/compiler/out-flag3.js.map.diff
index 96d5d3f921..3de01d9c59 100644
--- a/testdata/baselines/reference/submodule/compiler/out-flag3.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/out-flag3.js.map.diff
@@ -2,8 +2,8 @@
+++ new.out-flag3.js.map
@@= skipped -0, +0 lines =@@
-//// [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,MAAM,CAAC;CAAI;ACAX,MAAM,CAAC;CAAI"}
+-//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgQSB7DQp9DQpjbGFzcyBCIHsNCn0NCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWQuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiLCJiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQztDQUFJO0FDQVgsTUFBTSxDQUFDO0NBQUkifQ==,Y2xhc3MgQSB7IH0K,Y2xhc3MgQiB7IH0K
+//// [a.js.map]
+{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC;CAAI"}
+//// [b.js.map]
diff --git a/testdata/baselines/reference/submodule/compiler/out-flag3.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/out-flag3.sourcemap.txt.diff
index a1e11401bd..aff34c3532 100644
--- a/testdata/baselines/reference/submodule/compiler/out-flag3.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/out-flag3.sourcemap.txt.diff
@@ -15,66 +15,16 @@
+emittedFile:a.js
sourceFile:a.ts
-------------------------------------------------------------------
-->>>var A = /** @class */ (function () {
--1 >
--2 >^^^^^^^^^^^^^^^^^^^->
--1 >
-+>>>class A {
-+1 >
-+2 >^^^^^^
-+3 > ^
-+1 >
-+2 >class
-+3 > A
- 1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
-----
-->>> function A() {
--1->^^^^
--2 > ^^->
--1->
--1->Emitted(2, 5) Source(1, 1) + SourceIndex(0)
-----
-->>> }
--1->^^^^
--2 > ^
--3 > ^^^^^^^^^->
--1->class A {
--2 > }
--1->Emitted(3, 5) Source(1, 11) + SourceIndex(0)
--2 >Emitted(3, 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 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--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)
-----
-+2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0)
-+3 >Emitted(1, 8) Source(1, 8) + SourceIndex(0)
-+---
-+>>>}
-+1 >^
+ >>>class A {
+@@= skipped -20, +20 lines =@@
+ ---
+ >>>}
+ 1 >^
+-2 > ^^^^^^^^^->
+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 > { }
-+1 >Emitted(2, 2) Source(1, 12) + SourceIndex(0)
-+---
+ 1 > { }
+ 1 >Emitted(2, 2) Source(1, 12) + SourceIndex(0)
+ ---
+>>>//# sourceMappingURL=a.js.map===================================================================
+JsFile: b.js
+mapUrl: b.js.map
@@ -86,66 +36,28 @@
+emittedFile:b.js
sourceFile:b.ts
-------------------------------------------------------------------
-->>>var B = /** @class */ (function () {
+ >>>class B {
-1->
--2 >^^^^^^^^^^^^^^^^^^^->
--1->
--1->Emitted(6, 1) Source(1, 1) + SourceIndex(1)
-----
-->>> function B() {
--1->^^^^
--2 > ^^->
--1->
--1->Emitted(7, 5) Source(1, 1) + SourceIndex(1)
-----
-->>> }
--1->^^^^
--2 > ^
--3 > ^^^^^^^^^->
--1->class B {
--2 > }
--1->Emitted(8, 5) Source(1, 11) + SourceIndex(1)
--2 >Emitted(8, 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 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--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)
-----
-->>>//# sourceMappingURL=d.js.map
-+>>>class B {
+1 >
-+2 >^^^^^^
-+3 > ^
+ 2 >^^^^^^
+ 3 > ^
+-1->
+1 >
-+2 >class
-+3 > B
+ 2 >class
+ 3 > B
+-1->Emitted(3, 1) Source(1, 1) + SourceIndex(1)
+-2 >Emitted(3, 7) Source(1, 7) + SourceIndex(1)
+-3 >Emitted(3, 8) Source(1, 8) + SourceIndex(1)
+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 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 > { }
+ ---
+ >>>}
+ 1 >^
+ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 1 > { }
+-1 >Emitted(4, 2) Source(1, 12) + SourceIndex(1)
+1 >Emitted(2, 2) Source(1, 12) + SourceIndex(0)
-+---
+ ---
+->>>//# sourceMappingURL=d.js.map
+>>>//# sourceMappingURL=b.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/outModuleConcatAmd.js.map.diff b/testdata/baselines/reference/submodule/compiler/outModuleConcatAmd.js.map.diff
index 0cad62ca6d..6c07562553 100644
--- a/testdata/baselines/reference/submodule/compiler/outModuleConcatAmd.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/outModuleConcatAmd.js.map.diff
@@ -2,8 +2,8 @@
+++ new.outModuleConcatAmd.js.map
@@= skipped -0, +0 lines =@@
-//// [all.js.map]
--{"version":3,"file":"all.js","sourceRoot":"","sources":["ref/a.ts","b.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;IAAA;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,cAAC;;;;;;ICCd;QAAuB,qBAAC;QAAxB;;QAA2B,CAAC;QAAD,QAAC;IAAD,CAAC,AAA5B,CAAuB,KAAC,GAAI;IAAf,cAAC"}
--//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9fZXh0ZW5kcyA9ICh0aGlzICYmIHRoaXMuX19leHRlbmRzKSB8fCAoZnVuY3Rpb24gKCkgew0KICAgIHZhciBleHRlbmRTdGF0aWNzID0gZnVuY3Rpb24gKGQsIGIpIHsNCiAgICAgICAgZXh0ZW5kU3RhdGljcyA9IE9iamVjdC5zZXRQcm90b3R5cGVPZiB8fA0KICAgICAgICAgICAgKHsgX19wcm90b19fOiBbXSB9IGluc3RhbmNlb2YgQXJyYXkgJiYgZnVuY3Rpb24gKGQsIGIpIHsgZC5fX3Byb3RvX18gPSBiOyB9KSB8fA0KICAgICAgICAgICAgZnVuY3Rpb24gKGQsIGIpIHsgZm9yICh2YXIgcCBpbiBiKSBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKGIsIHApKSBkW3BdID0gYltwXTsgfTsNCiAgICAgICAgcmV0dXJuIGV4dGVuZFN0YXRpY3MoZCwgYik7DQogICAgfTsNCiAgICByZXR1cm4gZnVuY3Rpb24gKGQsIGIpIHsNCiAgICAgICAgaWYgKHR5cGVvZiBiICE9PSAiZnVuY3Rpb24iICYmIGIgIT09IG51bGwpDQogICAgICAgICAgICB0aHJvdyBuZXcgVHlwZUVycm9yKCJDbGFzcyBleHRlbmRzIHZhbHVlICIgKyBTdHJpbmcoYikgKyAiIGlzIG5vdCBhIGNvbnN0cnVjdG9yIG9yIG51bGwiKTsNCiAgICAgICAgZXh0ZW5kU3RhdGljcyhkLCBiKTsNCiAgICAgICAgZnVuY3Rpb24gX18oKSB7IHRoaXMuY29uc3RydWN0b3IgPSBkOyB9DQogICAgICAgIGQucHJvdG90eXBlID0gYiA9PT0gbnVsbCA/IE9iamVjdC5jcm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k7DQovLyMgc291cmNlTWFwcGluZ1VSTD1hbGwuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicmVmL2EudHMiLCJiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7SUFBQTtRQUFBO1FBQWlCLENBQUM7UUFBRCxRQUFDO0lBQUQsQ0FBQyxBQUFsQixJQUFrQjtJQUFMLGNBQUM7Ozs7OztJQ0NkO1FBQXVCLHFCQUFDO1FBQXhCOztRQUEyQixDQUFDO1FBQUQsUUFBQztJQUFELENBQUMsQUFBNUIsQ0FBdUIsS0FBQyxHQUFJO0lBQWYsY0FBQyJ9,ZXhwb3J0IGNsYXNzIEEgeyB9Cg==,aW1wb3J0IHtBfSBmcm9tICIuL3JlZi9hIjsKZXhwb3J0IGNsYXNzIEIgZXh0ZW5kcyBBIHsgfQ==
+-{"version":3,"file":"all.js","sourceRoot":"","sources":["ref/a.ts","b.ts"],"names":[],"mappings":";;;;IAAA,MAAa,CAAC;KAAI;IAAlB,cAAkB;;;;;;ICClB,MAAa,CAAE,SAAQ,KAAC;KAAI;IAA5B,cAA4B"}
+-//// https://sokra.github.io/source-map-visualization#base64,ZGVmaW5lKCJyZWYvYSIsIFsicmVxdWlyZSIsICJleHBvcnRzIl0sIGZ1bmN0aW9uIChyZXF1aXJlLCBleHBvcnRzKSB7DQogICAgInVzZSBzdHJpY3QiOw0KICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShleHBvcnRzLCAiX19lc01vZHVsZSIsIHsgdmFsdWU6IHRydWUgfSk7DQogICAgZXhwb3J0cy5BID0gdm9pZCAwOw0KICAgIGNsYXNzIEEgew0KICAgIH0NCiAgICBleHBvcnRzLkEgPSBBOw0KfSk7DQpkZWZpbmUoImIiLCBbInJlcXVpcmUiLCAiZXhwb3J0cyIsICJyZWYvYSJdLCBmdW5jdGlvbiAocmVxdWlyZSwgZXhwb3J0cywgYV8xKSB7DQogICAgInVzZSBzdHJpY3QiOw0KICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShleHBvcnRzLCAiX19lc01vZHVsZSIsIHsgdmFsdWU6IHRydWUgfSk7DQogICAgZXhwb3J0cy5CID0gdm9pZCAwOw0KICAgIGNsYXNzIEIgZXh0ZW5kcyBhXzEuQSB7DQogICAgfQ0KICAgIGV4cG9ydHMuQiA9IEI7DQp9KTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWFsbC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicmVmL2EudHMiLCJiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7SUFBQSxNQUFhLENBQUM7S0FBSTtJQUFsQixjQUFrQjs7Ozs7O0lDQ2xCLE1BQWEsQ0FBRSxTQUFRLEtBQUM7S0FBSTtJQUE1QixjQUE0QiJ9,ZXhwb3J0IGNsYXNzIEEgeyB9Cg==,aW1wb3J0IHtBfSBmcm9tICIuL3JlZi9hIjsKZXhwb3J0IGNsYXNzIEIgZXh0ZW5kcyBBIHsgfQ==
+//// [b.js.map]
+{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAA,+BAA0B;AAC1B,OAAe,SAAQ,KAAC;CAAI"}
+//// [a.js.map]
diff --git a/testdata/baselines/reference/submodule/compiler/outModuleConcatAmd.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/outModuleConcatAmd.sourcemap.txt.diff
index c27a018c1d..395fe9bea8 100644
--- a/testdata/baselines/reference/submodule/compiler/outModuleConcatAmd.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/outModuleConcatAmd.sourcemap.txt.diff
@@ -11,76 +11,34 @@
-emittedFile:all.js
-sourceFile:ref/a.ts
--------------------------------------------------------------------
-->>>var __extends = (this && this.__extends) || (function () {
-->>> var extendStatics = function (d, b) {
-->>> extendStatics = Object.setPrototypeOf ||
-->>> ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-->>> function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-->>> return extendStatics(d, b);
-->>> };
-->>> return function (d, b) {
-->>> if (typeof b !== "function" && b !== null)
-->>> throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-->>> extendStatics(d, b);
-->>> function __() { this.constructor = d; }
-->>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-->>> };
-->>>})();
->>>define("ref/a", ["require", "exports"], function (require, exports) {
->>> "use strict";
->>> Object.defineProperty(exports, "__esModule", { value: true });
->>> exports.A = void 0;
-->>> var A = /** @class */ (function () {
+->>> class A {
-1 >^^^^
--2 > ^^^^^^^^^^^^^^^^^^^->
+-2 > ^^^^^^
+-3 > ^
-1 >
--1 >Emitted(20, 5) Source(1, 1) + SourceIndex(0)
+-2 > export class
+-3 > A
+-1 >Emitted(5, 5) Source(1, 1) + SourceIndex(0)
+-2 >Emitted(5, 11) Source(1, 14) + SourceIndex(0)
+-3 >Emitted(5, 12) Source(1, 15) + SourceIndex(0)
----
-->>> function A() {
--1->^^^^^^^^
--2 > ^^->
--1->
--1->Emitted(21, 9) Source(1, 1) + SourceIndex(0)
-----
-->>> }
--1->^^^^^^^^
--2 > ^
--3 > ^^^^^^^^^->
--1->export class A {
--2 > }
--1->Emitted(22, 9) Source(1, 18) + SourceIndex(0)
--2 >Emitted(22, 10) Source(1, 19) + SourceIndex(0)
-----
-->>> return A;
--1->^^^^^^^^
--2 > ^^^^^^^^
--1->
--2 > }
--1->Emitted(23, 9) Source(1, 18) + SourceIndex(0)
--2 >Emitted(23, 17) Source(1, 19) + SourceIndex(0)
-----
-->>> }());
--1 >^^^^
--2 > ^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^->
--1 >
--2 > }
--3 >
--4 > export class A { }
--1 >Emitted(24, 5) Source(1, 18) + SourceIndex(0)
--2 >Emitted(24, 6) Source(1, 19) + SourceIndex(0)
--3 >Emitted(24, 6) Source(1, 1) + SourceIndex(0)
--4 >Emitted(24, 10) Source(1, 19) + SourceIndex(0)
+->>> }
+-1 >^^^^^
+-2 > ^^^^^^^^^^^^^^->
+-1 > { }
+-1 >Emitted(6, 6) Source(1, 19) + SourceIndex(0)
----
->>> exports.A = A;
-1->^^^^
-2 > ^^^^^^^^^^^^^^
-1->
--2 > A
--1->Emitted(25, 5) Source(1, 14) + SourceIndex(0)
--2 >Emitted(25, 19) Source(1, 15) + SourceIndex(0)
+-2 > export class A { }
+-1->Emitted(7, 5) Source(1, 1) + SourceIndex(0)
+-2 >Emitted(7, 19) Source(1, 19) + SourceIndex(0)
----
--------------------------------------------------------------------
-emittedFile:all.js
@@ -124,9 +82,12 @@
->>> "use strict";
->>> Object.defineProperty(exports, "__esModule", { value: true });
->>> exports.B = void 0;
-->>> var B = /** @class */ (function (_super) {
+->>> class B extends a_1.A {
-1 >^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-2 > ^^^^^^
+-3 > ^
+-4 > ^^^^^^^^^
+-5 > ^^^^^
-1 >import {A} from "./ref/a";
+>>>"use strict";
+>>>Object.defineProperty(exports, "__esModule", { value: true });
@@ -146,71 +107,15 @@
+4 > ^^^^^
+1 >
>
--1 >Emitted(31, 5) Source(2, 1) + SourceIndex(1)
-----
-->>> __extends(B, _super);
--1->^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^
--1->export class B extends
--2 > A
--1->Emitted(32, 9) Source(2, 24) + SourceIndex(1)
--2 >Emitted(32, 30) Source(2, 25) + SourceIndex(1)
-----
-->>> function B() {
--1 >^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--1 >Emitted(33, 9) Source(2, 1) + SourceIndex(1)
-----
-->>> return _super !== null && _super.apply(this, arguments) || this;
-->>> }
--1->^^^^^^^^
--2 > ^
--3 > ^^^^^^^^^->
--1->export class B extends A {
--2 > }
--1->Emitted(35, 9) Source(2, 28) + SourceIndex(1)
--2 >Emitted(35, 10) Source(2, 29) + SourceIndex(1)
-----
-->>> return B;
--1->^^^^^^^^
--2 > ^^^^^^^^
--1->
--2 > }
--1->Emitted(36, 9) Source(2, 28) + SourceIndex(1)
--2 >Emitted(36, 17) Source(2, 29) + SourceIndex(1)
-----
-->>> }(a_1.A));
--1 >^^^^
--2 > ^
--3 >
--4 > ^
--5 > ^^^^^
--6 > ^^^
--7 > ^^^^^->
--1 >
--2 > }
--3 >
--4 > export class B extends
--5 > A
--6 > { }
--1 >Emitted(37, 5) Source(2, 28) + SourceIndex(1)
--2 >Emitted(37, 6) Source(2, 29) + SourceIndex(1)
--3 >Emitted(37, 6) Source(2, 1) + SourceIndex(1)
--4 >Emitted(37, 7) Source(2, 24) + SourceIndex(1)
--5 >Emitted(37, 12) Source(2, 25) + SourceIndex(1)
--6 >Emitted(37, 15) Source(2, 29) + SourceIndex(1)
-----
-->>> exports.B = B;
--1->^^^^
--2 > ^^^^^^^^^^^^^^
--1->
--2 > B
--1->Emitted(38, 5) Source(2, 14) + SourceIndex(1)
--2 >Emitted(38, 19) Source(2, 15) + SourceIndex(1)
-----
-->>>});
-->>>//# sourceMappingURL=all.js.map
+-2 > export class
+-3 > B
+-4 > extends
+-5 > A
+-1 >Emitted(13, 5) Source(2, 1) + SourceIndex(1)
+-2 >Emitted(13, 11) Source(2, 14) + SourceIndex(1)
+-3 >Emitted(13, 12) Source(2, 16) + SourceIndex(1)
+-4 >Emitted(13, 21) Source(2, 24) + SourceIndex(1)
+-5 >Emitted(13, 26) Source(2, 25) + SourceIndex(1)
+2 >export class B
+3 > extends
+4 > A
@@ -218,11 +123,26 @@
+2 >Emitted(5, 8) Source(2, 16) + SourceIndex(0)
+3 >Emitted(5, 17) Source(2, 24) + SourceIndex(0)
+4 >Emitted(5, 22) Source(2, 25) + SourceIndex(0)
-+---
+ ---
+->>> }
+-1 >^^^^^
+-2 > ^^^^^^^^^^^^^^->
+>>>}
+1 >^
+2 > ^^^^^^^^^^^^^^->
-+1 > { }
+ 1 > { }
+-1 >Emitted(14, 6) Source(2, 29) + SourceIndex(1)
+----
+->>> exports.B = B;
+-1->^^^^
+-2 > ^^^^^^^^^^^^^^
+-1->
+-2 > export class B extends A { }
+-1->Emitted(15, 5) Source(2, 1) + SourceIndex(1)
+-2 >Emitted(15, 19) Source(2, 29) + SourceIndex(1)
+----
+->>>});
+->>>//# sourceMappingURL=all.js.map
+1 >Emitted(6, 2) Source(2, 29) + SourceIndex(0)
+---
+>>>exports.B = B;
diff --git a/testdata/baselines/reference/submodule/compiler/outModuleConcatSystem.js.map.diff b/testdata/baselines/reference/submodule/compiler/outModuleConcatSystem.js.map.diff
index 9b88ca7038..aa3c506f6f 100644
--- a/testdata/baselines/reference/submodule/compiler/outModuleConcatSystem.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/outModuleConcatSystem.js.map.diff
@@ -2,8 +2,8 @@
+++ new.outModuleConcatSystem.js.map
@@= skipped -0, +0 lines =@@
-//// [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,dmFyIF9fZXh0ZW5kcyA9ICh0aGlzICYmIHRoaXMuX19leHRlbmRzKSB8fCAoZnVuY3Rpb24gKCkgew0KICAgIHZhciBleHRlbmRTdGF0aWNzID0gZnVu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dF8xLmlkOw0KICAgIHJldHVybiB7DQogICAgICAgIHNldHRlcnM6IFtdLA0KICAgICAgICBleGVjdXRlOiBmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICBBID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgIGZ1bmN0aW9uIEEoKSB7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIHJldHVybiBBOw0KICAgICAgICAgICAgfSgpKTsNCiAgICAgICAgICAgIGV4cG9ydHNfMSgiQSIsIEEpOw0KICAgICAgICB9DQogICAgfTsNCn0pOw0KU3lzdGVtLnJlZ2lzdGVyKCJiIiwgWyJyZWYvYSJdLCBmdW5jdGlvbiAoZXhwb3J0c18yLCBjb250ZXh0XzIpIHsNCiAgICAidXNlIHN0cmljdCI7DQogICAgdmFyIGFfMSwgQjsNCiAgICB2YXIgX19tb2R1bGVOYW1lID0gY29udGV4dF8yICYmIGNvbnRleHRfMi5pZDsNCiAgICByZXR1cm4gew0KICAgICAgICBzZXR0ZXJzOiBbDQogICAgICAgICAgICBmdW5jdGlvbiAoYV8xXzEpIHsNCiAgICAgICAgICAgICAgICBhXzEgPSBhXzFfMTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgXSwNCiAgICAgICAgZXhlY3V0ZTogZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgQiA9IC8qKiBAY2xhc3MgKi8gKGZ1bmN0aW9uIChfc3VwZXIpIHsNCiAgICAgICAgICAgICAgICBfX2V4dGVuZHMoQiwgX3N1cGVyKTsNCiAgICAgICAgICAgICAgICBmdW5jdGlvbiBCKCkgew0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gX3N1cGVyICE9PSBudWxsICYmIF9zdXBlci5hcHBseSh0aGlzLCBhcmd1bWVudHMpIHx8IHRoaXM7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIHJldHVybiBCOw0KICAgICAgICAgICAgfShhXzEuQSkpOw0KICAgICAgICAgICAgZXhwb3J0c18yKCJCIiwgQik7DQogICAgICAgIH0NCiAgICB9Ow0KfSk7DQovLyMgc291cmNlTWFwcGluZ1VSTD1hbGwuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicmVmL2EudHMiLCJiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7WUFBQTtnQkFBQTtnQkFBaUIsQ0FBQztnQkFBRCxRQUFDO1lBQUQsQ0FBQyxBQUFsQixJQUFrQjs7UUFDbEIsQ0FBQzs7Ozs7Ozs7Ozs7Ozs7WUNBRDtnQkFBdUIscUJBQUM7Z0JBQXhCOztnQkFBMkIsQ0FBQztnQkFBRCxRQUFDO1lBQUQsQ0FBQyxBQUE1QixDQUF1QixLQUFDLEdBQUk7O1FBQUEsQ0FBQyJ9,ZXhwb3J0IGNsYXNzIEEgeyB9Cg==,aW1wb3J0IHtBfSBmcm9tICIuL3JlZi9hIjsKZXhwb3J0IGNsYXNzIEIgZXh0ZW5kcyBBIHsgfQ==
+-{"version":3,"file":"all.js","sourceRoot":"","sources":["ref/a.ts","b.ts"],"names":[],"mappings":";;;;;;;YAAA,IAAA,MAAa,CAAC;aAAI,CAAA;;QAClB,CAAC;;;;;;;;;;;;;;YCAD,IAAA,MAAa,CAAE,SAAQ,KAAC;aAAI,CAAA;;QAAA,CAAC"}
+-//// https://sokra.github.io/source-map-visualization#base64,U3lzdGVtLnJlZ2lzdGVyKCJyZWYvYSIsIFtdLCBmdW5jdGlvbiAoZXhwb3J0c18xLCBjb250ZXh0XzEpIHsNCiAgICAidXNlIHN0cmljdCI7DQogICAgdmFyIEE7DQogICAgdmFyIF9fbW9kdWxlTmFtZSA9IGNvbnRleHRfMSAmJiBjb250ZXh0XzEuaWQ7DQogICAgcmV0dXJuIHsNCiAgICAgICAgc2V0dGVyczogW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aW1wb3J0IHtBfSBmcm9tICIuL3JlZi9hIjsKZXhwb3J0IGNsYXNzIEIgZXh0ZW5kcyBBIHsgfQ==
+//// [b.js.map]
+{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAA,+BAA0B;AAC1B,OAAe,SAAQ,KAAC;CAAI"}
+//// [a.js.map]
diff --git a/testdata/baselines/reference/submodule/compiler/outModuleConcatSystem.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/outModuleConcatSystem.sourcemap.txt.diff
index 45d0ea3df2..2009a8dbe4 100644
--- a/testdata/baselines/reference/submodule/compiler/outModuleConcatSystem.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/outModuleConcatSystem.sourcemap.txt.diff
@@ -11,21 +11,6 @@
-emittedFile:all.js
-sourceFile:ref/a.ts
--------------------------------------------------------------------
-->>>var __extends = (this && this.__extends) || (function () {
-->>> var extendStatics = function (d, b) {
-->>> extendStatics = Object.setPrototypeOf ||
-->>> ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-->>> function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-->>> return extendStatics(d, b);
-->>> };
-->>> return function (d, b) {
-->>> if (typeof b !== "function" && b !== null)
-->>> throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-->>> extendStatics(d, b);
-->>> function __() { this.constructor = d; }
-->>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-->>> };
-->>>})();
->>>System.register("ref/a", [], function (exports_1, context_1) {
->>> "use strict";
->>> var A;
@@ -33,49 +18,28 @@
->>> return {
->>> setters: [],
->>> execute: function () {
-->>> A = /** @class */ (function () {
+->>> A = class A {
-1 >^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^->
+-2 > ^^^^
+-3 > ^^^^^^
+-4 > ^
-1 >
--1 >Emitted(23, 13) Source(1, 1) + SourceIndex(0)
-----
-->>> function A() {
--1->^^^^^^^^^^^^^^^^
--2 > ^^->
--1->
--1->Emitted(24, 17) Source(1, 1) + SourceIndex(0)
-----
-->>> }
--1->^^^^^^^^^^^^^^^^
--2 > ^
--3 > ^^^^^^^^^->
--1->export class A {
--2 > }
--1->Emitted(25, 17) Source(1, 18) + SourceIndex(0)
--2 >Emitted(25, 18) Source(1, 19) + SourceIndex(0)
+-2 >
+-3 > export class
+-4 > A
+-1 >Emitted(8, 13) Source(1, 1) + SourceIndex(0)
+-2 >Emitted(8, 17) Source(1, 1) + SourceIndex(0)
+-3 >Emitted(8, 23) Source(1, 14) + SourceIndex(0)
+-4 >Emitted(8, 24) Source(1, 15) + SourceIndex(0)
----
-->>> return A;
--1->^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^
--1->
--2 > }
--1->Emitted(26, 17) Source(1, 18) + SourceIndex(0)
--2 >Emitted(26, 25) Source(1, 19) + SourceIndex(0)
-----
-->>> }());
--1 >^^^^^^^^^^^^
--2 > ^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^->
--1 >
--2 > }
--3 >
--4 > export class A { }
--1 >Emitted(27, 13) Source(1, 18) + SourceIndex(0)
--2 >Emitted(27, 14) Source(1, 19) + SourceIndex(0)
--3 >Emitted(27, 14) Source(1, 1) + SourceIndex(0)
--4 >Emitted(27, 18) Source(1, 19) + SourceIndex(0)
+->>> };
+-1 >^^^^^^^^^^^^^
+-2 > ^
+-3 > ^^^^^^^^^^^^^^^^^->
+-1 > { }
+-2 >
+-1 >Emitted(9, 14) Source(1, 19) + SourceIndex(0)
+-2 >Emitted(9, 15) Source(1, 19) + SourceIndex(0)
----
->>> exports_1("A", A);
->>> }
@@ -84,8 +48,8 @@
-1->
- >
-2 >
--1->Emitted(29, 9) Source(2, 1) + SourceIndex(0)
--2 >Emitted(29, 10) Source(2, 2) + SourceIndex(0)
+-1->Emitted(11, 9) Source(2, 1) + SourceIndex(0)
+-2 >Emitted(11, 10) Source(2, 2) + SourceIndex(0)
----
--------------------------------------------------------------------
-emittedFile:all.js
@@ -137,9 +101,13 @@
->>> }
->>> ],
->>> execute: function () {
-->>> B = /** @class */ (function (_super) {
+->>> B = class B extends a_1.A {
-1 >^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-2 > ^^^^
+-3 > ^^^^^^
+-4 > ^
+-5 > ^^^^^^^^^
+-6 > ^^^^^
-1 >import {A} from "./ref/a";
+>>>"use strict";
+>>>Object.defineProperty(exports, "__esModule", { value: true });
@@ -159,60 +127,36 @@
+4 > ^^^^^
+1 >
>
--1 >Emitted(43, 13) Source(2, 1) + SourceIndex(1)
-----
-->>> __extends(B, _super);
--1->^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^
--1->export class B extends
--2 > A
--1->Emitted(44, 17) Source(2, 24) + SourceIndex(1)
--2 >Emitted(44, 38) Source(2, 25) + SourceIndex(1)
-----
-->>> function B() {
--1 >^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--1 >Emitted(45, 17) Source(2, 1) + SourceIndex(1)
-----
-->>> return _super !== null && _super.apply(this, arguments) || this;
-->>> }
--1->^^^^^^^^^^^^^^^^
--2 > ^
--3 > ^^^^^^^^^->
--1->export class B extends A {
--2 > }
--1->Emitted(47, 17) Source(2, 28) + SourceIndex(1)
--2 >Emitted(47, 18) Source(2, 29) + SourceIndex(1)
-----
-->>> return B;
--1->^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^
--1->
--2 > }
--1->Emitted(48, 17) Source(2, 28) + SourceIndex(1)
--2 >Emitted(48, 25) Source(2, 29) + SourceIndex(1)
-----
-->>> }(a_1.A));
--1 >^^^^^^^^^^^^
--2 > ^
--3 >
--4 > ^
--5 > ^^^^^
--6 > ^^^
--7 > ^^^^^^^^^->
--1 >
--2 > }
--3 >
--4 > export class B extends
--5 > A
--6 > { }
--1 >Emitted(49, 13) Source(2, 28) + SourceIndex(1)
--2 >Emitted(49, 14) Source(2, 29) + SourceIndex(1)
--3 >Emitted(49, 14) Source(2, 1) + SourceIndex(1)
--4 >Emitted(49, 15) Source(2, 24) + SourceIndex(1)
--5 >Emitted(49, 20) Source(2, 25) + SourceIndex(1)
--6 >Emitted(49, 23) Source(2, 29) + SourceIndex(1)
+-2 >
+-3 > export class
+-4 > B
+-5 > extends
+-6 > A
+-1 >Emitted(25, 13) Source(2, 1) + SourceIndex(1)
+-2 >Emitted(25, 17) Source(2, 1) + SourceIndex(1)
+-3 >Emitted(25, 23) Source(2, 14) + SourceIndex(1)
+-4 >Emitted(25, 24) Source(2, 16) + SourceIndex(1)
+-5 >Emitted(25, 33) Source(2, 24) + SourceIndex(1)
+-6 >Emitted(25, 38) Source(2, 25) + SourceIndex(1)
++2 >export class B
++3 > extends
++4 > A
++1 >Emitted(5, 1) Source(2, 1) + SourceIndex(0)
++2 >Emitted(5, 8) Source(2, 16) + SourceIndex(0)
++3 >Emitted(5, 17) Source(2, 24) + SourceIndex(0)
++4 >Emitted(5, 22) Source(2, 25) + SourceIndex(0)
+ ---
+->>> };
+-1 >^^^^^^^^^^^^^
+-2 > ^
+-3 > ^^^^^^^^^^^^^^^^^->
++>>>}
++1 >^
++2 > ^^^^^^^^^^^^^^->
+ 1 > { }
+-2 >
+-1 >Emitted(26, 14) Source(2, 29) + SourceIndex(1)
+-2 >Emitted(26, 15) Source(2, 29) + SourceIndex(1)
----
->>> exports_2("B", B);
->>> }
@@ -220,24 +164,12 @@
-2 > ^
-1->
-2 >
--1->Emitted(51, 9) Source(2, 29) + SourceIndex(1)
--2 >Emitted(51, 10) Source(2, 30) + SourceIndex(1)
+-1->Emitted(28, 9) Source(2, 29) + SourceIndex(1)
+-2 >Emitted(28, 10) Source(2, 30) + SourceIndex(1)
----
->>> };
->>>});
->>>//# sourceMappingURL=all.js.map
-+2 >export class B
-+3 > extends
-+4 > A
-+1 >Emitted(5, 1) Source(2, 1) + SourceIndex(0)
-+2 >Emitted(5, 8) Source(2, 16) + SourceIndex(0)
-+3 >Emitted(5, 17) Source(2, 24) + SourceIndex(0)
-+4 >Emitted(5, 22) Source(2, 25) + SourceIndex(0)
-+---
-+>>>}
-+1 >^
-+2 > ^^^^^^^^^^^^^^->
-+1 > { }
+1 >Emitted(6, 2) Source(2, 29) + SourceIndex(0)
+---
+>>>exports.B = B;
diff --git a/testdata/baselines/reference/submodule/compiler/outModuleTripleSlashRefs.js.map.diff b/testdata/baselines/reference/submodule/compiler/outModuleTripleSlashRefs.js.map.diff
index d388877c33..e82156dccf 100644
--- a/testdata/baselines/reference/submodule/compiler/outModuleTripleSlashRefs.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/outModuleTripleSlashRefs.js.map.diff
@@ -2,8 +2,8 @@
+++ new.outModuleTripleSlashRefs.js.map
@@= skipped -0, +0 lines =@@
-//// [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,dmFyIF9fZXh0ZW5kcyA9ICh0aGlzICYmIHRoaXMuX19leHRlbmRzKSB8fCAoZnVuY3Rpb24gKCkgew0KICAgIHZhciBleHRlbmRTdGF0aWNzID0gZnVuY3Rpb24gKGQsIGIpIHsNCiAgICAgICAgZXh0ZW5kU3RhdGljcyA9IE9iamVjdC5zZXRQcm90b3R5cGVPZiB8fA0KICAgICAgICAgICAg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yIsImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsaUNBQWlDO0FBQ2pDO0lBQUE7SUFFQSxDQUFDO0lBQUQsVUFBQztBQUFELENBQUMsQUFGRCxJQUVDOzs7OztJQ0hELCtCQUErQjtJQUMvQjtRQUFBO1FBRUEsQ0FBQztRQUFELFFBQUM7SUFBRCxDQUFDLEFBRkQsSUFFQztJQUZZLGNBQUM7Ozs7OztJQ0FkO1FBQXVCLHFCQUFDO1FBQXhCOztRQUEyQixDQUFDO1FBQUQsUUFBQztJQUFELENBQUMsQUFBNUIsQ0FBdUIsS0FBQyxHQUFJO0lBQWYsY0FBQyJ9,Ly8vIDxyZWZlcmVuY2UgcGF0aD0iLi9jLmQudHMiIC8+CmNsYXNzIEZvbyB7CgltZW1iZXI6IEJhcjsKfQpkZWNsYXJlIHZhciBHbG9iYWxGb286IEZvbzsK,Ly8vIDxyZWZlcmVuY2UgcGF0aD0iLi9iLnRzIiAvPgpleHBvcnQgY2xhc3MgQSB7CgltZW1iZXI6IHR5cGVvZiBHbG9iYWxGb287Cn0K,Ly8vIDxyZWZlcmVuY2UgcGF0aD0iLi9jLmQudHMiIC8+CmNsYXNzIEZvbyB7CgltZW1iZXI6IEJhcjsKfQpkZWNsYXJlIHZhciBHbG9iYWxGb286IEZvbzsK
+-{"version":3,"file":"all.js","sourceRoot":"","sources":["ref/b.ts","ref/a.ts","b.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,MAAM,GAAG;CAER;;;;;ICHD,+BAA+B;IAC/B,MAAa,CAAC;KAEb;IAFD,cAEC;;;;;;ICFD,MAAa,CAAE,SAAQ,KAAC;KAAI;IAA5B,cAA4B"}
+-//// https://sokra.github.io/source-map-visualization#base64,Ly8vIDxyZWZlcmVuY2UgcGF0aD0iLi9jLmQudHMiIC8+DQpjbGFzcyBGb28gew0KfQ0KZGVmaW5lKCJyZWYvYSIsIFsicmVxdWlyZSIsIC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7CgltZW1iZXI6IEJhcjsKfQpkZWNsYXJlIHZhciBHbG9iYWxGb286IEZvbzsK,Ly8vIDxyZWZlcmVuY2UgcGF0aD0iLi9iLnRzIiAvPgpleHBvcnQgY2xhc3MgQSB7CgltZW1iZXI6IHR5cGVvZiBHbG9iYWxGb287Cn0K,Ly8vIDxyZWZlcmVuY2UgcGF0aD0iLi9jLmQudHMiIC8+CmNsYXNzIEZvbyB7CgltZW1iZXI6IEJhcjsKfQpkZWNsYXJlIHZhciBHbG9iYWxGb286IEZvbzsK
+//// [b.js.map]
+{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAA,+BAA0B;AAC1B,OAAe,SAAQ,KAAC;CAAI"}
+//// [a.js.map]
diff --git a/testdata/baselines/reference/submodule/compiler/outModuleTripleSlashRefs.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/outModuleTripleSlashRefs.sourcemap.txt.diff
index c4160a33a1..3eff3e71a4 100644
--- a/testdata/baselines/reference/submodule/compiler/outModuleTripleSlashRefs.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/outModuleTripleSlashRefs.sourcemap.txt.diff
@@ -16,78 +16,27 @@
+emittedFile:ref/b.js
+sourceFile:b.ts
-------------------------------------------------------------------
-->>>var __extends = (this && this.__extends) || (function () {
-->>> var extendStatics = function (d, b) {
-->>> extendStatics = Object.setPrototypeOf ||
-->>> ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-->>> function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-->>> return extendStatics(d, b);
-->>> };
-->>> return function (d, b) {
-->>> if (typeof b !== "function" && b !== null)
-->>> throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-->>> extendStatics(d, b);
-->>> function __() { this.constructor = d; }
-->>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-->>> };
-->>>})();
>>>///
1 >
- 2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^^^^->
+@@= skipped -19, +19 lines =@@
1 >
- 2 >///
--1 >Emitted(16, 1) Source(1, 1) + SourceIndex(0)
--2 >Emitted(16, 34) Source(1, 34) + SourceIndex(0)
-----
-->>>var Foo = /** @class */ (function () {
--1->
--2 >^^^^^^^^^^^^^^^^^^^^^->
--1->
-- >
--1->Emitted(17, 1) Source(2, 1) + SourceIndex(0)
-----
-->>> function Foo() {
--1->^^^^
--2 > ^^->
--1->
--1->Emitted(18, 5) Source(2, 1) + SourceIndex(0)
-----
-->>> }
--1->^^^^
--2 > ^
--3 > ^^^^^^^^^^^->
--1->class Foo {
+ 2 >^^^^^^
+ 3 > ^^^
++4 > ^^^->
+ 1 >
+ >
+ 2 >class
+@@= skipped -8, +9 lines =@@
+ 2 >Emitted(2, 7) Source(2, 7) + SourceIndex(0)
+ 3 >Emitted(2, 10) Source(2, 10) + SourceIndex(0)
+ ---
+->>>}
+-1 >^
+-2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-1 > {
- > member: Bar;
-- >
--2 > }
--1->Emitted(19, 5) Source(4, 1) + SourceIndex(0)
--2 >Emitted(19, 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 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 >}
--3 >
--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(3, 2) Source(4, 2) + SourceIndex(0)
----
--------------------------------------------------------------------
-emittedFile:all.js
@@ -98,51 +47,18 @@
->>> Object.defineProperty(exports, "__esModule", { value: true });
->>> exports.A = void 0;
->>> ///
--1->^^^^
++>>> member;
+ 1->^^^^
-2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^^^^->
-1->
-2 > ///
--1->Emitted(26, 5) Source(1, 1) + SourceIndex(1)
--2 >Emitted(26, 36) Source(1, 32) + SourceIndex(1)
-----
-->>> var A = /** @class */ (function () {
--1->^^^^
--2 > ^^^^^^^^^^^^^^^^^^^->
--1->
-- >
--1->Emitted(27, 5) Source(2, 1) + SourceIndex(1)
+-1->Emitted(8, 5) Source(1, 1) + SourceIndex(1)
+-2 >Emitted(8, 36) Source(1, 32) + SourceIndex(1)
----
-->>> function A() {
--1->^^^^^^^^
--2 > ^^->
--1->
--1->Emitted(28, 9) Source(2, 1) + SourceIndex(1)
-----
-->>> }
--1->^^^^^^^^
--2 > ^
--3 > ^^^^^^^^^->
-+1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
-+2 >Emitted(1, 34) Source(1, 34) + SourceIndex(0)
-+---
-+>>>class Foo {
-+1 >
-+2 >^^^^^^
-+3 > ^^^
-+4 > ^^^->
-+1 >
-+ >
-+2 >class
-+3 > Foo
-+1 >Emitted(2, 1) Source(2, 1) + SourceIndex(0)
-+2 >Emitted(2, 7) Source(2, 7) + SourceIndex(0)
-+3 >Emitted(2, 10) Source(2, 10) + SourceIndex(0)
-+---
-+>>> member;
-+1->^^^^
-+2 > ^^^^^^
-+3 > ^
+->>> class A {
+-1 >^^^^
+ 2 > ^^^^^^
+ 3 > ^
+1-> {
+ >
+2 > member
@@ -182,35 +98,38 @@
+>>>class A {
+1 >
+2 >^^^^^^^^^^^^->
-+1 >
-+ >
+ 1 >
+ >
+-2 > export class
+-3 > A
+-1 >Emitted(9, 5) Source(2, 1) + SourceIndex(1)
+-2 >Emitted(9, 11) Source(2, 14) + SourceIndex(1)
+-3 >Emitted(9, 12) Source(2, 15) + SourceIndex(1)
+----
+->>> }
+-1 >^^^^^
+-2 > ^^^^^^^^^^^^^^->
+-1 > {
+- > member: typeof GlobalFoo;
+- >}
+-1 >Emitted(10, 6) Source(4, 2) + SourceIndex(1)
+----
+->>> exports.A = A;
+1 >Emitted(5, 1) Source(2, 1) + SourceIndex(0)
+---
+>>> member;
-+1->^^^^
-+2 > ^^^^^^
-+3 > ^
- 1->export class A {
-- > member: typeof GlobalFoo;
-- >
--2 > }
--1->Emitted(29, 9) Source(4, 1) + SourceIndex(1)
--2 >Emitted(29, 10) Source(4, 2) + SourceIndex(1)
-----
-->>> return A;
--1->^^^^^^^^
--2 > ^^^^^^^^
+ 1->^^^^
+-2 > ^^^^^^^^^^^^^^
-1->
--2 > }
--1->Emitted(30, 9) Source(4, 1) + SourceIndex(1)
--2 >Emitted(30, 17) Source(4, 2) + SourceIndex(1)
+-2 > export class A {
+- > member: typeof GlobalFoo;
+- > }
+-1->Emitted(11, 5) Source(2, 1) + SourceIndex(1)
+-2 >Emitted(11, 19) Source(4, 2) + SourceIndex(1)
----
-->>> }());
--1 >^^^^
--2 > ^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^->
++2 > ^^^^^^
++3 > ^
++1->export class A {
+ >
+2 > member
+3 > : typeof GlobalFoo;
@@ -221,25 +140,7 @@
+>>>}
+1 >^
+2 > ^^^^^^^^^^^^^^->
- 1 >
--2 > }
--3 >
--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)
-----
-->>> 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 >
+ >}
+1 >Emitted(7, 2) Source(4, 2) + SourceIndex(0)
+---
@@ -260,9 +161,12 @@
->>> "use strict";
->>> Object.defineProperty(exports, "__esModule", { value: true });
->>> exports.B = void 0;
-->>> var B = /** @class */ (function (_super) {
+->>> class B extends a_1.A {
-1 >^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-2 > ^^^^^^
+-3 > ^
+-4 > ^^^^^^^^^
+-5 > ^^^^^
-1 >import {A} from "./ref/a";
+>>>"use strict";
+>>>Object.defineProperty(exports, "__esModule", { value: true });
@@ -282,71 +186,15 @@
+4 > ^^^^^
+1 >
>
--1 >Emitted(38, 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)
-----
-->>> function B() {
--1 >^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--1 >Emitted(40, 9) Source(2, 1) + SourceIndex(2)
-----
-->>> return _super !== null && _super.apply(this, arguments) || this;
-->>> }
--1->^^^^^^^^
--2 > ^
--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)
-----
-->>> return B;
--1->^^^^^^^^
--2 > ^^^^^^^^
--1->
--2 > }
--1->Emitted(43, 9) Source(2, 28) + SourceIndex(2)
--2 >Emitted(43, 17) Source(2, 29) + SourceIndex(2)
-----
-->>> }(a_1.A));
--1 >^^^^
--2 > ^
--3 >
--4 > ^
--5 > ^^^^^
--6 > ^^^
--7 > ^^^^^->
--1 >
--2 > }
--3 >
--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)
-----
-->>> 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)
-----
-->>>});
-->>>//# sourceMappingURL=all.js.map
+-2 > export class
+-3 > B
+-4 > extends
+-5 > A
+-1 >Emitted(17, 5) Source(2, 1) + SourceIndex(2)
+-2 >Emitted(17, 11) Source(2, 14) + SourceIndex(2)
+-3 >Emitted(17, 12) Source(2, 16) + SourceIndex(2)
+-4 >Emitted(17, 21) Source(2, 24) + SourceIndex(2)
+-5 >Emitted(17, 26) Source(2, 25) + SourceIndex(2)
+2 >export class B
+3 > extends
+4 > A
@@ -354,11 +202,26 @@
+2 >Emitted(5, 8) Source(2, 16) + SourceIndex(0)
+3 >Emitted(5, 17) Source(2, 24) + SourceIndex(0)
+4 >Emitted(5, 22) Source(2, 25) + SourceIndex(0)
-+---
+ ---
+->>> }
+-1 >^^^^^
+-2 > ^^^^^^^^^^^^^^->
+>>>}
+1 >^
+2 > ^^^^^^^^^^^^^^->
-+1 > { }
+ 1 > { }
+-1 >Emitted(18, 6) Source(2, 29) + SourceIndex(2)
+----
+->>> exports.B = B;
+-1->^^^^
+-2 > ^^^^^^^^^^^^^^
+-1->
+-2 > export class B extends A { }
+-1->Emitted(19, 5) Source(2, 1) + SourceIndex(2)
+-2 >Emitted(19, 19) Source(2, 29) + SourceIndex(2)
+----
+->>>});
+->>>//# sourceMappingURL=all.js.map
+1 >Emitted(6, 2) Source(2, 29) + SourceIndex(0)
+---
+>>>exports.B = B;
diff --git a/testdata/baselines/reference/submodule/compiler/overEagerReturnTypeSpecialization.js.diff b/testdata/baselines/reference/submodule/compiler/overEagerReturnTypeSpecialization.js.diff
index c174802934..fd6459403f 100644
--- a/testdata/baselines/reference/submodule/compiler/overEagerReturnTypeSpecialization.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/overEagerReturnTypeSpecialization.js.diff
@@ -5,11 +5,6 @@
//// [overEagerReturnTypeSpecialization.js]
-//Note: Below simpler repro
--var r1 = v1.func(function (num) { return num.toString(); }) // Correctly returns an I1
-- .func(function (str) { return str.length; }); // should error
--var r2 = v1.func(function (num) { return num.toString(); }) // Correctly returns an I1
-- .func(function (str) { return str.length; }); // should be ok
-+var r1 = v1.func(num => num.toString()) // Correctly returns an I1
-+ .func(str => str.length); // should error
-+var r2 = v1.func(num => num.toString()) // Correctly returns an I1
-+ .func(str => str.length); // should be ok
\ No newline at end of file
+ var r1 = v1.func(num => num.toString()) // Correctly returns an I1
+ .func(str => str.length); // should error
+ var r2 = v1.func(num => num.toString()) // Correctly returns an I1
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overload1.js.diff b/testdata/baselines/reference/submodule/compiler/overload1.js.diff
deleted file mode 100644
index 980ab0e5ce..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overload1.js.diff
+++ /dev/null
@@ -1,53 +0,0 @@
---- old.overload1.js
-+++ new.overload1.js
-@@= skipped -41, +41 lines =@@
-
-
- //// [overload1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var O;
- (function (O) {
-- var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
-- }());
-+ class A {
-+ }
- O.A = A;
-- var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
-- }(A));
-+ class B extends A {
-+ }
- O.B = B;
-- var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
-- }(B));
-+ class C extends B {
-+ }
- O.C = C;
- })(O || (O = {}));
- var e = x.g(new O.A()); // matches overload but bad assignment
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overload2.js.diff b/testdata/baselines/reference/submodule/compiler/overload2.js.diff
deleted file mode 100644
index 6c9bb75c38..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overload2.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.overload2.js
-+++ new.overload2.js
-@@= skipped -27, +27 lines =@@
- // should be ok
- function foo(x) {
- }
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
- // should be ok
- function foo1(x) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadAssignmentCompat.js.diff b/testdata/baselines/reference/submodule/compiler/overloadAssignmentCompat.js.diff
deleted file mode 100644
index 33102aaf21..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadAssignmentCompat.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.overloadAssignmentCompat.js
-+++ new.overloadAssignmentCompat.js
-@@= skipped -40, +40 lines =@@
-
- //// [overloadAssignmentCompat.js]
- // ok - overload signatures are assignment compatible with their implementation
--var Accessor = /** @class */ (function () {
-- function Accessor() {
-- }
-- return Accessor;
--}());
-+class Accessor {
-+}
- function attr(nameOrMap, value) {
- if (nameOrMap && typeof nameOrMap === "object") {
- // handle map case
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadCallTest.js.diff b/testdata/baselines/reference/submodule/compiler/overloadCallTest.js.diff
deleted file mode 100644
index 39461491b8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadCallTest.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.overloadCallTest.js
-+++ new.overloadCallTest.js
-@@= skipped -17, +17 lines =@@
-
-
- //// [overloadCallTest.js]
--var foo = /** @class */ (function () {
-- function foo() {
-+class foo {
-+ constructor() {
- function bar(foo) { return "foo"; }
- ;
- var test = bar("test");
- var goo = bar();
- goo = bar("test");
- }
-- return foo;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadConsecutiveness.js.diff b/testdata/baselines/reference/submodule/compiler/overloadConsecutiveness.js.diff
deleted file mode 100644
index 794ab05c7b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadConsecutiveness.js.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- old.overloadConsecutiveness.js
-+++ new.overloadConsecutiveness.js
-@@= skipped -19, +19 lines =@@
- function f2() { }
- function f2() { }
- function f3() { }
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.m1 = function () { };
-- C.prototype.m2 = function () { };
-- C.prototype.m2 = function () { };
-- C.prototype.m3 = function () { };
-- return C;
--}());
-+class C {
-+ m1() { }
-+ m2() { }
-+ m2() { }
-+ m3() { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadEquivalenceWithStatics.js.diff b/testdata/baselines/reference/submodule/compiler/overloadEquivalenceWithStatics.js.diff
deleted file mode 100644
index 05e15dc9cd..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadEquivalenceWithStatics.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.overloadEquivalenceWithStatics.js
-+++ new.overloadEquivalenceWithStatics.js
-@@= skipped -10, +10 lines =@@
-
-
- //// [overloadEquivalenceWithStatics.js]
--var A1 = /** @class */ (function () {
-- function A1() {
-- }
-- A1.B = function (v) {
-+class A1 {
-+ static B(v) {
- return null;
-- };
-- return A1;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadErrorMatchesImplementationElaboaration.js.diff b/testdata/baselines/reference/submodule/compiler/overloadErrorMatchesImplementationElaboaration.js.diff
deleted file mode 100644
index bdf094d50c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadErrorMatchesImplementationElaboaration.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.overloadErrorMatchesImplementationElaboaration.js
-+++ new.overloadErrorMatchesImplementationElaboaration.js
-@@= skipped -10, +10 lines =@@
- ea.publish([1,2,3]);
-
- //// [overloadErrorMatchesImplementationElaboaration.js]
--var EventAggregator = /** @class */ (function () {
-- function EventAggregator() {
-- }
-- EventAggregator.prototype.publish = function (event) { };
-- return EventAggregator;
--}());
-+class EventAggregator {
-+ publish(event) { }
-+}
- var ea;
- ea.publish([1, 2, 3]);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadGenericFunctionWithRestArgs.js.diff b/testdata/baselines/reference/submodule/compiler/overloadGenericFunctionWithRestArgs.js.diff
index d86bf0d079..d57caee3d8 100644
--- a/testdata/baselines/reference/submodule/compiler/overloadGenericFunctionWithRestArgs.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/overloadGenericFunctionWithRestArgs.js.diff
@@ -1,30 +1,13 @@
--- old.overloadGenericFunctionWithRestArgs.js
+++ new.overloadGenericFunctionWithRestArgs.js
-@@= skipped -12, +12 lines =@@
- }
+@@= skipped -13, +13 lines =@@
//// [overloadGenericFunctionWithRestArgs.js]
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--function Choice() {
-- var v_args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- v_args[_i] = arguments[_i];
-- }
-+class B {
+ class B {
+ id;
-+}
-+class A {
+ }
+ class A {
+ GetEnumerator;
-+}
-+function Choice(...v_args) {
- return new A();
- }
\ No newline at end of file
+ }
+ function Choice(...v_args) {
+ return new A();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadModifiersMustAgree.js.diff b/testdata/baselines/reference/submodule/compiler/overloadModifiersMustAgree.js.diff
deleted file mode 100644
index 8c6b499383..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadModifiersMustAgree.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.overloadModifiersMustAgree.js
-+++ new.overloadModifiersMustAgree.js
-@@= skipped -19, +19 lines =@@
- //// [overloadModifiersMustAgree.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var baz = /** @class */ (function () {
-- function baz() {
-- }
-- baz.prototype.foo = function (bar) { }; // error - access modifiers do not agree
-- return baz;
--}());
-+class baz {
-+ foo(bar) { } // error - access modifiers do not agree
-+}
- function bar(s) { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstAsTypeAnnotation.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstAsTypeAnnotation.js.diff
deleted file mode 100644
index ea48eb0692..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstAsTypeAnnotation.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.overloadOnConstAsTypeAnnotation.js
-+++ new.overloadOnConstAsTypeAnnotation.js
-@@= skipped -3, +3 lines =@@
- var f: (x: 'hi') => number = (x: 'hi') => { return 1; };
-
- //// [overloadOnConstAsTypeAnnotation.js]
--var f = function (x) { return 1; };
-+var f = (x) => { return 1; };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstConstraintChecks1.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstConstraintChecks1.js.diff
deleted file mode 100644
index 602ae12367..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstConstraintChecks1.js.diff
+++ /dev/null
@@ -1,75 +0,0 @@
---- old.overloadOnConstConstraintChecks1.js
-+++ new.overloadOnConstConstraintChecks1.js
-@@= skipped -24, +24 lines =@@
- }
-
- //// [overloadOnConstConstraintChecks1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Base = /** @class */ (function () {
-- function Base() {
-- }
-- Base.prototype.foo = function () { };
-- return Base;
--}());
--var Derived1 = /** @class */ (function (_super) {
-- __extends(Derived1, _super);
-- function Derived1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Derived1.prototype.bar = function () { };
-- return Derived1;
--}(Base));
--var Derived2 = /** @class */ (function (_super) {
-- __extends(Derived2, _super);
-- function Derived2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Derived2.prototype.baz = function () { };
-- return Derived2;
--}(Base));
--var Derived3 = /** @class */ (function (_super) {
-- __extends(Derived3, _super);
-- function Derived3() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Derived3.prototype.biz = function () { };
-- return Derived3;
--}(Base));
--var D = /** @class */ (function () {
-- function D() {
-- }
-- D.prototype.createElement = function (tagName) {
-+class Base {
-+ foo() { }
-+}
-+class Derived1 extends Base {
-+ bar() { }
-+}
-+class Derived2 extends Base {
-+ baz() { }
-+}
-+class Derived3 extends Base {
-+ biz() { }
-+}
-+class D {
-+ createElement(tagName) {
- return null;
-- };
-- return D;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstConstraintChecks2.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstConstraintChecks2.js.diff
deleted file mode 100644
index b4b1271f84..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstConstraintChecks2.js.diff
+++ /dev/null
@@ -1,51 +0,0 @@
---- old.overloadOnConstConstraintChecks2.js
-+++ new.overloadOnConstConstraintChecks2.js
-@@= skipped -13, +13 lines =@@
- }
-
- //// [overloadOnConstConstraintChecks2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- C.prototype.foo = function () { };
-- return C;
--}(A));
-+class A {
-+}
-+class B extends A {
-+}
-+class C extends A {
-+ foo() { }
-+}
- function foo(name) {
- return null;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstConstraintChecks3.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstConstraintChecks3.js.diff
index 4853b4584c..2d825409dc 100644
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstConstraintChecks3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/overloadOnConstConstraintChecks3.js.diff
@@ -1,53 +1,13 @@
--- old.overloadOnConstConstraintChecks3.js
+++ new.overloadOnConstConstraintChecks3.js
-@@= skipped -14, +14 lines =@@
-
+@@= skipped -15, +15 lines =@@
//// [overloadOnConstConstraintChecks3.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
+ class A {
+- constructor() {
- this.x = 1;
- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- C.prototype.foo = function () { };
-- return C;
--}(A));
-+class A {
+ x = 1;
-+}
-+class B extends A {
-+}
-+class C extends A {
-+ foo() { }
-+}
- function foo(name) {
- return null;
+ }
+ class B extends A {
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstConstraintChecks4.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstConstraintChecks4.js.diff
index 778907538b..2fb8ae8cd0 100644
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstConstraintChecks4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/overloadOnConstConstraintChecks4.js.diff
@@ -1,63 +1,14 @@
--- old.overloadOnConstConstraintChecks4.js
+++ new.overloadOnConstConstraintChecks4.js
-@@= skipped -15, +15 lines =@@
-
-
- //// [overloadOnConstConstraintChecks4.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Z = /** @class */ (function () {
-- function Z() {
+@@= skipped -18, +18 lines =@@
+ class Z {
+ }
+ class A extends Z {
+- constructor() {
+- super(...arguments);
+- this.x = 1;
- }
-- return Z;
--}());
--var A = /** @class */ (function (_super) {
-- __extends(A, _super);
-- function A() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this.x = 1;
-- return _this;
-- }
-- return A;
--}(Z));
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- C.prototype.foo = function () { };
-- return C;
--}(A));
-+class Z {
-+}
-+class A extends Z {
+ x = 1;
-+}
-+class B extends A {
-+}
-+class C extends A {
-+ foo() { }
-+}
- function foo(name) {
- return null;
+ }
+ class B extends A {
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstInBaseWithBadImplementationInDerived.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstInBaseWithBadImplementationInDerived.js.diff
deleted file mode 100644
index 8a2638d75d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstInBaseWithBadImplementationInDerived.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.overloadOnConstInBaseWithBadImplementationInDerived.js
-+++ new.overloadOnConstInBaseWithBadImplementationInDerived.js
-@@= skipped -10, +10 lines =@@
- }
-
- //// [overloadOnConstInBaseWithBadImplementationInDerived.js]
--var C = /** @class */ (function () {
-- function C() {
-+class C {
-+ x1(a, callback) {
- }
-- C.prototype.x1 = function (a, callback) {
-- };
-- return C;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstInCallback1.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstInCallback1.js.diff
deleted file mode 100644
index 1dc61c6146..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstInCallback1.js.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- old.overloadOnConstInCallback1.js
-+++ new.overloadOnConstInCallback1.js
-@@= skipped -11, +11 lines =@@
- }
-
- //// [overloadOnConstInCallback1.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.x1 = function (a, callback) {
-+class C {
-+ x1(a, callback) {
- callback('hi');
- callback('bye');
- var hm = "hm";
- callback(hm);
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstInObjectLiteralImplementingAnInterface.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstInObjectLiteralImplementingAnInterface.js.diff
deleted file mode 100644
index ca5a3b544e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstInObjectLiteralImplementingAnInterface.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.overloadOnConstInObjectLiteralImplementingAnInterface.js
-+++ new.overloadOnConstInObjectLiteralImplementingAnInterface.js
-@@= skipped -7, +7 lines =@@
- var i2: I = { x1: (a: number, cb: (x: 'hi') => number) => { } }; // error
-
- //// [overloadOnConstInObjectLiteralImplementingAnInterface.js]
--var i2 = { x1: function (a, cb) { } }; // error
-+var i2 = { x1: (a, cb) => { } }; // error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstInheritance4.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstInheritance4.js.diff
deleted file mode 100644
index e35cea77e8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstInheritance4.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.overloadOnConstInheritance4.js
-+++ new.overloadOnConstInheritance4.js
-@@= skipped -11, +11 lines =@@
-
-
- //// [overloadOnConstInheritance4.js]
--var C = /** @class */ (function () {
-- function C() {
-+class C {
-+ x1(a, callback) {
- }
-- C.prototype.x1 = function (a, callback) {
-- };
-- return C;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstNoAnyImplementation.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstNoAnyImplementation.js.diff
deleted file mode 100644
index 3345fadf21..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstNoAnyImplementation.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.overloadOnConstNoAnyImplementation.js
-+++ new.overloadOnConstNoAnyImplementation.js
-@@= skipped -25, +25 lines =@@
- cb('uh');
- cb(1); // error
- }
--var cb = function (x) { return 1; };
-+var cb = (x) => 1;
- x1(1, cb);
--x1(1, function (x) { return 1; }); // error
--x1(1, function (x) { return 1; });
-+x1(1, (x) => 1); // error
-+x1(1, (x) => 1);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstNoAnyImplementation2.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstNoAnyImplementation2.js.diff
deleted file mode 100644
index 182b385f53..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstNoAnyImplementation2.js.diff
+++ /dev/null
@@ -1,31 +0,0 @@
---- old.overloadOnConstNoAnyImplementation2.js
-+++ new.overloadOnConstNoAnyImplementation2.js
-@@= skipped -23, +23 lines =@@
- c.x1(1, (x: number) => { return 1; } );
-
- //// [overloadOnConstNoAnyImplementation2.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.x1 = function (a, callback) {
-+class C {
-+ x1(a, callback) {
- callback('hi');
- callback('bye');
- var hm = "hm";
- callback(hm);
- callback(1); // error
-- };
-- return C;
--}());
-+ }
-+}
- var c;
--c.x1(1, function (x) { return 1; });
--c.x1(1, function (x) { return 1; });
--c.x1(1, function (x) { return 1; });
--c.x1(1, function (x) { return 1; });
-+c.x1(1, (x) => { return 1; });
-+c.x1(1, (x) => { return 1; });
-+c.x1(1, (x) => { return 1; });
-+c.x1(1, (x) => { return 1; });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstNoNonSpecializedSignature.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstNoNonSpecializedSignature.js.diff
deleted file mode 100644
index 9c091fbdc1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstNoNonSpecializedSignature.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.overloadOnConstNoNonSpecializedSignature.js
-+++ new.overloadOnConstNoNonSpecializedSignature.js
-@@= skipped -7, +7 lines =@@
-
-
- //// [overloadOnConstNoNonSpecializedSignature.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.x1 = function (a) { };
-- return C;
--}());
-+class C {
-+ x1(a) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstNoStringImplementation.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstNoStringImplementation.js.diff
deleted file mode 100644
index 78acffbdfc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstNoStringImplementation.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.overloadOnConstNoStringImplementation.js
-+++ new.overloadOnConstNoStringImplementation.js
-@@= skipped -25, +25 lines =@@
- cb('uh');
- cb(1);
- }
--var cb = function (x) { return 1; };
-+var cb = (x) => 1;
- x2(1, cb); // error
--x2(1, function (x) { return 1; }); // error
--x2(1, function (x) { return 1; });
-+x2(1, (x) => 1); // error
-+x2(1, (x) => 1);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstNoStringImplementation2.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstNoStringImplementation2.js.diff
deleted file mode 100644
index f6cd716305..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstNoStringImplementation2.js.diff
+++ /dev/null
@@ -1,31 +0,0 @@
---- old.overloadOnConstNoStringImplementation2.js
-+++ new.overloadOnConstNoStringImplementation2.js
-@@= skipped -22, +22 lines =@@
- c.x1(1, (x: number) => { return 1; } );
-
- //// [overloadOnConstNoStringImplementation2.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.x1 = function (a, callback) {
-+class C {
-+ x1(a, callback) {
- callback('hi');
- callback('bye');
- var hm = "hm";
- callback(hm);
- callback(1);
-- };
-- return C;
--}());
-+ }
-+}
- var c;
--c.x1(1, function (x) { return 1; });
--c.x1(1, function (x) { return 1; });
--c.x1(1, function (x) { return 1; });
--c.x1(1, function (x) { return 1; });
-+c.x1(1, (x) => { return 1; });
-+c.x1(1, (x) => { return 1; });
-+c.x1(1, (x) => { return 1; });
-+c.x1(1, (x) => { return 1; });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnConstantsInvalidOverload1.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnConstantsInvalidOverload1.js.diff
deleted file mode 100644
index e7626b6d41..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadOnConstantsInvalidOverload1.js.diff
+++ /dev/null
@@ -1,66 +0,0 @@
---- old.overloadOnConstantsInvalidOverload1.js
-+++ new.overloadOnConstantsInvalidOverload1.js
-@@= skipped -13, +13 lines =@@
- foo("HI");
-
- //// [overloadOnConstantsInvalidOverload1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Base = /** @class */ (function () {
-- function Base() {
-- }
-- Base.prototype.foo = function () { };
-- return Base;
--}());
--var Derived1 = /** @class */ (function (_super) {
-- __extends(Derived1, _super);
-- function Derived1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Derived1.prototype.bar = function () { };
-- return Derived1;
--}(Base));
--var Derived2 = /** @class */ (function (_super) {
-- __extends(Derived2, _super);
-- function Derived2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Derived2.prototype.baz = function () { };
-- return Derived2;
--}(Base));
--var Derived3 = /** @class */ (function (_super) {
-- __extends(Derived3, _super);
-- function Derived3() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Derived3.prototype.biz = function () { };
-- return Derived3;
--}(Base));
-+class Base {
-+ foo() { }
-+}
-+class Derived1 extends Base {
-+ bar() { }
-+}
-+class Derived2 extends Base {
-+ baz() { }
-+}
-+class Derived3 extends Base {
-+ biz() { }
-+}
- function foo(name) {
- return null;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadOnGenericClassAndNonGenericClass.js.diff b/testdata/baselines/reference/submodule/compiler/overloadOnGenericClassAndNonGenericClass.js.diff
index c186d60f43..764a6c6dd1 100644
--- a/testdata/baselines/reference/submodule/compiler/overloadOnGenericClassAndNonGenericClass.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/overloadOnGenericClassAndNonGenericClass.js.diff
@@ -1,57 +1,25 @@
--- old.overloadOnGenericClassAndNonGenericClass.js
+++ new.overloadOnGenericClassAndNonGenericClass.js
-@@= skipped -18, +18 lines =@@
-
+@@= skipped -19, +19 lines =@@
//// [overloadOnGenericClassAndNonGenericClass.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- return B;
--}());
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var X = /** @class */ (function () {
-- function X() {
-- }
-- return X;
--}());
--var X1 = /** @class */ (function () {
-- function X1() {
-- }
-- return X1;
--}());
--var X2 = /** @class */ (function () {
-- function X2() {
-- }
-- return X2;
--}());
-+class A {
+ class A {
+ a;
-+}
-+class B {
+ }
+ class B {
+ b;
-+}
-+class C {
+ }
+ class C {
+ c;
-+}
-+class X {
+ }
+ class X {
+ x;
-+}
-+class X1 {
+ }
+ class X1 {
+ x;
-+}
-+class X2 {
+ }
+ class X2 {
+ x;
-+}
- function f(a) {
}
- var xs;
\ No newline at end of file
+ function f(a) {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadResolutionOnDefaultConstructor1.js.diff b/testdata/baselines/reference/submodule/compiler/overloadResolutionOnDefaultConstructor1.js.diff
deleted file mode 100644
index 137d9a4ac0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadResolutionOnDefaultConstructor1.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.overloadResolutionOnDefaultConstructor1.js
-+++ new.overloadResolutionOnDefaultConstructor1.js
-@@= skipped -7, +7 lines =@@
- }
-
- //// [overloadResolutionOnDefaultConstructor1.js]
--var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- Bar.prototype.clone = function () {
-+class Bar {
-+ clone() {
- return new Bar(0);
-- };
-- return Bar;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadResolutionOverCTLambda.js.diff b/testdata/baselines/reference/submodule/compiler/overloadResolutionOverCTLambda.js.diff
deleted file mode 100644
index d266344fc0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadResolutionOverCTLambda.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.overloadResolutionOverCTLambda.js
-+++ new.overloadResolutionOverCTLambda.js
-@@= skipped -5, +5 lines =@@
-
- //// [overloadResolutionOverCTLambda.js]
- function foo(b) { }
--foo(function (a) { return a; }); // can not convert (number)=>bool to (number)=>number
-+foo(a => a); // can not convert (number)=>bool to (number)=>number
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadResolutionOverNonCTLambdas.js.diff b/testdata/baselines/reference/submodule/compiler/overloadResolutionOverNonCTLambdas.js.diff
deleted file mode 100644
index 27ef521a4a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadResolutionOverNonCTLambdas.js.diff
+++ /dev/null
@@ -1,29 +0,0 @@
---- old.overloadResolutionOverNonCTLambdas.js
-+++ new.overloadResolutionOverNonCTLambdas.js
-@@= skipped -27, +27 lines =@@
- //// [overloadResolutionOverNonCTLambdas.js]
- var Bugs;
- (function (Bugs) {
-- var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
-- }());
-+ class A {
-+ }
- // replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string;
-- function bug2(message) {
-- var args = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- args[_i - 1] = arguments[_i];
-- }
-- var result = message.replace(/\{(\d+)\}/g, function (match) {
-- var rest = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rest[_i - 1] = arguments[_i];
-- }
-+ function bug2(message, ...args) {
-+ var result = message.replace(/\{(\d+)\}/g, function (match, ...rest) {
- var index = rest[0];
- return typeof args[index] !== 'undefined'
- ? args[index]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadReturnTypes.js.diff b/testdata/baselines/reference/submodule/compiler/overloadReturnTypes.js.diff
deleted file mode 100644
index 87d67aa09f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadReturnTypes.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.overloadReturnTypes.js
-+++ new.overloadReturnTypes.js
-@@= skipped -25, +25 lines =@@
-
-
- //// [overloadReturnTypes.js]
--var Accessor = /** @class */ (function () {
-- function Accessor() {
-- }
-- return Accessor;
--}());
-+class Accessor {
-+}
- function attr(nameOrMap, value) {
- if (nameOrMap && typeof nameOrMap === "object") {
- // handle map case
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadWithCallbacksWithDifferingOptionalityOnArgs.js.diff b/testdata/baselines/reference/submodule/compiler/overloadWithCallbacksWithDifferingOptionalityOnArgs.js.diff
deleted file mode 100644
index 7877761feb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadWithCallbacksWithDifferingOptionalityOnArgs.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.overloadWithCallbacksWithDifferingOptionalityOnArgs.js
-+++ new.overloadWithCallbacksWithDifferingOptionalityOnArgs.js
-@@= skipped -9, +9 lines =@@
-
- //// [overloadWithCallbacksWithDifferingOptionalityOnArgs.js]
- function x2(callback) { }
--x2(function () { return 1; });
--x2(function (x) { return 1; });
-+x2(() => 1);
-+x2((x) => 1);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadedConstructorFixesInferencesAppropriately.js.diff b/testdata/baselines/reference/submodule/compiler/overloadedConstructorFixesInferencesAppropriately.js.diff
index c8e5e6e10d..806c8ef333 100644
--- a/testdata/baselines/reference/submodule/compiler/overloadedConstructorFixesInferencesAppropriately.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/overloadedConstructorFixesInferencesAppropriately.js.diff
@@ -5,23 +5,6 @@
//// [overloadedConstructorFixesInferencesAppropriately.js]
-"use strict";
--var AsyncLoader = /** @class */ (function () {
-- function AsyncLoader() {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
-- }
-- }
-- return AsyncLoader;
--}());
-+class AsyncLoader {
-+ constructor(...args) { }
-+}
- function load() {
- return null;
- }
- new AsyncLoader({
- asyncLoad: load,
-- children: function (result) { return result.success; },
-+ children: result => result.success,
- }); // should work fine
\ No newline at end of file
+ class AsyncLoader {
+ constructor(...args) { }
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadedStaticMethodSpecialization.js.diff b/testdata/baselines/reference/submodule/compiler/overloadedStaticMethodSpecialization.js.diff
deleted file mode 100644
index 3b146f85e8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadedStaticMethodSpecialization.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.overloadedStaticMethodSpecialization.js
-+++ new.overloadedStaticMethodSpecialization.js
-@@= skipped -10, +10 lines =@@
-
-
- //// [overloadedStaticMethodSpecialization.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.B = function (v) {
-+class A {
-+ static B(v) {
- return null;
-- };
-- return A;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadingOnConstants1.js.diff b/testdata/baselines/reference/submodule/compiler/overloadingOnConstants1.js.diff
deleted file mode 100644
index 16e97b9f97..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadingOnConstants1.js.diff
+++ /dev/null
@@ -1,66 +0,0 @@
---- old.overloadingOnConstants1.js
-+++ new.overloadingOnConstants1.js
-@@= skipped -27, +27 lines =@@
- var htmlSpanElement2: Derived1 = d2.createElement("span");
-
- //// [overloadingOnConstants1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Base = /** @class */ (function () {
-- function Base() {
-- }
-- Base.prototype.foo = function () { };
-- return Base;
--}());
--var Derived1 = /** @class */ (function (_super) {
-- __extends(Derived1, _super);
-- function Derived1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Derived1.prototype.bar = function () { };
-- return Derived1;
--}(Base));
--var Derived2 = /** @class */ (function (_super) {
-- __extends(Derived2, _super);
-- function Derived2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Derived2.prototype.baz = function () { };
-- return Derived2;
--}(Base));
--var Derived3 = /** @class */ (function (_super) {
-- __extends(Derived3, _super);
-- function Derived3() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Derived3.prototype.biz = function () { };
-- return Derived3;
--}(Base));
-+class Base {
-+ foo() { }
-+}
-+class Derived1 extends Base {
-+ bar() { }
-+}
-+class Derived2 extends Base {
-+ baz() { }
-+}
-+class Derived3 extends Base {
-+ biz() { }
-+}
- var d2;
- // these are ok
- var htmlElement = d2.createElement("yo");
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadingOnConstants2.js.diff b/testdata/baselines/reference/submodule/compiler/overloadingOnConstants2.js.diff
index cc05732089..1a932740ce 100644
--- a/testdata/baselines/reference/submodule/compiler/overloadingOnConstants2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/overloadingOnConstants2.js.diff
@@ -1,51 +1,21 @@
--- old.overloadingOnConstants2.js
+++ new.overloadingOnConstants2.js
-@@= skipped -29, +29 lines =@@
- var f: C = bar("um", []); // C
+@@= skipped -30, +30 lines =@@
//// [overloadingOnConstants2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.x = 1;
- }
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return D;
--}(C));
--var E = /** @class */ (function () {
-- function E() {
++ x = 1;
+ }
+ class D extends C {
+ }
+ class E {
+- constructor() {
- this.y = 1;
- }
-- return E;
--}());
-+class C {
-+ x = 1;
-+}
-+class D extends C {
-+}
-+class E {
+ y = 1;
-+}
+ }
function foo(x, items) {
- return null;
- }
\ No newline at end of file
+ return null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadresolutionWithConstraintCheckingDeferred.js.diff b/testdata/baselines/reference/submodule/compiler/overloadresolutionWithConstraintCheckingDeferred.js.diff
deleted file mode 100644
index 1920ce18bc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadresolutionWithConstraintCheckingDeferred.js.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- old.overloadresolutionWithConstraintCheckingDeferred.js
-+++ new.overloadresolutionWithConstraintCheckingDeferred.js
-@@= skipped -24, +24 lines =@@
-
-
- //// [overloadresolutionWithConstraintCheckingDeferred.js]
--var G = /** @class */ (function () {
-- function G(x) {
-- }
-- return G;
--}());
--var result = foo(function (x) { return new G(x); }); // x has type D, new G(x) fails, so first overload is picked.
--var result2 = foo(function (x) { return new G(x); }); // x has type D, new G(x) fails, so first overload is picked.
--var result3 = foo(function (x) {
-+class G {
-+ constructor(x) { }
-+}
-+var result = foo(x => new G(x)); // x has type D, new G(x) fails, so first overload is picked.
-+var result2 = foo(x => new G(x)); // x has type D, new G(x) fails, so first overload is picked.
-+var result3 = foo(x => {
- var y; // error that D does not satisfy constraint, y is of type G, entire call to foo is an error
- return y;
- });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadsWithComputedNames.js.diff b/testdata/baselines/reference/submodule/compiler/overloadsWithComputedNames.js.diff
deleted file mode 100644
index 7883fb0680..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadsWithComputedNames.js.diff
+++ /dev/null
@@ -1,71 +0,0 @@
---- old.overloadsWithComputedNames.js
-+++ new.overloadsWithComputedNames.js
-@@= skipped -64, +64 lines =@@
-
- //// [overloadsWithComputedNames.js]
- // https://github.com/microsoft/TypeScript/issues/52329
--var Person = /** @class */ (function () {
-- function Person() {
-- }
-- Person.prototype["A"] = function (a) {
-+class Person {
-+ ["A"](a) {
- return 0;
-- };
-- return Person;
--}());
--var p = new Person();
-+ }
-+}
-+let p = new Person();
- p.A(0);
- p.B(0);
- // https://github.com/microsoft/TypeScript/issues/17345
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype["foo"] = function () {
-+class C {
-+ ["foo"]() {
- return 0;
-- };
-- return C;
--}());
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- C1.prototype[uniqueSym] = function () { };
-- return C1;
--}());
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- C2.prototype[strUnion] = function () { };
-- return C2;
--}());
--var I2 = /** @class */ (function () {
-- function I2() {
-- }
-- I2.prototype[strUnion] = function () { };
-- return I2;
--}());
--var C3 = /** @class */ (function () {
-- function C3() {
-- }
-- C3.prototype[2] = function () { };
-- return C3;
--}());
-+ }
-+}
-+class C1 {
-+ [uniqueSym]() { }
-+}
-+class C2 {
-+ [strUnion]() { }
-+}
-+class I2 {
-+ [strUnion]() { }
-+}
-+class C3 {
-+ [2]() { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadsWithProvisionalErrors.js.diff b/testdata/baselines/reference/submodule/compiler/overloadsWithProvisionalErrors.js.diff
deleted file mode 100644
index 4747e6b6af..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadsWithProvisionalErrors.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.overloadsWithProvisionalErrors.js
-+++ new.overloadsWithProvisionalErrors.js
-@@= skipped -11, +11 lines =@@
-
- //// [overloadsWithProvisionalErrors.js]
- var func;
--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
-+func(s => ({})); // Error for no applicable overload (object type is missing a and b)
-+func(s => ({ a: blah, b: 3 })); // Only error inside the function, but not outside (since it would be applicable if not for the provisional error)
-+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
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overloadsWithinClasses.js.diff b/testdata/baselines/reference/submodule/compiler/overloadsWithinClasses.js.diff
deleted file mode 100644
index 860f07acc1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/overloadsWithinClasses.js.diff
+++ /dev/null
@@ -1,37 +0,0 @@
---- old.overloadsWithinClasses.js
-+++ new.overloadsWithinClasses.js
-@@= skipped -25, +25 lines =@@
-
-
- //// [overloadsWithinClasses.js]
--var foo = /** @class */ (function () {
-- function foo() {
-- }
-- foo.fnOverload = function () { };
-- foo.fnOverload = function (foo) { }; // error
-- return foo;
--}());
--var bar = /** @class */ (function () {
-- function bar() {
-- }
-- bar.fnOverload = function (foo) { }; // no error
-- return bar;
--}());
--var X = /** @class */ (function () {
-- function X() {
-- }
-- X.prototype.attr = function (first, second) {
-- };
-- return X;
--}());
-+class foo {
-+ static fnOverload() { }
-+ static fnOverload(foo) { } // error
-+}
-+class bar {
-+ static fnOverload(foo) { } // no error
-+}
-+class X {
-+ attr(first, second) {
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overrideBaseIntersectionMethod.js.diff b/testdata/baselines/reference/submodule/compiler/overrideBaseIntersectionMethod.js.diff
index 7ebb5a1975..b118e12b91 100644
--- a/testdata/baselines/reference/submodule/compiler/overrideBaseIntersectionMethod.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/overrideBaseIntersectionMethod.js.diff
@@ -6,75 +6,15 @@
//// [overrideBaseIntersectionMethod.js]
-"use strict";
-// Repro from #14615
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var WithLocation = function (Base) { return /** @class */ (function (_super) {
-- __extends(class_1, _super);
-- function class_1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- class_1.prototype.getLocation = function () {
-- var _a = _super.prototype.getLocation.call(this), x = _a[0], y = _a[1];
-+const WithLocation = (Base) => class extends Base {
-+ getLocation() {
-+ const [x, y] = super.getLocation();
- return [this.x | x, this.y | y];
-- };
-- return class_1;
--}(Base)); };
--var Point = /** @class */ (function () {
-- function Point(x, y) {
-+ }
-+};
-+class Point {
+ const WithLocation = (Base) => class extends Base {
+ getLocation() {
+ const [x, y] = super.getLocation();
+@@= skipped -9, +7 lines =@@
+ }
+ };
+ class Point {
+ x;
+ y;
-+ constructor(x, y) {
+ constructor(x, y) {
this.x = x;
- this.y = y;
- }
-- Point.prototype.getLocation = function () {
-+ getLocation() {
- return [0, 0];
-- };
-- return Point;
--}());
--var Foo = /** @class */ (function (_super) {
-- __extends(Foo, _super);
-- function Foo() {
-- return _super !== null && _super.apply(this, arguments) || this;
- }
-- Foo.prototype.calculate = function () {
-+}
-+class Foo extends WithLocation(Point) {
-+ calculate() {
- return this.x + this.y;
-- };
-- Foo.prototype.getLocation = function () {
-- return _super.prototype.getLocation.call(this);
-- };
-- Foo.prototype.whereAmI = function () {
-+ }
-+ getLocation() {
-+ return super.getLocation();
-+ }
-+ whereAmI() {
- return this.getLocation();
-- };
-- return Foo;
--}(WithLocation(Point)));
-+ }
-+}
\ No newline at end of file
+ this.y = y;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overridingPrivateStaticMembers.js.diff b/testdata/baselines/reference/submodule/compiler/overridingPrivateStaticMembers.js.diff
index bb633a1e5f..d8898b1550 100644
--- a/testdata/baselines/reference/submodule/compiler/overridingPrivateStaticMembers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/overridingPrivateStaticMembers.js.diff
@@ -1,39 +1,11 @@
--- old.overridingPrivateStaticMembers.js
+++ new.overridingPrivateStaticMembers.js
-@@= skipped -9, +9 lines =@@
- }
+@@= skipped -10, +10 lines =@@
//// [overridingPrivateStaticMembers.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Base2 = /** @class */ (function () {
-- function Base2() {
-- }
-- return Base2;
--}());
--var Derived2 = /** @class */ (function (_super) {
-- __extends(Derived2, _super);
-- function Derived2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Derived2;
--}(Base2));
-+class Base2 {
+ class Base2 {
+ static y;
-+}
-+class Derived2 extends Base2 {
+ }
+ class Derived2 extends Base2 {
+ static y;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/overshifts.js.diff b/testdata/baselines/reference/submodule/compiler/overshifts.js.diff
index 28b9a8ce68..d90814d80b 100644
--- a/testdata/baselines/reference/submodule/compiler/overshifts.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/overshifts.js.diff
@@ -20,7 +20,6 @@
-4294967295 >>> -32; // backwards overshift
-4294967295 >>> -123;
-4294967295 >>> -1024;
--var x = 1;
+0xFF_FF_FF_FF >> 1; // ok
+0xFF_FF_FF_FF >> 32; // overshift
+0xFF_FF_FF_FF >> 123;
@@ -37,7 +36,6 @@
+0xFF_FF_FF_FF >>> -32; // backwards overshift
+0xFF_FF_FF_FF >>> -123;
+0xFF_FF_FF_FF >>> -1024;
-+let x = 1;
+ let x = 1;
x <<= 1; // ok
- x <<= 32; // overshift
- x <<= 123;
\ No newline at end of file
+ x <<= 32; // overshift
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/paramPropertiesInSignatures.js.diff b/testdata/baselines/reference/submodule/compiler/paramPropertiesInSignatures.js.diff
index 00d564075b..ca5233e7e0 100644
--- a/testdata/baselines/reference/submodule/compiler/paramPropertiesInSignatures.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/paramPropertiesInSignatures.js.diff
@@ -1,16 +1,10 @@
--- old.paramPropertiesInSignatures.js
+++ new.paramPropertiesInSignatures.js
-@@= skipped -13, +13 lines =@@
- }
+@@= skipped -14, +14 lines =@@
//// [paramPropertiesInSignatures.js]
--var C1 = /** @class */ (function () {
-- function C1(p3) {
-+class C1 {
+ class C1 {
+ p3;
-+ constructor(p3) {
+ constructor(p3) {
this.p3 = p3;
- } // OK
-- return C1;
--}());
-+}
\ No newline at end of file
+ } // OK
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parameterDecoratorsEmitCrash.js.diff b/testdata/baselines/reference/submodule/compiler/parameterDecoratorsEmitCrash.js.diff
index 88f6a8947c..79a45867d2 100644
--- a/testdata/baselines/reference/submodule/compiler/parameterDecoratorsEmitCrash.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parameterDecoratorsEmitCrash.js.diff
@@ -40,26 +40,28 @@
-};
Object.defineProperty(exports, "__esModule", { value: true });
exports.C = void 0;
--var C = function () {
-- var _a;
-- var _x_decorators;
-- var _x_initializers = [];
-- var _x_extraInitializers = [];
-- return _a = /** @class */ (function () {
-- function C(x) {
-- this.x = __runInitializers(this, _x_initializers, void 0);
-- __runInitializers(this, _x_extraInitializers);
-- }
-- return C;
-- }()),
-- (function () {
-- var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
-- _x_decorators = [dec];
-- __esDecorate(null, null, _x_decorators, { kind: "field", name: "x", static: false, private: false, access: { has: function (obj) { return "x" in obj; }, get: function (obj) { return obj.x; }, set: function (obj, value) { obj.x = value; } }, metadata: _metadata }, _x_initializers, _x_extraInitializers);
-- if (_metadata) Object.defineProperty(_a, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
-- })(),
-- _a;
--}();
+-let C = (() => {
+- let C = (() => {
+- var _a;
+- let _x_decorators;
+- let _x_initializers = [];
+- let _x_extraInitializers = [];
+- return _a = class C {
+- constructor(x) {
+- this.x = __runInitializers(this, _x_initializers, void 0);
+- __runInitializers(this, _x_extraInitializers);
+- }
+- },
+- (() => {
+- const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
+- _x_decorators = [dec];
+- __esDecorate(null, null, _x_decorators, { kind: "field", name: "x", static: false, private: false, access: { has: obj => "x" in obj, get: obj => obj.x, set: (obj, value) => { obj.x = value; } }, metadata: _metadata }, _x_initializers, _x_extraInitializers);
+- if (_metadata) Object.defineProperty(_a, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
+- })(),
+- _a;
+- })();
+- return C;
+-})();
+class C {
+ @dec
+ x;
diff --git a/testdata/baselines/reference/submodule/compiler/parameterDestructuringObjectLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/parameterDestructuringObjectLiteral.js.diff
index f800b91f80..215a6467bf 100644
--- a/testdata/baselines/reference/submodule/compiler/parameterDestructuringObjectLiteral.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parameterDestructuringObjectLiteral.js.diff
@@ -1,17 +1,6 @@
--- old.parameterDestructuringObjectLiteral.js
+++ new.parameterDestructuringObjectLiteral.js
-@@= skipped -11, +11 lines =@@
-
- //// [parameterDestructuringObjectLiteral.js]
- // Repro from #22644
--var fn1 = function (options) { };
-+const fn1 = (options) => { };
- fn1({ headers: { foo: 1 } });
--var fn2 = function (_a) {
-- var _b = _a.headers, headers = _b === void 0 ? {} : _b;
--};
-+const fn2 = ({ headers = {} }) => { };
- fn2({ headers: { foo: 1 } });
+@@= skipped -18, +18 lines =@@
//// [parameterDestructuringObjectLiteral.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/parameterInitializerBeforeDestructuringEmit.js.diff b/testdata/baselines/reference/submodule/compiler/parameterInitializerBeforeDestructuringEmit.js.diff
index 811c00ecd0..3c45e34731 100644
--- a/testdata/baselines/reference/submodule/compiler/parameterInitializerBeforeDestructuringEmit.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parameterInitializerBeforeDestructuringEmit.js.diff
@@ -16,11 +16,10 @@
- }
- return t;
-};
--function foobar(_a) {
+-function foobar(_a = {}) {
- "use strict";
- "Some other prologue";
-- if (_a === void 0) { _a = {}; }
-- var _b = _a.bar, bar = _b === void 0 ? {} : _b, opts = __rest(_a, ["bar"]);
+- var { bar = {} } = _a, opts = __rest(_a, ["bar"]);
+function foobar({ bar = {}, ...opts } = {}) {
+ "use strict";
+ "Some other prologue";
@@ -28,13 +27,11 @@
+ "Some other prologue";
opts.baz(bar);
}
--var C = /** @class */ (function () {
-- function C(_a) {
+ class C {
+- constructor(_a = {}) {
- "use strict";
- "Some other prologue";
-- if (_a === void 0) { _a = {}; }
-- var _b = _a.bar, bar = _b === void 0 ? {} : _b, opts = __rest(_a, ["bar"]);
-+class C {
+- var { bar = {} } = _a, opts = __rest(_a, ["bar"]);
+ constructor({ bar = {}, ...opts } = {}) {
+ "use strict";
+ "Some other prologue";
@@ -42,6 +39,4 @@
+ "Some other prologue";
opts.baz(bar);
}
-- return C;
--}());
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parameterListAsTupleType.js.diff b/testdata/baselines/reference/submodule/compiler/parameterListAsTupleType.js.diff
deleted file mode 100644
index 59bb129926..0000000000
--- a/testdata/baselines/reference/submodule/compiler/parameterListAsTupleType.js.diff
+++ /dev/null
@@ -1,39 +0,0 @@
---- old.parameterListAsTupleType.js
-+++ new.parameterListAsTupleType.js
-@@= skipped -29, +29 lines =@@
- function foo(a, b) {
- return true;
- }
--var x = function (a) { return 5; };
--var a = ['should-not-work']; // works, but shouldn't
--function t() {
-- var args = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- args[_i] = arguments[_i];
-- }
--} // should work
--var C = /** @class */ (function () {
-- function C(a, b) {
-- }
-- return C;
--}());
--var D = /** @class */ (function () {
-- function D(a) {
-- var rest = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- rest[_i - 1] = arguments[_i];
-- }
-- }
-- return D;
--}());
-+const x = (a) => 5;
-+const a = ['should-not-work']; // works, but shouldn't
-+function t(...args) { } // should work
-+class C {
-+ constructor(a, b) {
-+ }
-+}
-+class D {
-+ constructor(a, ...rest) {
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parameterNamesInTypeParameterList.js.diff b/testdata/baselines/reference/submodule/compiler/parameterNamesInTypeParameterList.js.diff
deleted file mode 100644
index a87ce5e685..0000000000
--- a/testdata/baselines/reference/submodule/compiler/parameterNamesInTypeParameterList.js.diff
+++ /dev/null
@@ -1,47 +0,0 @@
---- old.parameterNamesInTypeParameterList.js
-+++ new.parameterNamesInTypeParameterList.js
-@@= skipped -28, +28 lines =@@
- function f0(a) {
- a.b;
- }
--function f1(_a) {
-- var a = _a.a;
-- a.b;
--}
--function f2(_a) {
-- var a = _a[0];
-- a.b;
--}
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.m0 = function (a) {
-- a.b;
-- };
-- A.prototype.m1 = function (_a) {
-- var a = _a.a;
-- a.b;
-- };
-- A.prototype.m2 = function (_a) {
-- var a = _a[0];
-- a.b;
-- };
-- return A;
--}());
-+function f1({ a }) {
-+ a.b;
-+}
-+function f2([a]) {
-+ a.b;
-+}
-+class A {
-+ m0(a) {
-+ a.b;
-+ }
-+ m1({ a }) {
-+ a.b;
-+ }
-+ m2([a]) {
-+ a.b;
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructor2.js.diff b/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructor2.js.diff
index b92bb3ede8..ddbd23c259 100644
--- a/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructor2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructor2.js.diff
@@ -1,19 +1,11 @@
--- old.parameterPropertyInConstructor2.js
+++ new.parameterPropertyInConstructor2.js
-@@= skipped -12, +12 lines =@@
- //// [parameterPropertyInConstructor2.js]
+@@= skipped -13, +13 lines =@@
var mod;
(function (mod) {
-- var Customers = /** @class */ (function () {
-- function Customers(names, ages) {
-+ class Customers {
+ class Customers {
+ names;
+ ages;
-+ constructor(names, ages) {
+ constructor(names, ages) {
this.names = names;
- this.ages = ages;
- }
-- return Customers;
-- }());
-+ }
- })(mod || (mod = {}));
\ No newline at end of file
+ this.ages = ages;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructor3.js.diff b/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructor3.js.diff
index 1be5e88a54..35a0b79cfe 100644
--- a/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructor3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructor3.js.diff
@@ -1,16 +1,10 @@
--- old.parameterPropertyInConstructor3.js
+++ new.parameterPropertyInConstructor3.js
-@@= skipped -6, +6 lines =@@
-
+@@= skipped -7, +7 lines =@@
//// [parameterPropertyInConstructor3.js]
--var Foo = /** @class */ (function () {
-- function Foo(constructor) {
-+class Foo {
+ class Foo {
+ constructor;
-+ constructor(constructor) {
+ constructor(constructor) {
this.constructor = constructor;
- }
-- return Foo;
--}());
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructor4.js.diff b/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructor4.js.diff
index 046b8620ae..70531d1855 100644
--- a/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructor4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructor4.js.diff
@@ -1,23 +1,14 @@
--- old.parameterPropertyInConstructor4.js
+++ new.parameterPropertyInConstructor4.js
-@@= skipped -10, +10 lines =@@
- "use strict";
+@@= skipped -11, +11 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.C = void 0;
--var C = /** @class */ (function () {
-- function C(a, b) {
-- if (a === void 0) { a = []; }
-+class C {
+ class C {
+ a;
-+ constructor(a = [], b) {
+ constructor(a = [], b) {
this.a = a;
}
-- return C;
--}());
-+}
- exports.C = C;
-
-
+@@= skipped -10, +11 lines =@@
//// [parameterPropertyInConstructor4.d.ts]
export declare class C {
a: number[];
diff --git a/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructorWithPrologues.js.diff b/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructorWithPrologues.js.diff
index bdf3f2e207..b774fe09c6 100644
--- a/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructorWithPrologues.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parameterPropertyInConstructorWithPrologues.js.diff
@@ -1,220 +1,99 @@
--- old.parameterPropertyInConstructorWithPrologues.js
+++ new.parameterPropertyInConstructorWithPrologues.js
-@@= skipped -85, +85 lines =@@
-
- //// [parameterPropertyInConstructorWithPrologues.js]
- // https://github.com/microsoft/TypeScript/issues/48671
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var Foo1 = /** @class */ (function () {
-- function Foo1(A) {
-- "ngInject1";
-- this.A = A;
-- }
-- return Foo1;
--}());
--var Foo2 = /** @class */ (function () {
-- function Foo2(A, B) {
-- "ngInject1";
-- "ngInject2";
-- this.A = A;
-- this.B = B;
-- }
-- return Foo2;
--}());
--var Foo3 = /** @class */ (function () {
-- function Foo3(A, B, C) {
-- "ngInject1";
-- "ngInject2";
-- this.A = A;
-- this.B = B;
-- this.C = C;
-- }
-- return Foo3;
--}());
--var Foo4 = /** @class */ (function () {
-- function Foo4(A) {
-- "ngInject1";
-- this.A = A;
-- console.log("hi");
-- }
-- return Foo4;
--}());
--var Foo5 = /** @class */ (function () {
-- function Foo5(A, B) {
-- "ngInject1";
-- "ngInject2";
-- this.A = A;
-- this.B = B;
-- console.log("hi");
-- }
-- return Foo5;
--}());
--var Foo6 = /** @class */ (function () {
-- function Foo6(A, B, C) {
-- "ngInject1";
-- "ngInject2";
-- this.A = A;
-- this.B = B;
-- this.C = C;
-- console.log("hi");
-- }
-- return Foo6;
--}());
--var Foo7 = /** @class */ (function (_super) {
-- __extends(Foo7, _super);
-- function Foo7(member) {
-- "ngInject1";
-- var _this = _super.call(this) || this;
-- _this.member = member;
-- console.log("hi");
-- return _this;
-- }
-- return Foo7;
--}(C));
--var Foo8 = /** @class */ (function (_super) {
-- __extends(Foo8, _super);
-- function Foo8(member) {
-- "ngInject1";
-- var _this = _super.call(this) || this;
-- _this.member = member;
-- _this.m();
-- console.log("hi");
-- return _this;
-- }
-- Foo8.prototype.m = function () { };
-- return Foo8;
--}(C));
--var Foo9 = /** @class */ (function (_super) {
-- __extends(Foo9, _super);
-- function Foo9() {
-- "ngInject1";
-- "ngInject2";
-- var _this = _super.call(this) || this;
-- _this.m();
-- console.log("hi");
-- return _this;
-- }
-- Foo9.prototype.m = function () { };
-- return Foo9;
--}(C));
-+class C {
-+}
-+class Foo1 {
+@@= skipped -88, +88 lines =@@
+ class C {
+ }
+ class Foo1 {
+ A;
-+ constructor(A) {
-+ this.A = A;
+ constructor(A) {
+- "ngInject1";
+ this.A = A;
+ "ngInject1";
-+ }
-+}
-+class Foo2 {
+ }
+ }
+ class Foo2 {
+ A;
+ B;
-+ constructor(A, B) {
-+ this.A = A;
-+ this.B = B;
+ constructor(A, B) {
+- "ngInject1";
+- "ngInject2";
+ this.A = A;
+ this.B = B;
+ "ngInject1";
+ "ngInject2";
-+ }
-+}
-+class Foo3 {
+ }
+ }
+ class Foo3 {
+ A;
+ B;
+ C;
-+ constructor(A, B, C) {
-+ this.A = A;
-+ this.B = B;
-+ this.C = C;
+ constructor(A, B, C) {
+- "ngInject1";
+- "ngInject2";
+ this.A = A;
+ this.B = B;
+ this.C = C;
+ "ngInject1";
+ "ngInject2";
-+ }
-+}
-+class Foo4 {
+ }
+ }
+ class Foo4 {
+ A;
-+ constructor(A) {
-+ "ngInject1";
+ constructor(A) {
+ "ngInject1";
-+ this.A = A;
-+ console.log("hi");
-+ }
-+}
-+class Foo5 {
+ "ngInject1";
+ this.A = A;
+ console.log("hi");
+ }
+ }
+ class Foo5 {
+ A;
+ B;
-+ constructor(A, B) {
-+ "ngInject1";
-+ "ngInject2";
+ constructor(A, B) {
+ "ngInject1";
+ "ngInject2";
-+ this.A = A;
-+ this.B = B;
-+ console.log("hi");
-+ }
-+}
-+class Foo6 {
+ "ngInject1";
+ "ngInject2";
+ this.A = A;
+@@= skipped -39, +51 lines =@@
+ }
+ }
+ class Foo6 {
+ A;
+ B;
+ C;
-+ constructor(A, B, C) {
-+ "ngInject1";
-+ "ngInject2";
+ constructor(A, B, C) {
+ "ngInject1";
+ "ngInject2";
-+ this.A = A;
-+ this.B = B;
-+ this.C = C;
-+ console.log("hi");
-+ }
-+}
-+class Foo7 extends C {
+ "ngInject1";
+ "ngInject2";
+ this.A = A;
+@@= skipped -10, +15 lines =@@
+ }
+ }
+ class Foo7 extends C {
+ member;
-+ constructor(member) {
-+ "ngInject1";
+ constructor(member) {
+ "ngInject1";
-+ super();
-+ this.member = member;
-+ console.log("hi");
-+ }
-+}
-+class Foo8 extends C {
+ "ngInject1";
+ super();
+ this.member = member;
+@@= skipped -8, +10 lines =@@
+ }
+ }
+ class Foo8 extends C {
+ member;
-+ constructor(member) {
+ constructor(member) {
+ "ngInject1";
-+ "ngInject1";
-+ super();
-+ this.member = member;
-+ this.m();
-+ console.log("hi");
-+ }
-+ m() { }
-+}
-+class Foo9 extends C {
-+ constructor() {
-+ "ngInject1";
-+ "ngInject2";
+ "ngInject1";
+ super();
+ this.member = member;
+@@= skipped -11, +13 lines =@@
+ }
+ class Foo9 extends C {
+ constructor() {
+ "ngInject1";
+ "ngInject2";
-+ super();
-+ this.m();
-+ console.log("hi");
-+ }
-+ m() { }
-+}
\ No newline at end of file
+ "ngInject1";
+ "ngInject2";
+ super();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parameterPropertyInitializerInInitializers.js.diff b/testdata/baselines/reference/submodule/compiler/parameterPropertyInitializerInInitializers.js.diff
index 4b0f832b22..6b46550dd2 100644
--- a/testdata/baselines/reference/submodule/compiler/parameterPropertyInitializerInInitializers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parameterPropertyInitializerInInitializers.js.diff
@@ -1,19 +1,11 @@
--- old.parameterPropertyInitializerInInitializers.js
+++ new.parameterPropertyInitializerInInitializers.js
-@@= skipped -5, +5 lines =@@
- }
+@@= skipped -6, +6 lines =@@
//// [parameterPropertyInitializerInInitializers.js]
--var Foo = /** @class */ (function () {
-- function Foo(x, y) {
-- if (y === void 0) { y = x; }
-+class Foo {
+ class Foo {
+ x;
+ y;
-+ constructor(x, y = x) {
+ constructor(x, y = x) {
this.x = x;
- this.y = y;
- }
-- return Foo;
--}());
-+}
\ No newline at end of file
+ this.y = y;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parameterPropertyOutsideConstructor.js.diff b/testdata/baselines/reference/submodule/compiler/parameterPropertyOutsideConstructor.js.diff
deleted file mode 100644
index d873877b17..0000000000
--- a/testdata/baselines/reference/submodule/compiler/parameterPropertyOutsideConstructor.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.parameterPropertyOutsideConstructor.js
-+++ new.parameterPropertyOutsideConstructor.js
-@@= skipped -6, +6 lines =@@
- }
-
- //// [parameterPropertyOutsideConstructor.js]
--var C = /** @class */ (function () {
-- function C() {
-+class C {
-+ foo(x) {
- }
-- C.prototype.foo = function (x) {
-- };
-- return C;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parameterPropertyReferencingOtherParameter.js.diff b/testdata/baselines/reference/submodule/compiler/parameterPropertyReferencingOtherParameter.js.diff
index 7ad61bfd7c..4f0226024b 100644
--- a/testdata/baselines/reference/submodule/compiler/parameterPropertyReferencingOtherParameter.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parameterPropertyReferencingOtherParameter.js.diff
@@ -1,19 +1,11 @@
--- old.parameterPropertyReferencingOtherParameter.js
+++ new.parameterPropertyReferencingOtherParameter.js
-@@= skipped -6, +6 lines =@@
-
+@@= skipped -7, +7 lines =@@
//// [parameterPropertyReferencingOtherParameter.js]
--var Foo = /** @class */ (function () {
-- function Foo(x, y) {
-- if (y === void 0) { y = x; }
-+class Foo {
+ class Foo {
+ x;
+ y;
-+ constructor(x, y = x) {
+ constructor(x, y = x) {
this.x = x;
- this.y = y;
- }
-- return Foo;
--}());
-+}
\ No newline at end of file
+ this.y = y;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parameterReferenceInInitializer1.js.diff b/testdata/baselines/reference/submodule/compiler/parameterReferenceInInitializer1.js.diff
index 4eecd23224..cd9a136e8e 100644
--- a/testdata/baselines/reference/submodule/compiler/parameterReferenceInInitializer1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parameterReferenceInInitializer1.js.diff
@@ -1,18 +1,10 @@
--- old.parameterReferenceInInitializer1.js
+++ new.parameterReferenceInInitializer1.js
-@@= skipped -17, +17 lines =@@
- function fn(y, set) {
+@@= skipped -18, +18 lines =@@
return undefined;
}
--var C = /** @class */ (function () {
-- function C(y, x // expected to work, but actually doesn't
-+class C {
+ class C {
+ x;
-+ constructor(y, x = fn(y, (y, x) => y.x = x) // expected to work, but actually doesn't
+ constructor(y, x = fn(y, (y, x) => y.x = x) // expected to work, but actually doesn't
) {
-- if (x === void 0) { x = fn(y, function (y, x) { return y.x = x; }); }
- this.x = x;
- }
-- return C;
--}());
-+}
\ No newline at end of file
+ this.x = x;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parameterReferenceInInitializer2.js.diff b/testdata/baselines/reference/submodule/compiler/parameterReferenceInInitializer2.js.diff
deleted file mode 100644
index b3eebaf00e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/parameterReferenceInInitializer2.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.parameterReferenceInInitializer2.js
-+++ new.parameterReferenceInInitializer2.js
-@@= skipped -5, +5 lines =@@
- }
-
- //// [parameterReferenceInInitializer2.js]
--function Example(x) {
-- if (x === void 0) { x = function (x) { return x; }; }
-+function Example(x = function (x) { return x; }) {
- // referenced in its initializer
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parameterReferencesOtherParameter1.js.diff b/testdata/baselines/reference/submodule/compiler/parameterReferencesOtherParameter1.js.diff
index d57346e1fb..a9f7456e68 100644
--- a/testdata/baselines/reference/submodule/compiler/parameterReferencesOtherParameter1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parameterReferencesOtherParameter1.js.diff
@@ -1,24 +1,10 @@
--- old.parameterReferencesOtherParameter1.js
+++ new.parameterReferencesOtherParameter1.js
-@@= skipped -11, +11 lines =@@
- }
+@@= skipped -12, +12 lines =@@
//// [parameterReferencesOtherParameter1.js]
--var Model = /** @class */ (function () {
-- function Model() {
-- }
-- return Model;
--}());
--var UI = /** @class */ (function () {
-- function UI(model, foo) {
-- if (foo === void 0) { foo = model.name; }
-- }
-- return UI;
--}());
-+class Model {
+ class Model {
+ name;
-+}
-+class UI {
-+ constructor(model, foo = model.name) {
-+ }
-+}
\ No newline at end of file
+ }
+ class UI {
+ constructor(model, foo = model.name) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parameterReferencesOtherParameter2.js.diff b/testdata/baselines/reference/submodule/compiler/parameterReferencesOtherParameter2.js.diff
index 17ae8a1c0e..9807d9a4f0 100644
--- a/testdata/baselines/reference/submodule/compiler/parameterReferencesOtherParameter2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parameterReferencesOtherParameter2.js.diff
@@ -1,24 +1,10 @@
--- old.parameterReferencesOtherParameter2.js
+++ new.parameterReferencesOtherParameter2.js
-@@= skipped -11, +11 lines =@@
- }
+@@= skipped -12, +12 lines =@@
//// [parameterReferencesOtherParameter2.js]
--var Model = /** @class */ (function () {
-- function Model() {
-- }
-- return Model;
--}());
--var UI = /** @class */ (function () {
-- function UI(model, foo) {
-- if (foo === void 0) { foo = model.name; }
-- }
-- return UI;
--}());
-+class Model {
+ class Model {
+ name;
-+}
-+class UI {
-+ constructor(model, foo = model.name) {
-+ }
-+}
\ No newline at end of file
+ }
+ class UI {
+ constructor(model, foo = model.name) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/paramsOnlyHaveLiteralTypesWhenAppropriatelyContextualized.js.diff b/testdata/baselines/reference/submodule/compiler/paramsOnlyHaveLiteralTypesWhenAppropriatelyContextualized.js.diff
deleted file mode 100644
index 4f12cfb988..0000000000
--- a/testdata/baselines/reference/submodule/compiler/paramsOnlyHaveLiteralTypesWhenAppropriatelyContextualized.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.paramsOnlyHaveLiteralTypesWhenAppropriatelyContextualized.js
-+++ new.paramsOnlyHaveLiteralTypesWhenAppropriatelyContextualized.js
-@@= skipped -34, +34 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.appendToOptionalArray = appendToOptionalArray;
- function appendToOptionalArray(object, key, value) {
-- var array = object[key];
-+ const array = object[key];
- if (array) {
- array.push(value);
- }
-@@= skipped -9, +9 lines =@@
- }
- }
- // e.g.
--var foo = {};
-+const foo = {};
- appendToOptionalArray(foo, 'x', 123); // ok
- appendToOptionalArray(foo, 'y', 'bar'); // ok
- appendToOptionalArray(foo, 'y', 12); // should fail
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parenthesizedArrowExpressionASI.js.diff b/testdata/baselines/reference/submodule/compiler/parenthesizedArrowExpressionASI.js.diff
deleted file mode 100644
index b8287d6780..0000000000
--- a/testdata/baselines/reference/submodule/compiler/parenthesizedArrowExpressionASI.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.parenthesizedArrowExpressionASI.js
-+++ new.parenthesizedArrowExpressionASI.js
-@@= skipped -7, +7 lines =@@
-
-
- //// [parenthesizedArrowExpressionASI.js]
--var x = function (a) { return (
-+const x = (a) =>
- // comment
--undefined); };
-+undefined;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parenthesizedAsyncArrowFunction.js.diff b/testdata/baselines/reference/submodule/compiler/parenthesizedAsyncArrowFunction.js.diff
index 7915be6d2e..dc5e49bafe 100644
--- a/testdata/baselines/reference/submodule/compiler/parenthesizedAsyncArrowFunction.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parenthesizedAsyncArrowFunction.js.diff
@@ -13,35 +13,5 @@
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- 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) {
-- return [2 /*return*/, bar];
--}); }); });
+-let foo = ((bar) => __awaiter(this, void 0, void 0, function* () { return bar; }));
+let foo = (async bar => bar);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parenthesizedSatisfiesExpressionWithComments.js.diff b/testdata/baselines/reference/submodule/compiler/parenthesizedSatisfiesExpressionWithComments.js.diff
index 714dc837ad..e34e71267d 100644
--- a/testdata/baselines/reference/submodule/compiler/parenthesizedSatisfiesExpressionWithComments.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parenthesizedSatisfiesExpressionWithComments.js.diff
@@ -4,7 +4,7 @@
//// [parenthesizedSatisfiesExpressionWithComments.js]
"use strict";
--var a = /*comm*/ 10;
--var b = /*comm*/ 10;
+-const a = /*comm*/ 10;
+-const b = /*comm*/ 10;
+const a = 10;
+const b = 10;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parseArrowFunctionWithFunctionReturnType.js.diff b/testdata/baselines/reference/submodule/compiler/parseArrowFunctionWithFunctionReturnType.js.diff
deleted file mode 100644
index 6810eea2c7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/parseArrowFunctionWithFunctionReturnType.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.parseArrowFunctionWithFunctionReturnType.js
-+++ new.parseArrowFunctionWithFunctionReturnType.js
-@@= skipped -4, +4 lines =@@
-
-
- //// [parseArrowFunctionWithFunctionReturnType.js]
--var fn = function () { return null; };
-+const fn = () => null;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parseEntityNameWithReservedWord.js.diff b/testdata/baselines/reference/submodule/compiler/parseEntityNameWithReservedWord.js.diff
deleted file mode 100644
index 8ecca2ee0a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/parseEntityNameWithReservedWord.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.parseEntityNameWithReservedWord.js
-+++ new.parseEntityNameWithReservedWord.js
-@@= skipped -9, +9 lines =@@
- (function (Bool) {
- Bool[Bool["false"] = 0] = "false";
- })(Bool || (Bool = {}));
--var x = Bool.false;
-+const x = Bool.false;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parseErrorInHeritageClause1.js.diff b/testdata/baselines/reference/submodule/compiler/parseErrorInHeritageClause1.js.diff
deleted file mode 100644
index 85c4cbc448..0000000000
--- a/testdata/baselines/reference/submodule/compiler/parseErrorInHeritageClause1.js.diff
+++ /dev/null
@@ -1,30 +0,0 @@
---- old.parseErrorInHeritageClause1.js
-+++ new.parseErrorInHeritageClause1.js
-@@= skipped -4, +4 lines =@@
- }
-
- //// [parseErrorInHeritageClause1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(A));
-+class C extends A {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parseErrorIncorrectReturnToken.js.diff b/testdata/baselines/reference/submodule/compiler/parseErrorIncorrectReturnToken.js.diff
index 4dbe121ad4..272bdcc1d3 100644
--- a/testdata/baselines/reference/submodule/compiler/parseErrorIncorrectReturnToken.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parseErrorIncorrectReturnToken.js.diff
@@ -1,12 +1,10 @@
--- old.parseErrorIncorrectReturnToken.js
+++ new.parseErrorIncorrectReturnToken.js
-@@= skipped -17, +17 lines =@@
- //// [parseErrorIncorrectReturnToken.js]
+@@= skipped -18, +18 lines =@@
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(); }; };
--var o = {};
-+let f = (n) => string => n.toString();
+ let f = (n) => string => n.toString();
+-let o = {};
+let o = {
+ m(n) { }
+};
diff --git a/testdata/baselines/reference/submodule/compiler/parseGenericArrowRatherThanLeftShift.js.diff b/testdata/baselines/reference/submodule/compiler/parseGenericArrowRatherThanLeftShift.js.diff
deleted file mode 100644
index 2ac2c55750..0000000000
--- a/testdata/baselines/reference/submodule/compiler/parseGenericArrowRatherThanLeftShift.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.parseGenericArrowRatherThanLeftShift.js
-+++ new.parseGenericArrowRatherThanLeftShift.js
-@@= skipped -9, +9 lines =@@
-
- //// [parseGenericArrowRatherThanLeftShift.js]
- function foo(_x) { }
--var b = foo(function () { return 1; });
-+const b = foo(() => 1);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parseInvalidNonNullableTypes.js.diff b/testdata/baselines/reference/submodule/compiler/parseInvalidNonNullableTypes.js.diff
index bc3be56fd8..201a24e30e 100644
--- a/testdata/baselines/reference/submodule/compiler/parseInvalidNonNullableTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parseInvalidNonNullableTypes.js.diff
@@ -7,16 +7,4 @@
-"use strict";
function f1(a) {
return true;
- }
-@@= skipped -13, +12 lines =@@
- function f6(a) { }
- function f7() { }
- function f8() { }
--var a = 1;
--var b = 1;
--var c = 1;
--var d = 1;
-+const a = 1;
-+const b = 1;
-+const c = 1;
-+const d = 1;
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parseInvalidNullableTypes.js.diff b/testdata/baselines/reference/submodule/compiler/parseInvalidNullableTypes.js.diff
index 19a4b3db52..a04f4a4911 100644
--- a/testdata/baselines/reference/submodule/compiler/parseInvalidNullableTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parseInvalidNullableTypes.js.diff
@@ -7,24 +7,4 @@
-"use strict";
function f1(a) {
return true;
- }
-@@= skipped -11, +10 lines =@@
- function f6(a) {
- return true;
- }
--var a = 1;
--var b = 1;
--var c = 1;
--var d = 1;
--var e;
--var f;
--var g;
--var h;
-+const a = 1;
-+const b = 1;
-+const c = 1;
-+const d = 1;
-+let e;
-+let f;
-+let g;
-+let h;
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parseObjectLiteralsWithoutTypes.js.diff b/testdata/baselines/reference/submodule/compiler/parseObjectLiteralsWithoutTypes.js.diff
deleted file mode 100644
index 61d3990423..0000000000
--- a/testdata/baselines/reference/submodule/compiler/parseObjectLiteralsWithoutTypes.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.parseObjectLiteralsWithoutTypes.js
-+++ new.parseObjectLiteralsWithoutTypes.js
-@@= skipped -6, +6 lines =@@
-
-
- //// [parseObjectLiteralsWithoutTypes.js]
--var x;
--var y;
--var z;
-+let x;
-+let y;
-+let z;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parseReplacementCharacter.js.diff b/testdata/baselines/reference/submodule/compiler/parseReplacementCharacter.js.diff
deleted file mode 100644
index b551688013..0000000000
--- a/testdata/baselines/reference/submodule/compiler/parseReplacementCharacter.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.parseReplacementCharacter.js
-+++ new.parseReplacementCharacter.js
-@@= skipped -11, +11 lines =@@
- //// [parseReplacementCharacter.js]
- "oops �� oops";
- 'oops �� oops';
--"oops \uFFFD\uFFFD oops";
--"".concat("oops �� oops");
-+`oops �� oops`;
-+`${"oops �� oops"}`;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parseUnaryExpressionNoTypeAssertionInJsx4.js.diff b/testdata/baselines/reference/submodule/compiler/parseUnaryExpressionNoTypeAssertionInJsx4.js.diff
deleted file mode 100644
index 687bd3a57b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/parseUnaryExpressionNoTypeAssertionInJsx4.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.parseUnaryExpressionNoTypeAssertionInJsx4.js
-+++ new.parseUnaryExpressionNoTypeAssertionInJsx4.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [index.jsx]
--var x = "oops";
--var a = + x;
-+const x = "oops";
-+const a = + x;
- const b = + <> x;
- const c = + < />1234> x;
- >>;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parserConstructorDeclaration12.js.diff b/testdata/baselines/reference/submodule/compiler/parserConstructorDeclaration12.js.diff
deleted file mode 100644
index 7d4f78a1f6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/parserConstructorDeclaration12.js.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- old.parserConstructorDeclaration12.js
-+++ new.parserConstructorDeclaration12.js
-@@= skipped -12, +12 lines =@@
- }
-
- //// [parserConstructorDeclaration12.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+ constructor() { }
-+ constructor() { }
-+ constructor() { }
-+ constructor() { }
-+ constructor() { }
-+ constructor() { }
-+ constructor() { }
-+ constructor() { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parserIsClassMemberStart.js.diff b/testdata/baselines/reference/submodule/compiler/parserIsClassMemberStart.js.diff
index 7d214293d2..ccbde98a2a 100644
--- a/testdata/baselines/reference/submodule/compiler/parserIsClassMemberStart.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parserIsClassMemberStart.js.diff
@@ -1,14 +1,8 @@
--- old.parserIsClassMemberStart.js
+++ new.parserIsClassMemberStart.js
-@@= skipped -6, +6 lines =@@
-
+@@= skipped -7, +7 lines =@@
//// [parserIsClassMemberStart.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ type;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parserPrivateIdentifierInArrayAssignment.js.diff b/testdata/baselines/reference/submodule/compiler/parserPrivateIdentifierInArrayAssignment.js.diff
deleted file mode 100644
index b2428ac7be..0000000000
--- a/testdata/baselines/reference/submodule/compiler/parserPrivateIdentifierInArrayAssignment.js.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- old.parserPrivateIdentifierInArrayAssignment.js
-+++ new.parserPrivateIdentifierInArrayAssignment.js
-@@= skipped -4, +4 lines =@@
-
-
- //// [parserPrivateIdentifierInArrayAssignment.js]
--#abc = [0];
-+[#abc] =
-+;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/parsingClassRecoversWhenHittingUnexpectedSemicolon.js.diff b/testdata/baselines/reference/submodule/compiler/parsingClassRecoversWhenHittingUnexpectedSemicolon.js.diff
index 4a3d365ef8..6036124099 100644
--- a/testdata/baselines/reference/submodule/compiler/parsingClassRecoversWhenHittingUnexpectedSemicolon.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/parsingClassRecoversWhenHittingUnexpectedSemicolon.js.diff
@@ -1,17 +1,8 @@
--- old.parsingClassRecoversWhenHittingUnexpectedSemicolon.js
+++ new.parsingClassRecoversWhenHittingUnexpectedSemicolon.js
-@@= skipped -7, +7 lines =@@
-
-
- //// [parsingClassRecoversWhenHittingUnexpectedSemicolon.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.f = function () { };
-+class C {
-+ f() { }
+@@= skipped -10, +10 lines =@@
+ class C {
+ f() { }
;
-- return C;
--}());
+ m;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/partialDiscriminatedUnionMemberHasGoodError.js.diff b/testdata/baselines/reference/submodule/compiler/partialDiscriminatedUnionMemberHasGoodError.js.diff
deleted file mode 100644
index 35cd743fb6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/partialDiscriminatedUnionMemberHasGoodError.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.partialDiscriminatedUnionMemberHasGoodError.js
-+++ new.partialDiscriminatedUnionMemberHasGoodError.js
-@@= skipped -25, +25 lines =@@
- });
-
- //// [partialDiscriminatedUnionMemberHasGoodError.js]
--var foo = [];
-+const foo = [];
- foo.push({
- types: [{
- type: "A"
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/partialOfLargeAPIIsAbleToBeWorkedWith.js.diff b/testdata/baselines/reference/submodule/compiler/partialOfLargeAPIIsAbleToBeWorkedWith.js.diff
index 17eda64c7c..fa3747b68e 100644
--- a/testdata/baselines/reference/submodule/compiler/partialOfLargeAPIIsAbleToBeWorkedWith.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/partialOfLargeAPIIsAbleToBeWorkedWith.js.diff
@@ -5,19 +5,6 @@
//// [partialOfLargeAPIIsAbleToBeWorkedWith.js]
-"use strict";
--var obj = {};
--for (var _i = 0, keys_1 = keys; _i < keys_1.length; _i++) {
-- var k = keys_1[_i];
-- obj[k] = function () { return "12"; }; // shouldn't cause a complexity error
-+const obj = {};
-+for (const k of keys) {
-+ obj[k] = () => "12"; // shouldn't cause a complexity error
- }
--var obj2 = {};
--for (var _a = 0, keys_2 = keys; _a < keys_2.length; _a++) {
-- var k = keys_2[_a];
-- obj2[k] = function () { return "12"; }; // shouldn't cause a complexity error
-+const obj2 = {};
-+for (const k of keys) {
-+ obj2[k] = () => "12"; // shouldn't cause a complexity error
- }
\ No newline at end of file
+ const obj = {};
+ for (const k of keys) {
+ obj[k] = () => "12"; // shouldn't cause a complexity error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/partiallyAmbientClodule.js.diff b/testdata/baselines/reference/submodule/compiler/partiallyAmbientClodule.js.diff
deleted file mode 100644
index 08c4b55baa..0000000000
--- a/testdata/baselines/reference/submodule/compiler/partiallyAmbientClodule.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.partiallyAmbientClodule.js
-+++ new.partiallyAmbientClodule.js
-@@= skipped -6, +6 lines =@@
- class foo { } // Legal, because module is ambient
-
- //// [partiallyAmbientClodule.js]
--var foo = /** @class */ (function () {
-- function foo() {
-- }
-- return foo;
--}()); // Legal, because module is ambient
-+class foo {
-+} // Legal, because module is ambient
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/partiallyDiscriminantedUnions.js.diff b/testdata/baselines/reference/submodule/compiler/partiallyDiscriminantedUnions.js.diff
index c167455b34..d58efbc512 100644
--- a/testdata/baselines/reference/submodule/compiler/partiallyDiscriminantedUnions.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/partiallyDiscriminantedUnions.js.diff
@@ -5,38 +5,17 @@
//// [partiallyDiscriminantedUnions.js]
-// Repro from #10586
--var ab = {};
-+const ab = {};
+ const ab = {};
if (ab.type === 'a') {
if (ab.subtype === 2) {
- ab.foo;
- }
+@@= skipped -9, +8 lines =@@
}
// Repro from #11185
--var Square = /** @class */ (function () {
-- function Square() {
-- }
-- return Square;
--}());
--var Circle = /** @class */ (function () {
-- function Circle() {
-- }
-- return Circle;
--}());
-+class Square {
+ class Square {
+ kind;
-+}
-+class Circle {
+ }
+ class Circle {
+ kind;
-+}
- function isShape(s) {
- return !Array.isArray(s);
}
- function fail(s) {
- if (isShape(s)) {
- if (s.kind === "circle") {
-- var c = s;
-+ let c = s;
- }
- }
- }
\ No newline at end of file
+ function isShape(s) {
+ return !Array.isArray(s);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/pathsValidation1.js.diff b/testdata/baselines/reference/submodule/compiler/pathsValidation1.js.diff
deleted file mode 100644
index becbef143c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/pathsValidation1.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.pathsValidation1.js
-+++ new.pathsValidation1.js
-@@= skipped -3, +3 lines =@@
- let x = 1;
-
- //// [a.js]
--var x = 1;
-+let x = 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/pathsValidation2.js.diff b/testdata/baselines/reference/submodule/compiler/pathsValidation2.js.diff
deleted file mode 100644
index 23d049e887..0000000000
--- a/testdata/baselines/reference/submodule/compiler/pathsValidation2.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.pathsValidation2.js
-+++ new.pathsValidation2.js
-@@= skipped -3, +3 lines =@@
- let x = 1;
-
- //// [a.js]
--var x = 1;
-+let x = 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/pathsValidation3.js.diff b/testdata/baselines/reference/submodule/compiler/pathsValidation3.js.diff
deleted file mode 100644
index ea51afbc45..0000000000
--- a/testdata/baselines/reference/submodule/compiler/pathsValidation3.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.pathsValidation3.js
-+++ new.pathsValidation3.js
-@@= skipped -3, +3 lines =@@
- let x = 1;
-
- //// [a.js]
--var x = 1;
-+let x = 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/performanceComparisonOfStructurallyIdenticalInterfacesWithGenericSignatures.js.diff b/testdata/baselines/reference/submodule/compiler/performanceComparisonOfStructurallyIdenticalInterfacesWithGenericSignatures.js.diff
deleted file mode 100644
index 01bb93249d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/performanceComparisonOfStructurallyIdenticalInterfacesWithGenericSignatures.js.diff
+++ /dev/null
@@ -1,119 +0,0 @@
---- old.performanceComparisonOfStructurallyIdenticalInterfacesWithGenericSignatures.js
-+++ new.performanceComparisonOfStructurallyIdenticalInterfacesWithGenericSignatures.js
-@@= skipped -91, +91 lines =@@
-
- //// [performanceComparisonOfStructurallyIdenticalInterfacesWithGenericSignatures.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.B = exports.A = void 0;
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.filter = function (callback) {
-- return undefined;
-- };
-- A.prototype.map = function (callback) {
-- return undefined;
-- };
-- A.prototype.await = function () {
-- return undefined;
-- };
-- A.prototype.awaitOrdered = function () {
-- return undefined;
-- };
-- A.prototype.awaitOrdered2 = function () {
-- return undefined;
-- };
-- A.prototype.awaitOrdered3 = function () {
-- return undefined;
-- };
-- A.prototype.awaitOrdered4 = function () {
-- return undefined;
-- };
-- A.prototype.awaitOrdered5 = function () {
-- return undefined;
-- };
-- A.prototype.awaitOrdered6 = function () {
-- return undefined;
-- };
-- A.prototype.awaitOrdered7 = function () {
-- return undefined;
-- };
-- A.prototype.awaitOrdered8 = function () {
-- return undefined;
-- };
-- A.prototype.awaitOrdered9 = function () {
-- return undefined;
-- };
-- A.prototype.awaitLatest = function () {
-- return undefined;
-- };
-- return A;
--}());
-+class A {
-+ filter(callback) {
-+ return undefined;
-+ }
-+ map(callback) {
-+ return undefined;
-+ }
-+ await() {
-+ return undefined;
-+ }
-+ awaitOrdered() {
-+ return undefined;
-+ }
-+ awaitOrdered2() {
-+ return undefined;
-+ }
-+ awaitOrdered3() {
-+ return undefined;
-+ }
-+ awaitOrdered4() {
-+ return undefined;
-+ }
-+ awaitOrdered5() {
-+ return undefined;
-+ }
-+ awaitOrdered6() {
-+ return undefined;
-+ }
-+ awaitOrdered7() {
-+ return undefined;
-+ }
-+ awaitOrdered8() {
-+ return undefined;
-+ }
-+ awaitOrdered9() {
-+ return undefined;
-+ }
-+ awaitLatest() {
-+ return undefined;
-+ }
-+}
- exports.A = A;
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+class B extends A {
-+}
- exports.B = B;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/pickOfLargeObjectUnionWorks.js.diff b/testdata/baselines/reference/submodule/compiler/pickOfLargeObjectUnionWorks.js.diff
deleted file mode 100644
index a502663ea3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/pickOfLargeObjectUnionWorks.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.pickOfLargeObjectUnionWorks.js
-+++ new.pickOfLargeObjectUnionWorks.js
-@@= skipped -81, +81 lines =@@
- const xyz: Pick = {id: 'id'}
-
- //// [pickOfLargeObjectUnionWorks.js]
--var xyz = { id: 'id' };
-+const xyz = { id: 'id' };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/pinnedComments1.js.diff b/testdata/baselines/reference/submodule/compiler/pinnedComments1.js.diff
index 1297364719..3ad1398649 100644
--- a/testdata/baselines/reference/submodule/compiler/pinnedComments1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/pinnedComments1.js.diff
@@ -8,10 +8,5 @@
- Keep this pinned comment
- =========
-*/
--var C = (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
-+}
\ No newline at end of file
+ class C {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/potentiallyUnassignedVariableInCatch.js.diff b/testdata/baselines/reference/submodule/compiler/potentiallyUnassignedVariableInCatch.js.diff
index edf99bf7ba..d12a9aa06c 100644
--- a/testdata/baselines/reference/submodule/compiler/potentiallyUnassignedVariableInCatch.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/potentiallyUnassignedVariableInCatch.js.diff
@@ -5,8 +5,7 @@
//// [potentiallyUnassignedVariableInCatch.js]
-"use strict";
--var foo;
-+let foo;
+ let foo;
try {
if (Math.random() > 0.5) {
foo = 1234;
diff --git a/testdata/baselines/reference/submodule/compiler/predicateSemantics.js.diff b/testdata/baselines/reference/submodule/compiler/predicateSemantics.js.diff
index c87ef6fb1d..b492e29705 100644
--- a/testdata/baselines/reference/submodule/compiler/predicateSemantics.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/predicateSemantics.js.diff
@@ -4,54 +4,36 @@
//// [predicateSemantics.js]
--var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
-- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
-- return cooked;
--};
-var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
// OK: One or other operand is possibly nullish
--var test1 = (_a = (cond ? undefined : 32)) !== null && _a !== void 0 ? _a : "possibly reached";
+-const test1 = (_a = (cond ? undefined : 32)) !== null && _a !== void 0 ? _a : "possibly reached";
+const test1 = (cond ? undefined : 32) ?? "possibly reached";
// Not OK: Both operands nullish
--var test2 = (_b = (cond ? undefined : null)) !== null && _b !== void 0 ? _b : "always reached";
+-const test2 = (_b = (cond ? undefined : null)) !== null && _b !== void 0 ? _b : "always reached";
+const test2 = (cond ? undefined : null) ?? "always reached";
// Not OK: Both operands non-nullish
--var test3 = (_c = (cond ? 132 : 17)) !== null && _c !== void 0 ? _c : "unreachable";
+-const test3 = (_c = (cond ? 132 : 17)) !== null && _c !== void 0 ? _c : "unreachable";
+const test3 = (cond ? 132 : 17) ?? "unreachable";
// Parens
--var test4 = (_d = (cond ? (undefined) : (17))) !== null && _d !== void 0 ? _d : 42;
+-const test4 = (_d = (cond ? (undefined) : (17))) !== null && _d !== void 0 ? _d : 42;
+const test4 = (cond ? (undefined) : (17)) ?? 42;
// Should be OK (special case)
if (!!true) {
}
-@@= skipped -21, +16 lines =@@
+@@= skipped -17, +16 lines =@@
while (1) { }
while (true) { }
while (false) { }
--var p5 = (_e = {}) !== null && _e !== void 0 ? _e : null;
--var p6 = (_f = 0 > 1) !== null && _f !== void 0 ? _f : null;
--var p7 = null !== null && null !== void 0 ? null : null;
--var p8 = (/** @class */ (function () {
-- function foo() {
-- }
-- return foo;
--}())) && null;
--var p9 = (/** @class */ (function () {
-- function foo() {
-- }
-- return foo;
--}())) || null;
+-const p5 = (_e = {}) !== null && _e !== void 0 ? _e : null;
+-const p6 = (_f = 0 > 1) !== null && _f !== void 0 ? _f : null;
+-const p7 = null !== null && null !== void 0 ? null : null;
+const p5 = {} ?? null;
+const p6 = 0 > 1 ?? null;
+const p7 = null ?? null;
-+const p8 = (class foo {
-+}) && null;
-+const p9 = (class foo {
-+}) || null;
- // Outer expression tests
- while ({}) { }
- while ({}) { }
-@@= skipped -22, +16 lines =@@
+ const p8 = (class foo {
+ }) && null;
+ const p9 = (class foo {
+@@= skipped -16, +16 lines =@@
console.log((cond || undefined) && 1 / cond);
function foo() {
// Should be OK
@@ -60,33 +42,26 @@
}
// https://github.com/microsoft/TypeScript/issues/60401
{
-- var maybe = null;
-- var i = 0;
-- var d = (_g = (i++, maybe)) !== null && _g !== void 0 ? _g : true; // ok
-- var e = (_h = (i++, i++)) !== null && _h !== void 0 ? _h : true; // error
-- var f = (_j = (maybe, i++)) !== null && _j !== void 0 ? _j : true; // error
-+ const maybe = null;
-+ let i = 0;
+ const maybe = null;
+ let i = 0;
+- const d = (_g = (i++, maybe)) !== null && _g !== void 0 ? _g : true; // ok
+- const e = (_h = (i++, i++)) !== null && _h !== void 0 ? _h : true; // error
+- const f = (_j = (maybe, i++)) !== null && _j !== void 0 ? _j : true; // error
+ const d = (i++, maybe) ?? true; // ok
+ const e = (i++, i++) ?? true; // error
+ const f = (maybe, i++) ?? true; // error
}
// https://github.com/microsoft/TypeScript/issues/60439
--var X = /** @class */ (function () {
-- function X() {
-- var _newTarget = this.constructor;
+ class X {
+ constructor() {
- var _a;
-- var p = (_a = _newTarget) !== null && _a !== void 0 ? _a : 32;
-+class X {
-+ constructor() {
+- const p = (_a = new.target) !== null && _a !== void 0 ? _a : 32;
+ const p = new.target ?? 32;
}
-- return X;
--}());
--(_k = tag(__makeTemplateObject(["foo", ""], ["foo", ""]), 1)) !== null && _k !== void 0 ? _k : 32; // ok
--(_l = "foo".concat(1)) !== null && _l !== void 0 ? _l : 32; // error
--"foo" !== null && "foo" !== void 0 ? "foo" : 32; // error
-+}
+ }
+-(_k = tag `foo${1}`) !== null && _k !== void 0 ? _k : 32; // ok
+-(_l = `foo${1}`) !== null && _l !== void 0 ? _l : 32; // error
+-`foo` !== null && `foo` !== void 0 ? `foo` : 32; // error
+tag `foo${1}` ?? 32; // ok
+`foo${1}` ?? 32; // error
+`foo` ?? 32; // error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/prefixedNumberLiteralAssignToNumberLiteralType.js.diff b/testdata/baselines/reference/submodule/compiler/prefixedNumberLiteralAssignToNumberLiteralType.js.diff
deleted file mode 100644
index 1ed6c757f4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/prefixedNumberLiteralAssignToNumberLiteralType.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.prefixedNumberLiteralAssignToNumberLiteralType.js
-+++ new.prefixedNumberLiteralAssignToNumberLiteralType.js
-@@= skipped -5, +5 lines =@@
- let y: -1 = -1;
-
- //// [prefixedNumberLiteralAssignToNumberLiteralType.js]
--var x = +1;
--var y = -1;
-+let x = +1;
-+let y = -1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/prespecializedGenericMembers1.js.diff b/testdata/baselines/reference/submodule/compiler/prespecializedGenericMembers1.js.diff
deleted file mode 100644
index 6b824f67c8..0000000000
--- a/testdata/baselines/reference/submodule/compiler/prespecializedGenericMembers1.js.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- old.prespecializedGenericMembers1.js
-+++ new.prespecializedGenericMembers1.js
-@@= skipped -25, +25 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.CatBag = exports.Cat = void 0;
--var Cat = /** @class */ (function () {
-- function Cat() {
-+class Cat {
-+ constructor() {
- }
-- return Cat;
--}());
-+}
- exports.Cat = Cat;
--var CatBag = /** @class */ (function () {
-- function CatBag(cats) {
-+class CatBag {
-+ constructor(cats) {
- }
-- return CatBag;
--}());
-+}
- exports.CatBag = CatBag;
- var cat = new Cat();
- var catThing = {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/prettyFileWithErrorsAndTabs.js.diff b/testdata/baselines/reference/submodule/compiler/prettyFileWithErrorsAndTabs.js.diff
deleted file mode 100644
index 68bd46aab2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/prettyFileWithErrorsAndTabs.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.prettyFileWithErrorsAndTabs.js
-+++ new.prettyFileWithErrorsAndTabs.js
-@@= skipped -11, +11 lines =@@
- //// [prettyFileWithErrorsAndTabs.js]
- function f() {
- {
-- var x = 12;
-- var y = 12;
-- var z = 12;
-+ const x = 12;
-+ const y = 12;
-+ const z = 12;
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/primitiveConstraints2.js.diff b/testdata/baselines/reference/submodule/compiler/primitiveConstraints2.js.diff
deleted file mode 100644
index 702fa5f81d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/primitiveConstraints2.js.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- old.primitiveConstraints2.js
-+++ new.primitiveConstraints2.js
-@@= skipped -11, +11 lines =@@
- x.bar2(2, ""); // should error
-
- //// [primitiveConstraints2.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.bar2 = function (x, y) {
-+class C {
-+ bar2(x, y) {
- return null;
-- };
-- return C;
--}());
-+ }
-+}
- var x = new C();
- x.bar2(2, ""); // should error
- x.bar2(2, ""); // should error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/primitiveMembers.js.diff b/testdata/baselines/reference/submodule/compiler/primitiveMembers.js.diff
deleted file mode 100644
index 65e8b26af5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/primitiveMembers.js.diff
+++ /dev/null
@@ -1,59 +0,0 @@
---- old.primitiveMembers.js
-+++ new.primitiveMembers.js
-@@= skipped -33, +33 lines =@@
-
-
- //// [primitiveMembers.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var x = 5;
- var r = /yo/;
- r.source;
-@@= skipped -25, +10 lines =@@
- n = N; // should not work, as 'number' has a different brand
- N = n; // should work
- var o = {};
--var f = function (x) { return x.length; };
-+var f = (x) => x.length;
- var r2 = /./g;
- var n2 = 34;
- var s = "yo";
- var b = true;
- var n3 = 5 || {};
--var baz = /** @class */ (function () {
-- function baz() {
-- }
-- baz.prototype.bar = function () { };
-- ;
-- return baz;
--}());
--var foo = /** @class */ (function (_super) {
-- __extends(foo, _super);
-- function foo() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- foo.prototype.bar = function () { return undefined; };
-- ;
-- return foo;
--}(baz));
-+class baz {
-+ bar() { }
-+ ;
-+}
-+class foo extends baz {
-+ bar() { return undefined; }
-+ ;
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/primitiveTypeAsClassName.js.diff b/testdata/baselines/reference/submodule/compiler/primitiveTypeAsClassName.js.diff
deleted file mode 100644
index 73751497b9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/primitiveTypeAsClassName.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.primitiveTypeAsClassName.js
-+++ new.primitiveTypeAsClassName.js
-@@= skipped -3, +3 lines =@@
- class any {}
-
- //// [primitiveTypeAsClassName.js]
--var any = /** @class */ (function () {
-- function any() {
-- }
-- return any;
--}());
-+class any {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/primitiveUnionDetection.js.diff b/testdata/baselines/reference/submodule/compiler/primitiveUnionDetection.js.diff
index 2e086f3c7f..0527e2e5d4 100644
--- a/testdata/baselines/reference/submodule/compiler/primitiveUnionDetection.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/primitiveUnionDetection.js.diff
@@ -6,8 +6,7 @@
//// [primitiveUnionDetection.js]
-"use strict";
-// Repro from #46624
--var result = getInterfaceFromString({ type: 'two' });
-+const result = getInterfaceFromString({ type: 'two' });
+ const result = getInterfaceFromString({ type: 'two' });
//// [primitiveUnionDetection.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/privacyAccessorDeclFile.js.diff b/testdata/baselines/reference/submodule/compiler/privacyAccessorDeclFile.js.diff
deleted file mode 100644
index 0164aefe7c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyAccessorDeclFile.js.diff
+++ /dev/null
@@ -1,3479 +0,0 @@
---- old.privacyAccessorDeclFile.js
-+++ new.privacyAccessorDeclFile.js
-@@= skipped -1061, +1061 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.publicModule = exports.publicClassWithPrivateModuleSetAccessorTypes = exports.publicClassWithPrivateModuleGetAccessorTypes = exports.publicClassWithWithPublicSetAccessorTypes = exports.publicClassWithWithPrivateSetAccessorTypes = exports.publicClassWithWithPublicGetAccessorTypes = exports.publicClassWithWithPrivateGetAccessorTypes = exports.publicClass = void 0;
--var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
--}());
--var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
--}());
-+class privateClass {
-+}
-+class publicClass {
-+}
- exports.publicClass = publicClass;
--var publicClassWithWithPrivateGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPrivateGetAccessorTypes;
--}());
-+class publicClassWithWithPrivateGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+}
- exports.publicClassWithWithPrivateGetAccessorTypes = publicClassWithWithPrivateGetAccessorTypes;
--var publicClassWithWithPublicGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPublicGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPublicGetAccessorTypes;
--}());
-+class publicClassWithWithPublicGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+}
- exports.publicClassWithWithPublicGetAccessorTypes = publicClassWithWithPublicGetAccessorTypes;
--var privateClassWithWithPrivateGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPrivateGetAccessorTypes;
--}());
--var privateClassWithWithPublicGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPublicGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPublicGetAccessorTypes;
--}());
--var publicClassWithWithPrivateSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPrivateSetAccessorTypes;
--}());
-+class privateClassWithWithPrivateGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+}
-+class privateClassWithWithPublicGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+}
-+class publicClassWithWithPrivateSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+}
- exports.publicClassWithWithPrivateSetAccessorTypes = publicClassWithWithPrivateSetAccessorTypes;
--var publicClassWithWithPublicSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPublicSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPublicSetAccessorTypes;
--}());
-+class publicClassWithWithPublicSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+}
- exports.publicClassWithWithPublicSetAccessorTypes = publicClassWithWithPublicSetAccessorTypes;
--var privateClassWithWithPrivateSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPrivateSetAccessorTypes;
--}());
--var privateClassWithWithPublicSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPublicSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPublicSetAccessorTypes;
--}());
--var publicClassWithPrivateModuleGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithPrivateModuleGetAccessorTypes;
--}());
-+class privateClassWithWithPrivateSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+}
-+class privateClassWithWithPublicSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+}
-+class publicClassWithPrivateModuleGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+}
- exports.publicClassWithPrivateModuleGetAccessorTypes = publicClassWithPrivateModuleGetAccessorTypes;
--var publicClassWithPrivateModuleSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithPrivateModuleSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithPrivateModuleSetAccessorTypes;
--}());
-+class publicClassWithPrivateModuleSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+}
- exports.publicClassWithPrivateModuleSetAccessorTypes = publicClassWithPrivateModuleSetAccessorTypes;
--var privateClassWithPrivateModuleGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithPrivateModuleGetAccessorTypes;
--}());
--var privateClassWithPrivateModuleSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithPrivateModuleSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithPrivateModuleSetAccessorTypes;
--}());
-+class privateClassWithPrivateModuleGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+}
-+class privateClassWithPrivateModuleSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+}
- var publicModule;
- (function (publicModule) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
- publicModule.publicClass = publicClass;
-- var publicClassWithWithPrivateGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPrivateGetAccessorTypes;
-- }());
-+ class publicClassWithWithPrivateGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
- publicModule.publicClassWithWithPrivateGetAccessorTypes = publicClassWithWithPrivateGetAccessorTypes;
-- var publicClassWithWithPublicGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPublicGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPublicGetAccessorTypes;
-- }());
-+ class publicClassWithWithPublicGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
- publicModule.publicClassWithWithPublicGetAccessorTypes = publicClassWithWithPublicGetAccessorTypes;
-- var privateClassWithWithPrivateGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPrivateGetAccessorTypes;
-- }());
-- var privateClassWithWithPublicGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPublicGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPublicGetAccessorTypes;
-- }());
-- var publicClassWithWithPrivateSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPrivateSetAccessorTypes;
-- }());
-+ class privateClassWithWithPrivateGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
-+ class privateClassWithWithPublicGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
-+ class publicClassWithWithPrivateSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
- publicModule.publicClassWithWithPrivateSetAccessorTypes = publicClassWithWithPrivateSetAccessorTypes;
-- var publicClassWithWithPublicSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPublicSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPublicSetAccessorTypes;
-- }());
-+ class publicClassWithWithPublicSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
- publicModule.publicClassWithWithPublicSetAccessorTypes = publicClassWithWithPublicSetAccessorTypes;
-- var privateClassWithWithPrivateSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPrivateSetAccessorTypes;
-- }());
-- var privateClassWithWithPublicSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPublicSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPublicSetAccessorTypes;
-- }());
-- var publicClassWithPrivateModuleGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithPrivateModuleGetAccessorTypes;
-- }());
-+ class privateClassWithWithPrivateSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
-+ class privateClassWithWithPublicSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
-+ class publicClassWithPrivateModuleGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
- publicModule.publicClassWithPrivateModuleGetAccessorTypes = publicClassWithPrivateModuleGetAccessorTypes;
-- var publicClassWithPrivateModuleSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithPrivateModuleSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithPrivateModuleSetAccessorTypes;
-- }());
-+ class publicClassWithPrivateModuleSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ }
- publicModule.publicClassWithPrivateModuleSetAccessorTypes = publicClassWithPrivateModuleSetAccessorTypes;
-- var privateClassWithPrivateModuleGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithPrivateModuleGetAccessorTypes;
-- }());
-- var privateClassWithPrivateModuleSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithPrivateModuleSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithPrivateModuleSetAccessorTypes;
-- }());
-+ class privateClassWithPrivateModuleGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
-+ class privateClassWithPrivateModuleSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ }
- })(publicModule || (exports.publicModule = publicModule = {}));
- var privateModule;
- (function (privateModule) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
- privateModule.publicClass = publicClass;
-- var publicClassWithWithPrivateGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPrivateGetAccessorTypes;
-- }());
-+ class publicClassWithWithPrivateGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
- privateModule.publicClassWithWithPrivateGetAccessorTypes = publicClassWithWithPrivateGetAccessorTypes;
-- var publicClassWithWithPublicGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPublicGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPublicGetAccessorTypes;
-- }());
-+ class publicClassWithWithPublicGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
- privateModule.publicClassWithWithPublicGetAccessorTypes = publicClassWithWithPublicGetAccessorTypes;
-- var privateClassWithWithPrivateGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPrivateGetAccessorTypes;
-- }());
-- var privateClassWithWithPublicGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPublicGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPublicGetAccessorTypes;
-- }());
-- var publicClassWithWithPrivateSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPrivateSetAccessorTypes;
-- }());
-+ class privateClassWithWithPrivateGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
-+ class privateClassWithWithPublicGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
-+ class publicClassWithWithPrivateSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
- privateModule.publicClassWithWithPrivateSetAccessorTypes = publicClassWithWithPrivateSetAccessorTypes;
-- var publicClassWithWithPublicSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPublicSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPublicSetAccessorTypes;
-- }());
-+ class publicClassWithWithPublicSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
- privateModule.publicClassWithWithPublicSetAccessorTypes = publicClassWithWithPublicSetAccessorTypes;
-- var privateClassWithWithPrivateSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPrivateSetAccessorTypes;
-- }());
-- var privateClassWithWithPublicSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPublicSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPublicSetAccessorTypes;
-- }());
-- var publicClassWithPrivateModuleGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithPrivateModuleGetAccessorTypes;
-- }());
-+ class privateClassWithWithPrivateSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
-+ class privateClassWithWithPublicSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
-+ class publicClassWithPrivateModuleGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
- privateModule.publicClassWithPrivateModuleGetAccessorTypes = publicClassWithPrivateModuleGetAccessorTypes;
-- var publicClassWithPrivateModuleSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithPrivateModuleSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithPrivateModuleSetAccessorTypes;
-- }());
-+ class publicClassWithPrivateModuleSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ }
- privateModule.publicClassWithPrivateModuleSetAccessorTypes = publicClassWithPrivateModuleSetAccessorTypes;
-- var privateClassWithPrivateModuleGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithPrivateModuleGetAccessorTypes;
-- }());
-- var privateClassWithPrivateModuleSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithPrivateModuleSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithPrivateModuleSetAccessorTypes;
-- }());
-+ class privateClassWithPrivateModuleGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
-+ class privateClassWithPrivateModuleSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ }
- })(privateModule || (privateModule = {}));
- //// [privacyAccessorDeclFile_GlobalFile.js]
--var publicClassInGlobal = /** @class */ (function () {
-- function publicClassInGlobal() {
-- }
-- return publicClassInGlobal;
--}());
--var publicClassInGlobalWithPublicGetAccessorTypes = /** @class */ (function () {
-- function publicClassInGlobalWithPublicGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassInGlobalWithPublicGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassInGlobalWithPublicGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassInGlobalWithPublicGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassInGlobalWithPublicGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassInGlobalWithPublicGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new publicClassInGlobal();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassInGlobalWithPublicGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new publicClassInGlobal();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassInGlobalWithPublicGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new publicClassInGlobal();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassInGlobalWithPublicGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new publicClassInGlobal();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassInGlobalWithPublicGetAccessorTypes;
--}());
--var publicClassInGlobalWithWithPublicSetAccessorTypes = /** @class */ (function () {
-- function publicClassInGlobalWithWithPublicSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassInGlobalWithWithPublicSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassInGlobalWithWithPublicSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassInGlobalWithWithPublicSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassInGlobalWithWithPublicSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassInGlobalWithWithPublicSetAccessorTypes;
--}());
-+class publicClassInGlobal {
-+}
-+class publicClassInGlobalWithPublicGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new publicClassInGlobal();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new publicClassInGlobal();
-+ }
-+ get myPublicMethod1() {
-+ return new publicClassInGlobal();
-+ }
-+ get myPrivateMethod1() {
-+ return new publicClassInGlobal();
-+ }
-+}
-+class publicClassInGlobalWithWithPublicSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+}
- var publicModuleInGlobal;
- (function (publicModuleInGlobal) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
- publicModuleInGlobal.publicClass = publicClass;
-- var privateModule;
-+ let privateModule;
- (function (privateModule) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
- privateModule.publicClass = publicClass;
-- var publicClassWithWithPrivateGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPrivateGetAccessorTypes;
-- }());
-+ class publicClassWithWithPrivateGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
- privateModule.publicClassWithWithPrivateGetAccessorTypes = publicClassWithWithPrivateGetAccessorTypes;
-- var publicClassWithWithPublicGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPublicGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPublicGetAccessorTypes;
-- }());
-+ class publicClassWithWithPublicGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
- privateModule.publicClassWithWithPublicGetAccessorTypes = publicClassWithWithPublicGetAccessorTypes;
-- var privateClassWithWithPrivateGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPrivateGetAccessorTypes;
-- }());
-- var privateClassWithWithPublicGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPublicGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPublicGetAccessorTypes;
-- }());
-- var publicClassWithWithPrivateSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPrivateSetAccessorTypes;
-- }());
-+ class privateClassWithWithPrivateGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
-+ class privateClassWithWithPublicGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
-+ class publicClassWithWithPrivateSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
- privateModule.publicClassWithWithPrivateSetAccessorTypes = publicClassWithWithPrivateSetAccessorTypes;
-- var publicClassWithWithPublicSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPublicSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPublicSetAccessorTypes;
-- }());
-+ class publicClassWithWithPublicSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
- privateModule.publicClassWithWithPublicSetAccessorTypes = publicClassWithWithPublicSetAccessorTypes;
-- var privateClassWithWithPrivateSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPrivateSetAccessorTypes;
-- }());
-- var privateClassWithWithPublicSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPublicSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPublicSetAccessorTypes;
-- }());
-- var publicClassWithPrivateModuleGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithPrivateModuleGetAccessorTypes;
-- }());
-+ class privateClassWithWithPrivateSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
-+ class privateClassWithWithPublicSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
-+ class publicClassWithPrivateModuleGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
- privateModule.publicClassWithPrivateModuleGetAccessorTypes = publicClassWithPrivateModuleGetAccessorTypes;
-- var publicClassWithPrivateModuleSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithPrivateModuleSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithPrivateModuleSetAccessorTypes;
-- }());
-+ class publicClassWithPrivateModuleSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ }
- privateModule.publicClassWithPrivateModuleSetAccessorTypes = publicClassWithPrivateModuleSetAccessorTypes;
-- var privateClassWithPrivateModuleGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithPrivateModuleGetAccessorTypes;
-- }());
-- var privateClassWithPrivateModuleSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithPrivateModuleSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithPrivateModuleSetAccessorTypes;
-- }());
-+ class privateClassWithPrivateModuleGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
-+ class privateClassWithPrivateModuleSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ }
- })(privateModule || (privateModule = {}));
-- var publicClassWithWithPrivateGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPrivateGetAccessorTypes;
-- }());
-+ class publicClassWithWithPrivateGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
- publicModuleInGlobal.publicClassWithWithPrivateGetAccessorTypes = publicClassWithWithPrivateGetAccessorTypes;
-- var publicClassWithWithPublicGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPublicGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPublicGetAccessorTypes;
-- }());
-+ class publicClassWithWithPublicGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
- publicModuleInGlobal.publicClassWithWithPublicGetAccessorTypes = publicClassWithWithPublicGetAccessorTypes;
-- var privateClassWithWithPrivateGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new privateClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPrivateGetAccessorTypes;
-- }());
-- var privateClassWithWithPublicGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPublicGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return new publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPublicGetAccessorTypes;
-- }());
-- var publicClassWithWithPrivateSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPrivateSetAccessorTypes;
-- }());
-+ class privateClassWithWithPrivateGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
-+ class privateClassWithWithPublicGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ static get myPrivateStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ get myPrivateMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ get myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
-+ class publicClassWithWithPrivateSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
- publicModuleInGlobal.publicClassWithWithPrivateSetAccessorTypes = publicClassWithWithPrivateSetAccessorTypes;
-- var publicClassWithWithPublicSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPublicSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPublicSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPublicSetAccessorTypes;
-- }());
-+ class publicClassWithWithPublicSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
- publicModuleInGlobal.publicClassWithWithPublicSetAccessorTypes = publicClassWithWithPublicSetAccessorTypes;
-- var privateClassWithWithPrivateSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPrivateSetAccessorTypes;
-- }());
-- var privateClassWithWithPublicSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPublicSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes, "myPrivateStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPublicSetAccessorTypes.prototype, "myPrivateMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPublicSetAccessorTypes;
-- }());
-- var publicClassWithPrivateModuleGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithPrivateModuleGetAccessorTypes;
-- }());
-+ class privateClassWithWithPrivateSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
-+ class privateClassWithWithPublicSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ static set myPrivateStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ set myPrivateMethod(param) {
-+ }
-+ }
-+ class publicClassWithPrivateModuleGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
- publicModuleInGlobal.publicClassWithPrivateModuleGetAccessorTypes = publicClassWithPrivateModuleGetAccessorTypes;
-- var publicClassWithPrivateModuleSetAccessorTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleSetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithPrivateModuleSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithPrivateModuleSetAccessorTypes;
-- }());
-+ class publicClassWithPrivateModuleSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ }
- publicModuleInGlobal.publicClassWithPrivateModuleSetAccessorTypes = publicClassWithPrivateModuleSetAccessorTypes;
-- var privateClassWithPrivateModuleGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return null;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return new privateModule.publicClass();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithPrivateModuleGetAccessorTypes;
-- }());
-- var privateClassWithPrivateModuleSetAccessorTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleSetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithPrivateModuleSetAccessorTypes, "myPublicStaticMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleSetAccessorTypes.prototype, "myPublicMethod", {
-- set: function (param) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithPrivateModuleSetAccessorTypes;
-- }());
-+ class privateClassWithPrivateModuleGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return null;
-+ }
-+ get myPublicMethod() {
-+ return null;
-+ }
-+ static get myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ get myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
-+ class privateClassWithPrivateModuleSetAccessorTypes {
-+ static set myPublicStaticMethod(param) {
-+ }
-+ set myPublicMethod(param) {
-+ }
-+ }
- })(publicModuleInGlobal || (publicModuleInGlobal = {}));
-
diff --git a/testdata/baselines/reference/submodule/compiler/privacyCannotNameAccessorDeclFile.js.diff b/testdata/baselines/reference/submodule/compiler/privacyCannotNameAccessorDeclFile.js.diff
index f7be910ac2..c5a587dbb2 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyCannotNameAccessorDeclFile.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyCannotNameAccessorDeclFile.js.diff
@@ -1,37 +1,28 @@
--- old.privacyCannotNameAccessorDeclFile.js
+++ new.privacyCannotNameAccessorDeclFile.js
-@@= skipped -140, +140 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -141, +141 lines =@@
exports.SpecializedWidget = exports.Widget1 = void 0;
exports.createWidget1 = createWidget1;
--var Widget1 = /** @class */ (function () {
-- function Widget1() {
+ class Widget1 {
+- constructor() {
- this.name = 'one';
- }
-- return Widget1;
--}());
-+class Widget1 {
+ name = 'one';
-+}
+ }
exports.Widget1 = Widget1;
function createWidget1() {
- return new Widget1();
- }
+@@= skipped -11, +9 lines =@@
var SpecializedWidget;
(function (SpecializedWidget) {
-- var Widget2 = /** @class */ (function () {
-- function Widget2() {
+ class Widget2 {
+- constructor() {
- this.name = 'one';
- }
-- return Widget2;
-- }());
-+ class Widget2 {
+ name = 'one';
-+ }
+ }
SpecializedWidget.Widget2 = Widget2;
function createWidget2() {
- return new Widget2();
-@@= skipped -32, +26 lines =@@
+@@= skipped -18, +16 lines =@@
exports.createExportedWidget3 = createExportedWidget3;
exports.createExportedWidget4 = createExportedWidget4;
///
@@ -47,277 +38,7 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.publicClassWithPrivateModuleGetAccessorTypes = exports.publicClassWithWithPrivateGetAccessorTypes = void 0;
-var exporter = require("./privacyCannotNameAccessorDeclFile_exporter");
--var publicClassWithWithPrivateGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return exporter.createExportedWidget1();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return exporter.createExportedWidget1();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return exporter.createExportedWidget1();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return exporter.createExportedWidget1();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return exporter.createExportedWidget3();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return exporter.createExportedWidget3();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return exporter.createExportedWidget3();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return exporter.createExportedWidget3();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithWithPrivateGetAccessorTypes;
--}());
+const exporter = require("./privacyCannotNameAccessorDeclFile_exporter");
-+class publicClassWithWithPrivateGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return exporter.createExportedWidget1();
-+ }
-+ static get myPrivateStaticMethod() {
-+ return exporter.createExportedWidget1();
-+ }
-+ get myPublicMethod() {
-+ return exporter.createExportedWidget1();
-+ }
-+ get myPrivateMethod() {
-+ return exporter.createExportedWidget1();
-+ }
-+ static get myPublicStaticMethod1() {
-+ return exporter.createExportedWidget3();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return exporter.createExportedWidget3();
-+ }
-+ get myPublicMethod1() {
-+ return exporter.createExportedWidget3();
-+ }
-+ get myPrivateMethod1() {
-+ return exporter.createExportedWidget3();
-+ }
-+}
- exports.publicClassWithWithPrivateGetAccessorTypes = publicClassWithWithPrivateGetAccessorTypes;
--var privateClassWithWithPrivateGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return exporter.createExportedWidget1();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod", {
-- get: function () {
-- return exporter.createExportedWidget1();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return exporter.createExportedWidget1();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod", {
-- get: function () {
-- return exporter.createExportedWidget1();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return exporter.createExportedWidget3();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes, "myPrivateStaticMethod1", {
-- get: function () {
-- return exporter.createExportedWidget3();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return exporter.createExportedWidget3();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithWithPrivateGetAccessorTypes.prototype, "myPrivateMethod1", {
-- get: function () {
-- return exporter.createExportedWidget3();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithWithPrivateGetAccessorTypes;
--}());
--var publicClassWithPrivateModuleGetAccessorTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleGetAccessorTypes() {
-- }
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return exporter.createExportedWidget2();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return exporter.createExportedWidget2();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return exporter.createExportedWidget4();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(publicClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return exporter.createExportedWidget4();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return publicClassWithPrivateModuleGetAccessorTypes;
--}());
-+class privateClassWithWithPrivateGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return exporter.createExportedWidget1();
-+ }
-+ static get myPrivateStaticMethod() {
-+ return exporter.createExportedWidget1();
-+ }
-+ get myPublicMethod() {
-+ return exporter.createExportedWidget1();
-+ }
-+ get myPrivateMethod() {
-+ return exporter.createExportedWidget1();
-+ }
-+ static get myPublicStaticMethod1() {
-+ return exporter.createExportedWidget3();
-+ }
-+ static get myPrivateStaticMethod1() {
-+ return exporter.createExportedWidget3();
-+ }
-+ get myPublicMethod1() {
-+ return exporter.createExportedWidget3();
-+ }
-+ get myPrivateMethod1() {
-+ return exporter.createExportedWidget3();
-+ }
-+}
-+class publicClassWithPrivateModuleGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return exporter.createExportedWidget2();
-+ }
-+ get myPublicMethod() {
-+ return exporter.createExportedWidget2();
-+ }
-+ static get myPublicStaticMethod1() {
-+ return exporter.createExportedWidget4();
-+ }
-+ get myPublicMethod1() {
-+ return exporter.createExportedWidget4();
-+ }
-+}
- exports.publicClassWithPrivateModuleGetAccessorTypes = publicClassWithPrivateModuleGetAccessorTypes;
--var privateClassWithPrivateModuleGetAccessorTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleGetAccessorTypes() {
-- }
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod", {
-- get: function () {
-- return exporter.createExportedWidget2();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod", {
-- get: function () {
-- return exporter.createExportedWidget2();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes, "myPublicStaticMethod1", {
-- get: function () {
-- return exporter.createExportedWidget4();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(privateClassWithPrivateModuleGetAccessorTypes.prototype, "myPublicMethod1", {
-- get: function () {
-- return exporter.createExportedWidget4();
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return privateClassWithPrivateModuleGetAccessorTypes;
--}());
-+class privateClassWithPrivateModuleGetAccessorTypes {
-+ static get myPublicStaticMethod() {
-+ return exporter.createExportedWidget2();
-+ }
-+ get myPublicMethod() {
-+ return exporter.createExportedWidget2();
-+ }
-+ static get myPublicStaticMethod1() {
-+ return exporter.createExportedWidget4();
-+ }
-+ get myPublicMethod1() {
-+ return exporter.createExportedWidget4();
-+ }
-+}
-
-
- //// [privacyCannotNameAccessorDeclFile_GlobalWidgets.d.ts]
\ No newline at end of file
+ class publicClassWithWithPrivateGetAccessorTypes {
+ static get myPublicStaticMethod() {
+ return exporter.createExportedWidget1();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyCannotNameVarTypeDeclFile.js.diff b/testdata/baselines/reference/submodule/compiler/privacyCannotNameVarTypeDeclFile.js.diff
index a7e0dcca7c..f7d0b1abd4 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyCannotNameVarTypeDeclFile.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyCannotNameVarTypeDeclFile.js.diff
@@ -1,37 +1,28 @@
--- old.privacyCannotNameVarTypeDeclFile.js
+++ new.privacyCannotNameVarTypeDeclFile.js
-@@= skipped -103, +103 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -104, +104 lines =@@
exports.SpecializedWidget = exports.Widget1 = void 0;
exports.createWidget1 = createWidget1;
--var Widget1 = /** @class */ (function () {
-- function Widget1() {
+ class Widget1 {
+- constructor() {
- this.name = 'one';
- }
-- return Widget1;
--}());
-+class Widget1 {
+ name = 'one';
-+}
+ }
exports.Widget1 = Widget1;
function createWidget1() {
- return new Widget1();
- }
+@@= skipped -11, +9 lines =@@
var SpecializedWidget;
(function (SpecializedWidget) {
-- var Widget2 = /** @class */ (function () {
-- function Widget2() {
+ class Widget2 {
+- constructor() {
- this.name = 'one';
- }
-- return Widget2;
-- }());
-+ class Widget2 {
+ name = 'one';
-+ }
+ }
SpecializedWidget.Widget2 = Widget2;
function createWidget2() {
- return new Widget2();
-@@= skipped -32, +26 lines =@@
+@@= skipped -18, +16 lines =@@
exports.createExportedWidget3 = createExportedWidget3;
exports.createExportedWidget4 = createExportedWidget4;
///
@@ -47,19 +38,21 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.publicVarWithPrivateModulePropertyTypes1 = exports.publicVarWithPrivateModulePropertyTypes = exports.publicClassWithPrivateModulePropertyTypes = exports.publicVarWithPrivatePropertyTypes1 = exports.publicVarWithPrivatePropertyTypes = exports.publicClassWithWithPrivatePropertyTypes = void 0;
-var exporter = require("./privacyCannotNameVarTypeDeclFile_exporter");
--var publicClassWithWithPrivatePropertyTypes = /** @class */ (function () {
-- function publicClassWithWithPrivatePropertyTypes() {
-- this.myPublicProperty = exporter.createExportedWidget1(); // Error
-- this.myPrivateProperty = exporter.createExportedWidget1();
-- this.myPublicProperty1 = exporter.createExportedWidget3(); // Error
-- this.myPrivateProperty1 = exporter.createExportedWidget3();
+-let publicClassWithWithPrivatePropertyTypes = (() => {
+- class publicClassWithWithPrivatePropertyTypes {
+- constructor() {
+- this.myPublicProperty = exporter.createExportedWidget1(); // Error
+- this.myPrivateProperty = exporter.createExportedWidget1();
+- this.myPublicProperty1 = exporter.createExportedWidget3(); // Error
+- this.myPrivateProperty1 = exporter.createExportedWidget3();
+- }
- }
- publicClassWithWithPrivatePropertyTypes.myPublicStaticProperty = exporter.createExportedWidget1(); // Error
- publicClassWithWithPrivatePropertyTypes.myPrivateStaticProperty = exporter.createExportedWidget1();
- publicClassWithWithPrivatePropertyTypes.myPublicStaticProperty1 = exporter.createExportedWidget3(); // Error
- publicClassWithWithPrivatePropertyTypes.myPrivateStaticProperty1 = exporter.createExportedWidget3();
- return publicClassWithWithPrivatePropertyTypes;
--}());
+-})();
+const exporter = require("./privacyCannotNameVarTypeDeclFile_exporter");
+class publicClassWithWithPrivatePropertyTypes {
+ static myPublicStaticProperty = exporter.createExportedWidget1(); // Error
@@ -72,19 +65,21 @@
+ myPrivateProperty1 = exporter.createExportedWidget3();
+}
exports.publicClassWithWithPrivatePropertyTypes = publicClassWithWithPrivatePropertyTypes;
--var privateClassWithWithPrivatePropertyTypes = /** @class */ (function () {
-- function privateClassWithWithPrivatePropertyTypes() {
-- this.myPublicProperty = exporter.createExportedWidget1();
-- this.myPrivateProperty = exporter.createExportedWidget1();
-- this.myPublicProperty1 = exporter.createExportedWidget3();
-- this.myPrivateProperty1 = exporter.createExportedWidget3();
+-let privateClassWithWithPrivatePropertyTypes = (() => {
+- class privateClassWithWithPrivatePropertyTypes {
+- constructor() {
+- this.myPublicProperty = exporter.createExportedWidget1();
+- this.myPrivateProperty = exporter.createExportedWidget1();
+- this.myPublicProperty1 = exporter.createExportedWidget3();
+- this.myPrivateProperty1 = exporter.createExportedWidget3();
+- }
- }
- privateClassWithWithPrivatePropertyTypes.myPublicStaticProperty = exporter.createExportedWidget1();
- privateClassWithWithPrivatePropertyTypes.myPrivateStaticProperty = exporter.createExportedWidget1();
- privateClassWithWithPrivatePropertyTypes.myPublicStaticProperty1 = exporter.createExportedWidget3();
- privateClassWithWithPrivatePropertyTypes.myPrivateStaticProperty1 = exporter.createExportedWidget3();
- return privateClassWithWithPrivatePropertyTypes;
--}());
+-})();
+class privateClassWithWithPrivatePropertyTypes {
+ static myPublicStaticProperty = exporter.createExportedWidget1();
+ static myPrivateStaticProperty = exporter.createExportedWidget1();
@@ -99,15 +94,17 @@
var privateVarWithPrivatePropertyTypes = exporter.createExportedWidget1();
exports.publicVarWithPrivatePropertyTypes1 = exporter.createExportedWidget3(); // Error
var privateVarWithPrivatePropertyTypes1 = exporter.createExportedWidget3();
--var publicClassWithPrivateModulePropertyTypes = /** @class */ (function () {
-- function publicClassWithPrivateModulePropertyTypes() {
-- this.myPublicProperty = exporter.createExportedWidget2(); // Error
-- this.myPublicProperty1 = exporter.createExportedWidget4(); // Error
+-let publicClassWithPrivateModulePropertyTypes = (() => {
+- class publicClassWithPrivateModulePropertyTypes {
+- constructor() {
+- this.myPublicProperty = exporter.createExportedWidget2(); // Error
+- this.myPublicProperty1 = exporter.createExportedWidget4(); // Error
+- }
- }
- publicClassWithPrivateModulePropertyTypes.myPublicStaticProperty = exporter.createExportedWidget2(); // Error
- publicClassWithPrivateModulePropertyTypes.myPublicStaticProperty1 = exporter.createExportedWidget4(); // Error
- return publicClassWithPrivateModulePropertyTypes;
--}());
+-})();
+class publicClassWithPrivateModulePropertyTypes {
+ static myPublicStaticProperty = exporter.createExportedWidget2(); // Error
+ myPublicProperty = exporter.createExportedWidget2(); // Error
@@ -117,15 +114,17 @@
exports.publicClassWithPrivateModulePropertyTypes = publicClassWithPrivateModulePropertyTypes;
exports.publicVarWithPrivateModulePropertyTypes = exporter.createExportedWidget2(); // Error
exports.publicVarWithPrivateModulePropertyTypes1 = exporter.createExportedWidget4(); // Error
--var privateClassWithPrivateModulePropertyTypes = /** @class */ (function () {
-- function privateClassWithPrivateModulePropertyTypes() {
-- this.myPublicProperty = exporter.createExportedWidget2();
-- this.myPublicProperty1 = exporter.createExportedWidget4();
+-let privateClassWithPrivateModulePropertyTypes = (() => {
+- class privateClassWithPrivateModulePropertyTypes {
+- constructor() {
+- this.myPublicProperty = exporter.createExportedWidget2();
+- this.myPublicProperty1 = exporter.createExportedWidget4();
+- }
- }
- privateClassWithPrivateModulePropertyTypes.myPublicStaticProperty = exporter.createExportedWidget2();
- privateClassWithPrivateModulePropertyTypes.myPublicStaticProperty1 = exporter.createExportedWidget4();
- return privateClassWithPrivateModulePropertyTypes;
--}());
+-})();
+class privateClassWithPrivateModulePropertyTypes {
+ static myPublicStaticProperty = exporter.createExportedWidget2();
+ myPublicProperty = exporter.createExportedWidget2();
@@ -135,7 +134,7 @@
var privateVarWithPrivateModulePropertyTypes = exporter.createExportedWidget2();
var privateVarWithPrivateModulePropertyTypes1 = exporter.createExportedWidget4();
-@@= skipped -90, +78 lines =@@
+@@= skipped -98, +78 lines =@@
export declare function createExportedWidget4(): Widgets1.SpecializedGlobalWidget.Widget4;
//// [privacyCannotNameVarTypeDeclFile_consumer.d.ts]
export declare class publicClassWithWithPrivatePropertyTypes {
diff --git a/testdata/baselines/reference/submodule/compiler/privacyCheckAnonymousFunctionParameter.js.diff b/testdata/baselines/reference/submodule/compiler/privacyCheckAnonymousFunctionParameter.js.diff
index f017032361..fe3d97cacf 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyCheckAnonymousFunctionParameter.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyCheckAnonymousFunctionParameter.js.diff
@@ -1,15 +1,6 @@
--- old.privacyCheckAnonymousFunctionParameter.js
+++ new.privacyCheckAnonymousFunctionParameter.js
-@@= skipped -29, +29 lines =@@
- }
- Query.fromDoWhile = fromDoWhile;
- function fromOrderBy() {
-- return fromDoWhile(function (test) {
-+ return fromDoWhile(test => {
- return true;
- });
- }
-@@= skipped -8, +8 lines =@@
+@@= skipped -37, +37 lines =@@
//// [privacyCheckAnonymousFunctionParameter.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/privacyCheckExternalModuleExportAssignmentOfGenericClass.js.diff b/testdata/baselines/reference/submodule/compiler/privacyCheckExternalModuleExportAssignmentOfGenericClass.js.diff
index e90a0ef84f..834e7bbd94 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyCheckExternalModuleExportAssignmentOfGenericClass.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyCheckExternalModuleExportAssignmentOfGenericClass.js.diff
@@ -1,19 +1,10 @@
--- old.privacyCheckExternalModuleExportAssignmentOfGenericClass.js
+++ new.privacyCheckExternalModuleExportAssignmentOfGenericClass.js
-@@= skipped -14, +14 lines =@@
-
+@@= skipped -15, +15 lines =@@
//// [privacyCheckExternalModuleExportAssignmentOfGenericClass_0.js]
"use strict";
--var Foo = /** @class */ (function () {
-- function Foo(a) {
-+class Foo {
+ class Foo {
+ a;
-+ constructor(a) {
+ constructor(a) {
this.a = a;
- }
-- return Foo;
--}());
-+}
- module.exports = Foo;
- //// [privacyCheckExternalModuleExportAssignmentOfGenericClass_1.js]
- "use strict";
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyCheckOnTypeParameterReferenceInConstructorParameter.js.diff b/testdata/baselines/reference/submodule/compiler/privacyCheckOnTypeParameterReferenceInConstructorParameter.js.diff
index d0211017bc..05657a439e 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyCheckOnTypeParameterReferenceInConstructorParameter.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyCheckOnTypeParameterReferenceInConstructorParameter.js.diff
@@ -8,18 +8,15 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.B = exports.A = void 0;
-- var A = /** @class */ (function () {
-- function A(callback) {
+- class A {
+- constructor(callback) {
- var child = new B(this);
- }
-- return A;
-- }());
+- }
- exports.A = A;
-- var B = /** @class */ (function () {
-- function B(parent) {
-- }
-- return B;
-- }());
+- class B {
+- constructor(parent) { }
+- }
- exports.B = B;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/privacyCheckTypeOfInvisibleModuleError.js.diff b/testdata/baselines/reference/submodule/compiler/privacyCheckTypeOfInvisibleModuleError.js.diff
deleted file mode 100644
index 8e40c2f1b3..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyCheckTypeOfInvisibleModuleError.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.privacyCheckTypeOfInvisibleModuleError.js
-+++ new.privacyCheckTypeOfInvisibleModuleError.js
-@@= skipped -12, +12 lines =@@
- //// [privacyCheckTypeOfInvisibleModuleError.js]
- var Outer;
- (function (Outer) {
-- var Inner;
-+ let Inner;
- (function (Inner) {
- })(Inner || (Inner = {}));
- })(Outer || (Outer = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyCheckTypeOfInvisibleModuleNoError.js.diff b/testdata/baselines/reference/submodule/compiler/privacyCheckTypeOfInvisibleModuleNoError.js.diff
index cbf58acb1f..03536b7702 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyCheckTypeOfInvisibleModuleNoError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyCheckTypeOfInvisibleModuleNoError.js.diff
@@ -1,15 +1,6 @@
--- old.privacyCheckTypeOfInvisibleModuleNoError.js
+++ new.privacyCheckTypeOfInvisibleModuleNoError.js
-@@= skipped -12, +12 lines =@@
- //// [privacyCheckTypeOfInvisibleModuleNoError.js]
- var Outer;
- (function (Outer) {
-- var Inner;
-+ let Inner;
- (function (Inner) {
- })(Inner || (Inner = {}));
- })(Outer || (Outer = {}));
-@@= skipped -11, +11 lines =@@
+@@= skipped -23, +23 lines =@@
namespace Inner {
var m: number;
}
diff --git a/testdata/baselines/reference/submodule/compiler/privacyClass.js.diff b/testdata/baselines/reference/submodule/compiler/privacyClass.js.diff
deleted file mode 100644
index 853e9da8c6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyClass.js.diff
+++ /dev/null
@@ -1,401 +0,0 @@
---- old.privacyClass.js
-+++ new.privacyClass.js
-@@= skipped -130, +130 lines =@@
-
- //// [privacyClass.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.glo_C12_public = exports.glo_C11_public = exports.glo_C8_public = exports.glo_C7_public = exports.glo_C4_public = exports.glo_C3_public = exports.glo_c_public = exports.m1 = void 0;
- var m1;
- (function (m1) {
-- var m1_c_public = /** @class */ (function () {
-- function m1_c_public() {
-+ class m1_c_public {
-+ f1() {
- }
-- m1_c_public.prototype.f1 = function () {
-- };
-- return m1_c_public;
-- }());
-+ }
- m1.m1_c_public = m1_c_public;
-- var m1_c_private = /** @class */ (function () {
-- function m1_c_private() {
-- }
-- return m1_c_private;
-- }());
-- var m1_C1_private = /** @class */ (function (_super) {
-- __extends(m1_C1_private, _super);
-- function m1_C1_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C1_private;
-- }(m1_c_public));
-- var m1_C2_private = /** @class */ (function (_super) {
-- __extends(m1_C2_private, _super);
-- function m1_C2_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C2_private;
-- }(m1_c_private));
-- var m1_C3_public = /** @class */ (function (_super) {
-- __extends(m1_C3_public, _super);
-- function m1_C3_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C3_public;
-- }(m1_c_public));
-+ class m1_c_private {
-+ }
-+ class m1_C1_private extends m1_c_public {
-+ }
-+ class m1_C2_private extends m1_c_private {
-+ }
-+ class m1_C3_public extends m1_c_public {
-+ }
- m1.m1_C3_public = m1_C3_public;
-- var m1_C4_public = /** @class */ (function (_super) {
-- __extends(m1_C4_public, _super);
-- function m1_C4_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C4_public;
-- }(m1_c_private));
-+ class m1_C4_public extends m1_c_private {
-+ }
- m1.m1_C4_public = m1_C4_public;
-- var m1_C5_private = /** @class */ (function () {
-- function m1_C5_private() {
-- }
-- return m1_C5_private;
-- }());
-- var m1_C6_private = /** @class */ (function () {
-- function m1_C6_private() {
-- }
-- return m1_C6_private;
-- }());
-- var m1_C7_public = /** @class */ (function () {
-- function m1_C7_public() {
-- }
-- return m1_C7_public;
-- }());
-+ class m1_C5_private {
-+ }
-+ class m1_C6_private {
-+ }
-+ class m1_C7_public {
-+ }
- m1.m1_C7_public = m1_C7_public;
-- var m1_C8_public = /** @class */ (function () {
-- function m1_C8_public() {
-- }
-- return m1_C8_public;
-- }());
-+ class m1_C8_public {
-+ }
- m1.m1_C8_public = m1_C8_public;
-- var m1_C9_private = /** @class */ (function (_super) {
-- __extends(m1_C9_private, _super);
-- function m1_C9_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C9_private;
-- }(m1_c_public));
-- var m1_C10_private = /** @class */ (function (_super) {
-- __extends(m1_C10_private, _super);
-- function m1_C10_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C10_private;
-- }(m1_c_private));
-- var m1_C11_public = /** @class */ (function (_super) {
-- __extends(m1_C11_public, _super);
-- function m1_C11_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C11_public;
-- }(m1_c_public));
-+ class m1_C9_private extends m1_c_public {
-+ }
-+ class m1_C10_private extends m1_c_private {
-+ }
-+ class m1_C11_public extends m1_c_public {
-+ }
- m1.m1_C11_public = m1_C11_public;
-- var m1_C12_public = /** @class */ (function (_super) {
-- __extends(m1_C12_public, _super);
-- function m1_C12_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C12_public;
-- }(m1_c_private));
-+ class m1_C12_public extends m1_c_private {
-+ }
- m1.m1_C12_public = m1_C12_public;
- })(m1 || (exports.m1 = m1 = {}));
- var m2;
- (function (m2) {
-- var m2_c_public = /** @class */ (function () {
-- function m2_c_public() {
-+ class m2_c_public {
-+ f1() {
- }
-- m2_c_public.prototype.f1 = function () {
-- };
-- return m2_c_public;
-- }());
-+ }
- m2.m2_c_public = m2_c_public;
-- var m2_c_private = /** @class */ (function () {
-- function m2_c_private() {
-- }
-- return m2_c_private;
-- }());
-- var m2_C1_private = /** @class */ (function (_super) {
-- __extends(m2_C1_private, _super);
-- function m2_C1_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m2_C1_private;
-- }(m2_c_public));
-- var m2_C2_private = /** @class */ (function (_super) {
-- __extends(m2_C2_private, _super);
-- function m2_C2_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m2_C2_private;
-- }(m2_c_private));
-- var m2_C3_public = /** @class */ (function (_super) {
-- __extends(m2_C3_public, _super);
-- function m2_C3_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m2_C3_public;
-- }(m2_c_public));
-+ class m2_c_private {
-+ }
-+ class m2_C1_private extends m2_c_public {
-+ }
-+ class m2_C2_private extends m2_c_private {
-+ }
-+ class m2_C3_public extends m2_c_public {
-+ }
- m2.m2_C3_public = m2_C3_public;
-- var m2_C4_public = /** @class */ (function (_super) {
-- __extends(m2_C4_public, _super);
-- function m2_C4_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m2_C4_public;
-- }(m2_c_private));
-+ class m2_C4_public extends m2_c_private {
-+ }
- m2.m2_C4_public = m2_C4_public;
-- var m2_C5_private = /** @class */ (function () {
-- function m2_C5_private() {
-- }
-- return m2_C5_private;
-- }());
-- var m2_C6_private = /** @class */ (function () {
-- function m2_C6_private() {
-- }
-- return m2_C6_private;
-- }());
-- var m2_C7_public = /** @class */ (function () {
-- function m2_C7_public() {
-- }
-- return m2_C7_public;
-- }());
-+ class m2_C5_private {
-+ }
-+ class m2_C6_private {
-+ }
-+ class m2_C7_public {
-+ }
- m2.m2_C7_public = m2_C7_public;
-- var m2_C8_public = /** @class */ (function () {
-- function m2_C8_public() {
-- }
-- return m2_C8_public;
-- }());
-+ class m2_C8_public {
-+ }
- m2.m2_C8_public = m2_C8_public;
-- var m2_C9_private = /** @class */ (function (_super) {
-- __extends(m2_C9_private, _super);
-- function m2_C9_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m2_C9_private;
-- }(m2_c_public));
-- var m2_C10_private = /** @class */ (function (_super) {
-- __extends(m2_C10_private, _super);
-- function m2_C10_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m2_C10_private;
-- }(m2_c_private));
-- var m2_C11_public = /** @class */ (function (_super) {
-- __extends(m2_C11_public, _super);
-- function m2_C11_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m2_C11_public;
-- }(m2_c_public));
-+ class m2_C9_private extends m2_c_public {
-+ }
-+ class m2_C10_private extends m2_c_private {
-+ }
-+ class m2_C11_public extends m2_c_public {
-+ }
- m2.m2_C11_public = m2_C11_public;
-- var m2_C12_public = /** @class */ (function (_super) {
-- __extends(m2_C12_public, _super);
-- function m2_C12_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m2_C12_public;
-- }(m2_c_private));
-+ class m2_C12_public extends m2_c_private {
-+ }
- m2.m2_C12_public = m2_C12_public;
- })(m2 || (m2 = {}));
--var glo_c_public = /** @class */ (function () {
-- function glo_c_public() {
-+class glo_c_public {
-+ f1() {
- }
-- glo_c_public.prototype.f1 = function () {
-- };
-- return glo_c_public;
--}());
-+}
- exports.glo_c_public = glo_c_public;
--var glo_c_private = /** @class */ (function () {
-- function glo_c_private() {
-- }
-- return glo_c_private;
--}());
--var glo_C1_private = /** @class */ (function (_super) {
-- __extends(glo_C1_private, _super);
-- function glo_C1_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return glo_C1_private;
--}(glo_c_public));
--var glo_C2_private = /** @class */ (function (_super) {
-- __extends(glo_C2_private, _super);
-- function glo_C2_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return glo_C2_private;
--}(glo_c_private));
--var glo_C3_public = /** @class */ (function (_super) {
-- __extends(glo_C3_public, _super);
-- function glo_C3_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return glo_C3_public;
--}(glo_c_public));
-+class glo_c_private {
-+}
-+class glo_C1_private extends glo_c_public {
-+}
-+class glo_C2_private extends glo_c_private {
-+}
-+class glo_C3_public extends glo_c_public {
-+}
- exports.glo_C3_public = glo_C3_public;
--var glo_C4_public = /** @class */ (function (_super) {
-- __extends(glo_C4_public, _super);
-- function glo_C4_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return glo_C4_public;
--}(glo_c_private));
-+class glo_C4_public extends glo_c_private {
-+}
- exports.glo_C4_public = glo_C4_public;
--var glo_C5_private = /** @class */ (function () {
-- function glo_C5_private() {
-- }
-- return glo_C5_private;
--}());
--var glo_C6_private = /** @class */ (function () {
-- function glo_C6_private() {
-- }
-- return glo_C6_private;
--}());
--var glo_C7_public = /** @class */ (function () {
-- function glo_C7_public() {
-- }
-- return glo_C7_public;
--}());
-+class glo_C5_private {
-+}
-+class glo_C6_private {
-+}
-+class glo_C7_public {
-+}
- exports.glo_C7_public = glo_C7_public;
--var glo_C8_public = /** @class */ (function () {
-- function glo_C8_public() {
-- }
-- return glo_C8_public;
--}());
-+class glo_C8_public {
-+}
- exports.glo_C8_public = glo_C8_public;
--var glo_C9_private = /** @class */ (function (_super) {
-- __extends(glo_C9_private, _super);
-- function glo_C9_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return glo_C9_private;
--}(glo_c_public));
--var glo_C10_private = /** @class */ (function (_super) {
-- __extends(glo_C10_private, _super);
-- function glo_C10_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return glo_C10_private;
--}(glo_c_private));
--var glo_C11_public = /** @class */ (function (_super) {
-- __extends(glo_C11_public, _super);
-- function glo_C11_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return glo_C11_public;
--}(glo_c_public));
-+class glo_C9_private extends glo_c_public {
-+}
-+class glo_C10_private extends glo_c_private {
-+}
-+class glo_C11_public extends glo_c_public {
-+}
- exports.glo_C11_public = glo_C11_public;
--var glo_C12_public = /** @class */ (function (_super) {
-- __extends(glo_C12_public, _super);
-- function glo_C12_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return glo_C12_public;
--}(glo_c_private));
-+class glo_C12_public extends glo_c_private {
-+}
- exports.glo_C12_public = glo_C12_public;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyClassExtendsClauseDeclFile.js.diff b/testdata/baselines/reference/submodule/compiler/privacyClassExtendsClauseDeclFile.js.diff
deleted file mode 100644
index 754a4b47f9..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyClassExtendsClauseDeclFile.js.diff
+++ /dev/null
@@ -1,348 +0,0 @@
---- old.privacyClassExtendsClauseDeclFile.js
-+++ new.privacyClassExtendsClauseDeclFile.js
-@@= skipped -97, +97 lines =@@
-
- //// [privacyClassExtendsClauseDeclFile_externalModule.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.publicClassExtendingFromPrivateModuleClass = exports.publicClassExtendingPrivateClass = exports.publicClassExtendingPublicClass = exports.publicClass = exports.publicModule = void 0;
- var publicModule;
- (function (publicModule) {
-- var publicClassInPublicModule = /** @class */ (function () {
-- function publicClassInPublicModule() {
-+ class publicClassInPublicModule {
-+ f1() {
- }
-- publicClassInPublicModule.prototype.f1 = function () {
-- };
-- return publicClassInPublicModule;
-- }());
-+ }
- publicModule.publicClassInPublicModule = publicClassInPublicModule;
-- var privateClassInPublicModule = /** @class */ (function () {
-- function privateClassInPublicModule() {
-- }
-- return privateClassInPublicModule;
-- }());
-- var privateClassExtendingPublicClassInModule = /** @class */ (function (_super) {
-- __extends(privateClassExtendingPublicClassInModule, _super);
-- function privateClassExtendingPublicClassInModule() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return privateClassExtendingPublicClassInModule;
-- }(publicClassInPublicModule));
-- var privateClassExtendingPrivateClassInModule = /** @class */ (function (_super) {
-- __extends(privateClassExtendingPrivateClassInModule, _super);
-- function privateClassExtendingPrivateClassInModule() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return privateClassExtendingPrivateClassInModule;
-- }(privateClassInPublicModule));
-- var publicClassExtendingPublicClassInModule = /** @class */ (function (_super) {
-- __extends(publicClassExtendingPublicClassInModule, _super);
-- function publicClassExtendingPublicClassInModule() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return publicClassExtendingPublicClassInModule;
-- }(publicClassInPublicModule));
-+ class privateClassInPublicModule {
-+ }
-+ class privateClassExtendingPublicClassInModule extends publicClassInPublicModule {
-+ }
-+ class privateClassExtendingPrivateClassInModule extends privateClassInPublicModule {
-+ }
-+ class publicClassExtendingPublicClassInModule extends publicClassInPublicModule {
-+ }
- publicModule.publicClassExtendingPublicClassInModule = publicClassExtendingPublicClassInModule;
-- var publicClassExtendingPrivateClassInModule = /** @class */ (function (_super) {
-- __extends(publicClassExtendingPrivateClassInModule, _super);
-- function publicClassExtendingPrivateClassInModule() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return publicClassExtendingPrivateClassInModule;
-- }(privateClassInPublicModule));
-+ class publicClassExtendingPrivateClassInModule extends privateClassInPublicModule {
-+ }
- publicModule.publicClassExtendingPrivateClassInModule = publicClassExtendingPrivateClassInModule;
-- var privateClassExtendingFromPrivateModuleClass = /** @class */ (function (_super) {
-- __extends(privateClassExtendingFromPrivateModuleClass, _super);
-- function privateClassExtendingFromPrivateModuleClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return privateClassExtendingFromPrivateModuleClass;
-- }(privateModule.publicClassInPrivateModule));
-- var publicClassExtendingFromPrivateModuleClass = /** @class */ (function (_super) {
-- __extends(publicClassExtendingFromPrivateModuleClass, _super);
-- function publicClassExtendingFromPrivateModuleClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return publicClassExtendingFromPrivateModuleClass;
-- }(privateModule.publicClassInPrivateModule));
-+ class privateClassExtendingFromPrivateModuleClass extends privateModule.publicClassInPrivateModule {
-+ }
-+ class publicClassExtendingFromPrivateModuleClass extends privateModule.publicClassInPrivateModule {
-+ }
- publicModule.publicClassExtendingFromPrivateModuleClass = publicClassExtendingFromPrivateModuleClass;
- })(publicModule || (exports.publicModule = publicModule = {}));
- var privateModule;
- (function (privateModule) {
-- var publicClassInPrivateModule = /** @class */ (function () {
-- function publicClassInPrivateModule() {
-+ class publicClassInPrivateModule {
-+ f1() {
- }
-- publicClassInPrivateModule.prototype.f1 = function () {
-- };
-- return publicClassInPrivateModule;
-- }());
-+ }
- privateModule.publicClassInPrivateModule = publicClassInPrivateModule;
-- var privateClassInPrivateModule = /** @class */ (function () {
-- function privateClassInPrivateModule() {
-- }
-- return privateClassInPrivateModule;
-- }());
-- var privateClassExtendingPublicClassInModule = /** @class */ (function (_super) {
-- __extends(privateClassExtendingPublicClassInModule, _super);
-- function privateClassExtendingPublicClassInModule() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return privateClassExtendingPublicClassInModule;
-- }(publicClassInPrivateModule));
-- var privateClassExtendingPrivateClassInModule = /** @class */ (function (_super) {
-- __extends(privateClassExtendingPrivateClassInModule, _super);
-- function privateClassExtendingPrivateClassInModule() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return privateClassExtendingPrivateClassInModule;
-- }(privateClassInPrivateModule));
-- var publicClassExtendingPublicClassInModule = /** @class */ (function (_super) {
-- __extends(publicClassExtendingPublicClassInModule, _super);
-- function publicClassExtendingPublicClassInModule() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return publicClassExtendingPublicClassInModule;
-- }(publicClassInPrivateModule));
-+ class privateClassInPrivateModule {
-+ }
-+ class privateClassExtendingPublicClassInModule extends publicClassInPrivateModule {
-+ }
-+ class privateClassExtendingPrivateClassInModule extends privateClassInPrivateModule {
-+ }
-+ class publicClassExtendingPublicClassInModule extends publicClassInPrivateModule {
-+ }
- privateModule.publicClassExtendingPublicClassInModule = publicClassExtendingPublicClassInModule;
-- var publicClassExtendingPrivateClassInModule = /** @class */ (function (_super) {
-- __extends(publicClassExtendingPrivateClassInModule, _super);
-- function publicClassExtendingPrivateClassInModule() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return publicClassExtendingPrivateClassInModule;
-- }(privateClassInPrivateModule));
-+ class publicClassExtendingPrivateClassInModule extends privateClassInPrivateModule {
-+ }
- privateModule.publicClassExtendingPrivateClassInModule = publicClassExtendingPrivateClassInModule;
-- var privateClassExtendingFromPrivateModuleClass = /** @class */ (function (_super) {
-- __extends(privateClassExtendingFromPrivateModuleClass, _super);
-- function privateClassExtendingFromPrivateModuleClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return privateClassExtendingFromPrivateModuleClass;
-- }(privateModule.publicClassInPrivateModule));
-- var publicClassExtendingFromPrivateModuleClass = /** @class */ (function (_super) {
-- __extends(publicClassExtendingFromPrivateModuleClass, _super);
-- function publicClassExtendingFromPrivateModuleClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return publicClassExtendingFromPrivateModuleClass;
-- }(privateModule.publicClassInPrivateModule));
-+ class privateClassExtendingFromPrivateModuleClass extends privateModule.publicClassInPrivateModule {
-+ }
-+ class publicClassExtendingFromPrivateModuleClass extends privateModule.publicClassInPrivateModule {
-+ }
- privateModule.publicClassExtendingFromPrivateModuleClass = publicClassExtendingFromPrivateModuleClass;
- })(privateModule || (privateModule = {}));
--var publicClass = /** @class */ (function () {
-- function publicClass() {
-+class publicClass {
-+ f1() {
- }
-- publicClass.prototype.f1 = function () {
-- };
-- return publicClass;
--}());
-+}
- exports.publicClass = publicClass;
--var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
--}());
--var privateClassExtendingPublicClass = /** @class */ (function (_super) {
-- __extends(privateClassExtendingPublicClass, _super);
-- function privateClassExtendingPublicClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return privateClassExtendingPublicClass;
--}(publicClass));
--var privateClassExtendingPrivateClassInModule = /** @class */ (function (_super) {
-- __extends(privateClassExtendingPrivateClassInModule, _super);
-- function privateClassExtendingPrivateClassInModule() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return privateClassExtendingPrivateClassInModule;
--}(privateClass));
--var publicClassExtendingPublicClass = /** @class */ (function (_super) {
-- __extends(publicClassExtendingPublicClass, _super);
-- function publicClassExtendingPublicClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return publicClassExtendingPublicClass;
--}(publicClass));
-+class privateClass {
-+}
-+class privateClassExtendingPublicClass extends publicClass {
-+}
-+class privateClassExtendingPrivateClassInModule extends privateClass {
-+}
-+class publicClassExtendingPublicClass extends publicClass {
-+}
- exports.publicClassExtendingPublicClass = publicClassExtendingPublicClass;
--var publicClassExtendingPrivateClass = /** @class */ (function (_super) {
-- __extends(publicClassExtendingPrivateClass, _super);
-- function publicClassExtendingPrivateClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return publicClassExtendingPrivateClass;
--}(privateClass));
-+class publicClassExtendingPrivateClass extends privateClass {
-+}
- exports.publicClassExtendingPrivateClass = publicClassExtendingPrivateClass;
--var privateClassExtendingFromPrivateModuleClass = /** @class */ (function (_super) {
-- __extends(privateClassExtendingFromPrivateModuleClass, _super);
-- function privateClassExtendingFromPrivateModuleClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return privateClassExtendingFromPrivateModuleClass;
--}(privateModule.publicClassInPrivateModule));
--var publicClassExtendingFromPrivateModuleClass = /** @class */ (function (_super) {
-- __extends(publicClassExtendingFromPrivateModuleClass, _super);
-- function publicClassExtendingFromPrivateModuleClass() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return publicClassExtendingFromPrivateModuleClass;
--}(privateModule.publicClassInPrivateModule));
-+class privateClassExtendingFromPrivateModuleClass extends privateModule.publicClassInPrivateModule {
-+}
-+class publicClassExtendingFromPrivateModuleClass extends privateModule.publicClassInPrivateModule {
-+}
- exports.publicClassExtendingFromPrivateModuleClass = publicClassExtendingFromPrivateModuleClass;
- //// [privacyClassExtendsClauseDeclFile_GlobalFile.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var publicModuleInGlobal;
- (function (publicModuleInGlobal) {
-- var publicClassInPublicModule = /** @class */ (function () {
-- function publicClassInPublicModule() {
-+ class publicClassInPublicModule {
-+ f1() {
- }
-- publicClassInPublicModule.prototype.f1 = function () {
-- };
-- return publicClassInPublicModule;
-- }());
-+ }
- publicModuleInGlobal.publicClassInPublicModule = publicClassInPublicModule;
-- var privateClassInPublicModule = /** @class */ (function () {
-- function privateClassInPublicModule() {
-- }
-- return privateClassInPublicModule;
-- }());
-- var privateClassExtendingPublicClassInModule = /** @class */ (function (_super) {
-- __extends(privateClassExtendingPublicClassInModule, _super);
-- function privateClassExtendingPublicClassInModule() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return privateClassExtendingPublicClassInModule;
-- }(publicClassInPublicModule));
-- var privateClassExtendingPrivateClassInModule = /** @class */ (function (_super) {
-- __extends(privateClassExtendingPrivateClassInModule, _super);
-- function privateClassExtendingPrivateClassInModule() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return privateClassExtendingPrivateClassInModule;
-- }(privateClassInPublicModule));
-- var publicClassExtendingPublicClassInModule = /** @class */ (function (_super) {
-- __extends(publicClassExtendingPublicClassInModule, _super);
-- function publicClassExtendingPublicClassInModule() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return publicClassExtendingPublicClassInModule;
-- }(publicClassInPublicModule));
-+ class privateClassInPublicModule {
-+ }
-+ class privateClassExtendingPublicClassInModule extends publicClassInPublicModule {
-+ }
-+ class privateClassExtendingPrivateClassInModule extends privateClassInPublicModule {
-+ }
-+ class publicClassExtendingPublicClassInModule extends publicClassInPublicModule {
-+ }
- publicModuleInGlobal.publicClassExtendingPublicClassInModule = publicClassExtendingPublicClassInModule;
-- var publicClassExtendingPrivateClassInModule = /** @class */ (function (_super) {
-- __extends(publicClassExtendingPrivateClassInModule, _super);
-- function publicClassExtendingPrivateClassInModule() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return publicClassExtendingPrivateClassInModule;
-- }(privateClassInPublicModule));
-+ class publicClassExtendingPrivateClassInModule extends privateClassInPublicModule {
-+ }
- publicModuleInGlobal.publicClassExtendingPrivateClassInModule = publicClassExtendingPrivateClassInModule;
- })(publicModuleInGlobal || (publicModuleInGlobal = {}));
--var publicClassInGlobal = /** @class */ (function () {
-- function publicClassInGlobal() {
-- }
-- return publicClassInGlobal;
--}());
--var publicClassExtendingPublicClassInGlobal = /** @class */ (function (_super) {
-- __extends(publicClassExtendingPublicClassInGlobal, _super);
-- function publicClassExtendingPublicClassInGlobal() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return publicClassExtendingPublicClassInGlobal;
--}(publicClassInGlobal));
-+class publicClassInGlobal {
-+}
-+class publicClassExtendingPublicClassInGlobal extends publicClassInGlobal {
-+}
-
-
- //// [privacyClassExtendsClauseDeclFile_externalModule.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyClassImplementsClauseDeclFile.js.diff b/testdata/baselines/reference/submodule/compiler/privacyClassImplementsClauseDeclFile.js.diff
deleted file mode 100644
index c04f85c0fb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyClassImplementsClauseDeclFile.js.diff
+++ /dev/null
@@ -1,197 +0,0 @@
---- old.privacyClassImplementsClauseDeclFile.js
-+++ new.privacyClassImplementsClauseDeclFile.js
-@@= skipped -98, +98 lines =@@
- exports.publicClassImplementingFromPrivateModuleInterface = exports.publicClassImplementingPrivateInterface = exports.publicClassImplementingPublicInterface = exports.publicModule = void 0;
- var publicModule;
- (function (publicModule) {
-- var privateClassImplementingPublicInterfaceInModule = /** @class */ (function () {
-- function privateClassImplementingPublicInterfaceInModule() {
-- }
-- return privateClassImplementingPublicInterfaceInModule;
-- }());
-- var privateClassImplementingPrivateInterfaceInModule = /** @class */ (function () {
-- function privateClassImplementingPrivateInterfaceInModule() {
-- }
-- return privateClassImplementingPrivateInterfaceInModule;
-- }());
-- var publicClassImplementingPublicInterfaceInModule = /** @class */ (function () {
-- function publicClassImplementingPublicInterfaceInModule() {
-- }
-- return publicClassImplementingPublicInterfaceInModule;
-- }());
-+ class privateClassImplementingPublicInterfaceInModule {
-+ }
-+ class privateClassImplementingPrivateInterfaceInModule {
-+ }
-+ class publicClassImplementingPublicInterfaceInModule {
-+ }
- publicModule.publicClassImplementingPublicInterfaceInModule = publicClassImplementingPublicInterfaceInModule;
-- var publicClassImplementingPrivateInterfaceInModule = /** @class */ (function () {
-- function publicClassImplementingPrivateInterfaceInModule() {
-- }
-- return publicClassImplementingPrivateInterfaceInModule;
-- }());
-+ class publicClassImplementingPrivateInterfaceInModule {
-+ }
- publicModule.publicClassImplementingPrivateInterfaceInModule = publicClassImplementingPrivateInterfaceInModule;
-- var privateClassImplementingFromPrivateModuleInterface = /** @class */ (function () {
-- function privateClassImplementingFromPrivateModuleInterface() {
-- }
-- return privateClassImplementingFromPrivateModuleInterface;
-- }());
-- var publicClassImplementingFromPrivateModuleInterface = /** @class */ (function () {
-- function publicClassImplementingFromPrivateModuleInterface() {
-- }
-- return publicClassImplementingFromPrivateModuleInterface;
-- }());
-+ class privateClassImplementingFromPrivateModuleInterface {
-+ }
-+ class publicClassImplementingFromPrivateModuleInterface {
-+ }
- publicModule.publicClassImplementingFromPrivateModuleInterface = publicClassImplementingFromPrivateModuleInterface;
-- var publicClassImplementingPrivateAndPublicInterface = /** @class */ (function () {
-- function publicClassImplementingPrivateAndPublicInterface() {
-- }
-- return publicClassImplementingPrivateAndPublicInterface;
-- }());
-+ class publicClassImplementingPrivateAndPublicInterface {
-+ }
- publicModule.publicClassImplementingPrivateAndPublicInterface = publicClassImplementingPrivateAndPublicInterface;
- })(publicModule || (exports.publicModule = publicModule = {}));
- var privateModule;
- (function (privateModule) {
-- var privateClassImplementingPublicInterfaceInModule = /** @class */ (function () {
-- function privateClassImplementingPublicInterfaceInModule() {
-- }
-- return privateClassImplementingPublicInterfaceInModule;
-- }());
-- var privateClassImplementingPrivateInterfaceInModule = /** @class */ (function () {
-- function privateClassImplementingPrivateInterfaceInModule() {
-- }
-- return privateClassImplementingPrivateInterfaceInModule;
-- }());
-- var publicClassImplementingPublicInterfaceInModule = /** @class */ (function () {
-- function publicClassImplementingPublicInterfaceInModule() {
-- }
-- return publicClassImplementingPublicInterfaceInModule;
-- }());
-+ class privateClassImplementingPublicInterfaceInModule {
-+ }
-+ class privateClassImplementingPrivateInterfaceInModule {
-+ }
-+ class publicClassImplementingPublicInterfaceInModule {
-+ }
- privateModule.publicClassImplementingPublicInterfaceInModule = publicClassImplementingPublicInterfaceInModule;
-- var publicClassImplementingPrivateInterfaceInModule = /** @class */ (function () {
-- function publicClassImplementingPrivateInterfaceInModule() {
-- }
-- return publicClassImplementingPrivateInterfaceInModule;
-- }());
-+ class publicClassImplementingPrivateInterfaceInModule {
-+ }
- privateModule.publicClassImplementingPrivateInterfaceInModule = publicClassImplementingPrivateInterfaceInModule;
-- var privateClassImplementingFromPrivateModuleInterface = /** @class */ (function () {
-- function privateClassImplementingFromPrivateModuleInterface() {
-- }
-- return privateClassImplementingFromPrivateModuleInterface;
-- }());
-- var publicClassImplementingFromPrivateModuleInterface = /** @class */ (function () {
-- function publicClassImplementingFromPrivateModuleInterface() {
-- }
-- return publicClassImplementingFromPrivateModuleInterface;
-- }());
-+ class privateClassImplementingFromPrivateModuleInterface {
-+ }
-+ class publicClassImplementingFromPrivateModuleInterface {
-+ }
- privateModule.publicClassImplementingFromPrivateModuleInterface = publicClassImplementingFromPrivateModuleInterface;
- })(privateModule || (privateModule = {}));
--var privateClassImplementingPublicInterface = /** @class */ (function () {
-- function privateClassImplementingPublicInterface() {
-- }
-- return privateClassImplementingPublicInterface;
--}());
--var privateClassImplementingPrivateInterfaceInModule = /** @class */ (function () {
-- function privateClassImplementingPrivateInterfaceInModule() {
-- }
-- return privateClassImplementingPrivateInterfaceInModule;
--}());
--var publicClassImplementingPublicInterface = /** @class */ (function () {
-- function publicClassImplementingPublicInterface() {
-- }
-- return publicClassImplementingPublicInterface;
--}());
-+class privateClassImplementingPublicInterface {
-+}
-+class privateClassImplementingPrivateInterfaceInModule {
-+}
-+class publicClassImplementingPublicInterface {
-+}
- exports.publicClassImplementingPublicInterface = publicClassImplementingPublicInterface;
--var publicClassImplementingPrivateInterface = /** @class */ (function () {
-- function publicClassImplementingPrivateInterface() {
-- }
-- return publicClassImplementingPrivateInterface;
--}());
-+class publicClassImplementingPrivateInterface {
-+}
- exports.publicClassImplementingPrivateInterface = publicClassImplementingPrivateInterface;
--var privateClassImplementingFromPrivateModuleInterface = /** @class */ (function () {
-- function privateClassImplementingFromPrivateModuleInterface() {
-- }
-- return privateClassImplementingFromPrivateModuleInterface;
--}());
--var publicClassImplementingFromPrivateModuleInterface = /** @class */ (function () {
-- function publicClassImplementingFromPrivateModuleInterface() {
-- }
-- return publicClassImplementingFromPrivateModuleInterface;
--}());
-+class privateClassImplementingFromPrivateModuleInterface {
-+}
-+class publicClassImplementingFromPrivateModuleInterface {
-+}
- exports.publicClassImplementingFromPrivateModuleInterface = publicClassImplementingFromPrivateModuleInterface;
- //// [privacyClassImplementsClauseDeclFile_GlobalFile.js]
- var publicModuleInGlobal;
- (function (publicModuleInGlobal) {
-- var privateClassImplementingPublicInterfaceInModule = /** @class */ (function () {
-- function privateClassImplementingPublicInterfaceInModule() {
-- }
-- return privateClassImplementingPublicInterfaceInModule;
-- }());
-- var privateClassImplementingPrivateInterfaceInModule = /** @class */ (function () {
-- function privateClassImplementingPrivateInterfaceInModule() {
-- }
-- return privateClassImplementingPrivateInterfaceInModule;
-- }());
-- var publicClassImplementingPublicInterfaceInModule = /** @class */ (function () {
-- function publicClassImplementingPublicInterfaceInModule() {
-- }
-- return publicClassImplementingPublicInterfaceInModule;
-- }());
-+ class privateClassImplementingPublicInterfaceInModule {
-+ }
-+ class privateClassImplementingPrivateInterfaceInModule {
-+ }
-+ class publicClassImplementingPublicInterfaceInModule {
-+ }
- publicModuleInGlobal.publicClassImplementingPublicInterfaceInModule = publicClassImplementingPublicInterfaceInModule;
-- var publicClassImplementingPrivateInterfaceInModule = /** @class */ (function () {
-- function publicClassImplementingPrivateInterfaceInModule() {
-- }
-- return publicClassImplementingPrivateInterfaceInModule;
-- }());
-+ class publicClassImplementingPrivateInterfaceInModule {
-+ }
- publicModuleInGlobal.publicClassImplementingPrivateInterfaceInModule = publicClassImplementingPrivateInterfaceInModule;
- })(publicModuleInGlobal || (publicModuleInGlobal = {}));
--var publicClassImplementingPublicInterfaceInGlobal = /** @class */ (function () {
-- function publicClassImplementingPublicInterfaceInGlobal() {
-- }
-- return publicClassImplementingPublicInterfaceInGlobal;
--}());
-+class publicClassImplementingPublicInterfaceInGlobal {
-+}
-
-
- //// [privacyClassImplementsClauseDeclFile_externalModule.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyFunc.js.diff b/testdata/baselines/reference/submodule/compiler/privacyFunc.js.diff
deleted file mode 100644
index cc0e8cf6e7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyFunc.js.diff
+++ /dev/null
@@ -1,271 +0,0 @@
---- old.privacyFunc.js
-+++ new.privacyFunc.js
-@@= skipped -232, +232 lines =@@
- //// [privacyFunc.js]
- var m1;
- (function (m1) {
-- var C1_public = /** @class */ (function () {
-- function C1_public() {
-+ class C1_public {
-+ f1() {
- }
-- C1_public.prototype.f1 = function () {
-- };
-- return C1_public;
-- }());
-+ }
- m1.C1_public = C1_public;
-- var C2_private = /** @class */ (function () {
-- function C2_private() {
-- }
-- return C2_private;
-- }());
-- var C3_public = /** @class */ (function () {
-- function C3_public(m1_c3_c1_2) {
-- }
-- C3_public.prototype.f1_private = function (m1_c3_f1_arg) {
-- };
-- C3_public.prototype.f2_public = function (m1_c3_f2_arg) {
-- };
-- C3_public.prototype.f3_private = function (m1_c3_f3_arg) {
-- };
-- C3_public.prototype.f4_public = function (m1_c3_f4_arg) {
-- };
-- C3_public.prototype.f5_private = function () {
-- return new C1_public();
-- };
-- C3_public.prototype.f6_public = function () {
-- return new C1_public();
-- };
-- C3_public.prototype.f7_private = function () {
-+ class C2_private {
-+ }
-+ class C3_public {
-+ constructor(m1_c3_c1_2) {
-+ }
-+ f1_private(m1_c3_f1_arg) {
-+ }
-+ f2_public(m1_c3_f2_arg) {
-+ }
-+ f3_private(m1_c3_f3_arg) {
-+ }
-+ f4_public(m1_c3_f4_arg) {
-+ }
-+ f5_private() {
-+ return new C1_public();
-+ }
-+ f6_public() {
-+ return new C1_public();
-+ }
-+ f7_private() {
- return new C2_private();
-- };
-- C3_public.prototype.f8_public = function () {
-+ }
-+ f8_public() {
- return new C2_private(); // error
-- };
-- C3_public.prototype.f9_private = function () {
-- return new C1_public();
-- };
-- C3_public.prototype.f10_public = function () {
-- return new C1_public();
-- };
-- C3_public.prototype.f11_private = function () {
-+ }
-+ f9_private() {
-+ return new C1_public();
-+ }
-+ f10_public() {
-+ return new C1_public();
-+ }
-+ f11_private() {
- return new C2_private();
-- };
-- C3_public.prototype.f12_public = function () {
-+ }
-+ f12_public() {
- return new C2_private(); //error
-- };
-- return C3_public;
-- }());
-+ }
-+ }
- m1.C3_public = C3_public;
-- var C4_private = /** @class */ (function () {
-- function C4_private(m1_c4_c1_2) {
-- }
-- C4_private.prototype.f1_private = function (m1_c4_f1_arg) {
-- };
-- C4_private.prototype.f2_public = function (m1_c4_f2_arg) {
-- };
-- C4_private.prototype.f3_private = function (m1_c4_f3_arg) {
-- };
-- C4_private.prototype.f4_public = function (m1_c4_f4_arg) {
-- };
-- C4_private.prototype.f5_private = function () {
-- return new C1_public();
-- };
-- C4_private.prototype.f6_public = function () {
-- return new C1_public();
-- };
-- C4_private.prototype.f7_private = function () {
-- return new C2_private();
-- };
-- C4_private.prototype.f8_public = function () {
-- return new C2_private();
-- };
-- C4_private.prototype.f9_private = function () {
-- return new C1_public();
-- };
-- C4_private.prototype.f10_public = function () {
-- return new C1_public();
-- };
-- C4_private.prototype.f11_private = function () {
-- return new C2_private();
-- };
-- C4_private.prototype.f12_public = function () {
-- return new C2_private();
-- };
-- return C4_private;
-- }());
-- var C5_public = /** @class */ (function () {
-- function C5_public(m1_c5_c) {
-- }
-- return C5_public;
-- }());
-+ class C4_private {
-+ constructor(m1_c4_c1_2) {
-+ }
-+ f1_private(m1_c4_f1_arg) {
-+ }
-+ f2_public(m1_c4_f2_arg) {
-+ }
-+ f3_private(m1_c4_f3_arg) {
-+ }
-+ f4_public(m1_c4_f4_arg) {
-+ }
-+ f5_private() {
-+ return new C1_public();
-+ }
-+ f6_public() {
-+ return new C1_public();
-+ }
-+ f7_private() {
-+ return new C2_private();
-+ }
-+ f8_public() {
-+ return new C2_private();
-+ }
-+ f9_private() {
-+ return new C1_public();
-+ }
-+ f10_public() {
-+ return new C1_public();
-+ }
-+ f11_private() {
-+ return new C2_private();
-+ }
-+ f12_public() {
-+ return new C2_private();
-+ }
-+ }
-+ class C5_public {
-+ constructor(m1_c5_c) {
-+ }
-+ }
- m1.C5_public = C5_public;
-- var C6_private = /** @class */ (function () {
-- function C6_private(m1_c6_c) {
-- }
-- return C6_private;
-- }());
-- var C7_public = /** @class */ (function () {
-- function C7_public(m1_c7_c) {
-- }
-- return C7_public;
-- }());
-+ class C6_private {
-+ constructor(m1_c6_c) {
-+ }
-+ }
-+ class C7_public {
-+ constructor(m1_c7_c) {
-+ }
-+ }
- m1.C7_public = C7_public;
-- var C8_private = /** @class */ (function () {
-- function C8_private(m1_c8_c) {
-+ class C8_private {
-+ constructor(m1_c8_c) {
- }
-- return C8_private;
-- }());
-+ }
- function f1_public(m1_f1_arg) {
- }
- function f2_public(m1_f2_arg) {
-@@= skipped -149, +137 lines =@@
- }
- m1.f12_public = f12_public;
- })(m1 || (m1 = {}));
--var C6_public = /** @class */ (function () {
-- function C6_public() {
-- }
-- return C6_public;
--}());
--var C7_public = /** @class */ (function () {
-- function C7_public(c7_c1_2) {
-- }
-- C7_public.prototype.f1_private = function (c7_f1_arg) {
-- };
-- C7_public.prototype.f2_public = function (c7_f2_arg) {
-- };
-- C7_public.prototype.f5_private = function () {
-- return new C6_public();
-- };
-- C7_public.prototype.f6_public = function () {
-- return new C6_public();
-- };
-- C7_public.prototype.f9_private = function () {
-- return new C6_public();
-- };
-- C7_public.prototype.f10_public = function () {
-- return new C6_public();
-- };
-- return C7_public;
--}());
--var C9_public = /** @class */ (function () {
-- function C9_public(c9_c) {
-- }
-- return C9_public;
--}());
-+class C6_public {
-+}
-+class C7_public {
-+ constructor(c7_c1_2) {
-+ }
-+ f1_private(c7_f1_arg) {
-+ }
-+ f2_public(c7_f2_arg) {
-+ }
-+ f5_private() {
-+ return new C6_public();
-+ }
-+ f6_public() {
-+ return new C6_public();
-+ }
-+ f9_private() {
-+ return new C6_public();
-+ }
-+ f10_public() {
-+ return new C6_public();
-+ }
-+}
-+class C9_public {
-+ constructor(c9_c) {
-+ }
-+}
- function f4_public(f4_arg) {
- }
- function f6_public() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyFunctionCannotNameParameterTypeDeclFile.js.diff b/testdata/baselines/reference/submodule/compiler/privacyFunctionCannotNameParameterTypeDeclFile.js.diff
index d4e6f878f2..18d42cceb8 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyFunctionCannotNameParameterTypeDeclFile.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyFunctionCannotNameParameterTypeDeclFile.js.diff
@@ -1,37 +1,28 @@
--- old.privacyFunctionCannotNameParameterTypeDeclFile.js
+++ new.privacyFunctionCannotNameParameterTypeDeclFile.js
-@@= skipped -159, +159 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -160, +160 lines =@@
exports.SpecializedWidget = exports.Widget1 = void 0;
exports.createWidget1 = createWidget1;
--var Widget1 = /** @class */ (function () {
-- function Widget1() {
+ class Widget1 {
+- constructor() {
- this.name = 'one';
- }
-- return Widget1;
--}());
-+class Widget1 {
+ name = 'one';
-+}
+ }
exports.Widget1 = Widget1;
function createWidget1() {
- return new Widget1();
- }
+@@= skipped -11, +9 lines =@@
var SpecializedWidget;
(function (SpecializedWidget) {
-- var Widget2 = /** @class */ (function () {
-- function Widget2() {
+ class Widget2 {
+- constructor() {
- this.name = 'one';
- }
-- return Widget2;
-- }());
-+ class Widget2 {
+ name = 'one';
-+ }
+ }
SpecializedWidget.Widget2 = Widget2;
function createWidget2() {
- return new Widget2();
-@@= skipped -32, +26 lines =@@
+@@= skipped -18, +16 lines =@@
exports.createExportedWidget3 = createExportedWidget3;
exports.createExportedWidget4 = createExportedWidget4;
///
@@ -47,303 +38,73 @@
exports.publicFunctionWithPrivateModuleParameterTypes = publicFunctionWithPrivateModuleParameterTypes;
exports.publicFunctionWithPrivateModuleParameterTypes1 = publicFunctionWithPrivateModuleParameterTypes1;
-var exporter = require("./privacyFunctionCannotNameParameterTypeDeclFile_exporter");
--var publicClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateParmeterTypes(param, param1, param2) {
-- if (param === void 0) { param = exporter.createExportedWidget1(); }
-- if (param1 === void 0) { param1 = exporter.createExportedWidget1(); }
-- if (param2 === void 0) { param2 = exporter.createExportedWidget1(); }
+const exporter = require("./privacyFunctionCannotNameParameterTypeDeclFile_exporter");
-+class publicClassWithWithPrivateParmeterTypes {
+ class publicClassWithWithPrivateParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param = exporter.createExportedWidget1()) {
-+ }
-+ static myPrivateStaticMethod(param = exporter.createExportedWidget1()) {
-+ }
-+ myPublicMethod(param = exporter.createExportedWidget1()) {
-+ }
-+ myPrivateMethod(param = exporter.createExportedWidget1()) {
-+ }
-+ constructor(param = exporter.createExportedWidget1(), param1 = exporter.createExportedWidget1(), param2 = exporter.createExportedWidget1()) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param = exporter.createExportedWidget1()) {
}
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget1(); }
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget1(); }
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget1(); }
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget1(); }
-- };
-- return publicClassWithWithPrivateParmeterTypes;
--}());
-+}
+ static myPrivateStaticMethod(param = exporter.createExportedWidget1()) {
+@@= skipped -17, +19 lines =@@
+ }
exports.publicClassWithWithPrivateParmeterTypes = publicClassWithWithPrivateParmeterTypes;
--var publicClassWithWithPrivateParmeterTypes1 = /** @class */ (function () {
-- function publicClassWithWithPrivateParmeterTypes1(param, param1, param2) {
-- if (param === void 0) { param = exporter.createExportedWidget3(); }
-- if (param1 === void 0) { param1 = exporter.createExportedWidget3(); }
-- if (param2 === void 0) { param2 = exporter.createExportedWidget3(); }
-+class publicClassWithWithPrivateParmeterTypes1 {
+ class publicClassWithWithPrivateParmeterTypes1 {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param = exporter.createExportedWidget3()) {
-+ }
-+ static myPrivateStaticMethod(param = exporter.createExportedWidget3()) {
-+ }
-+ myPublicMethod(param = exporter.createExportedWidget3()) {
-+ }
-+ myPrivateMethod(param = exporter.createExportedWidget3()) {
-+ }
-+ constructor(param = exporter.createExportedWidget3(), param1 = exporter.createExportedWidget3(), param2 = exporter.createExportedWidget3()) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param = exporter.createExportedWidget3()) {
}
-- publicClassWithWithPrivateParmeterTypes1.myPublicStaticMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget3(); }
-- };
-- publicClassWithWithPrivateParmeterTypes1.myPrivateStaticMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget3(); }
-- };
-- publicClassWithWithPrivateParmeterTypes1.prototype.myPublicMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget3(); }
-- };
-- publicClassWithWithPrivateParmeterTypes1.prototype.myPrivateMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget3(); }
-- };
-- return publicClassWithWithPrivateParmeterTypes1;
--}());
-+}
+ static myPrivateStaticMethod(param = exporter.createExportedWidget3()) {
+@@= skipped -15, +17 lines =@@
+ }
exports.publicClassWithWithPrivateParmeterTypes1 = publicClassWithWithPrivateParmeterTypes1;
--var privateClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateParmeterTypes(param, param1, param2) {
-- if (param === void 0) { param = exporter.createExportedWidget1(); }
-- if (param1 === void 0) { param1 = exporter.createExportedWidget1(); }
-- if (param2 === void 0) { param2 = exporter.createExportedWidget1(); }
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget1(); }
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget1(); }
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget1(); }
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget1(); }
-- };
-- return privateClassWithWithPrivateParmeterTypes;
--}());
--var privateClassWithWithPrivateParmeterTypes2 = /** @class */ (function () {
-- function privateClassWithWithPrivateParmeterTypes2(param, param1, param2) {
-- if (param === void 0) { param = exporter.createExportedWidget3(); }
-- if (param1 === void 0) { param1 = exporter.createExportedWidget3(); }
-- if (param2 === void 0) { param2 = exporter.createExportedWidget3(); }
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- privateClassWithWithPrivateParmeterTypes2.myPublicStaticMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget3(); }
-- };
-- privateClassWithWithPrivateParmeterTypes2.myPrivateStaticMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget3(); }
-- };
-- privateClassWithWithPrivateParmeterTypes2.prototype.myPublicMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget3(); }
-- };
-- privateClassWithWithPrivateParmeterTypes2.prototype.myPrivateMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget3(); }
-- };
-- return privateClassWithWithPrivateParmeterTypes2;
--}());
--function publicFunctionWithPrivateParmeterTypes(param) {
-- if (param === void 0) { param = exporter.createExportedWidget1(); }
--}
--function privateFunctionWithPrivateParmeterTypes(param) {
-- if (param === void 0) { param = exporter.createExportedWidget1(); }
--}
--function publicFunctionWithPrivateParmeterTypes1(param) {
-- if (param === void 0) { param = exporter.createExportedWidget3(); }
--}
--function privateFunctionWithPrivateParmeterTypes1(param) {
-- if (param === void 0) { param = exporter.createExportedWidget3(); }
--}
--var publicClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleParameterTypes(param, param1, param2) {
-- if (param === void 0) { param = exporter.createExportedWidget2(); }
-- if (param1 === void 0) { param1 = exporter.createExportedWidget2(); }
-- if (param2 === void 0) { param2 = exporter.createExportedWidget2(); }
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget2(); }
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget2(); }
-- };
-- return publicClassWithPrivateModuleParameterTypes;
--}());
-+class privateClassWithWithPrivateParmeterTypes {
+ class privateClassWithWithPrivateParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param = exporter.createExportedWidget1()) {
-+ }
-+ static myPrivateStaticMethod(param = exporter.createExportedWidget1()) {
-+ }
-+ myPublicMethod(param = exporter.createExportedWidget1()) {
-+ }
-+ myPrivateMethod(param = exporter.createExportedWidget1()) {
-+ }
-+ constructor(param = exporter.createExportedWidget1(), param1 = exporter.createExportedWidget1(), param2 = exporter.createExportedWidget1()) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+}
-+class privateClassWithWithPrivateParmeterTypes2 {
+ static myPublicStaticMethod(param = exporter.createExportedWidget1()) {
+ }
+ static myPrivateStaticMethod(param = exporter.createExportedWidget1()) {
+@@= skipped -14, +16 lines =@@
+ }
+ }
+ class privateClassWithWithPrivateParmeterTypes2 {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param = exporter.createExportedWidget3()) {
-+ }
-+ static myPrivateStaticMethod(param = exporter.createExportedWidget3()) {
-+ }
-+ myPublicMethod(param = exporter.createExportedWidget3()) {
-+ }
-+ myPrivateMethod(param = exporter.createExportedWidget3()) {
-+ }
-+ constructor(param = exporter.createExportedWidget3(), param1 = exporter.createExportedWidget3(), param2 = exporter.createExportedWidget3()) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+}
-+function publicFunctionWithPrivateParmeterTypes(param = exporter.createExportedWidget1()) {
-+}
-+function privateFunctionWithPrivateParmeterTypes(param = exporter.createExportedWidget1()) {
-+}
-+function publicFunctionWithPrivateParmeterTypes1(param = exporter.createExportedWidget3()) {
-+}
-+function privateFunctionWithPrivateParmeterTypes1(param = exporter.createExportedWidget3()) {
-+}
-+class publicClassWithPrivateModuleParameterTypes {
+ static myPublicStaticMethod(param = exporter.createExportedWidget3()) {
+ }
+ static myPrivateStaticMethod(param = exporter.createExportedWidget3()) {
+@@= skipped -22, +24 lines =@@
+ function privateFunctionWithPrivateParmeterTypes1(param = exporter.createExportedWidget3()) {
+ }
+ class publicClassWithPrivateModuleParameterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param = exporter.createExportedWidget2()) {
-+ }
-+ myPublicMethod(param = exporter.createExportedWidget2()) {
-+ }
-+ constructor(param = exporter.createExportedWidget2(), param1 = exporter.createExportedWidget2(), param2 = exporter.createExportedWidget2()) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+}
+ static myPublicStaticMethod(param = exporter.createExportedWidget2()) {
+ }
+ myPublicMethod(param = exporter.createExportedWidget2()) {
+@@= skipped -11, +13 lines =@@
+ }
exports.publicClassWithPrivateModuleParameterTypes = publicClassWithPrivateModuleParameterTypes;
--var publicClassWithPrivateModuleParameterTypes2 = /** @class */ (function () {
-- function publicClassWithPrivateModuleParameterTypes2(param, param1, param2) {
-- if (param === void 0) { param = exporter.createExportedWidget4(); }
-- if (param1 === void 0) { param1 = exporter.createExportedWidget4(); }
-- if (param2 === void 0) { param2 = exporter.createExportedWidget4(); }
-+class publicClassWithPrivateModuleParameterTypes2 {
+ class publicClassWithPrivateModuleParameterTypes2 {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param = exporter.createExportedWidget4()) {
-+ }
-+ myPublicMethod(param = exporter.createExportedWidget4()) {
-+ }
-+ constructor(param = exporter.createExportedWidget4(), param1 = exporter.createExportedWidget4(), param2 = exporter.createExportedWidget4()) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param = exporter.createExportedWidget4()) {
}
-- publicClassWithPrivateModuleParameterTypes2.myPublicStaticMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget4(); }
-- };
-- publicClassWithPrivateModuleParameterTypes2.prototype.myPublicMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget4(); }
-- };
-- return publicClassWithPrivateModuleParameterTypes2;
--}());
-+}
- exports.publicClassWithPrivateModuleParameterTypes2 = publicClassWithPrivateModuleParameterTypes2;
--function publicFunctionWithPrivateModuleParameterTypes(param) {
-- if (param === void 0) { param = exporter.createExportedWidget2(); }
--}
--function publicFunctionWithPrivateModuleParameterTypes1(param) {
-- if (param === void 0) { param = exporter.createExportedWidget4(); }
--}
--var privateClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleParameterTypes(param, param1, param2) {
-- if (param === void 0) { param = exporter.createExportedWidget2(); }
-- if (param1 === void 0) { param1 = exporter.createExportedWidget2(); }
-- if (param2 === void 0) { param2 = exporter.createExportedWidget2(); }
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget2(); }
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget2(); }
-- };
-- return privateClassWithPrivateModuleParameterTypes;
--}());
--var privateClassWithPrivateModuleParameterTypes1 = /** @class */ (function () {
-- function privateClassWithPrivateModuleParameterTypes1(param, param1, param2) {
-- if (param === void 0) { param = exporter.createExportedWidget4(); }
-- if (param1 === void 0) { param1 = exporter.createExportedWidget4(); }
-- if (param2 === void 0) { param2 = exporter.createExportedWidget4(); }
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- privateClassWithPrivateModuleParameterTypes1.myPublicStaticMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget4(); }
-- };
-- privateClassWithPrivateModuleParameterTypes1.prototype.myPublicMethod = function (param) {
-- if (param === void 0) { param = exporter.createExportedWidget4(); }
-- };
-- return privateClassWithPrivateModuleParameterTypes1;
--}());
--function privateFunctionWithPrivateModuleParameterTypes(param) {
-- if (param === void 0) { param = exporter.createExportedWidget2(); }
--}
--function privateFunctionWithPrivateModuleParameterTypes1(param) {
-- if (param === void 0) { param = exporter.createExportedWidget4(); }
-+function publicFunctionWithPrivateModuleParameterTypes(param = exporter.createExportedWidget2()) {
-+}
-+function publicFunctionWithPrivateModuleParameterTypes1(param = exporter.createExportedWidget4()) {
-+}
-+class privateClassWithPrivateModuleParameterTypes {
+ myPublicMethod(param = exporter.createExportedWidget4()) {
+@@= skipped -15, +17 lines =@@
+ function publicFunctionWithPrivateModuleParameterTypes1(param = exporter.createExportedWidget4()) {
+ }
+ class privateClassWithPrivateModuleParameterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param = exporter.createExportedWidget2()) {
-+ }
-+ myPublicMethod(param = exporter.createExportedWidget2()) {
-+ }
-+ constructor(param = exporter.createExportedWidget2(), param1 = exporter.createExportedWidget2(), param2 = exporter.createExportedWidget2()) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+}
-+class privateClassWithPrivateModuleParameterTypes1 {
+ static myPublicStaticMethod(param = exporter.createExportedWidget2()) {
+ }
+ myPublicMethod(param = exporter.createExportedWidget2()) {
+@@= skipped -10, +12 lines =@@
+ }
+ }
+ class privateClassWithPrivateModuleParameterTypes1 {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param = exporter.createExportedWidget4()) {
-+ }
-+ myPublicMethod(param = exporter.createExportedWidget4()) {
-+ }
-+ constructor(param = exporter.createExportedWidget4(), param1 = exporter.createExportedWidget4(), param2 = exporter.createExportedWidget4()) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+}
-+function privateFunctionWithPrivateModuleParameterTypes(param = exporter.createExportedWidget2()) {
-+}
-+function privateFunctionWithPrivateModuleParameterTypes1(param = exporter.createExportedWidget4()) {
- }
-
+ static myPublicStaticMethod(param = exporter.createExportedWidget4()) {
+ }
+ myPublicMethod(param = exporter.createExportedWidget4()) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyFunctionCannotNameReturnTypeDeclFile.js.diff b/testdata/baselines/reference/submodule/compiler/privacyFunctionCannotNameReturnTypeDeclFile.js.diff
index b12f8bb13f..87138b6f2c 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyFunctionCannotNameReturnTypeDeclFile.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyFunctionCannotNameReturnTypeDeclFile.js.diff
@@ -1,37 +1,28 @@
--- old.privacyFunctionCannotNameReturnTypeDeclFile.js
+++ new.privacyFunctionCannotNameReturnTypeDeclFile.js
-@@= skipped -166, +166 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -167, +167 lines =@@
exports.SpecializedWidget = exports.Widget1 = void 0;
exports.createWidget1 = createWidget1;
--var Widget1 = /** @class */ (function () {
-- function Widget1() {
+ class Widget1 {
+- constructor() {
- this.name = 'one';
- }
-- return Widget1;
--}());
-+class Widget1 {
+ name = 'one';
-+}
+ }
exports.Widget1 = Widget1;
function createWidget1() {
- return new Widget1();
- }
+@@= skipped -11, +9 lines =@@
var SpecializedWidget;
(function (SpecializedWidget) {
-- var Widget2 = /** @class */ (function () {
-- function Widget2() {
+ class Widget2 {
+- constructor() {
- this.name = 'one';
- }
-- return Widget2;
-- }());
-+ class Widget2 {
+ name = 'one';
-+ }
+ }
SpecializedWidget.Widget2 = Widget2;
function createWidget2() {
- return new Widget2();
-@@= skipped -32, +26 lines =@@
+@@= skipped -18, +16 lines =@@
exports.createExportedWidget3 = createExportedWidget3;
exports.createExportedWidget4 = createExportedWidget4;
///
@@ -47,218 +38,7 @@
exports.publicFunctionWithPrivateModuleReturnTypes = publicFunctionWithPrivateModuleReturnTypes;
exports.publicFunctionWithPrivateModuleReturnTypes1 = publicFunctionWithPrivateModuleReturnTypes1;
-var exporter = require("./privacyFunctionReturnTypeDeclFile_exporter");
--var publicClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateParmeterTypes() {
-- }
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function () {
-- return exporter.createExportedWidget1();
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function () {
-- return exporter.createExportedWidget1();
-- ;
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function () {
-- return exporter.createExportedWidget1();
-- ;
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function () {
-- return exporter.createExportedWidget1();
-- ;
-- };
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod1 = function () {
-- return exporter.createExportedWidget3();
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod1 = function () {
-- return exporter.createExportedWidget3();
-- ;
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod1 = function () {
-- return exporter.createExportedWidget3();
-- ;
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return exporter.createExportedWidget3();
-- ;
-- };
-- return publicClassWithWithPrivateParmeterTypes;
--}());
+const exporter = require("./privacyFunctionReturnTypeDeclFile_exporter");
-+class publicClassWithWithPrivateParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return exporter.createExportedWidget1();
-+ }
-+ static myPrivateStaticMethod() {
-+ return exporter.createExportedWidget1();
-+ ;
-+ }
-+ myPublicMethod() {
-+ return exporter.createExportedWidget1();
-+ ;
-+ }
-+ myPrivateMethod() {
-+ return exporter.createExportedWidget1();
-+ ;
-+ }
-+ static myPublicStaticMethod1() {
-+ return exporter.createExportedWidget3();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return exporter.createExportedWidget3();
-+ ;
-+ }
-+ myPublicMethod1() {
-+ return exporter.createExportedWidget3();
-+ ;
-+ }
-+ myPrivateMethod1() {
-+ return exporter.createExportedWidget3();
-+ ;
-+ }
-+}
- exports.publicClassWithWithPrivateParmeterTypes = publicClassWithWithPrivateParmeterTypes;
--var privateClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateParmeterTypes() {
-- }
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function () {
-- return exporter.createExportedWidget1();
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function () {
-- return exporter.createExportedWidget1();
-- ;
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function () {
-- return exporter.createExportedWidget1();
-- ;
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function () {
-- return exporter.createExportedWidget1();
-- ;
-- };
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod1 = function () {
-- return exporter.createExportedWidget3();
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod1 = function () {
-- return exporter.createExportedWidget3();
-- ;
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod1 = function () {
-- return exporter.createExportedWidget3();
-- ;
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return exporter.createExportedWidget3();
-- ;
-- };
-- return privateClassWithWithPrivateParmeterTypes;
--}());
-+class privateClassWithWithPrivateParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return exporter.createExportedWidget1();
-+ }
-+ static myPrivateStaticMethod() {
-+ return exporter.createExportedWidget1();
-+ ;
-+ }
-+ myPublicMethod() {
-+ return exporter.createExportedWidget1();
-+ ;
-+ }
-+ myPrivateMethod() {
-+ return exporter.createExportedWidget1();
-+ ;
-+ }
-+ static myPublicStaticMethod1() {
-+ return exporter.createExportedWidget3();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return exporter.createExportedWidget3();
-+ ;
-+ }
-+ myPublicMethod1() {
-+ return exporter.createExportedWidget3();
-+ ;
-+ }
-+ myPrivateMethod1() {
-+ return exporter.createExportedWidget3();
-+ ;
-+ }
-+}
- function publicFunctionWithPrivateParmeterTypes() {
- return exporter.createExportedWidget1();
- }
-@@= skipped -84, +78 lines =@@
- function privateFunctionWithPrivateParmeterTypes1() {
- return exporter.createExportedWidget3();
- }
--var publicClassWithPrivateModuleReturnTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleReturnTypes() {
-- }
-- publicClassWithPrivateModuleReturnTypes.myPublicStaticMethod = function () {
-- return exporter.createExportedWidget2();
-- };
-- publicClassWithPrivateModuleReturnTypes.prototype.myPublicMethod = function () {
-- return exporter.createExportedWidget2();
-- };
-- publicClassWithPrivateModuleReturnTypes.myPublicStaticMethod1 = function () {
-- return exporter.createExportedWidget4();
-- };
-- publicClassWithPrivateModuleReturnTypes.prototype.myPublicMethod1 = function () {
-- return exporter.createExportedWidget4();
-- };
-- return publicClassWithPrivateModuleReturnTypes;
--}());
-+class publicClassWithPrivateModuleReturnTypes {
-+ static myPublicStaticMethod() {
-+ return exporter.createExportedWidget2();
-+ }
-+ myPublicMethod() {
-+ return exporter.createExportedWidget2();
-+ }
-+ static myPublicStaticMethod1() {
-+ return exporter.createExportedWidget4();
-+ }
-+ myPublicMethod1() {
-+ return exporter.createExportedWidget4();
-+ }
-+}
- exports.publicClassWithPrivateModuleReturnTypes = publicClassWithPrivateModuleReturnTypes;
- function publicFunctionWithPrivateModuleReturnTypes() {
- return exporter.createExportedWidget2();
-@@= skipped -24, +21 lines =@@
- function publicFunctionWithPrivateModuleReturnTypes1() {
- return exporter.createExportedWidget4();
- }
--var privateClassWithPrivateModuleReturnTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleReturnTypes() {
-- }
-- privateClassWithPrivateModuleReturnTypes.myPublicStaticMethod = function () {
-- return exporter.createExportedWidget2();
-- };
-- privateClassWithPrivateModuleReturnTypes.prototype.myPublicMethod = function () {
-- return exporter.createExportedWidget2();
-- };
-- privateClassWithPrivateModuleReturnTypes.myPublicStaticMethod1 = function () {
-- return exporter.createExportedWidget4();
-- };
-- privateClassWithPrivateModuleReturnTypes.prototype.myPublicMethod1 = function () {
-- return exporter.createExportedWidget4();
-- };
-- return privateClassWithPrivateModuleReturnTypes;
--}());
-+class privateClassWithPrivateModuleReturnTypes {
-+ static myPublicStaticMethod() {
-+ return exporter.createExportedWidget2();
-+ }
-+ myPublicMethod() {
-+ return exporter.createExportedWidget2();
-+ }
-+ static myPublicStaticMethod1() {
-+ return exporter.createExportedWidget4();
-+ }
-+ myPublicMethod1() {
-+ return exporter.createExportedWidget4();
-+ }
-+}
- function privateFunctionWithPrivateModuleReturnTypes() {
- return exporter.createExportedWidget2();
- }
\ No newline at end of file
+ class publicClassWithWithPrivateParmeterTypes {
+ static myPublicStaticMethod() {
+ return exporter.createExportedWidget1();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyFunctionParameterDeclFile.js.diff b/testdata/baselines/reference/submodule/compiler/privacyFunctionParameterDeclFile.js.diff
index 09a7d8f734..72cbbad9cf 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyFunctionParameterDeclFile.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyFunctionParameterDeclFile.js.diff
@@ -1,1000 +1,285 @@
--- old.privacyFunctionParameterDeclFile.js
+++ new.privacyFunctionParameterDeclFile.js
-@@= skipped -691, +691 lines =@@
- exports.publicFunctionWithPrivateParmeterTypes = publicFunctionWithPrivateParmeterTypes;
- exports.publicFunctionWithPublicParmeterTypes = publicFunctionWithPublicParmeterTypes;
- exports.publicFunctionWithPrivateModuleParameterTypes = publicFunctionWithPrivateModuleParameterTypes;
--var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
--}());
--var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
--}());
-+class privateClass {
-+}
-+class publicClass {
-+}
+@@= skipped -697, +697 lines =@@
+ }
exports.publicClass = publicClass;
--var publicClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateParmeterTypes(param, param1, param2) {
-+class publicClassWithWithPrivateParmeterTypes {
+ class publicClassWithWithPrivateParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return publicClassWithWithPrivateParmeterTypes;
--}());
-+}
+ static myPrivateStaticMethod(param) {
+@@= skipped -15, +17 lines =@@
+ }
exports.publicClassWithWithPrivateParmeterTypes = publicClassWithWithPrivateParmeterTypes;
--var publicClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPublicParmeterTypes(param, param1, param2) {
-+class publicClassWithWithPublicParmeterTypes {
+ class publicClassWithWithPublicParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return publicClassWithWithPublicParmeterTypes;
--}());
-+}
+ static myPrivateStaticMethod(param) {
+@@= skipped -15, +17 lines =@@
+ }
exports.publicClassWithWithPublicParmeterTypes = publicClassWithWithPublicParmeterTypes;
--var privateClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateParmeterTypes(param, param1, param2) {
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return privateClassWithWithPrivateParmeterTypes;
--}());
--var privateClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPublicParmeterTypes(param, param1, param2) {
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return privateClassWithWithPublicParmeterTypes;
--}());
-+class privateClassWithWithPrivateParmeterTypes {
+ class privateClassWithWithPrivateParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+}
-+class privateClassWithWithPublicParmeterTypes {
+ static myPublicStaticMethod(param) {
+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -14, +16 lines =@@
+ }
+ }
+ class privateClassWithWithPublicParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+}
- function publicFunctionWithPrivateParmeterTypes(param) {
- }
- function publicFunctionWithPublicParmeterTypes(param) {
-@@= skipped -81, +79 lines =@@
- }
+ static myPublicStaticMethod(param) {
+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -22, +24 lines =@@
function privateFunctionWithPublicParmeterTypes(param) {
}
--var publicClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleParameterTypes(param, param1, param2) {
-+class publicClassWithPrivateModuleParameterTypes {
+ class publicClassWithPrivateModuleParameterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function (param) {
-- };
-- return publicClassWithPrivateModuleParameterTypes;
--}());
-+}
- exports.publicClassWithPrivateModuleParameterTypes = publicClassWithPrivateModuleParameterTypes;
+ myPublicMethod(param) {
+@@= skipped -13, +15 lines =@@
function publicFunctionWithPrivateModuleParameterTypes(param) {
}
--var privateClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleParameterTypes(param, param1, param2) {
-+class privateClassWithPrivateModuleParameterTypes {
+ class privateClassWithPrivateModuleParameterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
+ }
+ myPublicMethod(param) {
+@@= skipped -19, +21 lines =@@
}
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function (param) {
-- };
-- return privateClassWithPrivateModuleParameterTypes;
--}());
-+}
- function privateFunctionWithPrivateModuleParameterTypes(param) {
- }
- var publicModule;
- (function (publicModule) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
publicModule.publicClass = publicClass;
-- var publicClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateParmeterTypes(param, param1, param2) {
-+ class publicClassWithWithPrivateParmeterTypes {
+ class publicClassWithWithPrivateParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return publicClassWithWithPrivateParmeterTypes;
-- }());
-+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -15, +17 lines =@@
+ }
publicModule.publicClassWithWithPrivateParmeterTypes = publicClassWithWithPrivateParmeterTypes;
-- var publicClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPublicParmeterTypes(param, param1, param2) {
-+ class publicClassWithWithPublicParmeterTypes {
+ class publicClassWithWithPublicParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return publicClassWithWithPublicParmeterTypes;
-- }());
-+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -15, +17 lines =@@
+ }
publicModule.publicClassWithWithPublicParmeterTypes = publicClassWithWithPublicParmeterTypes;
-- var privateClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateParmeterTypes(param, param1, param2) {
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return privateClassWithWithPrivateParmeterTypes;
-- }());
-- var privateClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPublicParmeterTypes(param, param1, param2) {
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return privateClassWithWithPublicParmeterTypes;
-- }());
-+ class privateClassWithWithPrivateParmeterTypes {
+ class privateClassWithWithPrivateParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+ }
-+ class privateClassWithWithPublicParmeterTypes {
+ static myPublicStaticMethod(param) {
+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -14, +16 lines =@@
+ }
+ }
+ class privateClassWithWithPublicParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+ }
- function publicFunctionWithPrivateParmeterTypes(param) {
- }
- publicModule.publicFunctionWithPrivateParmeterTypes = publicFunctionWithPrivateParmeterTypes;
-@@= skipped -112, +112 lines =@@
- }
+ static myPublicStaticMethod(param) {
+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -24, +26 lines =@@
function privateFunctionWithPublicParmeterTypes(param) {
}
-- var publicClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleParameterTypes(param, param1, param2) {
-+ class publicClassWithPrivateModuleParameterTypes {
+ class publicClassWithPrivateModuleParameterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function (param) {
-- };
-- return publicClassWithPrivateModuleParameterTypes;
-- }());
-+ }
- publicModule.publicClassWithPrivateModuleParameterTypes = publicClassWithPrivateModuleParameterTypes;
- function publicFunctionWithPrivateModuleParameterTypes(param) {
+ myPublicMethod(param) {
+@@= skipped -14, +16 lines =@@
}
publicModule.publicFunctionWithPrivateModuleParameterTypes = publicFunctionWithPrivateModuleParameterTypes;
-- var privateClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleParameterTypes(param, param1, param2) {
-+ class privateClassWithPrivateModuleParameterTypes {
+ class privateClassWithPrivateModuleParameterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function (param) {
-- };
-- return privateClassWithPrivateModuleParameterTypes;
-- }());
-+ }
- function privateFunctionWithPrivateModuleParameterTypes(param) {
+ myPublicMethod(param) {
+@@= skipped -20, +22 lines =@@
}
- })(publicModule || (exports.publicModule = publicModule = {}));
- var privateModule;
- (function (privateModule) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
privateModule.publicClass = publicClass;
-- var publicClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateParmeterTypes(param, param1, param2) {
-+ class publicClassWithWithPrivateParmeterTypes {
+ class publicClassWithWithPrivateParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return publicClassWithWithPrivateParmeterTypes;
-- }());
-+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -15, +17 lines =@@
+ }
privateModule.publicClassWithWithPrivateParmeterTypes = publicClassWithWithPrivateParmeterTypes;
-- var publicClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPublicParmeterTypes(param, param1, param2) {
-+ class publicClassWithWithPublicParmeterTypes {
+ class publicClassWithWithPublicParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return publicClassWithWithPublicParmeterTypes;
-- }());
-+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -15, +17 lines =@@
+ }
privateModule.publicClassWithWithPublicParmeterTypes = publicClassWithWithPublicParmeterTypes;
-- var privateClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateParmeterTypes(param, param1, param2) {
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return privateClassWithWithPrivateParmeterTypes;
-- }());
-- var privateClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPublicParmeterTypes(param, param1, param2) {
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return privateClassWithWithPublicParmeterTypes;
-- }());
-+ class privateClassWithWithPrivateParmeterTypes {
+ class privateClassWithWithPrivateParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+ }
-+ class privateClassWithWithPublicParmeterTypes {
+ static myPublicStaticMethod(param) {
+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -14, +16 lines =@@
+ }
+ }
+ class privateClassWithWithPublicParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+ }
- function publicFunctionWithPrivateParmeterTypes(param) {
- }
- privateModule.publicFunctionWithPrivateParmeterTypes = publicFunctionWithPrivateParmeterTypes;
-@@= skipped -114, +114 lines =@@
- }
+ static myPublicStaticMethod(param) {
+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -24, +26 lines =@@
function privateFunctionWithPublicParmeterTypes(param) {
}
-- var publicClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleParameterTypes(param, param1, param2) {
-+ class publicClassWithPrivateModuleParameterTypes {
+ class publicClassWithPrivateModuleParameterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function (param) {
-- };
-- return publicClassWithPrivateModuleParameterTypes;
-- }());
-+ }
- privateModule.publicClassWithPrivateModuleParameterTypes = publicClassWithPrivateModuleParameterTypes;
- function publicFunctionWithPrivateModuleParameterTypes(param) {
+ myPublicMethod(param) {
+@@= skipped -14, +16 lines =@@
}
privateModule.publicFunctionWithPrivateModuleParameterTypes = publicFunctionWithPrivateModuleParameterTypes;
-- var privateClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleParameterTypes(param, param1, param2) {
-+ class privateClassWithPrivateModuleParameterTypes {
+ class privateClassWithPrivateModuleParameterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function (param) {
-- };
-- return privateClassWithPrivateModuleParameterTypes;
-- }());
-+ }
- function privateFunctionWithPrivateModuleParameterTypes(param) {
- }
- })(privateModule || (privateModule = {}));
- //// [privacyFunctionParameterDeclFile_GlobalFile.js]
--var publicClassInGlobal = /** @class */ (function () {
-- function publicClassInGlobal() {
-- }
-- return publicClassInGlobal;
--}());
--var publicClassWithWithPublicParmeterTypesInGlobal = /** @class */ (function () {
-- function publicClassWithWithPublicParmeterTypesInGlobal(param, param1, param2) {
-+class publicClassInGlobal {
-+}
-+class publicClassWithWithPublicParmeterTypesInGlobal {
+ myPublicMethod(param) {
+@@= skipped -16, +18 lines =@@
+ class publicClassInGlobal {
+ }
+ class publicClassWithWithPublicParmeterTypesInGlobal {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithWithPublicParmeterTypesInGlobal.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypesInGlobal.myPrivateStaticMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypesInGlobal.prototype.myPublicMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypesInGlobal.prototype.myPrivateMethod = function (param) {
-- };
-- return publicClassWithWithPublicParmeterTypesInGlobal;
--}());
-+}
- function publicFunctionWithPublicParmeterTypesInGlobal(param) {
- }
- var publicModuleInGlobal;
- (function (publicModuleInGlobal) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
- publicModuleInGlobal.publicClass = publicClass;
-- var privateModule;
-+ let privateModule;
- (function (privateModule) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -30, +32 lines =@@
+ }
privateModule.publicClass = publicClass;
-- var publicClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateParmeterTypes(param, param1, param2) {
-+ class publicClassWithWithPrivateParmeterTypes {
+ class publicClassWithWithPrivateParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return publicClassWithWithPrivateParmeterTypes;
-- }());
-+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -15, +17 lines =@@
+ }
privateModule.publicClassWithWithPrivateParmeterTypes = publicClassWithWithPrivateParmeterTypes;
-- var publicClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPublicParmeterTypes(param, param1, param2) {
-+ class publicClassWithWithPublicParmeterTypes {
+ class publicClassWithWithPublicParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return publicClassWithWithPublicParmeterTypes;
-- }());
-+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -15, +17 lines =@@
+ }
privateModule.publicClassWithWithPublicParmeterTypes = publicClassWithWithPublicParmeterTypes;
-- var privateClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateParmeterTypes(param, param1, param2) {
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return privateClassWithWithPrivateParmeterTypes;
-- }());
-- var privateClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPublicParmeterTypes(param, param1, param2) {
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return privateClassWithWithPublicParmeterTypes;
-- }());
-+ class privateClassWithWithPrivateParmeterTypes {
+ class privateClassWithWithPrivateParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+ }
-+ class privateClassWithWithPublicParmeterTypes {
+ static myPublicStaticMethod(param) {
+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -14, +16 lines =@@
+ }
+ }
+ class privateClassWithWithPublicParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+ }
- function publicFunctionWithPrivateParmeterTypes(param) {
- }
- privateModule.publicFunctionWithPrivateParmeterTypes = publicFunctionWithPrivateParmeterTypes;
-@@= skipped -150, +142 lines =@@
- }
+ static myPublicStaticMethod(param) {
+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -24, +26 lines =@@
function privateFunctionWithPublicParmeterTypes(param) {
}
-- var publicClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleParameterTypes(param, param1, param2) {
-+ class publicClassWithPrivateModuleParameterTypes {
+ class publicClassWithPrivateModuleParameterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function (param) {
-- };
-- return publicClassWithPrivateModuleParameterTypes;
-- }());
-+ }
- privateModule.publicClassWithPrivateModuleParameterTypes = publicClassWithPrivateModuleParameterTypes;
- function publicFunctionWithPrivateModuleParameterTypes(param) {
+ myPublicMethod(param) {
+@@= skipped -14, +16 lines =@@
}
privateModule.publicFunctionWithPrivateModuleParameterTypes = publicFunctionWithPrivateModuleParameterTypes;
-- var privateClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleParameterTypes(param, param1, param2) {
-+ class privateClassWithPrivateModuleParameterTypes {
+ class privateClassWithPrivateModuleParameterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function (param) {
-- };
-- return privateClassWithPrivateModuleParameterTypes;
-- }());
-+ }
- function privateFunctionWithPrivateModuleParameterTypes(param) {
+ myPublicMethod(param) {
+@@= skipped -13, +15 lines =@@
}
})(privateModule || (privateModule = {}));
-- var publicClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateParmeterTypes(param, param1, param2) {
-+ class publicClassWithWithPrivateParmeterTypes {
+ class publicClassWithWithPrivateParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return publicClassWithWithPrivateParmeterTypes;
-- }());
-+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -15, +17 lines =@@
+ }
publicModuleInGlobal.publicClassWithWithPrivateParmeterTypes = publicClassWithWithPrivateParmeterTypes;
-- var publicClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPublicParmeterTypes(param, param1, param2) {
-+ class publicClassWithWithPublicParmeterTypes {
+ class publicClassWithWithPublicParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return publicClassWithWithPublicParmeterTypes;
-- }());
-+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -15, +17 lines =@@
+ }
publicModuleInGlobal.publicClassWithWithPublicParmeterTypes = publicClassWithWithPublicParmeterTypes;
-- var privateClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateParmeterTypes(param, param1, param2) {
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return privateClassWithWithPrivateParmeterTypes;
-- }());
-- var privateClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPublicParmeterTypes(param, param1, param2) {
-- this.param1 = param1;
-- this.param2 = param2;
-- }
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function (param) {
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function (param) {
-- };
-- return privateClassWithWithPublicParmeterTypes;
-- }());
-+ class privateClassWithWithPrivateParmeterTypes {
+ class privateClassWithWithPrivateParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+ }
-+ class privateClassWithWithPublicParmeterTypes {
+ static myPublicStaticMethod(param) {
+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -14, +16 lines =@@
+ }
+ }
+ class privateClassWithWithPublicParmeterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ static myPrivateStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ myPrivateMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
-+ this.param1 = param1;
-+ this.param2 = param2;
-+ }
-+ }
- function publicFunctionWithPrivateParmeterTypes(param) {
- }
- publicModuleInGlobal.publicFunctionWithPrivateParmeterTypes = publicFunctionWithPrivateParmeterTypes;
-@@= skipped -101, +107 lines =@@
- }
+ static myPublicStaticMethod(param) {
+ }
+ static myPrivateStaticMethod(param) {
+@@= skipped -24, +26 lines =@@
function privateFunctionWithPublicParmeterTypes(param) {
}
-- var publicClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleParameterTypes(param, param1, param2) {
-+ class publicClassWithPrivateModuleParameterTypes {
+ class publicClassWithPrivateModuleParameterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function (param) {
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function (param) {
-- };
-- return publicClassWithPrivateModuleParameterTypes;
-- }());
-+ }
- publicModuleInGlobal.publicClassWithPrivateModuleParameterTypes = publicClassWithPrivateModuleParameterTypes;
- function publicFunctionWithPrivateModuleParameterTypes(param) {
+ myPublicMethod(param) {
+@@= skipped -14, +16 lines =@@
}
publicModuleInGlobal.publicFunctionWithPrivateModuleParameterTypes = publicFunctionWithPrivateModuleParameterTypes;
-- var privateClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleParameterTypes(param, param1, param2) {
-+ class privateClassWithPrivateModuleParameterTypes {
+ class privateClassWithPrivateModuleParameterTypes {
+ param1;
+ param2;
-+ static myPublicStaticMethod(param) {
-+ }
-+ myPublicMethod(param) {
-+ }
-+ constructor(param, param1, param2) {
- this.param1 = param1;
- this.param2 = param2;
+ static myPublicStaticMethod(param) {
}
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function (param) {
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function (param) {
-- };
-- return privateClassWithPrivateModuleParameterTypes;
-- }());
-+ }
- function privateFunctionWithPrivateModuleParameterTypes(param) {
- }
- })(publicModuleInGlobal || (publicModuleInGlobal = {}));
-@@= skipped -37, +39 lines =@@
+ myPublicMethod(param) {
+@@= skipped -20, +22 lines =@@
export declare class publicClass {
}
export interface publicInterfaceWithPrivateParmeterTypes {
diff --git a/testdata/baselines/reference/submodule/compiler/privacyFunctionReturnTypeDeclFile.js.diff b/testdata/baselines/reference/submodule/compiler/privacyFunctionReturnTypeDeclFile.js.diff
index 376dabe041..f799549d59 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyFunctionReturnTypeDeclFile.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyFunctionReturnTypeDeclFile.js.diff
@@ -1,1678 +1,6 @@
--- old.privacyFunctionReturnTypeDeclFile.js
+++ new.privacyFunctionReturnTypeDeclFile.js
-@@= skipped -1201, +1201 lines =@@
- exports.publicFunctionWithPublicParmeterTypes1 = publicFunctionWithPublicParmeterTypes1;
- exports.publicFunctionWithPrivateModuleParameterTypes = publicFunctionWithPrivateModuleParameterTypes;
- exports.publicFunctionWithPrivateModuleParameterTypes1 = publicFunctionWithPrivateModuleParameterTypes1;
--var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
--}());
--var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
--}());
-+class privateClass {
-+}
-+class publicClass {
-+}
- exports.publicClass = publicClass;
--var publicClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateParmeterTypes() {
-- }
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new privateClass();
-- };
-- return publicClassWithWithPrivateParmeterTypes;
--}());
-+class publicClassWithWithPrivateParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+}
- exports.publicClassWithWithPrivateParmeterTypes = publicClassWithWithPrivateParmeterTypes;
--var publicClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPublicParmeterTypes() {
-- }
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new publicClass();
-- };
-- return publicClassWithWithPublicParmeterTypes;
--}());
-+class publicClassWithWithPublicParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+}
- exports.publicClassWithWithPublicParmeterTypes = publicClassWithWithPublicParmeterTypes;
--var privateClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateParmeterTypes() {
-- }
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new privateClass();
-- };
-- return privateClassWithWithPrivateParmeterTypes;
--}());
--var privateClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPublicParmeterTypes() {
-- }
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new publicClass();
-- };
-- return privateClassWithWithPublicParmeterTypes;
--}());
-+class privateClassWithWithPrivateParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+}
-+class privateClassWithWithPublicParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+}
- function publicFunctionWithPrivateParmeterTypes() {
- return null;
- }
-@@= skipped -153, +135 lines =@@
- function privateFunctionWithPublicParmeterTypes1() {
- return new publicClass();
- }
--var publicClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleParameterTypes() {
-- }
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- return publicClassWithPrivateModuleParameterTypes;
--}());
-+class publicClassWithPrivateModuleParameterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+}
- exports.publicClassWithPrivateModuleParameterTypes = publicClassWithPrivateModuleParameterTypes;
- function publicFunctionWithPrivateModuleParameterTypes() {
- return null;
-@@= skipped -24, +21 lines =@@
- function publicFunctionWithPrivateModuleParameterTypes1() {
- return new privateModule.publicClass();
- }
--var privateClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleParameterTypes() {
-- }
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- return privateClassWithPrivateModuleParameterTypes;
--}());
-+class privateClassWithPrivateModuleParameterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+}
- function privateFunctionWithPrivateModuleParameterTypes() {
- return null;
- }
-@@= skipped -25, +22 lines =@@
- }
- var publicModule;
- (function (publicModule) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
- publicModule.publicClass = publicClass;
-- var publicClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateParmeterTypes() {
-- }
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new privateClass();
-- };
-- return publicClassWithWithPrivateParmeterTypes;
-- }());
-+ class publicClassWithWithPrivateParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
- publicModule.publicClassWithWithPrivateParmeterTypes = publicClassWithWithPrivateParmeterTypes;
-- var publicClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPublicParmeterTypes() {
-- }
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new publicClass();
-- };
-- return publicClassWithWithPublicParmeterTypes;
-- }());
-+ class publicClassWithWithPublicParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
- publicModule.publicClassWithWithPublicParmeterTypes = publicClassWithWithPublicParmeterTypes;
-- var privateClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateParmeterTypes() {
-- }
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new privateClass();
-- };
-- return privateClassWithWithPrivateParmeterTypes;
-- }());
-- var privateClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPublicParmeterTypes() {
-- }
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new publicClass();
-- };
-- return privateClassWithWithPublicParmeterTypes;
-- }());
-+ class privateClassWithWithPrivateParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
-+ class privateClassWithWithPublicParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
- function publicFunctionWithPrivateParmeterTypes() {
- return null;
- }
-@@= skipped -157, +139 lines =@@
- function privateFunctionWithPublicParmeterTypes1() {
- return new publicClass();
- }
-- var publicClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleParameterTypes() {
-- }
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- return publicClassWithPrivateModuleParameterTypes;
-- }());
-+ class publicClassWithPrivateModuleParameterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
- publicModule.publicClassWithPrivateModuleParameterTypes = publicClassWithPrivateModuleParameterTypes;
- function publicFunctionWithPrivateModuleParameterTypes() {
- return null;
-@@= skipped -26, +23 lines =@@
- return new privateModule.publicClass();
- }
- publicModule.publicFunctionWithPrivateModuleParameterTypes1 = publicFunctionWithPrivateModuleParameterTypes1;
-- var privateClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleParameterTypes() {
-- }
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- return privateClassWithPrivateModuleParameterTypes;
-- }());
-+ class privateClassWithPrivateModuleParameterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
- function privateFunctionWithPrivateModuleParameterTypes() {
- return null;
- }
-@@= skipped -26, +23 lines =@@
- })(publicModule || (exports.publicModule = publicModule = {}));
- var privateModule;
- (function (privateModule) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
- privateModule.publicClass = publicClass;
-- var publicClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateParmeterTypes() {
-- }
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new privateClass();
-- };
-- return publicClassWithWithPrivateParmeterTypes;
-- }());
-+ class publicClassWithWithPrivateParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
- privateModule.publicClassWithWithPrivateParmeterTypes = publicClassWithWithPrivateParmeterTypes;
-- var publicClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPublicParmeterTypes() {
-- }
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new publicClass();
-- };
-- return publicClassWithWithPublicParmeterTypes;
-- }());
-+ class publicClassWithWithPublicParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
- privateModule.publicClassWithWithPublicParmeterTypes = publicClassWithWithPublicParmeterTypes;
-- var privateClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateParmeterTypes() {
-- }
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new privateClass();
-- };
-- return privateClassWithWithPrivateParmeterTypes;
-- }());
-- var privateClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPublicParmeterTypes() {
-- }
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new publicClass();
-- };
-- return privateClassWithWithPublicParmeterTypes;
-- }());
-+ class privateClassWithWithPrivateParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
-+ class privateClassWithWithPublicParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
- function publicFunctionWithPrivateParmeterTypes() {
- return null;
- }
-@@= skipped -157, +139 lines =@@
- function privateFunctionWithPublicParmeterTypes1() {
- return new publicClass();
- }
-- var publicClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleParameterTypes() {
-- }
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- return publicClassWithPrivateModuleParameterTypes;
-- }());
-+ class publicClassWithPrivateModuleParameterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
- privateModule.publicClassWithPrivateModuleParameterTypes = publicClassWithPrivateModuleParameterTypes;
- function publicFunctionWithPrivateModuleParameterTypes() {
- return null;
-@@= skipped -26, +23 lines =@@
- return new privateModule.publicClass();
- }
- privateModule.publicFunctionWithPrivateModuleParameterTypes1 = publicFunctionWithPrivateModuleParameterTypes1;
-- var privateClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleParameterTypes() {
-- }
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- return privateClassWithPrivateModuleParameterTypes;
-- }());
-+ class privateClassWithPrivateModuleParameterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
- function privateFunctionWithPrivateModuleParameterTypes() {
- return null;
- }
-@@= skipped -25, +22 lines =@@
- }
- })(privateModule || (privateModule = {}));
- //// [privacyFunctionReturnTypeDeclFile_GlobalFile.js]
--var publicClassInGlobal = /** @class */ (function () {
-- function publicClassInGlobal() {
-- }
-- return publicClassInGlobal;
--}());
--var publicClassWithWithPublicParmeterTypesInGlobal = /** @class */ (function () {
-- function publicClassWithWithPublicParmeterTypesInGlobal() {
-- }
-- publicClassWithWithPublicParmeterTypesInGlobal.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypesInGlobal.myPrivateStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypesInGlobal.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypesInGlobal.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypesInGlobal.myPublicStaticMethod1 = function () {
-- return new publicClassInGlobal();
-- };
-- publicClassWithWithPublicParmeterTypesInGlobal.myPrivateStaticMethod1 = function () {
-- return new publicClassInGlobal();
-- };
-- publicClassWithWithPublicParmeterTypesInGlobal.prototype.myPublicMethod1 = function () {
-- return new publicClassInGlobal();
-- };
-- publicClassWithWithPublicParmeterTypesInGlobal.prototype.myPrivateMethod1 = function () {
-- return new publicClassInGlobal();
-- };
-- return publicClassWithWithPublicParmeterTypesInGlobal;
--}());
-+class publicClassInGlobal {
-+}
-+class publicClassWithWithPublicParmeterTypesInGlobal {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new publicClassInGlobal();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new publicClassInGlobal();
-+ }
-+ myPublicMethod1() {
-+ return new publicClassInGlobal();
-+ }
-+ myPrivateMethod1() {
-+ return new publicClassInGlobal();
-+ }
-+}
- function publicFunctionWithPublicParmeterTypesInGlobal() {
- return null;
- }
-@@= skipped -42, +36 lines =@@
- }
- var publicModuleInGlobal;
- (function (publicModuleInGlobal) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
- publicModuleInGlobal.publicClass = publicClass;
-- var privateModule;
-+ let privateModule;
- (function (privateModule) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
- privateModule.publicClass = publicClass;
-- var publicClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateParmeterTypes() {
-- }
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new privateClass();
-- };
-- return publicClassWithWithPrivateParmeterTypes;
-- }());
-+ class publicClassWithWithPrivateParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
- privateModule.publicClassWithWithPrivateParmeterTypes = publicClassWithWithPrivateParmeterTypes;
-- var publicClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPublicParmeterTypes() {
-- }
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new publicClass();
-- };
-- return publicClassWithWithPublicParmeterTypes;
-- }());
-+ class publicClassWithWithPublicParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
- privateModule.publicClassWithWithPublicParmeterTypes = publicClassWithWithPublicParmeterTypes;
-- var privateClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateParmeterTypes() {
-- }
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new privateClass();
-- };
-- return privateClassWithWithPrivateParmeterTypes;
-- }());
-- var privateClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPublicParmeterTypes() {
-- }
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new publicClass();
-- };
-- return privateClassWithWithPublicParmeterTypes;
-- }());
-+ class privateClassWithWithPrivateParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
-+ class privateClassWithWithPublicParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
- function publicFunctionWithPrivateParmeterTypes() {
- return null;
- }
-@@= skipped -170, +146 lines =@@
- function privateFunctionWithPublicParmeterTypes1() {
- return new publicClass();
- }
-- var publicClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleParameterTypes() {
-- }
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- return publicClassWithPrivateModuleParameterTypes;
-- }());
-+ class publicClassWithPrivateModuleParameterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
- privateModule.publicClassWithPrivateModuleParameterTypes = publicClassWithPrivateModuleParameterTypes;
- function publicFunctionWithPrivateModuleParameterTypes() {
- return null;
-@@= skipped -26, +23 lines =@@
- return new privateModule.publicClass();
- }
- privateModule.publicFunctionWithPrivateModuleParameterTypes1 = publicFunctionWithPrivateModuleParameterTypes1;
-- var privateClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleParameterTypes() {
-- }
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- return privateClassWithPrivateModuleParameterTypes;
-- }());
-+ class privateClassWithPrivateModuleParameterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
- function privateFunctionWithPrivateModuleParameterTypes() {
- return null;
- }
-@@= skipped -24, +21 lines =@@
- return new privateModule.publicClass();
- }
- })(privateModule || (privateModule = {}));
-- var publicClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPrivateParmeterTypes() {
-- }
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- publicClassWithWithPrivateParmeterTypes.myPublicStaticMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new privateClass();
-- };
-- publicClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new privateClass();
-- };
-- return publicClassWithWithPrivateParmeterTypes;
-- }());
-+ class publicClassWithWithPrivateParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
- publicModuleInGlobal.publicClassWithWithPrivateParmeterTypes = publicClassWithWithPrivateParmeterTypes;
-- var publicClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function publicClassWithWithPublicParmeterTypes() {
-- }
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- publicClassWithWithPublicParmeterTypes.myPublicStaticMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new publicClass();
-- };
-- publicClassWithWithPublicParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new publicClass();
-- };
-- return publicClassWithWithPublicParmeterTypes;
-- }());
-+ class publicClassWithWithPublicParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
- publicModuleInGlobal.publicClassWithWithPublicParmeterTypes = publicClassWithWithPublicParmeterTypes;
-- var privateClassWithWithPrivateParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPrivateParmeterTypes() {
-- }
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- privateClassWithWithPrivateParmeterTypes.myPublicStaticMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new privateClass();
-- };
-- privateClassWithWithPrivateParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new privateClass();
-- };
-- return privateClassWithWithPrivateParmeterTypes;
-- }());
-- var privateClassWithWithPublicParmeterTypes = /** @class */ (function () {
-- function privateClassWithWithPublicParmeterTypes() {
-- }
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod = function () {
-- return null;
-- };
-- privateClassWithWithPublicParmeterTypes.myPublicStaticMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.myPrivateStaticMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPublicMethod1 = function () {
-- return new publicClass();
-- };
-- privateClassWithWithPublicParmeterTypes.prototype.myPrivateMethod1 = function () {
-- return new publicClass();
-- };
-- return privateClassWithWithPublicParmeterTypes;
-- }());
-+ class privateClassWithWithPrivateParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new privateClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateClass();
-+ }
-+ myPrivateMethod1() {
-+ return new privateClass();
-+ }
-+ }
-+ class privateClassWithWithPublicParmeterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ static myPrivateStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ myPrivateMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new publicClass();
-+ }
-+ static myPrivateStaticMethod1() {
-+ return new publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new publicClass();
-+ }
-+ myPrivateMethod1() {
-+ return new publicClass();
-+ }
-+ }
- function publicFunctionWithPrivateParmeterTypes() {
- return null;
- }
-@@= skipped -146, +134 lines =@@
- function privateFunctionWithPublicParmeterTypes1() {
- return new publicClass();
- }
-- var publicClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function publicClassWithPrivateModuleParameterTypes() {
-- }
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- publicClassWithPrivateModuleParameterTypes.myPublicStaticMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- publicClassWithPrivateModuleParameterTypes.prototype.myPublicMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- return publicClassWithPrivateModuleParameterTypes;
-- }());
-+ class publicClassWithPrivateModuleParameterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
- publicModuleInGlobal.publicClassWithPrivateModuleParameterTypes = publicClassWithPrivateModuleParameterTypes;
- function publicFunctionWithPrivateModuleParameterTypes() {
- return null;
-@@= skipped -26, +23 lines =@@
- return new privateModule.publicClass();
- }
- publicModuleInGlobal.publicFunctionWithPrivateModuleParameterTypes1 = publicFunctionWithPrivateModuleParameterTypes1;
-- var privateClassWithPrivateModuleParameterTypes = /** @class */ (function () {
-- function privateClassWithPrivateModuleParameterTypes() {
-- }
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod = function () {
-- return null;
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod = function () {
-- return null;
-- };
-- privateClassWithPrivateModuleParameterTypes.myPublicStaticMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- privateClassWithPrivateModuleParameterTypes.prototype.myPublicMethod1 = function () {
-- return new privateModule.publicClass();
-- };
-- return privateClassWithPrivateModuleParameterTypes;
-- }());
-+ class privateClassWithPrivateModuleParameterTypes {
-+ static myPublicStaticMethod() {
-+ return null;
-+ }
-+ myPublicMethod() {
-+ return null;
-+ }
-+ static myPublicStaticMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ myPublicMethod1() {
-+ return new privateModule.publicClass();
-+ }
-+ }
- function privateFunctionWithPrivateModuleParameterTypes() {
- return null;
- }
-@@= skipped -32, +29 lines =@@
+@@= skipped -2160, +2160 lines =@@
export declare class publicClass {
}
export interface publicInterfaceWithPrivateParmeterTypes {
diff --git a/testdata/baselines/reference/submodule/compiler/privacyGetter.js.diff b/testdata/baselines/reference/submodule/compiler/privacyGetter.js.diff
index 401b23b75f..aa46354861 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyGetter.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyGetter.js.diff
@@ -10,298 +10,166 @@
- exports.C7_public = exports.C6_public = exports.m1 = void 0;
- var m1;
- (function (m1) {
-- var C1_public = /** @class */ (function () {
-- function C1_public() {
+- class C1_public {
+- f1() {
- }
-- C1_public.prototype.f1 = function () {
-- };
-- return C1_public;
-- }());
+- }
- m1.C1_public = C1_public;
-- var C2_private = /** @class */ (function () {
-- function C2_private() {
-- }
-- return C2_private;
-- }());
-- var C3_public = /** @class */ (function () {
-- function C3_public() {
-- }
-- Object.defineProperty(C3_public.prototype, "p1_private", {
-- get: function () {
-- return new C1_public();
-- },
-- set: function (m1_c3_p1_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C3_public.prototype, "p2_private", {
-- get: function () {
-- return new C1_public();
-- },
-- set: function (m1_c3_p2_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C3_public.prototype, "p3_private", {
-- get: function () {
-- return new C2_private();
-- },
-- set: function (m1_c3_p3_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C3_public.prototype, "p4_public", {
-- get: function () {
-- return new C2_private(); //error
-- },
-- set: function (m1_c3_p4_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C3_public;
-- }());
+- class C2_private {
+- }
+- class C3_public {
+- get p1_private() {
+- return new C1_public();
+- }
+- set p1_private(m1_c3_p1_arg) {
+- }
+- get p2_private() {
+- return new C1_public();
+- }
+- set p2_private(m1_c3_p2_arg) {
+- }
+- get p3_private() {
+- return new C2_private();
+- }
+- set p3_private(m1_c3_p3_arg) {
+- }
+- get p4_public() {
+- return new C2_private(); //error
+- }
+- set p4_public(m1_c3_p4_arg) {
+- }
+- }
- m1.C3_public = C3_public;
-- var C4_private = /** @class */ (function () {
-- function C4_private() {
-- }
-- Object.defineProperty(C4_private.prototype, "p1_private", {
-- get: function () {
-- return new C1_public();
-- },
-- set: function (m1_c3_p1_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C4_private.prototype, "p2_private", {
-- get: function () {
-- return new C1_public();
-- },
-- set: function (m1_c3_p2_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C4_private.prototype, "p3_private", {
-- get: function () {
-- return new C2_private();
-- },
-- set: function (m1_c3_p3_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C4_private.prototype, "p4_public", {
-- get: function () {
-- return new C2_private();
-- },
-- set: function (m1_c3_p4_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C4_private;
-- }());
+- class C4_private {
+- get p1_private() {
+- return new C1_public();
+- }
+- set p1_private(m1_c3_p1_arg) {
+- }
+- get p2_private() {
+- return new C1_public();
+- }
+- set p2_private(m1_c3_p2_arg) {
+- }
+- get p3_private() {
+- return new C2_private();
+- }
+- set p3_private(m1_c3_p3_arg) {
+- }
+- get p4_public() {
+- return new C2_private();
+- }
+- set p4_public(m1_c3_p4_arg) {
+- }
+- }
- })(m1 || (exports.m1 = m1 = {}));
- var m2;
- (function (m2) {
-- var m2_C1_public = /** @class */ (function () {
-- function m2_C1_public() {
+- class m2_C1_public {
+- f1() {
- }
-- m2_C1_public.prototype.f1 = function () {
-- };
-- return m2_C1_public;
-- }());
+- }
- m2.m2_C1_public = m2_C1_public;
-- var m2_C2_private = /** @class */ (function () {
-- function m2_C2_private() {
-- }
-- return m2_C2_private;
-- }());
-- var m2_C3_public = /** @class */ (function () {
-- function m2_C3_public() {
-- }
-- Object.defineProperty(m2_C3_public.prototype, "p1_private", {
-- get: function () {
-- return new m2_C1_public();
-- },
-- set: function (m2_c3_p1_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(m2_C3_public.prototype, "p2_private", {
-- get: function () {
-- return new m2_C1_public();
-- },
-- set: function (m2_c3_p2_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(m2_C3_public.prototype, "p3_private", {
-- get: function () {
-- return new m2_C2_private();
-- },
-- set: function (m2_c3_p3_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(m2_C3_public.prototype, "p4_public", {
-- get: function () {
-- return new m2_C2_private();
-- },
-- set: function (m2_c3_p4_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return m2_C3_public;
-- }());
+- class m2_C2_private {
+- }
+- class m2_C3_public {
+- get p1_private() {
+- return new m2_C1_public();
+- }
+- set p1_private(m2_c3_p1_arg) {
+- }
+- get p2_private() {
+- return new m2_C1_public();
+- }
+- set p2_private(m2_c3_p2_arg) {
+- }
+- get p3_private() {
+- return new m2_C2_private();
+- }
+- set p3_private(m2_c3_p3_arg) {
+- }
+- get p4_public() {
+- return new m2_C2_private();
+- }
+- set p4_public(m2_c3_p4_arg) {
+- }
+- }
- m2.m2_C3_public = m2_C3_public;
-- var m2_C4_private = /** @class */ (function () {
-- function m2_C4_private() {
-- }
-- Object.defineProperty(m2_C4_private.prototype, "p1_private", {
-- get: function () {
-- return new m2_C1_public();
-- },
-- set: function (m2_c3_p1_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(m2_C4_private.prototype, "p2_private", {
-- get: function () {
-- return new m2_C1_public();
-- },
-- set: function (m2_c3_p2_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(m2_C4_private.prototype, "p3_private", {
-- get: function () {
-- return new m2_C2_private();
-- },
-- set: function (m2_c3_p3_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(m2_C4_private.prototype, "p4_public", {
-- get: function () {
-- return new m2_C2_private();
-- },
-- set: function (m2_c3_p4_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return m2_C4_private;
-- }());
-- })(m2 || (m2 = {}));
-- var C5_private = /** @class */ (function () {
-- function C5_private() {
+- class m2_C4_private {
+- get p1_private() {
+- return new m2_C1_public();
+- }
+- set p1_private(m2_c3_p1_arg) {
+- }
+- get p2_private() {
+- return new m2_C1_public();
+- }
+- set p2_private(m2_c3_p2_arg) {
+- }
+- get p3_private() {
+- return new m2_C2_private();
+- }
+- set p3_private(m2_c3_p3_arg) {
+- }
+- get p4_public() {
+- return new m2_C2_private();
+- }
+- set p4_public(m2_c3_p4_arg) {
+- }
- }
-- C5_private.prototype.f = function () {
-- };
-- return C5_private;
-- }());
-- var C6_public = /** @class */ (function () {
-- function C6_public() {
+- })(m2 || (m2 = {}));
+- class C5_private {
+- f() {
- }
-- return C6_public;
-- }());
+- }
+- class C6_public {
+- }
- exports.C6_public = C6_public;
-- var C7_public = /** @class */ (function () {
-- function C7_public() {
+- class C7_public {
+- get p1_private() {
+- return new C6_public();
+- }
+- set p1_private(m1_c3_p1_arg) {
- }
-- Object.defineProperty(C7_public.prototype, "p1_private", {
-- get: function () {
-- return new C6_public();
-- },
-- set: function (m1_c3_p1_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C7_public.prototype, "p2_private", {
-- get: function () {
-- return new C6_public();
-- },
-- set: function (m1_c3_p2_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C7_public.prototype, "p3_private", {
-- get: function () {
-- return new C5_private();
-- },
-- set: function (m1_c3_p3_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C7_public.prototype, "p4_public", {
-- get: function () {
-- return new C5_private(); //error
-- },
-- set: function (m1_c3_p4_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C7_public;
-- }());
+- get p2_private() {
+- return new C6_public();
+- }
+- set p2_private(m1_c3_p2_arg) {
+- }
+- get p3_private() {
+- return new C5_private();
+- }
+- set p3_private(m1_c3_p3_arg) {
+- }
+- get p4_public() {
+- return new C5_private(); //error
+- }
+- set p4_public(m1_c3_p4_arg) {
+- }
+- }
- exports.C7_public = C7_public;
-- var C8_private = /** @class */ (function () {
-- function C8_private() {
+- class C8_private {
+- get p1_private() {
+- return new C6_public();
+- }
+- set p1_private(m1_c3_p1_arg) {
+- }
+- get p2_private() {
+- return new C6_public();
+- }
+- set p2_private(m1_c3_p2_arg) {
+- }
+- get p3_private() {
+- return new C5_private();
+- }
+- set p3_private(m1_c3_p3_arg) {
+- }
+- get p4_public() {
+- return new C5_private();
+- }
+- set p4_public(m1_c3_p4_arg) {
- }
-- Object.defineProperty(C8_private.prototype, "p1_private", {
-- get: function () {
-- return new C6_public();
-- },
-- set: function (m1_c3_p1_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C8_private.prototype, "p2_private", {
-- get: function () {
-- return new C6_public();
-- },
-- set: function (m1_c3_p2_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C8_private.prototype, "p3_private", {
-- get: function () {
-- return new C5_private();
-- },
-- set: function (m1_c3_p3_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C8_private.prototype, "p4_public", {
-- get: function () {
-- return new C5_private();
-- },
-- set: function (m1_c3_p4_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C8_private;
-- }());
+- }
-});
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/testdata/baselines/reference/submodule/compiler/privacyGloClass.js.diff b/testdata/baselines/reference/submodule/compiler/privacyGloClass.js.diff
deleted file mode 100644
index 50d0772e75..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyGloClass.js.diff
+++ /dev/null
@@ -1,184 +0,0 @@
---- old.privacyGloClass.js
-+++ new.privacyGloClass.js
-@@= skipped -62, +62 lines =@@
-
-
- //// [privacyGloClass.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var m1;
- (function (m1) {
-- var m1_c_public = /** @class */ (function () {
-- function m1_c_public() {
-+ class m1_c_public {
-+ f1() {
- }
-- m1_c_public.prototype.f1 = function () {
-- };
-- return m1_c_public;
-- }());
-+ }
- m1.m1_c_public = m1_c_public;
-- var m1_c_private = /** @class */ (function () {
-- function m1_c_private() {
-- }
-- return m1_c_private;
-- }());
-- var m1_C1_private = /** @class */ (function (_super) {
-- __extends(m1_C1_private, _super);
-- function m1_C1_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C1_private;
-- }(m1_c_public));
-- var m1_C2_private = /** @class */ (function (_super) {
-- __extends(m1_C2_private, _super);
-- function m1_C2_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C2_private;
-- }(m1_c_private));
-- var m1_C3_public = /** @class */ (function (_super) {
-- __extends(m1_C3_public, _super);
-- function m1_C3_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C3_public;
-- }(m1_c_public));
-+ class m1_c_private {
-+ }
-+ class m1_C1_private extends m1_c_public {
-+ }
-+ class m1_C2_private extends m1_c_private {
-+ }
-+ class m1_C3_public extends m1_c_public {
-+ }
- m1.m1_C3_public = m1_C3_public;
-- var m1_C4_public = /** @class */ (function (_super) {
-- __extends(m1_C4_public, _super);
-- function m1_C4_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C4_public;
-- }(m1_c_private));
-+ class m1_C4_public extends m1_c_private {
-+ }
- m1.m1_C4_public = m1_C4_public;
-- var m1_C5_private = /** @class */ (function () {
-- function m1_C5_private() {
-- }
-- return m1_C5_private;
-- }());
-- var m1_C6_private = /** @class */ (function () {
-- function m1_C6_private() {
-- }
-- return m1_C6_private;
-- }());
-- var m1_C7_public = /** @class */ (function () {
-- function m1_C7_public() {
-- }
-- return m1_C7_public;
-- }());
-+ class m1_C5_private {
-+ }
-+ class m1_C6_private {
-+ }
-+ class m1_C7_public {
-+ }
- m1.m1_C7_public = m1_C7_public;
-- var m1_C8_public = /** @class */ (function () {
-- function m1_C8_public() {
-- }
-- return m1_C8_public;
-- }());
-+ class m1_C8_public {
-+ }
- m1.m1_C8_public = m1_C8_public;
-- var m1_C9_private = /** @class */ (function (_super) {
-- __extends(m1_C9_private, _super);
-- function m1_C9_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C9_private;
-- }(m1_c_public));
-- var m1_C10_private = /** @class */ (function (_super) {
-- __extends(m1_C10_private, _super);
-- function m1_C10_private() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C10_private;
-- }(m1_c_private));
-- var m1_C11_public = /** @class */ (function (_super) {
-- __extends(m1_C11_public, _super);
-- function m1_C11_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C11_public;
-- }(m1_c_public));
-+ class m1_C9_private extends m1_c_public {
-+ }
-+ class m1_C10_private extends m1_c_private {
-+ }
-+ class m1_C11_public extends m1_c_public {
-+ }
- m1.m1_C11_public = m1_C11_public;
-- var m1_C12_public = /** @class */ (function (_super) {
-- __extends(m1_C12_public, _super);
-- function m1_C12_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return m1_C12_public;
-- }(m1_c_private));
-+ class m1_C12_public extends m1_c_private {
-+ }
- m1.m1_C12_public = m1_C12_public;
- })(m1 || (m1 = {}));
--var glo_c_public = /** @class */ (function () {
-- function glo_c_public() {
-- }
-- glo_c_public.prototype.f1 = function () {
-- };
-- return glo_c_public;
--}());
--var glo_C3_public = /** @class */ (function (_super) {
-- __extends(glo_C3_public, _super);
-- function glo_C3_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return glo_C3_public;
--}(glo_c_public));
--var glo_C7_public = /** @class */ (function () {
-- function glo_C7_public() {
-- }
-- return glo_C7_public;
--}());
--var glo_C11_public = /** @class */ (function (_super) {
-- __extends(glo_C11_public, _super);
-- function glo_C11_public() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return glo_C11_public;
--}(glo_c_public));
-+class glo_c_public {
-+ f1() {
-+ }
-+}
-+class glo_C3_public extends glo_c_public {
-+}
-+class glo_C7_public {
-+}
-+class glo_C11_public extends glo_c_public {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyGloFunc.js.diff b/testdata/baselines/reference/submodule/compiler/privacyGloFunc.js.diff
index b54a897f25..141aba39f3 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyGloFunc.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyGloFunc.js.diff
@@ -16,116 +16,104 @@
- exports.f12_public = f12_public;
- var m1;
- (function (m1) {
-- var C1_public = /** @class */ (function () {
-- function C1_public() {
+- class C1_public {
+- f1() {
- }
-- C1_public.prototype.f1 = function () {
-- };
-- return C1_public;
-- }());
+- }
- m1.C1_public = C1_public;
-- var C2_private = /** @class */ (function () {
-- function C2_private() {
-- }
-- return C2_private;
-- }());
-- var C3_public = /** @class */ (function () {
-- function C3_public(m1_c3_c1_2) {
-- }
-- C3_public.prototype.f1_private = function (m1_c3_f1_arg) {
-- };
-- C3_public.prototype.f2_public = function (m1_c3_f2_arg) {
-- };
-- C3_public.prototype.f3_private = function (m1_c3_f3_arg) {
-- };
-- C3_public.prototype.f4_public = function (m1_c3_f4_arg) {
-- };
-- C3_public.prototype.f5_private = function () {
+- class C2_private {
+- }
+- class C3_public {
+- constructor(m1_c3_c1_2) {
+- }
+- f1_private(m1_c3_f1_arg) {
+- }
+- f2_public(m1_c3_f2_arg) {
+- }
+- f3_private(m1_c3_f3_arg) {
+- }
+- f4_public(m1_c3_f4_arg) {
+- }
+- f5_private() {
- return new C1_public();
-- };
-- C3_public.prototype.f6_public = function () {
+- }
+- f6_public() {
- return new C1_public();
-- };
-- C3_public.prototype.f7_private = function () {
+- }
+- f7_private() {
- return new C2_private();
-- };
-- C3_public.prototype.f8_public = function () {
+- }
+- f8_public() {
- return new C2_private(); // error
-- };
-- C3_public.prototype.f9_private = function () {
+- }
+- f9_private() {
- return new C1_public();
-- };
-- C3_public.prototype.f10_public = function () {
+- }
+- f10_public() {
- return new C1_public();
-- };
-- C3_public.prototype.f11_private = function () {
+- }
+- f11_private() {
- return new C2_private();
-- };
-- C3_public.prototype.f12_public = function () {
+- }
+- f12_public() {
- return new C2_private(); //error
-- };
-- return C3_public;
-- }());
+- }
+- }
- m1.C3_public = C3_public;
-- var C4_private = /** @class */ (function () {
-- function C4_private(m1_c4_c1_2) {
-- }
-- C4_private.prototype.f1_private = function (m1_c4_f1_arg) {
-- };
-- C4_private.prototype.f2_public = function (m1_c4_f2_arg) {
-- };
-- C4_private.prototype.f3_private = function (m1_c4_f3_arg) {
-- };
-- C4_private.prototype.f4_public = function (m1_c4_f4_arg) {
-- };
-- C4_private.prototype.f5_private = function () {
+- class C4_private {
+- constructor(m1_c4_c1_2) {
+- }
+- f1_private(m1_c4_f1_arg) {
+- }
+- f2_public(m1_c4_f2_arg) {
+- }
+- f3_private(m1_c4_f3_arg) {
+- }
+- f4_public(m1_c4_f4_arg) {
+- }
+- f5_private() {
- return new C1_public();
-- };
-- C4_private.prototype.f6_public = function () {
+- }
+- f6_public() {
- return new C1_public();
-- };
-- C4_private.prototype.f7_private = function () {
+- }
+- f7_private() {
- return new C2_private();
-- };
-- C4_private.prototype.f8_public = function () {
+- }
+- f8_public() {
- return new C2_private();
-- };
-- C4_private.prototype.f9_private = function () {
+- }
+- f9_private() {
- return new C1_public();
-- };
-- C4_private.prototype.f10_public = function () {
+- }
+- f10_public() {
- return new C1_public();
-- };
-- C4_private.prototype.f11_private = function () {
+- }
+- f11_private() {
- return new C2_private();
-- };
-- C4_private.prototype.f12_public = function () {
+- }
+- f12_public() {
- return new C2_private();
-- };
-- return C4_private;
-- }());
-- var C5_public = /** @class */ (function () {
-- function C5_public(m1_c5_c) {
-- }
-- return C5_public;
-- }());
+- }
+- }
+- class C5_public {
+- constructor(m1_c5_c) {
+- }
+- }
- m1.C5_public = C5_public;
-- var C6_private = /** @class */ (function () {
-- function C6_private(m1_c6_c) {
+- class C6_private {
+- constructor(m1_c6_c) {
- }
-- return C6_private;
-- }());
-- var C7_public = /** @class */ (function () {
-- function C7_public(m1_c7_c) {
+- }
+- class C7_public {
+- constructor(m1_c7_c) {
- }
-- return C7_public;
-- }());
+- }
- m1.C7_public = C7_public;
-- var C8_private = /** @class */ (function () {
-- function C8_private(m1_c8_c) {
+- class C8_private {
+- constructor(m1_c8_c) {
- }
-- return C8_private;
-- }());
+- }
- function f1_public(m1_f1_arg) {
- }
- function f2_public(m1_f2_arg) {
@@ -212,116 +200,104 @@
- })(m1 || (exports.m1 = m1 = {}));
- var m2;
- (function (m2) {
-- var m2_C1_public = /** @class */ (function () {
-- function m2_C1_public() {
+- class m2_C1_public {
+- f() {
- }
-- m2_C1_public.prototype.f = function () {
-- };
-- return m2_C1_public;
-- }());
+- }
- m2.m2_C1_public = m2_C1_public;
-- var m2_C2_private = /** @class */ (function () {
-- function m2_C2_private() {
-- }
-- return m2_C2_private;
-- }());
-- var m2_C3_public = /** @class */ (function () {
-- function m2_C3_public(m2_c3_c1_2) {
-- }
-- m2_C3_public.prototype.f1_private = function (m2_c3_f1_arg) {
-- };
-- m2_C3_public.prototype.f2_public = function (m2_c3_f2_arg) {
-- };
-- m2_C3_public.prototype.f3_private = function (m2_c3_f3_arg) {
-- };
-- m2_C3_public.prototype.f4_public = function (m2_c3_f4_arg) {
-- };
-- m2_C3_public.prototype.f5_private = function () {
+- class m2_C2_private {
+- }
+- class m2_C3_public {
+- constructor(m2_c3_c1_2) {
+- }
+- f1_private(m2_c3_f1_arg) {
+- }
+- f2_public(m2_c3_f2_arg) {
+- }
+- f3_private(m2_c3_f3_arg) {
+- }
+- f4_public(m2_c3_f4_arg) {
+- }
+- f5_private() {
- return new m2_C1_public();
-- };
-- m2_C3_public.prototype.f6_public = function () {
+- }
+- f6_public() {
- return new m2_C1_public();
-- };
-- m2_C3_public.prototype.f7_private = function () {
+- }
+- f7_private() {
- return new m2_C2_private();
-- };
-- m2_C3_public.prototype.f8_public = function () {
+- }
+- f8_public() {
- return new m2_C2_private();
-- };
-- m2_C3_public.prototype.f9_private = function () {
+- }
+- f9_private() {
- return new m2_C1_public();
-- };
-- m2_C3_public.prototype.f10_public = function () {
+- }
+- f10_public() {
- return new m2_C1_public();
-- };
-- m2_C3_public.prototype.f11_private = function () {
+- }
+- f11_private() {
- return new m2_C2_private();
-- };
-- m2_C3_public.prototype.f12_public = function () {
+- }
+- f12_public() {
- return new m2_C2_private();
-- };
-- return m2_C3_public;
-- }());
+- }
+- }
- m2.m2_C3_public = m2_C3_public;
-- var m2_C4_private = /** @class */ (function () {
-- function m2_C4_private(m2_c4_c1_2) {
-- }
-- m2_C4_private.prototype.f1_private = function (m2_c4_f1_arg) {
-- };
-- m2_C4_private.prototype.f2_public = function (m2_c4_f2_arg) {
-- };
-- m2_C4_private.prototype.f3_private = function (m2_c4_f3_arg) {
-- };
-- m2_C4_private.prototype.f4_public = function (m2_c4_f4_arg) {
-- };
-- m2_C4_private.prototype.f5_private = function () {
+- class m2_C4_private {
+- constructor(m2_c4_c1_2) {
+- }
+- f1_private(m2_c4_f1_arg) {
+- }
+- f2_public(m2_c4_f2_arg) {
+- }
+- f3_private(m2_c4_f3_arg) {
+- }
+- f4_public(m2_c4_f4_arg) {
+- }
+- f5_private() {
- return new m2_C1_public();
-- };
-- m2_C4_private.prototype.f6_public = function () {
+- }
+- f6_public() {
- return new m2_C1_public();
-- };
-- m2_C4_private.prototype.f7_private = function () {
+- }
+- f7_private() {
- return new m2_C2_private();
-- };
-- m2_C4_private.prototype.f8_public = function () {
+- }
+- f8_public() {
- return new m2_C2_private();
-- };
-- m2_C4_private.prototype.f9_private = function () {
+- }
+- f9_private() {
- return new m2_C1_public();
-- };
-- m2_C4_private.prototype.f10_public = function () {
+- }
+- f10_public() {
- return new m2_C1_public();
-- };
-- m2_C4_private.prototype.f11_private = function () {
+- }
+- f11_private() {
- return new m2_C2_private();
-- };
-- m2_C4_private.prototype.f12_public = function () {
+- }
+- f12_public() {
- return new m2_C2_private();
-- };
-- return m2_C4_private;
-- }());
-- var m2_C5_public = /** @class */ (function () {
-- function m2_C5_public(m2_c5_c) {
-- }
-- return m2_C5_public;
-- }());
+- }
+- }
+- class m2_C5_public {
+- constructor(m2_c5_c) {
+- }
+- }
- m2.m2_C5_public = m2_C5_public;
-- var m2_C6_private = /** @class */ (function () {
-- function m2_C6_private(m2_c6_c) {
+- class m2_C6_private {
+- constructor(m2_c6_c) {
- }
-- return m2_C6_private;
-- }());
-- var m2_C7_public = /** @class */ (function () {
-- function m2_C7_public(m2_c7_c) {
+- }
+- class m2_C7_public {
+- constructor(m2_c7_c) {
- }
-- return m2_C7_public;
-- }());
+- }
- m2.m2_C7_public = m2_C7_public;
-- var m2_C8_private = /** @class */ (function () {
-- function m2_C8_private(m2_c8_c) {
+- class m2_C8_private {
+- constructor(m2_c8_c) {
- }
-- return m2_C8_private;
-- }());
+- }
- function f1_public(m2_f1_arg) {
- }
- function f2_public(m2_f2_arg) {
@@ -361,116 +337,153 @@
- }
- m2.f12_public = f12_public;
- })(m2 || (m2 = {}));
-- var C5_private = /** @class */ (function () {
-- function C5_private() {
-- }
-- C5_private.prototype.f = function () {
-- };
-- return C5_private;
-- }());
-- var C6_public = /** @class */ (function () {
-- function C6_public() {
-- }
-- return C6_public;
-- }());
+- class C5_private {
+- f() {
+- }
+- }
+- class C6_public {
+- }
- exports.C6_public = C6_public;
-- var C7_public = /** @class */ (function () {
-- function C7_public(c7_c1_2) {
-- }
-- C7_public.prototype.f1_private = function (c7_f1_arg) {
-- };
-- C7_public.prototype.f2_public = function (c7_f2_arg) {
-- };
-- C7_public.prototype.f3_private = function (c7_f3_arg) {
-- };
-- C7_public.prototype.f4_public = function (c7_f4_arg) {
-- };
-- C7_public.prototype.f5_private = function () {
++ }
++ m1.C3_public = C3_public;
++ class C4_private {
++ constructor(m1_c4_c1_2) {
++ }
++ f1_private(m1_c4_f1_arg) {
++ }
++ f2_public(m1_c4_f2_arg) {
++ }
++ f3_private(m1_c4_f3_arg) {
++ }
++ f4_public(m1_c4_f4_arg) {
++ }
++ f5_private() {
++ return new C1_public();
++ }
++ f6_public() {
++ return new C1_public();
++ }
++ f7_private() {
++ return new C2_private();
++ }
++ f8_public() {
++ return new C2_private();
++ }
++ f9_private() {
++ return new C1_public();
++ }
++ f10_public() {
++ return new C1_public();
++ }
++ f11_private() {
++ return new C2_private();
++ }
++ f12_public() {
++ return new C2_private();
++ }
++ }
++ class C5_public {
++ constructor(m1_c5_c) {
++ }
++ }
++ m1.C5_public = C5_public;
++ class C6_private {
++ constructor(m1_c6_c) {
++ }
++ }
+ class C7_public {
+- constructor(c7_c1_2) {
+- }
+- f1_private(c7_f1_arg) {
+- }
+- f2_public(c7_f2_arg) {
+- }
+- f3_private(c7_f3_arg) {
+- }
+- f4_public(c7_f4_arg) {
+- }
+- f5_private() {
- return new C6_public();
-- };
-- C7_public.prototype.f6_public = function () {
+- }
+- f6_public() {
- return new C6_public();
-- };
-- C7_public.prototype.f7_private = function () {
+- }
+- f7_private() {
- return new C5_private();
-- };
-- C7_public.prototype.f8_public = function () {
+- }
+- f8_public() {
- return new C5_private(); //error
-- };
-- C7_public.prototype.f9_private = function () {
+- }
+- f9_private() {
- return new C6_public();
-- };
-- C7_public.prototype.f10_public = function () {
+- }
+- f10_public() {
- return new C6_public();
-- };
-- C7_public.prototype.f11_private = function () {
+- }
+- f11_private() {
- return new C5_private();
-- };
-- C7_public.prototype.f12_public = function () {
+- }
+- f12_public() {
- return new C5_private(); //error
-- };
-- return C7_public;
-- }());
++ constructor(m1_c7_c) {
+ }
+ }
- exports.C7_public = C7_public;
-- var C8_private = /** @class */ (function () {
-- function C8_private(c8_c1_2) {
-- }
-- C8_private.prototype.f1_private = function (c8_f1_arg) {
-- };
-- C8_private.prototype.f2_public = function (c8_f2_arg) {
-- };
-- C8_private.prototype.f3_private = function (c8_f3_arg) {
-- };
-- C8_private.prototype.f4_public = function (c8_f4_arg) {
-- };
-- C8_private.prototype.f5_private = function () {
++ m1.C7_public = C7_public;
+ class C8_private {
+- constructor(c8_c1_2) {
+- }
+- f1_private(c8_f1_arg) {
+- }
+- f2_public(c8_f2_arg) {
+- }
+- f3_private(c8_f3_arg) {
+- }
+- f4_public(c8_f4_arg) {
+- }
+- f5_private() {
- return new C6_public();
-- };
-- C8_private.prototype.f6_public = function () {
+- }
+- f6_public() {
- return new C6_public();
-- };
-- C8_private.prototype.f7_private = function () {
+- }
+- f7_private() {
- return new C5_private();
-- };
-- C8_private.prototype.f8_public = function () {
+- }
+- f8_public() {
- return new C5_private();
-- };
-- C8_private.prototype.f9_private = function () {
+- }
+- f9_private() {
- return new C6_public();
-- };
-- C8_private.prototype.f10_public = function () {
+- }
+- f10_public() {
- return new C6_public();
-- };
-- C8_private.prototype.f11_private = function () {
+- }
+- f11_private() {
- return new C5_private();
-- };
-- C8_private.prototype.f12_public = function () {
+- }
+- f12_public() {
- return new C5_private();
-- };
-- return C8_private;
-- }());
-- var C9_public = /** @class */ (function () {
-- function C9_public(c9_c) {
-- }
-- return C9_public;
-- }());
+- }
+- }
+- class C9_public {
+- constructor(c9_c) {
+- }
+- }
- exports.C9_public = C9_public;
-- var C10_private = /** @class */ (function () {
-- function C10_private(c10_c) {
+- class C10_private {
+- constructor(c10_c) {
- }
-- return C10_private;
-- }());
-- var C11_public = /** @class */ (function () {
-- function C11_public(c11_c) {
+- }
+- class C11_public {
+- constructor(c11_c) {
- }
-- return C11_public;
-- }());
+- }
- exports.C11_public = C11_public;
-- var C12_private = /** @class */ (function () {
-- function C12_private(c12_c) {
+- class C12_private {
+- constructor(c12_c) {
- }
-- return C12_private;
-- }());
+- }
- function f1_private(f1_arg) {
- }
- function f2_public(f2_arg) {
@@ -504,59 +517,6 @@
- return new C5_private(); //error
- }
-});
-+ }
-+ m1.C3_public = C3_public;
-+ class C4_private {
-+ constructor(m1_c4_c1_2) {
-+ }
-+ f1_private(m1_c4_f1_arg) {
-+ }
-+ f2_public(m1_c4_f2_arg) {
-+ }
-+ f3_private(m1_c4_f3_arg) {
-+ }
-+ f4_public(m1_c4_f4_arg) {
-+ }
-+ f5_private() {
-+ return new C1_public();
-+ }
-+ f6_public() {
-+ return new C1_public();
-+ }
-+ f7_private() {
-+ return new C2_private();
-+ }
-+ f8_public() {
-+ return new C2_private();
-+ }
-+ f9_private() {
-+ return new C1_public();
-+ }
-+ f10_public() {
-+ return new C1_public();
-+ }
-+ f11_private() {
-+ return new C2_private();
-+ }
-+ f12_public() {
-+ return new C2_private();
-+ }
-+ }
-+ class C5_public {
-+ constructor(m1_c5_c) {
-+ }
-+ }
-+ m1.C5_public = C5_public;
-+ class C6_private {
-+ constructor(m1_c6_c) {
-+ }
-+ }
-+ class C7_public {
-+ constructor(m1_c7_c) {
-+ }
-+ }
-+ m1.C7_public = C7_public;
-+ class C8_private {
+ constructor(m1_c8_c) {
+ }
+ }
diff --git a/testdata/baselines/reference/submodule/compiler/privacyGloGetter.js.diff b/testdata/baselines/reference/submodule/compiler/privacyGloGetter.js.diff
deleted file mode 100644
index 9b07723315..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyGloGetter.js.diff
+++ /dev/null
@@ -1,194 +0,0 @@
---- old.privacyGloGetter.js
-+++ new.privacyGloGetter.js
-@@= skipped -92, +92 lines =@@
- //// [privacyGloGetter.js]
- var m1;
- (function (m1) {
-- var C1_public = /** @class */ (function () {
-- function C1_public() {
-+ class C1_public {
-+ f1() {
- }
-- C1_public.prototype.f1 = function () {
-- };
-- return C1_public;
-- }());
-+ }
- m1.C1_public = C1_public;
-- var C2_private = /** @class */ (function () {
-- function C2_private() {
-- }
-- return C2_private;
-- }());
-- var C3_public = /** @class */ (function () {
-- function C3_public() {
-- }
-- Object.defineProperty(C3_public.prototype, "p1_private", {
-- get: function () {
-- return new C1_public();
-- },
-- set: function (m1_c3_p1_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C3_public.prototype, "p2_private", {
-- get: function () {
-- return new C1_public();
-- },
-- set: function (m1_c3_p2_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C3_public.prototype, "p3_private", {
-- get: function () {
-- return new C2_private();
-- },
-- set: function (m1_c3_p3_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C3_public.prototype, "p4_public", {
-- get: function () {
-- return new C2_private(); //error
-- },
-- set: function (m1_c3_p4_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C3_public;
-- }());
-+ class C2_private {
-+ }
-+ class C3_public {
-+ get p1_private() {
-+ return new C1_public();
-+ }
-+ set p1_private(m1_c3_p1_arg) {
-+ }
-+ get p2_private() {
-+ return new C1_public();
-+ }
-+ set p2_private(m1_c3_p2_arg) {
-+ }
-+ get p3_private() {
-+ return new C2_private();
-+ }
-+ set p3_private(m1_c3_p3_arg) {
-+ }
-+ get p4_public() {
-+ return new C2_private(); //error
-+ }
-+ set p4_public(m1_c3_p4_arg) {
-+ }
-+ }
- m1.C3_public = C3_public;
-- var C4_private = /** @class */ (function () {
-- function C4_private() {
-- }
-- Object.defineProperty(C4_private.prototype, "p1_private", {
-- get: function () {
-- return new C1_public();
-- },
-- set: function (m1_c3_p1_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C4_private.prototype, "p2_private", {
-- get: function () {
-- return new C1_public();
-- },
-- set: function (m1_c3_p2_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C4_private.prototype, "p3_private", {
-- get: function () {
-- return new C2_private();
-- },
-- set: function (m1_c3_p3_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C4_private.prototype, "p4_public", {
-- get: function () {
-- return new C2_private();
-- },
-- set: function (m1_c3_p4_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C4_private;
-- }());
-+ class C4_private {
-+ get p1_private() {
-+ return new C1_public();
-+ }
-+ set p1_private(m1_c3_p1_arg) {
-+ }
-+ get p2_private() {
-+ return new C1_public();
-+ }
-+ set p2_private(m1_c3_p2_arg) {
-+ }
-+ get p3_private() {
-+ return new C2_private();
-+ }
-+ set p3_private(m1_c3_p3_arg) {
-+ }
-+ get p4_public() {
-+ return new C2_private();
-+ }
-+ set p4_public(m1_c3_p4_arg) {
-+ }
-+ }
- })(m1 || (m1 = {}));
--var C6_public = /** @class */ (function () {
-- function C6_public() {
-- }
-- return C6_public;
--}());
--var C7_public = /** @class */ (function () {
-- function C7_public() {
-- }
-- Object.defineProperty(C7_public.prototype, "p1_private", {
-- get: function () {
-- return new C6_public();
-- },
-- set: function (m1_c3_p1_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C7_public.prototype, "p2_private", {
-- get: function () {
-- return new C6_public();
-- },
-- set: function (m1_c3_p2_arg) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C7_public;
--}());
-+class C6_public {
-+}
-+class C7_public {
-+ get p1_private() {
-+ return new C6_public();
-+ }
-+ set p1_private(m1_c3_p1_arg) {
-+ }
-+ get p2_private() {
-+ return new C6_public();
-+ }
-+ set p2_private(m1_c3_p2_arg) {
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyGloImport.js.diff b/testdata/baselines/reference/submodule/compiler/privacyGloImport.js.diff
index 658816907c..3fc1feafc3 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyGloImport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyGloImport.js.diff
@@ -1,40 +1,6 @@
--- old.privacyGloImport.js
+++ new.privacyGloImport.js
-@@= skipped -156, +156 lines =@@
- //// [privacyGloImport.js]
- var m1;
- (function (m1) {
-- var m1_M1_public;
-+ let m1_M1_public;
- (function (m1_M1_public) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- m1_M1_public.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -14, +11 lines =@@
- m1_M1_public.f1 = f1;
- m1_M1_public.v1 = c1;
- })(m1_M1_public = m1.m1_M1_public || (m1.m1_M1_public = {}));
-- var m1_M2_private;
-+ let m1_M2_private;
- (function (m1_M2_private) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- m1_M2_private.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -46, +43 lines =@@
+@@= skipped -210, +210 lines =@@
var m1_im2_private_v2_private = new m1_im2_private.c1();
var m1_im2_private_v3_private = m1_im2_private.f1;
var m1_im2_private_v4_private = m1_im2_private.f1();
@@ -59,30 +25,7 @@
m1.m1_im1_public = m1_M1_public;
m1.m1_im2_public = m1_M2_private;
//export import m1_im3_public = require("m1_M3_public");
-@@= skipped -25, +7 lines =@@
- })(m1 || (m1 = {}));
- var glo_M1_public;
- (function (glo_M1_public) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- glo_M1_public.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -15, +12 lines =@@
- var m2;
- (function (m2) {
- //import m3 = require("use_glo_M1_public");
-- var m4;
-+ let m4;
- (function (m4) {
- var a = 10;
- //import m2 = require("use_glo_M1_public");
-@@= skipped -24, +24 lines =@@
+@@= skipped -61, +43 lines =@@
var v1: typeof c1;
var v2: c1;
}
diff --git a/testdata/baselines/reference/submodule/compiler/privacyGloImportParseErrors.js.diff b/testdata/baselines/reference/submodule/compiler/privacyGloImportParseErrors.js.diff
index aa1825edc3..a8c122baa1 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyGloImportParseErrors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyGloImportParseErrors.js.diff
@@ -1,40 +1,6 @@
--- old.privacyGloImportParseErrors.js
+++ new.privacyGloImportParseErrors.js
-@@= skipped -156, +156 lines =@@
- //// [privacyGloImportParseErrors.js]
- var m1;
- (function (m1) {
-- var m1_M1_public;
-+ let m1_M1_public;
- (function (m1_M1_public) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- m1_M1_public.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -14, +11 lines =@@
- m1_M1_public.f1 = f1;
- m1_M1_public.v1 = c1;
- })(m1_M1_public = m1.m1_M1_public || (m1.m1_M1_public = {}));
-- var m1_M2_private;
-+ let m1_M2_private;
- (function (m1_M2_private) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- m1_M2_private.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -32, +29 lines =@@
+@@= skipped -196, +196 lines =@@
var m1_im2_private_v2_private = new m1_im2_private.c1();
var m1_im2_private_v3_private = m1_im2_private.f1;
var m1_im2_private_v4_private = m1_im2_private.f1();
@@ -59,23 +25,12 @@
})(m1 || (m1 = {}));
var glo_M1_public;
(function (glo_M1_public) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- glo_M1_public.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -17, +16 lines =@@
+@@= skipped -14, +16 lines =@@
})(glo_M1_public || (glo_M1_public = {}));
var m2;
(function (m2_1) {
-- var m4;
+ import m3 = require("use_glo_M1_public");
-+ let m4;
+ let m4;
(function (m4) {
var a = 10;
+ import m2 = require("use_glo_M1_public");
diff --git a/testdata/baselines/reference/submodule/compiler/privacyGloInterface.js.diff b/testdata/baselines/reference/submodule/compiler/privacyGloInterface.js.diff
deleted file mode 100644
index dc204e36af..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyGloInterface.js.diff
+++ /dev/null
@@ -1,35 +0,0 @@
---- old.privacyGloInterface.js
-+++ new.privacyGloInterface.js
-@@= skipped -123, +123 lines =@@
- //// [privacyGloInterface.js]
- var m1;
- (function (m1) {
-- var C1_public = /** @class */ (function () {
-- function C1_public() {
-+ class C1_public {
-+ f1() {
- }
-- C1_public.prototype.f1 = function () {
-- };
-- return C1_public;
-- }());
-+ }
- m1.C1_public = C1_public;
-- var C2_private = /** @class */ (function () {
-- function C2_private() {
-- }
-- return C2_private;
-- }());
-+ class C2_private {
-+ }
- })(m1 || (m1 = {}));
--var C5_public = /** @class */ (function () {
-- function C5_public() {
-+class C5_public {
-+ f1() {
- }
-- C5_public.prototype.f1 = function () {
-- };
-- return C5_public;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyGloVar.js.diff b/testdata/baselines/reference/submodule/compiler/privacyGloVar.js.diff
index 7b1e30617b..f57758f9be 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyGloVar.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyGloVar.js.diff
@@ -1,27 +1,10 @@
--- old.privacyGloVar.js
+++ new.privacyGloVar.js
-@@= skipped -84, +84 lines =@@
- //// [privacyGloVar.js]
- var m1;
- (function (m1) {
-- var C1_public = /** @class */ (function () {
-- function C1_public() {
-+ class C1_public {
-+ f1() {
- }
-- C1_public.prototype.f1 = function () {
-- };
-- return C1_public;
-- }());
-+ }
- m1.C1_public = C1_public;
-- var C2_private = /** @class */ (function () {
-- function C2_private() {
-- }
-- return C2_private;
-- }());
-- var C3_public = /** @class */ (function () {
-- function C3_public() {
+@@= skipped -92, +92 lines =@@
+ class C2_private {
+ }
+ class C3_public {
+- constructor() {
- this.C3_v11_private = new C1_public();
- this.C3_v12_public = new C1_public();
- this.C3_v13_private = new C2_private();
@@ -31,11 +14,6 @@
- this.C3_v23_private = new C2_private();
- this.C3_v24_public = new C2_private(); // error
- }
-- return C3_public;
-- }());
-+ class C2_private {
-+ }
-+ class C3_public {
+ C3_v1_private;
+ C3_v2_public;
+ C3_v3_private;
@@ -48,10 +26,10 @@
+ C3_v22_public = new C1_public();
+ C3_v23_private = new C2_private();
+ C3_v24_public = new C2_private(); // error
-+ }
+ }
m1.C3_public = C3_public;
-- var C4_public = /** @class */ (function () {
-- function C4_public() {
+ class C4_public {
+- constructor() {
- this.C4_v11_private = new C1_public();
- this.C4_v12_public = new C1_public();
- this.C4_v13_private = new C2_private();
@@ -61,9 +39,6 @@
- this.C4_v23_private = new C2_private();
- this.C4_v24_public = new C2_private();
- }
-- return C4_public;
-- }());
-+ class C4_public {
+ C4_v1_private;
+ C4_v2_public;
+ C4_v3_private;
@@ -76,42 +51,25 @@
+ C4_v22_public = new C1_public();
+ C4_v23_private = new C2_private();
+ C4_v24_public = new C2_private();
-+ }
+ }
var m1_v1_private;
var m1_v3_private;
- var m1_v11_private = new C1_public();
-@@= skipped -51, +47 lines =@@
- var m1_v23_private = new C2_private();
- m1.m1_v24_public = new C2_private(); // error
- })(m1 || (m1 = {}));
--var glo_C1_public = /** @class */ (function () {
-- function glo_C1_public() {
-- }
-- glo_C1_public.prototype.f1 = function () {
-- };
-- return glo_C1_public;
--}());
--var glo_C3_public = /** @class */ (function () {
-- function glo_C3_public() {
+@@= skipped -40, +44 lines =@@
+ }
+ }
+ class glo_C3_public {
+- constructor() {
- this.glo_C3_v11_private = new glo_C1_public();
- this.glo_C3_v12_public = new glo_C1_public();
- this.glo_C3_v21_private = new glo_C1_public();
- this.glo_C3_v22_public = new glo_C1_public();
- }
-- return glo_C3_public;
--}());
-+class glo_C1_public {
-+ f1() {
-+ }
-+}
-+class glo_C3_public {
+ glo_C3_v1_private;
+ glo_C3_v2_public;
+ glo_C3_v11_private = new glo_C1_public();
+ glo_C3_v12_public = new glo_C1_public();
+ glo_C3_v21_private = new glo_C1_public();
+ glo_C3_v22_public = new glo_C1_public();
-+}
+ }
var glo_v2_public;
- var glo_v12_public = new glo_C1_public();
- var glo_v22_public = new glo_C1_public();
\ No newline at end of file
+ var glo_v12_public = new glo_C1_public();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyImport.js.diff b/testdata/baselines/reference/submodule/compiler/privacyImport.js.diff
index 4cca4e1b88..833d1747c0 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyImport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyImport.js.diff
@@ -8,37 +8,8 @@
+exports.m3 = exports.glo_im3_private_v4_public = exports.glo_im3_private_v3_public = exports.glo_im3_private_v2_public = exports.glo_im3_private_v1_public = exports.glo_im1_private_v4_public = exports.glo_im1_private_v3_public = exports.glo_im1_private_v2_public = exports.glo_im1_private_v1_public = exports.glo_M3_private = exports.glo_M1_public = exports.m1 = void 0;
var m1;
(function (m1) {
-- var m1_M1_public;
-+ let m1_M1_public;
- (function (m1_M1_public) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- m1_M1_public.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -17, +14 lines =@@
- m1_M1_public.f1 = f1;
- m1_M1_public.v1 = c1;
- })(m1_M1_public = m1.m1_M1_public || (m1.m1_M1_public = {}));
-- var m1_M2_private;
-+ let m1_M2_private;
- (function (m1_M2_private) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- m1_M2_private.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -46, +43 lines =@@
+ let m1_M1_public;
+@@= skipped -57, +57 lines =@@
var m1_im2_private_v2_private = new m1_im2_private.c1();
var m1_im2_private_v3_private = m1_im2_private.f1;
var m1_im2_private_v4_private = m1_im2_private.f1();
@@ -63,41 +34,7 @@
m1.m1_im1_public = m1_M1_public;
m1.m1_im2_public = m1_M2_private;
//export import m1_im3_public = require("m1_M3_public");
-@@= skipped -25, +7 lines =@@
- })(m1 || (exports.m1 = m1 = {}));
- var m2;
- (function (m2) {
-- var m2_M1_public;
-+ let m2_M1_public;
- (function (m2_M1_public) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- m2_M1_public.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -14, +11 lines =@@
- m2_M1_public.f1 = f1;
- m2_M1_public.v1 = c1;
- })(m2_M1_public = m2.m2_M1_public || (m2.m2_M1_public = {}));
-- var m2_M2_private;
-+ let m2_M2_private;
- (function (m2_M2_private) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- m2_M2_private.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -46, +43 lines =@@
+@@= skipped -79, +61 lines =@@
var m1_im2_private_v2_private = new m1_im2_private.c1();
var m1_im2_private_v3_private = m1_im2_private.f1;
var m1_im2_private_v4_private = m1_im2_private.f1();
@@ -123,35 +60,7 @@
m2.m1_im1_public = m2_M1_public;
m2.m1_im2_public = m2_M2_private;
//export import m1_im3_public = require("m2_M3_public");
-@@= skipped -26, +7 lines =@@
- })(m2 || (m2 = {}));
- var glo_M1_public;
- (function (glo_M1_public) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- glo_M1_public.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -21, +18 lines =@@
- //}
- var glo_M3_private;
- (function (glo_M3_private) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- glo_M3_private.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -12, +9 lines =@@
+@@= skipped -53, +34 lines =@@
glo_M3_private.f1 = f1;
glo_M3_private.v1 = c1;
})(glo_M3_private || (exports.glo_M3_private = glo_M3_private = {}));
@@ -202,25 +111,7 @@
//export import glo_im3_public = require("glo_M2_public");
//export import glo_im4_public = require("glo_M4_private");
//export declare module "use_glo_M1_public" {
-@@= skipped -88, +76 lines =@@
- //}
- (function (m2) {
- //import m3 = require("use_glo_M1_public");
-- var m4;
-+ let m4;
- (function (m4) {
- var a = 10;
- //import m2 = require("use_glo_M1_public");
-@@= skipped -9, +9 lines =@@
- var m3;
- (function (m3) {
- //import m3 = require("use_glo_M1_public");
-- var m4;
-+ let m4;
- (function (m4) {
- var a = 10;
- //import m2 = require("use_glo_M1_public");
-@@= skipped -24, +24 lines =@@
+@@= skipped -121, +109 lines =@@
var v1: typeof c1;
var v2: c1;
}
diff --git a/testdata/baselines/reference/submodule/compiler/privacyImportParseErrors.js.diff b/testdata/baselines/reference/submodule/compiler/privacyImportParseErrors.js.diff
index 2d7f07bfc8..e557ce56b8 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyImportParseErrors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyImportParseErrors.js.diff
@@ -8,37 +8,8 @@
+exports.m3 = exports.glo_im4_private_v4_public = exports.glo_im4_private_v3_public = exports.glo_im4_private_v2_public = exports.glo_im4_private_v1_public = exports.glo_im3_private_v4_public = exports.glo_im3_private_v3_public = exports.glo_im3_private_v2_public = exports.glo_im3_private_v1_public = exports.glo_im2_private_v4_public = exports.glo_im2_private_v3_public = exports.glo_im2_private_v2_public = exports.glo_im2_private_v1_public = exports.glo_im1_private_v4_public = exports.glo_im1_private_v3_public = exports.glo_im1_private_v2_public = exports.glo_im1_private_v1_public = exports.glo_M3_private = exports.glo_M1_public = exports.m1 = void 0;
var m1;
(function (m1) {
-- var m1_M1_public;
-+ let m1_M1_public;
- (function (m1_M1_public) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- m1_M1_public.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -17, +14 lines =@@
- m1_M1_public.f1 = f1;
- m1_M1_public.v1 = c1;
- })(m1_M1_public = m1.m1_M1_public || (m1.m1_M1_public = {}));
-- var m1_M2_private;
-+ let m1_M2_private;
- (function (m1_M2_private) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- m1_M2_private.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -32, +29 lines =@@
+ let m1_M1_public;
+@@= skipped -43, +43 lines =@@
var m1_im2_private_v2_private = new m1_im2_private.c1();
var m1_im2_private_v3_private = m1_im2_private.f1;
var m1_im2_private_v4_private = m1_im2_private.f1();
@@ -63,37 +34,7 @@
})(m1 || (exports.m1 = m1 = {}));
var m2;
(function (m2) {
-- var m2_M1_public;
-+ let m2_M1_public;
- (function (m2_M1_public) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- m2_M1_public.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -17, +16 lines =@@
- m2_M1_public.f1 = f1;
- m2_M1_public.v1 = c1;
- })(m2_M1_public = m2.m2_M1_public || (m2.m2_M1_public = {}));
-- var m2_M2_private;
-+ let m2_M2_private;
- (function (m2_M2_private) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- m2_M2_private.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -32, +29 lines =@@
+@@= skipped -43, +45 lines =@@
var m1_im2_private_v2_private = new m1_im2_private.c1();
var m1_im2_private_v3_private = m1_im2_private.f1;
var m1_im2_private_v4_private = m1_im2_private.f1();
@@ -121,31 +62,7 @@
})(m2 || (m2 = {}));
var glo_M1_public;
(function (glo_M1_public) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- glo_M1_public.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -20, +18 lines =@@
- })(glo_M1_public || (exports.glo_M1_public = glo_M1_public = {}));
- var glo_M3_private;
- (function (glo_M3_private) {
-- var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
-- }());
-+ class c1 {
-+ }
- glo_M3_private.c1 = c1;
- function f1() {
- return new c1;
-@@= skipped -12, +9 lines =@@
+@@= skipped -26, +27 lines =@@
glo_M3_private.f1 = f1;
glo_M3_private.v1 = c1;
})(glo_M3_private || (exports.glo_M3_private = glo_M3_private = {}));
@@ -189,9 +106,8 @@
exports.glo_im3_public = require("glo_M2_public");
exports.glo_im4_public = require("glo_M4_private");
(function (m2_1) {
-- var m4;
+ import m3 = require("use_glo_M1_public");
-+ let m4;
+ let m4;
(function (m4) {
var a = 10;
+ import m2 = require("use_glo_M1_public");
@@ -199,9 +115,8 @@
})(m2 || (m2 = {}));
var m3;
(function (m3_1) {
-- var m4;
+ import m3 = require("use_glo_M1_public");
-+ let m4;
+ let m4;
(function (m4) {
var a = 10;
+ import m2 = require("use_glo_M1_public");
diff --git a/testdata/baselines/reference/submodule/compiler/privacyInterface.js.diff b/testdata/baselines/reference/submodule/compiler/privacyInterface.js.diff
deleted file mode 100644
index b8c8fc7dde..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyInterface.js.diff
+++ /dev/null
@@ -1,64 +0,0 @@
---- old.privacyInterface.js
-+++ new.privacyInterface.js
-@@= skipped -271, +271 lines =@@
- exports.C5_public = exports.m1 = void 0;
- var m1;
- (function (m1) {
-- var C1_public = /** @class */ (function () {
-- function C1_public() {
-+ class C1_public {
-+ f1() {
- }
-- C1_public.prototype.f1 = function () {
-- };
-- return C1_public;
-- }());
-+ }
- m1.C1_public = C1_public;
-- var C2_private = /** @class */ (function () {
-- function C2_private() {
-- }
-- return C2_private;
-- }());
-+ class C2_private {
-+ }
- })(m1 || (exports.m1 = m1 = {}));
- var m2;
- (function (m2) {
-- var C1_public = /** @class */ (function () {
-- function C1_public() {
-+ class C1_public {
-+ f1() {
- }
-- C1_public.prototype.f1 = function () {
-- };
-- return C1_public;
-- }());
-+ }
- m2.C1_public = C1_public;
-- var C2_private = /** @class */ (function () {
-- function C2_private() {
-- }
-- return C2_private;
-- }());
-+ class C2_private {
-+ }
- })(m2 || (m2 = {}));
--var C5_public = /** @class */ (function () {
-- function C5_public() {
-+class C5_public {
-+ f1() {
- }
-- C5_public.prototype.f1 = function () {
-- };
-- return C5_public;
--}());
-+}
- exports.C5_public = C5_public;
--var C6_private = /** @class */ (function () {
-- function C6_private() {
-- }
-- return C6_private;
--}());
-+class C6_private {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyLocalInternalReferenceImportWithExport.js.diff b/testdata/baselines/reference/submodule/compiler/privacyLocalInternalReferenceImportWithExport.js.diff
index ca923ef042..df1115a060 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyLocalInternalReferenceImportWithExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyLocalInternalReferenceImportWithExport.js.diff
@@ -1,71 +1,6 @@
--- old.privacyLocalInternalReferenceImportWithExport.js
+++ new.privacyLocalInternalReferenceImportWithExport.js
-@@= skipped -160, +160 lines =@@
- // private elements
- var m_private;
- (function (m_private) {
-- var c_private = /** @class */ (function () {
-- function c_private() {
-- }
-- return c_private;
-- }());
-+ class c_private {
-+ }
- m_private.c_private = c_private;
-- var e_private;
-+ let e_private;
- (function (e_private) {
- e_private[e_private["Happy"] = 0] = "Happy";
- e_private[e_private["Grumpy"] = 1] = "Grumpy";
-@@= skipped -16, +13 lines =@@
- }
- m_private.f_private = f_private;
- m_private.v_private = new c_private();
-- var mi_private;
-+ let mi_private;
- (function (mi_private) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- mi_private.c = c;
- })(mi_private = m_private.mi_private || (m_private.mi_private = {}));
- })(m_private || (m_private = {}));
- // Public elements
- var m_public;
- (function (m_public) {
-- var c_public = /** @class */ (function () {
-- function c_public() {
-- }
-- return c_public;
-- }());
-+ class c_public {
-+ }
- m_public.c_public = c_public;
-- var e_public;
-+ let e_public;
- (function (e_public) {
- e_public[e_public["Happy"] = 0] = "Happy";
- e_public[e_public["Grumpy"] = 1] = "Grumpy";
-@@= skipped -29, +23 lines =@@
- }
- m_public.f_public = f_public;
- m_public.v_public = 10;
-- var mi_public;
-+ let mi_public;
- (function (mi_public) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
-+ class c {
-+ }
- mi_public.c = c;
- })(mi_public = m_public.mi_public || (m_public.mi_public = {}));
+@@= skipped -205, +205 lines =@@
})(m_public || (exports.m_public = m_public = {}));
var import_public;
(function (import_public) {
@@ -80,7 +15,7 @@
// Usage of privacy error imports
var privateUse_im_public_c_private = new import_public.im_public_c_private();
import_public.publicUse_im_public_c_private = new import_public.im_public_c_private();
-@@= skipped -31, +29 lines =@@
+@@= skipped -19, +20 lines =@@
var privateUse_im_public_mi_private = new import_public.im_public_mi_private.c();
import_public.publicUse_im_public_mi_private = new import_public.im_public_mi_private.c();
var privateUse_im_public_mu_private;
diff --git a/testdata/baselines/reference/submodule/compiler/privacyLocalInternalReferenceImportWithoutExport.js.diff b/testdata/baselines/reference/submodule/compiler/privacyLocalInternalReferenceImportWithoutExport.js.diff
index b3150129ec..63855d761d 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyLocalInternalReferenceImportWithoutExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyLocalInternalReferenceImportWithoutExport.js.diff
@@ -11,13 +11,10 @@
- // private elements
- var m_private;
- (function (m_private) {
-- var c_private = /** @class */ (function () {
-- function c_private() {
-- }
-- return c_private;
-- }());
+- class c_private {
+- }
- m_private.c_private = c_private;
-- var e_private;
+- let e_private;
- (function (e_private) {
- e_private[e_private["Happy"] = 0] = "Happy";
- e_private[e_private["Grumpy"] = 1] = "Grumpy";
@@ -27,26 +24,20 @@
- }
- m_private.f_private = f_private;
- m_private.v_private = new c_private();
-- var mi_private;
+- let mi_private;
- (function (mi_private) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
+- class c {
+- }
- mi_private.c = c;
- })(mi_private = m_private.mi_private || (m_private.mi_private = {}));
- })(m_private || (m_private = {}));
- // Public elements
- var m_public;
- (function (m_public) {
-- var c_public = /** @class */ (function () {
-- function c_public() {
-- }
-- return c_public;
-- }());
+- class c_public {
+- }
- m_public.c_public = c_public;
-- var e_public;
+- let e_public;
- (function (e_public) {
- e_public[e_public["Happy"] = 0] = "Happy";
- e_public[e_public["Grumpy"] = 1] = "Grumpy";
@@ -56,13 +47,10 @@
- }
- m_public.f_public = f_public;
- m_public.v_public = 10;
-- var mi_public;
+- let mi_public;
- (function (mi_public) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
+- class c {
+- }
- mi_public.c = c;
- })(mi_public = m_public.mi_public || (m_public.mi_public = {}));
- })(m_public || (exports.m_public = m_public = {}));
@@ -295,7 +283,7 @@
declare namespace m_private {
class c_private {
}
-@@= skipped -168, +163 lines =@@
+@@= skipped -156, +163 lines =@@
}
}
}
diff --git a/testdata/baselines/reference/submodule/compiler/privacyTopLevelAmbientExternalModuleImportWithExport.js.diff b/testdata/baselines/reference/submodule/compiler/privacyTopLevelAmbientExternalModuleImportWithExport.js.diff
index 27f1b45aef..b3363eab8b 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyTopLevelAmbientExternalModuleImportWithExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyTopLevelAmbientExternalModuleImportWithExport.js.diff
@@ -1,34 +1,22 @@
--- old.privacyTopLevelAmbientExternalModuleImportWithExport.js
+++ new.privacyTopLevelAmbientExternalModuleImportWithExport.js
-@@= skipped -54, +54 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
+@@= skipped -55, +55 lines =@@
exports.c_public = void 0;
// Public elements
--var c_public = /** @class */ (function () {
-- function c_public() {
-- }
-- return c_public;
--}());
-+class c_public {
+ class c_public {
+ foo;
-+}
+ }
exports.c_public = c_public;
//// [privacyTopLevelAmbientExternalModuleImportWithExport_require1.js]
- "use strict";
+@@= skipped -7, +8 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.c_public = void 0;
--var c_public = /** @class */ (function () {
-- function c_public() {
-- }
-- return c_public;
--}());
-+class c_public {
+ class c_public {
+ bar;
-+}
+ }
exports.c_public = c_public;
//// [privacyTopLevelAmbientExternalModuleImportWithExport_core.js]
- "use strict";
-@@= skipped -39, +35 lines =@@
+@@= skipped -25, +26 lines =@@
//// [privacyTopLevelAmbientExternalModuleImportWithExport_require2.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/privacyTopLevelAmbientExternalModuleImportWithoutExport.js.diff b/testdata/baselines/reference/submodule/compiler/privacyTopLevelAmbientExternalModuleImportWithoutExport.js.diff
index 3715d0edae..1a6df4a3ec 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyTopLevelAmbientExternalModuleImportWithoutExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyTopLevelAmbientExternalModuleImportWithoutExport.js.diff
@@ -10,11 +10,8 @@
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.c_public = void 0;
- // Public elements
-- var c_public = /** @class */ (function () {
-- function c_public() {
-- }
-- return c_public;
-- }());
+- class c_public {
+- }
- exports.c_public = c_public;
-});
-//// [privacyTopLevelAmbientExternalModuleImportWithoutExport_require1.js]
@@ -22,11 +19,8 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.c_public = void 0;
-- var c_public = /** @class */ (function () {
-- function c_public() {
-- }
-- return c_public;
-- }());
+- class c_public {
+- }
- exports.c_public = c_public;
-});
//// [privacyTopLevelAmbientExternalModuleImportWithoutExport_core.js]
@@ -70,7 +64,7 @@
declare module 'm' {
class c_private {
baz: string;
-@@= skipped -54, +35 lines =@@
+@@= skipped -48, +35 lines =@@
bing: string;
}
}
diff --git a/testdata/baselines/reference/submodule/compiler/privacyTopLevelInternalReferenceImportWithExport.js.diff b/testdata/baselines/reference/submodule/compiler/privacyTopLevelInternalReferenceImportWithExport.js.diff
index 1f2633beac..57e63e06e9 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyTopLevelInternalReferenceImportWithExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyTopLevelInternalReferenceImportWithExport.js.diff
@@ -11,13 +11,10 @@
- // private elements
- var m_private;
- (function (m_private) {
-- var c_private = /** @class */ (function () {
-- function c_private() {
-- }
-- return c_private;
-- }());
+- class c_private {
+- }
- m_private.c_private = c_private;
-- var e_private;
+- let e_private;
- (function (e_private) {
- e_private[e_private["Happy"] = 0] = "Happy";
- e_private[e_private["Grumpy"] = 1] = "Grumpy";
@@ -27,26 +24,20 @@
- }
- m_private.f_private = f_private;
- m_private.v_private = new c_private();
-- var mi_private;
+- let mi_private;
- (function (mi_private) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
+- class c {
+- }
- mi_private.c = c;
- })(mi_private = m_private.mi_private || (m_private.mi_private = {}));
- })(m_private || (m_private = {}));
- // Public elements
- var m_public;
- (function (m_public) {
-- var c_public = /** @class */ (function () {
-- function c_public() {
-- }
-- return c_public;
-- }());
+- class c_public {
+- }
- m_public.c_public = c_public;
-- var e_public;
+- let e_public;
- (function (e_public) {
- e_public[e_public["Happy"] = 0] = "Happy";
- e_public[e_public["Grumpy"] = 1] = "Grumpy";
@@ -56,13 +47,10 @@
- }
- m_public.f_public = f_public;
- m_public.v_public = 10;
-- var mi_public;
+- let mi_public;
- (function (mi_public) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
+- class c {
+- }
- mi_public.c = c;
- })(mi_public = m_public.mi_public || (m_public.mi_public = {}));
- })(m_public || (exports.m_public = m_public = {}));
@@ -187,7 +175,7 @@
declare namespace m_private {
class c_private {
}
-@@= skipped -124, +99 lines =@@
+@@= skipped -112, +99 lines =@@
}
}
}
diff --git a/testdata/baselines/reference/submodule/compiler/privacyTopLevelInternalReferenceImportWithoutExport.js.diff b/testdata/baselines/reference/submodule/compiler/privacyTopLevelInternalReferenceImportWithoutExport.js.diff
index 2ad2062aaf..f3959fc2ff 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyTopLevelInternalReferenceImportWithoutExport.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyTopLevelInternalReferenceImportWithoutExport.js.diff
@@ -11,13 +11,10 @@
- // private elements
- var m_private;
- (function (m_private) {
-- var c_private = /** @class */ (function () {
-- function c_private() {
-- }
-- return c_private;
-- }());
+- class c_private {
+- }
- m_private.c_private = c_private;
-- var e_private;
+- let e_private;
- (function (e_private) {
- e_private[e_private["Happy"] = 0] = "Happy";
- e_private[e_private["Grumpy"] = 1] = "Grumpy";
@@ -27,26 +24,20 @@
- }
- m_private.f_private = f_private;
- m_private.v_private = new c_private();
-- var mi_private;
+- let mi_private;
- (function (mi_private) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
+- class c {
+- }
- mi_private.c = c;
- })(mi_private = m_private.mi_private || (m_private.mi_private = {}));
- })(m_private || (m_private = {}));
- // Public elements
- var m_public;
- (function (m_public) {
-- var c_public = /** @class */ (function () {
-- function c_public() {
-- }
-- return c_public;
-- }());
+- class c_public {
+- }
- m_public.c_public = c_public;
-- var e_public;
+- let e_public;
- (function (e_public) {
- e_public[e_public["Happy"] = 0] = "Happy";
- e_public[e_public["Grumpy"] = 1] = "Grumpy";
@@ -56,13 +47,10 @@
- }
- m_public.f_public = f_public;
- m_public.v_public = 10;
-- var mi_public;
+- let mi_public;
- (function (mi_public) {
-- var c = /** @class */ (function () {
-- function c() {
-- }
-- return c;
-- }());
+- class c {
+- }
- mi_public.c = c;
- })(mi_public = m_public.mi_public || (m_public.mi_public = {}));
- })(m_public || (exports.m_public = m_public = {}));
@@ -187,7 +175,7 @@
declare namespace m_private {
class c_private {
}
-@@= skipped -124, +99 lines =@@
+@@= skipped -112, +99 lines =@@
}
}
}
diff --git a/testdata/baselines/reference/submodule/compiler/privacyTypeParameterOfFunction.js.diff b/testdata/baselines/reference/submodule/compiler/privacyTypeParameterOfFunction.js.diff
deleted file mode 100644
index a27c74fc7e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyTypeParameterOfFunction.js.diff
+++ /dev/null
@@ -1,174 +0,0 @@
---- old.privacyTypeParameterOfFunction.js
-+++ new.privacyTypeParameterOfFunction.js
-@@= skipped -140, +140 lines =@@
- exports.publicFunctionWithPrivateTypeParameters = publicFunctionWithPrivateTypeParameters;
- exports.publicFunctionWithPublicTypeParameters = publicFunctionWithPublicTypeParameters;
- exports.publicFunctionWithPublicTypeParametersWithoutExtends = publicFunctionWithPublicTypeParametersWithoutExtends;
--var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
--}());
--var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
--}());
-+class privateClass {
-+}
-+class publicClass {
-+}
- exports.publicClass = publicClass;
--var publicClassWithWithPrivateTypeParameters = /** @class */ (function () {
-- function publicClassWithWithPrivateTypeParameters() {
-- }
-+class publicClassWithWithPrivateTypeParameters {
- // TypeParameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_type_1
-- publicClassWithWithPrivateTypeParameters.myPublicStaticMethod = function () {
-- };
-- publicClassWithWithPrivateTypeParameters.myPrivateStaticMethod = function () {
-- };
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
- // TypeParameter_0_of_public_method_from_exported_class_has_or_is_using_private_type_1
-- publicClassWithWithPrivateTypeParameters.prototype.myPublicMethod = function () {
-- };
-- publicClassWithWithPrivateTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return publicClassWithWithPrivateTypeParameters;
--}());
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+}
- exports.publicClassWithWithPrivateTypeParameters = publicClassWithWithPrivateTypeParameters;
--var publicClassWithWithPublicTypeParameters = /** @class */ (function () {
-- function publicClassWithWithPublicTypeParameters() {
-- }
-- publicClassWithWithPublicTypeParameters.myPublicStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParameters.myPrivateStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParameters.prototype.myPublicMethod = function () {
-- };
-- publicClassWithWithPublicTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return publicClassWithWithPublicTypeParameters;
--}());
-+class publicClassWithWithPublicTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+}
- exports.publicClassWithWithPublicTypeParameters = publicClassWithWithPublicTypeParameters;
--var privateClassWithWithPrivateTypeParameters = /** @class */ (function () {
-- function privateClassWithWithPrivateTypeParameters() {
-- }
-- privateClassWithWithPrivateTypeParameters.myPublicStaticMethod = function () {
-- };
-- privateClassWithWithPrivateTypeParameters.myPrivateStaticMethod = function () {
-- };
-- privateClassWithWithPrivateTypeParameters.prototype.myPublicMethod = function () {
-- };
-- privateClassWithWithPrivateTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return privateClassWithWithPrivateTypeParameters;
--}());
--var privateClassWithWithPublicTypeParameters = /** @class */ (function () {
-- function privateClassWithWithPublicTypeParameters() {
-- }
-- privateClassWithWithPublicTypeParameters.myPublicStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParameters.myPrivateStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParameters.prototype.myPublicMethod = function () {
-- };
-- privateClassWithWithPublicTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return privateClassWithWithPublicTypeParameters;
--}());
-+class privateClassWithWithPrivateTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+}
-+class privateClassWithWithPublicTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+}
- // TypeParameter_0_of_exported_function_has_or_is_using_private_type_1
- function publicFunctionWithPrivateTypeParameters() {
- }
-@@= skipped -76, +58 lines =@@
- }
- function privateFunctionWithPublicTypeParameters() {
- }
--var publicClassWithWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function publicClassWithWithPublicTypeParametersWithoutExtends() {
-- }
-- publicClassWithWithPublicTypeParametersWithoutExtends.myPublicStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParametersWithoutExtends.myPrivateStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParametersWithoutExtends.prototype.myPublicMethod = function () {
-- };
-- publicClassWithWithPublicTypeParametersWithoutExtends.prototype.myPrivateMethod = function () {
-- };
-- return publicClassWithWithPublicTypeParametersWithoutExtends;
--}());
-+class publicClassWithWithPublicTypeParametersWithoutExtends {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+}
- exports.publicClassWithWithPublicTypeParametersWithoutExtends = publicClassWithWithPublicTypeParametersWithoutExtends;
--var privateClassWithWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function privateClassWithWithPublicTypeParametersWithoutExtends() {
-- }
-- privateClassWithWithPublicTypeParametersWithoutExtends.myPublicStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParametersWithoutExtends.myPrivateStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParametersWithoutExtends.prototype.myPublicMethod = function () {
-- };
-- privateClassWithWithPublicTypeParametersWithoutExtends.prototype.myPrivateMethod = function () {
-- };
-- return privateClassWithWithPublicTypeParametersWithoutExtends;
--}());
-+class privateClassWithWithPublicTypeParametersWithoutExtends {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+}
- function publicFunctionWithPublicTypeParametersWithoutExtends() {
- }
- function privateFunctionWithPublicTypeParametersWithoutExtends() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyTypeParameterOfFunctionDeclFile.js.diff b/testdata/baselines/reference/submodule/compiler/privacyTypeParameterOfFunctionDeclFile.js.diff
index 68e6279b8b..1c89f9365b 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyTypeParameterOfFunctionDeclFile.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyTypeParameterOfFunctionDeclFile.js.diff
@@ -1,587 +1,6 @@
--- old.privacyTypeParameterOfFunctionDeclFile.js
+++ new.privacyTypeParameterOfFunctionDeclFile.js
-@@= skipped -447, +447 lines =@@
- exports.publicFunctionWithPublicTypeParameters = publicFunctionWithPublicTypeParameters;
- exports.publicFunctionWithPublicTypeParametersWithoutExtends = publicFunctionWithPublicTypeParametersWithoutExtends;
- exports.publicFunctionWithPrivateMopduleTypeParameters = publicFunctionWithPrivateMopduleTypeParameters;
--var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
--}());
--var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
--}());
-+class privateClass {
-+}
-+class publicClass {
-+}
- exports.publicClass = publicClass;
--var publicClassWithWithPrivateTypeParameters = /** @class */ (function () {
-- function publicClassWithWithPrivateTypeParameters() {
-- }
-- publicClassWithWithPrivateTypeParameters.myPublicStaticMethod = function () {
-- };
-- publicClassWithWithPrivateTypeParameters.myPrivateStaticMethod = function () {
-- };
-- publicClassWithWithPrivateTypeParameters.prototype.myPublicMethod = function () {
-- };
-- publicClassWithWithPrivateTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return publicClassWithWithPrivateTypeParameters;
--}());
-+class publicClassWithWithPrivateTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+}
- exports.publicClassWithWithPrivateTypeParameters = publicClassWithWithPrivateTypeParameters;
--var publicClassWithWithPublicTypeParameters = /** @class */ (function () {
-- function publicClassWithWithPublicTypeParameters() {
-- }
-- publicClassWithWithPublicTypeParameters.myPublicStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParameters.myPrivateStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParameters.prototype.myPublicMethod = function () {
-- };
-- publicClassWithWithPublicTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return publicClassWithWithPublicTypeParameters;
--}());
-+class publicClassWithWithPublicTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+}
- exports.publicClassWithWithPublicTypeParameters = publicClassWithWithPublicTypeParameters;
--var privateClassWithWithPrivateTypeParameters = /** @class */ (function () {
-- function privateClassWithWithPrivateTypeParameters() {
-- }
-- privateClassWithWithPrivateTypeParameters.myPublicStaticMethod = function () {
-- };
-- privateClassWithWithPrivateTypeParameters.myPrivateStaticMethod = function () {
-- };
-- privateClassWithWithPrivateTypeParameters.prototype.myPublicMethod = function () {
-- };
-- privateClassWithWithPrivateTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return privateClassWithWithPrivateTypeParameters;
--}());
--var privateClassWithWithPublicTypeParameters = /** @class */ (function () {
-- function privateClassWithWithPublicTypeParameters() {
-- }
-- privateClassWithWithPublicTypeParameters.myPublicStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParameters.myPrivateStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParameters.prototype.myPublicMethod = function () {
-- };
-- privateClassWithWithPublicTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return privateClassWithWithPublicTypeParameters;
--}());
-+class privateClassWithWithPrivateTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+}
-+class privateClassWithWithPublicTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+}
- function publicFunctionWithPrivateTypeParameters() {
- }
- function publicFunctionWithPublicTypeParameters() {
-@@= skipped -73, +55 lines =@@
- }
- function privateFunctionWithPublicTypeParameters() {
- }
--var publicClassWithWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function publicClassWithWithPublicTypeParametersWithoutExtends() {
-- }
-- publicClassWithWithPublicTypeParametersWithoutExtends.myPublicStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParametersWithoutExtends.myPrivateStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParametersWithoutExtends.prototype.myPublicMethod = function () {
-- };
-- publicClassWithWithPublicTypeParametersWithoutExtends.prototype.myPrivateMethod = function () {
-- };
-- return publicClassWithWithPublicTypeParametersWithoutExtends;
--}());
-+class publicClassWithWithPublicTypeParametersWithoutExtends {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+}
- exports.publicClassWithWithPublicTypeParametersWithoutExtends = publicClassWithWithPublicTypeParametersWithoutExtends;
--var privateClassWithWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function privateClassWithWithPublicTypeParametersWithoutExtends() {
-- }
-- privateClassWithWithPublicTypeParametersWithoutExtends.myPublicStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParametersWithoutExtends.myPrivateStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParametersWithoutExtends.prototype.myPublicMethod = function () {
-- };
-- privateClassWithWithPublicTypeParametersWithoutExtends.prototype.myPrivateMethod = function () {
-- };
-- return privateClassWithWithPublicTypeParametersWithoutExtends;
--}());
-+class privateClassWithWithPublicTypeParametersWithoutExtends {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+}
- function publicFunctionWithPublicTypeParametersWithoutExtends() {
- }
- function privateFunctionWithPublicTypeParametersWithoutExtends() {
- }
--var publicClassWithWithPrivateModuleTypeParameters = /** @class */ (function () {
-- function publicClassWithWithPrivateModuleTypeParameters() {
-- }
-- publicClassWithWithPrivateModuleTypeParameters.myPublicStaticMethod = function () {
-- };
-- publicClassWithWithPrivateModuleTypeParameters.prototype.myPublicMethod = function () {
-- };
-- return publicClassWithWithPrivateModuleTypeParameters;
--}());
-+class publicClassWithWithPrivateModuleTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+}
- exports.publicClassWithWithPrivateModuleTypeParameters = publicClassWithWithPrivateModuleTypeParameters;
- function publicFunctionWithPrivateMopduleTypeParameters() {
- }
--var privateClassWithWithPrivateModuleTypeParameters = /** @class */ (function () {
-- function privateClassWithWithPrivateModuleTypeParameters() {
-- }
-- privateClassWithWithPrivateModuleTypeParameters.myPublicStaticMethod = function () {
-- };
-- privateClassWithWithPrivateModuleTypeParameters.prototype.myPublicMethod = function () {
-- };
-- return privateClassWithWithPrivateModuleTypeParameters;
--}());
-+class privateClassWithWithPrivateModuleTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+}
- function privateFunctionWithPrivateMopduleTypeParameters() {
- }
- var publicModule;
- (function (publicModule) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
- publicModule.publicClass = publicClass;
-- var publicClassWithWithPrivateTypeParameters = /** @class */ (function () {
-- function publicClassWithWithPrivateTypeParameters() {
-- }
-- publicClassWithWithPrivateTypeParameters.myPublicStaticMethod = function () {
-- };
-- publicClassWithWithPrivateTypeParameters.myPrivateStaticMethod = function () {
-- };
-- publicClassWithWithPrivateTypeParameters.prototype.myPublicMethod = function () {
-- };
-- publicClassWithWithPrivateTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return publicClassWithWithPrivateTypeParameters;
-- }());
-+ class publicClassWithWithPrivateTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+ }
- publicModule.publicClassWithWithPrivateTypeParameters = publicClassWithWithPrivateTypeParameters;
-- var publicClassWithWithPublicTypeParameters = /** @class */ (function () {
-- function publicClassWithWithPublicTypeParameters() {
-- }
-- publicClassWithWithPublicTypeParameters.myPublicStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParameters.myPrivateStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParameters.prototype.myPublicMethod = function () {
-- };
-- publicClassWithWithPublicTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return publicClassWithWithPublicTypeParameters;
-- }());
-+ class publicClassWithWithPublicTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+ }
- publicModule.publicClassWithWithPublicTypeParameters = publicClassWithWithPublicTypeParameters;
-- var privateClassWithWithPrivateTypeParameters = /** @class */ (function () {
-- function privateClassWithWithPrivateTypeParameters() {
-- }
-- privateClassWithWithPrivateTypeParameters.myPublicStaticMethod = function () {
-- };
-- privateClassWithWithPrivateTypeParameters.myPrivateStaticMethod = function () {
-- };
-- privateClassWithWithPrivateTypeParameters.prototype.myPublicMethod = function () {
-- };
-- privateClassWithWithPrivateTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return privateClassWithWithPrivateTypeParameters;
-- }());
-- var privateClassWithWithPublicTypeParameters = /** @class */ (function () {
-- function privateClassWithWithPublicTypeParameters() {
-- }
-- privateClassWithWithPublicTypeParameters.myPublicStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParameters.myPrivateStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParameters.prototype.myPublicMethod = function () {
-- };
-- privateClassWithWithPublicTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return privateClassWithWithPublicTypeParameters;
-- }());
-+ class privateClassWithWithPrivateTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+ }
-+ class privateClassWithWithPublicTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+ }
- function publicFunctionWithPrivateTypeParameters() {
- }
- publicModule.publicFunctionWithPrivateTypeParameters = publicFunctionWithPrivateTypeParameters;
-@@= skipped -131, +101 lines =@@
- }
- function privateFunctionWithPublicTypeParameters() {
- }
-- var publicClassWithWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function publicClassWithWithPublicTypeParametersWithoutExtends() {
-- }
-- publicClassWithWithPublicTypeParametersWithoutExtends.myPublicStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParametersWithoutExtends.myPrivateStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParametersWithoutExtends.prototype.myPublicMethod = function () {
-- };
-- publicClassWithWithPublicTypeParametersWithoutExtends.prototype.myPrivateMethod = function () {
-- };
-- return publicClassWithWithPublicTypeParametersWithoutExtends;
-- }());
-+ class publicClassWithWithPublicTypeParametersWithoutExtends {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+ }
- publicModule.publicClassWithWithPublicTypeParametersWithoutExtends = publicClassWithWithPublicTypeParametersWithoutExtends;
-- var privateClassWithWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function privateClassWithWithPublicTypeParametersWithoutExtends() {
-- }
-- privateClassWithWithPublicTypeParametersWithoutExtends.myPublicStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParametersWithoutExtends.myPrivateStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParametersWithoutExtends.prototype.myPublicMethod = function () {
-- };
-- privateClassWithWithPublicTypeParametersWithoutExtends.prototype.myPrivateMethod = function () {
-- };
-- return privateClassWithWithPublicTypeParametersWithoutExtends;
-- }());
-+ class privateClassWithWithPublicTypeParametersWithoutExtends {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+ }
- function publicFunctionWithPublicTypeParametersWithoutExtends() {
- }
- publicModule.publicFunctionWithPublicTypeParametersWithoutExtends = publicFunctionWithPublicTypeParametersWithoutExtends;
- function privateFunctionWithPublicTypeParametersWithoutExtends() {
- }
-- var publicClassWithWithPrivateModuleTypeParameters = /** @class */ (function () {
-- function publicClassWithWithPrivateModuleTypeParameters() {
-- }
-- publicClassWithWithPrivateModuleTypeParameters.myPublicStaticMethod = function () {
-- };
-- publicClassWithWithPrivateModuleTypeParameters.prototype.myPublicMethod = function () {
-- };
-- return publicClassWithWithPrivateModuleTypeParameters;
-- }());
-+ class publicClassWithWithPrivateModuleTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ }
- publicModule.publicClassWithWithPrivateModuleTypeParameters = publicClassWithWithPrivateModuleTypeParameters;
- function publicFunctionWithPrivateMopduleTypeParameters() {
- }
- publicModule.publicFunctionWithPrivateMopduleTypeParameters = publicFunctionWithPrivateMopduleTypeParameters;
-- var privateClassWithWithPrivateModuleTypeParameters = /** @class */ (function () {
-- function privateClassWithWithPrivateModuleTypeParameters() {
-- }
-- privateClassWithWithPrivateModuleTypeParameters.myPublicStaticMethod = function () {
-- };
-- privateClassWithWithPrivateModuleTypeParameters.prototype.myPublicMethod = function () {
-- };
-- return privateClassWithWithPrivateModuleTypeParameters;
-- }());
-+ class privateClassWithWithPrivateModuleTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ }
- function privateFunctionWithPrivateMopduleTypeParameters() {
- }
- })(publicModule || (exports.publicModule = publicModule = {}));
- var privateModule;
- (function (privateModule) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
- privateModule.publicClass = publicClass;
-- var publicClassWithWithPrivateTypeParameters = /** @class */ (function () {
-- function publicClassWithWithPrivateTypeParameters() {
-- }
-- publicClassWithWithPrivateTypeParameters.myPublicStaticMethod = function () {
-- };
-- publicClassWithWithPrivateTypeParameters.myPrivateStaticMethod = function () {
-- };
-- publicClassWithWithPrivateTypeParameters.prototype.myPublicMethod = function () {
-- };
-- publicClassWithWithPrivateTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return publicClassWithWithPrivateTypeParameters;
-- }());
-+ class publicClassWithWithPrivateTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+ }
- privateModule.publicClassWithWithPrivateTypeParameters = publicClassWithWithPrivateTypeParameters;
-- var publicClassWithWithPublicTypeParameters = /** @class */ (function () {
-- function publicClassWithWithPublicTypeParameters() {
-- }
-- publicClassWithWithPublicTypeParameters.myPublicStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParameters.myPrivateStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParameters.prototype.myPublicMethod = function () {
-- };
-- publicClassWithWithPublicTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return publicClassWithWithPublicTypeParameters;
-- }());
-+ class publicClassWithWithPublicTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+ }
- privateModule.publicClassWithWithPublicTypeParameters = publicClassWithWithPublicTypeParameters;
-- var privateClassWithWithPrivateTypeParameters = /** @class */ (function () {
-- function privateClassWithWithPrivateTypeParameters() {
-- }
-- privateClassWithWithPrivateTypeParameters.myPublicStaticMethod = function () {
-- };
-- privateClassWithWithPrivateTypeParameters.myPrivateStaticMethod = function () {
-- };
-- privateClassWithWithPrivateTypeParameters.prototype.myPublicMethod = function () {
-- };
-- privateClassWithWithPrivateTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return privateClassWithWithPrivateTypeParameters;
-- }());
-- var privateClassWithWithPublicTypeParameters = /** @class */ (function () {
-- function privateClassWithWithPublicTypeParameters() {
-- }
-- privateClassWithWithPublicTypeParameters.myPublicStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParameters.myPrivateStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParameters.prototype.myPublicMethod = function () {
-- };
-- privateClassWithWithPublicTypeParameters.prototype.myPrivateMethod = function () {
-- };
-- return privateClassWithWithPublicTypeParameters;
-- }());
-+ class privateClassWithWithPrivateTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+ }
-+ class privateClassWithWithPublicTypeParameters {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+ }
- function publicFunctionWithPrivateTypeParameters() {
- }
- privateModule.publicFunctionWithPrivateTypeParameters = publicFunctionWithPrivateTypeParameters;
-@@= skipped -134, +104 lines =@@
- }
- function privateFunctionWithPublicTypeParameters() {
- }
-- var publicClassWithWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function publicClassWithWithPublicTypeParametersWithoutExtends() {
-- }
-- publicClassWithWithPublicTypeParametersWithoutExtends.myPublicStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParametersWithoutExtends.myPrivateStaticMethod = function () {
-- };
-- publicClassWithWithPublicTypeParametersWithoutExtends.prototype.myPublicMethod = function () {
-- };
-- publicClassWithWithPublicTypeParametersWithoutExtends.prototype.myPrivateMethod = function () {
-- };
-- return publicClassWithWithPublicTypeParametersWithoutExtends;
-- }());
-+ class publicClassWithWithPublicTypeParametersWithoutExtends {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+ }
- privateModule.publicClassWithWithPublicTypeParametersWithoutExtends = publicClassWithWithPublicTypeParametersWithoutExtends;
-- var privateClassWithWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function privateClassWithWithPublicTypeParametersWithoutExtends() {
-- }
-- privateClassWithWithPublicTypeParametersWithoutExtends.myPublicStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParametersWithoutExtends.myPrivateStaticMethod = function () {
-- };
-- privateClassWithWithPublicTypeParametersWithoutExtends.prototype.myPublicMethod = function () {
-- };
-- privateClassWithWithPublicTypeParametersWithoutExtends.prototype.myPrivateMethod = function () {
-- };
-- return privateClassWithWithPublicTypeParametersWithoutExtends;
-- }());
-+ class privateClassWithWithPublicTypeParametersWithoutExtends {
-+ static myPublicStaticMethod() {
-+ }
-+ static myPrivateStaticMethod() {
-+ }
-+ myPublicMethod() {
-+ }
-+ myPrivateMethod() {
-+ }
-+ }
- function publicFunctionWithPublicTypeParametersWithoutExtends() {
- }
- privateModule.publicFunctionWithPublicTypeParametersWithoutExtends = publicFunctionWithPublicTypeParametersWithoutExtends;
-@@= skipped -41, +35 lines =@@
+@@= skipped -742, +742 lines =@@
export declare class publicClass {
}
export interface publicInterfaceWithPrivateTypeParameters {
diff --git a/testdata/baselines/reference/submodule/compiler/privacyTypeParametersOfClass.js.diff b/testdata/baselines/reference/submodule/compiler/privacyTypeParametersOfClass.js.diff
deleted file mode 100644
index 2336a1f29c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyTypeParametersOfClass.js.diff
+++ /dev/null
@@ -1,100 +0,0 @@
---- old.privacyTypeParametersOfClass.js
-+++ new.privacyTypeParametersOfClass.js
-@@= skipped -48, +48 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.publicClassWithPublicTypeParametersWithoutExtends = exports.publicClassWithPublicTypeParameters = exports.publicClassWithPrivateTypeParameters = exports.publicClass = void 0;
--var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
--}());
--var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
--}());
-+class privateClass {
-+}
-+class publicClass {
-+}
- exports.publicClass = publicClass;
- // TypeParameter_0_of_exported_class_1_has_or_is_using_private_type_2
--var publicClassWithPrivateTypeParameters = /** @class */ (function () {
-- function publicClassWithPrivateTypeParameters() {
-- }
-- publicClassWithPrivateTypeParameters.prototype.myMethod = function (val) {
-+class publicClassWithPrivateTypeParameters {
-+ myMethod(val) {
- return val;
-- };
-- return publicClassWithPrivateTypeParameters;
--}());
-+ }
-+}
- exports.publicClassWithPrivateTypeParameters = publicClassWithPrivateTypeParameters;
--var publicClassWithPublicTypeParameters = /** @class */ (function () {
-- function publicClassWithPublicTypeParameters() {
-- }
-- publicClassWithPublicTypeParameters.prototype.myMethod = function (val) {
-+class publicClassWithPublicTypeParameters {
-+ myMethod(val) {
- return val;
-- };
-- return publicClassWithPublicTypeParameters;
--}());
-+ }
-+}
- exports.publicClassWithPublicTypeParameters = publicClassWithPublicTypeParameters;
--var privateClassWithPrivateTypeParameters = /** @class */ (function () {
-- function privateClassWithPrivateTypeParameters() {
-- }
-- privateClassWithPrivateTypeParameters.prototype.myMethod = function (val) {
-- return val;
-- };
-- return privateClassWithPrivateTypeParameters;
--}());
--var privateClassWithPublicTypeParameters = /** @class */ (function () {
-- function privateClassWithPublicTypeParameters() {
-- }
-- privateClassWithPublicTypeParameters.prototype.myMethod = function (val) {
-- return val;
-- };
-- return privateClassWithPublicTypeParameters;
--}());
--var publicClassWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function publicClassWithPublicTypeParametersWithoutExtends() {
-- }
-- publicClassWithPublicTypeParametersWithoutExtends.prototype.myMethod = function (val) {
-- return val;
-- };
-- return publicClassWithPublicTypeParametersWithoutExtends;
--}());
-+class privateClassWithPrivateTypeParameters {
-+ myMethod(val) {
-+ return val;
-+ }
-+}
-+class privateClassWithPublicTypeParameters {
-+ myMethod(val) {
-+ return val;
-+ }
-+}
-+class publicClassWithPublicTypeParametersWithoutExtends {
-+ myMethod(val) {
-+ return val;
-+ }
-+}
- exports.publicClassWithPublicTypeParametersWithoutExtends = publicClassWithPublicTypeParametersWithoutExtends;
--var privateClassWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function privateClassWithPublicTypeParametersWithoutExtends() {
-- }
-- privateClassWithPublicTypeParametersWithoutExtends.prototype.myMethod = function (val) {
-+class privateClassWithPublicTypeParametersWithoutExtends {
-+ myMethod(val) {
- return val;
-- };
-- return privateClassWithPublicTypeParametersWithoutExtends;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyTypeParametersOfClassDeclFile.js.diff b/testdata/baselines/reference/submodule/compiler/privacyTypeParametersOfClassDeclFile.js.diff
deleted file mode 100644
index 5eaf670314..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyTypeParametersOfClassDeclFile.js.diff
+++ /dev/null
@@ -1,346 +0,0 @@
---- old.privacyTypeParametersOfClassDeclFile.js
-+++ new.privacyTypeParametersOfClassDeclFile.js
-@@= skipped -159, +159 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.publicModule = exports.publicClassWithTypeParametersFromPrivateModule = exports.publicClassWithPublicTypeParametersWithoutExtends = exports.publicClassWithPublicTypeParameters = exports.publicClassWithPrivateTypeParameters = exports.publicClass = void 0;
--var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
--}());
--var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
--}());
-+class privateClass {
-+}
-+class publicClass {
-+}
- exports.publicClass = publicClass;
--var publicClassWithPrivateTypeParameters = /** @class */ (function () {
-- function publicClassWithPrivateTypeParameters() {
-- }
-- publicClassWithPrivateTypeParameters.prototype.myMethod = function (val) {
-+class publicClassWithPrivateTypeParameters {
-+ myMethod(val) {
- return val;
-- };
-- return publicClassWithPrivateTypeParameters;
--}());
-+ }
-+}
- exports.publicClassWithPrivateTypeParameters = publicClassWithPrivateTypeParameters;
--var publicClassWithPublicTypeParameters = /** @class */ (function () {
-- function publicClassWithPublicTypeParameters() {
-- }
-- publicClassWithPublicTypeParameters.prototype.myMethod = function (val) {
-+class publicClassWithPublicTypeParameters {
-+ myMethod(val) {
- return val;
-- };
-- return publicClassWithPublicTypeParameters;
--}());
-+ }
-+}
- exports.publicClassWithPublicTypeParameters = publicClassWithPublicTypeParameters;
--var privateClassWithPrivateTypeParameters = /** @class */ (function () {
-- function privateClassWithPrivateTypeParameters() {
-- }
-- privateClassWithPrivateTypeParameters.prototype.myMethod = function (val) {
-- return val;
-- };
-- return privateClassWithPrivateTypeParameters;
--}());
--var privateClassWithPublicTypeParameters = /** @class */ (function () {
-- function privateClassWithPublicTypeParameters() {
-- }
-- privateClassWithPublicTypeParameters.prototype.myMethod = function (val) {
-- return val;
-- };
-- return privateClassWithPublicTypeParameters;
--}());
--var publicClassWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function publicClassWithPublicTypeParametersWithoutExtends() {
-- }
-- publicClassWithPublicTypeParametersWithoutExtends.prototype.myMethod = function (val) {
-- return val;
-- };
-- return publicClassWithPublicTypeParametersWithoutExtends;
--}());
-+class privateClassWithPrivateTypeParameters {
-+ myMethod(val) {
-+ return val;
-+ }
-+}
-+class privateClassWithPublicTypeParameters {
-+ myMethod(val) {
-+ return val;
-+ }
-+}
-+class publicClassWithPublicTypeParametersWithoutExtends {
-+ myMethod(val) {
-+ return val;
-+ }
-+}
- exports.publicClassWithPublicTypeParametersWithoutExtends = publicClassWithPublicTypeParametersWithoutExtends;
--var privateClassWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function privateClassWithPublicTypeParametersWithoutExtends() {
-- }
-- privateClassWithPublicTypeParametersWithoutExtends.prototype.myMethod = function (val) {
-- return val;
-- };
-- return privateClassWithPublicTypeParametersWithoutExtends;
--}());
--var publicClassWithTypeParametersFromPrivateModule = /** @class */ (function () {
-- function publicClassWithTypeParametersFromPrivateModule() {
-- }
-- publicClassWithTypeParametersFromPrivateModule.prototype.myMethod = function (val) {
-- return val;
-- };
-- return publicClassWithTypeParametersFromPrivateModule;
--}());
-+class privateClassWithPublicTypeParametersWithoutExtends {
-+ myMethod(val) {
-+ return val;
-+ }
-+}
-+class publicClassWithTypeParametersFromPrivateModule {
-+ myMethod(val) {
-+ return val;
-+ }
-+}
- exports.publicClassWithTypeParametersFromPrivateModule = publicClassWithTypeParametersFromPrivateModule;
--var privateClassWithTypeParametersFromPrivateModule = /** @class */ (function () {
-- function privateClassWithTypeParametersFromPrivateModule() {
-- }
-- privateClassWithTypeParametersFromPrivateModule.prototype.myMethod = function (val) {
-+class privateClassWithTypeParametersFromPrivateModule {
-+ myMethod(val) {
- return val;
-- };
-- return privateClassWithTypeParametersFromPrivateModule;
--}());
-+ }
-+}
- var publicModule;
- (function (publicModule) {
-- var privateClassInPublicModule = /** @class */ (function () {
-- function privateClassInPublicModule() {
-- }
-- return privateClassInPublicModule;
-- }());
-- var publicClassInPublicModule = /** @class */ (function () {
-- function publicClassInPublicModule() {
-- }
-- return publicClassInPublicModule;
-- }());
-+ class privateClassInPublicModule {
-+ }
-+ class publicClassInPublicModule {
-+ }
- publicModule.publicClassInPublicModule = publicClassInPublicModule;
-- var publicClassWithPrivateTypeParameters = /** @class */ (function () {
-- function publicClassWithPrivateTypeParameters() {
-- }
-- publicClassWithPrivateTypeParameters.prototype.myMethod = function (val) {
-+ class publicClassWithPrivateTypeParameters {
-+ myMethod(val) {
- return val;
-- };
-- return publicClassWithPrivateTypeParameters;
-- }());
-+ }
-+ }
- publicModule.publicClassWithPrivateTypeParameters = publicClassWithPrivateTypeParameters;
-- var publicClassWithPublicTypeParameters = /** @class */ (function () {
-- function publicClassWithPublicTypeParameters() {
-- }
-- publicClassWithPublicTypeParameters.prototype.myMethod = function (val) {
-+ class publicClassWithPublicTypeParameters {
-+ myMethod(val) {
- return val;
-- };
-- return publicClassWithPublicTypeParameters;
-- }());
-+ }
-+ }
- publicModule.publicClassWithPublicTypeParameters = publicClassWithPublicTypeParameters;
-- var privateClassWithPrivateTypeParameters = /** @class */ (function () {
-- function privateClassWithPrivateTypeParameters() {
-- }
-- privateClassWithPrivateTypeParameters.prototype.myMethod = function (val) {
-- return val;
-- };
-- return privateClassWithPrivateTypeParameters;
-- }());
-- var privateClassWithPublicTypeParameters = /** @class */ (function () {
-- function privateClassWithPublicTypeParameters() {
-- }
-- privateClassWithPublicTypeParameters.prototype.myMethod = function (val) {
-- return val;
-- };
-- return privateClassWithPublicTypeParameters;
-- }());
-- var publicClassWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function publicClassWithPublicTypeParametersWithoutExtends() {
-- }
-- publicClassWithPublicTypeParametersWithoutExtends.prototype.myMethod = function (val) {
-- return val;
-- };
-- return publicClassWithPublicTypeParametersWithoutExtends;
-- }());
-+ class privateClassWithPrivateTypeParameters {
-+ myMethod(val) {
-+ return val;
-+ }
-+ }
-+ class privateClassWithPublicTypeParameters {
-+ myMethod(val) {
-+ return val;
-+ }
-+ }
-+ class publicClassWithPublicTypeParametersWithoutExtends {
-+ myMethod(val) {
-+ return val;
-+ }
-+ }
- publicModule.publicClassWithPublicTypeParametersWithoutExtends = publicClassWithPublicTypeParametersWithoutExtends;
-- var privateClassWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function privateClassWithPublicTypeParametersWithoutExtends() {
-- }
-- privateClassWithPublicTypeParametersWithoutExtends.prototype.myMethod = function (val) {
-- return val;
-- };
-- return privateClassWithPublicTypeParametersWithoutExtends;
-- }());
-- var publicClassWithTypeParametersFromPrivateModule = /** @class */ (function () {
-- function publicClassWithTypeParametersFromPrivateModule() {
-- }
-- publicClassWithTypeParametersFromPrivateModule.prototype.myMethod = function (val) {
-- return val;
-- };
-- return publicClassWithTypeParametersFromPrivateModule;
-- }());
-+ class privateClassWithPublicTypeParametersWithoutExtends {
-+ myMethod(val) {
-+ return val;
-+ }
-+ }
-+ class publicClassWithTypeParametersFromPrivateModule {
-+ myMethod(val) {
-+ return val;
-+ }
-+ }
- publicModule.publicClassWithTypeParametersFromPrivateModule = publicClassWithTypeParametersFromPrivateModule;
-- var privateClassWithTypeParametersFromPrivateModule = /** @class */ (function () {
-- function privateClassWithTypeParametersFromPrivateModule() {
-- }
-- privateClassWithTypeParametersFromPrivateModule.prototype.myMethod = function (val) {
-+ class privateClassWithTypeParametersFromPrivateModule {
-+ myMethod(val) {
- return val;
-- };
-- return privateClassWithTypeParametersFromPrivateModule;
-- }());
-+ }
-+ }
- })(publicModule || (exports.publicModule = publicModule = {}));
- var privateModule;
- (function (privateModule) {
-- var privateClassInPrivateModule = /** @class */ (function () {
-- function privateClassInPrivateModule() {
-- }
-- return privateClassInPrivateModule;
-- }());
-- var publicClassInPrivateModule = /** @class */ (function () {
-- function publicClassInPrivateModule() {
-- }
-- return publicClassInPrivateModule;
-- }());
-+ class privateClassInPrivateModule {
-+ }
-+ class publicClassInPrivateModule {
-+ }
- privateModule.publicClassInPrivateModule = publicClassInPrivateModule;
-- var publicClassWithPrivateTypeParameters = /** @class */ (function () {
-- function publicClassWithPrivateTypeParameters() {
-- }
-- publicClassWithPrivateTypeParameters.prototype.myMethod = function (val) {
-+ class publicClassWithPrivateTypeParameters {
-+ myMethod(val) {
- return val;
-- };
-- return publicClassWithPrivateTypeParameters;
-- }());
-+ }
-+ }
- privateModule.publicClassWithPrivateTypeParameters = publicClassWithPrivateTypeParameters;
-- var publicClassWithPublicTypeParameters = /** @class */ (function () {
-- function publicClassWithPublicTypeParameters() {
-- }
-- publicClassWithPublicTypeParameters.prototype.myMethod = function (val) {
-+ class publicClassWithPublicTypeParameters {
-+ myMethod(val) {
- return val;
-- };
-- return publicClassWithPublicTypeParameters;
-- }());
-+ }
-+ }
- privateModule.publicClassWithPublicTypeParameters = publicClassWithPublicTypeParameters;
-- var privateClassWithPrivateTypeParameters = /** @class */ (function () {
-- function privateClassWithPrivateTypeParameters() {
-- }
-- privateClassWithPrivateTypeParameters.prototype.myMethod = function (val) {
-- return val;
-- };
-- return privateClassWithPrivateTypeParameters;
-- }());
-- var privateClassWithPublicTypeParameters = /** @class */ (function () {
-- function privateClassWithPublicTypeParameters() {
-- }
-- privateClassWithPublicTypeParameters.prototype.myMethod = function (val) {
-- return val;
-- };
-- return privateClassWithPublicTypeParameters;
-- }());
-- var publicClassWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function publicClassWithPublicTypeParametersWithoutExtends() {
-- }
-- publicClassWithPublicTypeParametersWithoutExtends.prototype.myMethod = function (val) {
-- return val;
-- };
-- return publicClassWithPublicTypeParametersWithoutExtends;
-- }());
-+ class privateClassWithPrivateTypeParameters {
-+ myMethod(val) {
-+ return val;
-+ }
-+ }
-+ class privateClassWithPublicTypeParameters {
-+ myMethod(val) {
-+ return val;
-+ }
-+ }
-+ class publicClassWithPublicTypeParametersWithoutExtends {
-+ myMethod(val) {
-+ return val;
-+ }
-+ }
- privateModule.publicClassWithPublicTypeParametersWithoutExtends = publicClassWithPublicTypeParametersWithoutExtends;
-- var privateClassWithPublicTypeParametersWithoutExtends = /** @class */ (function () {
-- function privateClassWithPublicTypeParametersWithoutExtends() {
-- }
-- privateClassWithPublicTypeParametersWithoutExtends.prototype.myMethod = function (val) {
-+ class privateClassWithPublicTypeParametersWithoutExtends {
-+ myMethod(val) {
- return val;
-- };
-- return privateClassWithPublicTypeParametersWithoutExtends;
-- }());
-+ }
-+ }
- })(privateModule || (privateModule = {}));
-
diff --git a/testdata/baselines/reference/submodule/compiler/privacyTypeParametersOfInterface.js.diff b/testdata/baselines/reference/submodule/compiler/privacyTypeParametersOfInterface.js.diff
deleted file mode 100644
index 30e6d208a4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyTypeParametersOfInterface.js.diff
+++ /dev/null
@@ -1,36 +0,0 @@
---- old.privacyTypeParametersOfInterface.js
-+++ new.privacyTypeParametersOfInterface.js
-@@= skipped -63, +63 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.publicClassT = exports.publicClass = void 0;
--var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
--}());
--var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
--}());
-+class privateClass {
-+}
-+class publicClass {
-+}
- exports.publicClass = publicClass;
--var privateClassT = /** @class */ (function () {
-- function privateClassT() {
-- }
-- return privateClassT;
--}());
--var publicClassT = /** @class */ (function () {
-- function publicClassT() {
-- }
-- return publicClassT;
--}());
-+class privateClassT {
-+}
-+class publicClassT {
-+}
- exports.publicClassT = publicClassT;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyTypeParametersOfInterfaceDeclFile.js.diff b/testdata/baselines/reference/submodule/compiler/privacyTypeParametersOfInterfaceDeclFile.js.diff
deleted file mode 100644
index 8051d0fe5f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/privacyTypeParametersOfInterfaceDeclFile.js.diff
+++ /dev/null
@@ -1,102 +0,0 @@
---- old.privacyTypeParametersOfInterfaceDeclFile.js
-+++ new.privacyTypeParametersOfInterfaceDeclFile.js
-@@= skipped -195, +195 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.publicModule = exports.publicClassT = exports.publicClass = void 0;
--var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
--}());
--var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
--}());
-+class privateClass {
-+}
-+class publicClass {
-+}
- exports.publicClass = publicClass;
--var privateClassT = /** @class */ (function () {
-- function privateClassT() {
-- }
-- return privateClassT;
--}());
--var publicClassT = /** @class */ (function () {
-- function publicClassT() {
-- }
-- return publicClassT;
--}());
-+class privateClassT {
-+}
-+class publicClassT {
-+}
- exports.publicClassT = publicClassT;
- var publicModule;
- (function (publicModule) {
-- var privateClassInPublicModule = /** @class */ (function () {
-- function privateClassInPublicModule() {
-- }
-- return privateClassInPublicModule;
-- }());
-- var publicClassInPublicModule = /** @class */ (function () {
-- function publicClassInPublicModule() {
-- }
-- return publicClassInPublicModule;
-- }());
-+ class privateClassInPublicModule {
-+ }
-+ class publicClassInPublicModule {
-+ }
- publicModule.publicClassInPublicModule = publicClassInPublicModule;
-- var privateClassInPublicModuleT = /** @class */ (function () {
-- function privateClassInPublicModuleT() {
-- }
-- return privateClassInPublicModuleT;
-- }());
-- var publicClassInPublicModuleT = /** @class */ (function () {
-- function publicClassInPublicModuleT() {
-- }
-- return publicClassInPublicModuleT;
-- }());
-+ class privateClassInPublicModuleT {
-+ }
-+ class publicClassInPublicModuleT {
-+ }
- publicModule.publicClassInPublicModuleT = publicClassInPublicModuleT;
- })(publicModule || (exports.publicModule = publicModule = {}));
- var privateModule;
- (function (privateModule) {
-- var privateClassInPrivateModule = /** @class */ (function () {
-- function privateClassInPrivateModule() {
-- }
-- return privateClassInPrivateModule;
-- }());
-- var publicClassInPrivateModule = /** @class */ (function () {
-- function publicClassInPrivateModule() {
-- }
-- return publicClassInPrivateModule;
-- }());
-+ class privateClassInPrivateModule {
-+ }
-+ class publicClassInPrivateModule {
-+ }
- privateModule.publicClassInPrivateModule = publicClassInPrivateModule;
-- var privateClassInPrivateModuleT = /** @class */ (function () {
-- function privateClassInPrivateModuleT() {
-- }
-- return privateClassInPrivateModuleT;
-- }());
-- var publicClassInPrivateModuleT = /** @class */ (function () {
-- function publicClassInPrivateModuleT() {
-- }
-- return publicClassInPrivateModuleT;
-- }());
-+ class privateClassInPrivateModuleT {
-+ }
-+ class publicClassInPrivateModuleT {
-+ }
- privateModule.publicClassInPrivateModuleT = publicClassInPrivateModuleT;
- })(privateModule || (privateModule = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/privacyVar.js.diff b/testdata/baselines/reference/submodule/compiler/privacyVar.js.diff
index 0c2abfb873..d50f0c0852 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyVar.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyVar.js.diff
@@ -1,27 +1,10 @@
--- old.privacyVar.js
+++ new.privacyVar.js
-@@= skipped -181, +181 lines =@@
- exports.glo_v24_public = exports.glo_v22_public = exports.glo_v14_public = exports.glo_v12_public = exports.glo_v4_public = exports.glo_v2_public = exports.glo_C3_public = exports.glo_C1_public = exports.m1 = void 0;
- var m1;
- (function (m1) {
-- var C1_public = /** @class */ (function () {
-- function C1_public() {
-+ class C1_public {
-+ f1() {
- }
-- C1_public.prototype.f1 = function () {
-- };
-- return C1_public;
-- }());
-+ }
- m1.C1_public = C1_public;
-- var C2_private = /** @class */ (function () {
-- function C2_private() {
-- }
-- return C2_private;
-- }());
-- var C3_public = /** @class */ (function () {
-- function C3_public() {
+@@= skipped -189, +189 lines =@@
+ class C2_private {
+ }
+ class C3_public {
+- constructor() {
- this.C3_v11_private = new C1_public();
- this.C3_v12_public = new C1_public();
- this.C3_v13_private = new C2_private();
@@ -31,11 +14,6 @@
- this.C3_v23_private = new C2_private();
- this.C3_v24_public = new C2_private(); // error
- }
-- return C3_public;
-- }());
-+ class C2_private {
-+ }
-+ class C3_public {
+ C3_v1_private;
+ C3_v2_public;
+ C3_v3_private;
@@ -48,10 +26,10 @@
+ C3_v22_public = new C1_public();
+ C3_v23_private = new C2_private();
+ C3_v24_public = new C2_private(); // error
-+ }
+ }
m1.C3_public = C3_public;
-- var C4_public = /** @class */ (function () {
-- function C4_public() {
+ class C4_public {
+- constructor() {
- this.C4_v11_private = new C1_public();
- this.C4_v12_public = new C1_public();
- this.C4_v13_private = new C2_private();
@@ -61,9 +39,6 @@
- this.C4_v23_private = new C2_private();
- this.C4_v24_public = new C2_private();
- }
-- return C4_public;
-- }());
-+ class C4_public {
+ C4_v1_private;
+ C4_v2_public;
+ C4_v3_private;
@@ -76,32 +51,14 @@
+ C4_v22_public = new C1_public();
+ C4_v23_private = new C2_private();
+ C4_v24_public = new C2_private();
-+ }
+ }
var m1_v1_private;
var m1_v3_private;
- var m1_v11_private = new C1_public();
-@@= skipped -53, +49 lines =@@
- })(m1 || (exports.m1 = m1 = {}));
- var m2;
- (function (m2) {
-- var m2_C1_public = /** @class */ (function () {
-- function m2_C1_public() {
-+ class m2_C1_public {
-+ f1() {
- }
-- m2_C1_public.prototype.f1 = function () {
-- };
-- return m2_C1_public;
-- }());
-+ }
- m2.m2_C1_public = m2_C1_public;
-- var m2_C2_private = /** @class */ (function () {
-- function m2_C2_private() {
-- }
-- return m2_C2_private;
-- }());
-- var m2_C3_public = /** @class */ (function () {
-- function m2_C3_public() {
+@@= skipped -45, +49 lines =@@
+ class m2_C2_private {
+ }
+ class m2_C3_public {
+- constructor() {
- this.m2_C3_v11_private = new m2_C1_public();
- this.m2_C3_v12_public = new m2_C1_public();
- this.m2_C3_v13_private = new m2_C2_private();
@@ -111,11 +68,6 @@
- this.m2_C3_v23_private = new m2_C2_private();
- this.m2_C3_v24_public = new m2_C2_private();
- }
-- return m2_C3_public;
-- }());
-+ class m2_C2_private {
-+ }
-+ class m2_C3_public {
+ m2_C3_v1_private;
+ m2_C3_v2_public;
+ m2_C3_v3_private;
@@ -128,10 +80,10 @@
+ m2_C3_v22_public = new m2_C1_public();
+ m2_C3_v23_private = new m2_C2_private();
+ m2_C3_v24_public = new m2_C2_private();
-+ }
+ }
m2.m2_C3_public = m2_C3_public;
-- var m2_C4_public = /** @class */ (function () {
-- function m2_C4_public() {
+ class m2_C4_public {
+- constructor() {
- this.m2_C4_v11_private = new m2_C1_public();
- this.m2_C4_v12_public = new m2_C1_public();
- this.m2_C4_v13_private = new m2_C2_private();
@@ -141,9 +93,6 @@
- this.m2_C4_v23_private = new m2_C2_private();
- this.m2_C4_v24_public = new m2_C2_private();
- }
-- return m2_C4_public;
-- }());
-+ class m2_C4_public {
+ m2_C4_v1_private;
+ m2_C4_v2_public;
+ m2_C4_v3_private;
@@ -156,32 +105,14 @@
+ m2_C4_v22_public = new m2_C1_public();
+ m2_C4_v23_private = new m2_C2_private();
+ m2_C4_v24_public = new m2_C2_private();
-+ }
+ }
var m2_v1_private;
var m2_v3_private;
- var m2_v11_private = new m2_C1_public();
-@@= skipped -51, +47 lines =@@
- var m2_v23_private = new m2_C2_private();
- m2.m2_v24_public = new m2_C2_private();
- })(m2 || (m2 = {}));
--var glo_C1_public = /** @class */ (function () {
-- function glo_C1_public() {
-+class glo_C1_public {
-+ f1() {
- }
-- glo_C1_public.prototype.f1 = function () {
-- };
-- return glo_C1_public;
--}());
-+}
- exports.glo_C1_public = glo_C1_public;
--var glo_C2_private = /** @class */ (function () {
-- function glo_C2_private() {
-- }
-- return glo_C2_private;
--}());
--var glo_C3_public = /** @class */ (function () {
-- function glo_C3_public() {
+@@= skipped -43, +47 lines =@@
+ class glo_C2_private {
+ }
+ class glo_C3_public {
+- constructor() {
- this.glo_C3_v11_private = new glo_C1_public();
- this.glo_C3_v12_public = new glo_C1_public();
- this.glo_C3_v13_private = new glo_C2_private();
@@ -191,11 +122,6 @@
- this.glo_C3_v23_private = new glo_C2_private();
- this.glo_C3_v24_public = new glo_C2_private(); //error
- }
-- return glo_C3_public;
--}());
-+class glo_C2_private {
-+}
-+class glo_C3_public {
+ glo_C3_v1_private;
+ glo_C3_v2_public;
+ glo_C3_v3_private;
@@ -208,10 +134,10 @@
+ glo_C3_v22_public = new glo_C1_public();
+ glo_C3_v23_private = new glo_C2_private();
+ glo_C3_v24_public = new glo_C2_private(); //error
-+}
+ }
exports.glo_C3_public = glo_C3_public;
--var glo_C4_public = /** @class */ (function () {
-- function glo_C4_public() {
+ class glo_C4_public {
+- constructor() {
- this.glo_C4_v11_private = new glo_C1_public();
- this.glo_C4_v12_public = new glo_C1_public();
- this.glo_C4_v13_private = new glo_C2_private();
@@ -221,9 +147,6 @@
- this.glo_C4_v23_private = new glo_C2_private();
- this.glo_C4_v24_public = new glo_C2_private();
- }
-- return glo_C4_public;
--}());
-+class glo_C4_public {
+ glo_C4_v1_private;
+ glo_C4_v2_public;
+ glo_C4_v3_private;
@@ -236,7 +159,6 @@
+ glo_C4_v22_public = new glo_C1_public();
+ glo_C4_v23_private = new glo_C2_private();
+ glo_C4_v24_public = new glo_C2_private();
-+}
+ }
var glo_v1_private;
- var glo_v3_private;
- var glo_v11_private = new glo_C1_public();
\ No newline at end of file
+ var glo_v3_private;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privacyVarDeclFile.js.diff b/testdata/baselines/reference/submodule/compiler/privacyVarDeclFile.js.diff
index 31a515db83..8f223e1a1a 100644
--- a/testdata/baselines/reference/submodule/compiler/privacyVarDeclFile.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privacyVarDeclFile.js.diff
@@ -1,459 +1,224 @@
--- old.privacyVarDeclFile.js
+++ new.privacyVarDeclFile.js
-@@= skipped -427, +427 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.publicModule = exports.publicVarWithPrivateModulePropertyTypes = exports.publicClassWithPrivateModulePropertyTypes = exports.publicVarWithPublicPropertyTypes = exports.publicVarWithPrivatePropertyTypes = exports.publicClassWithWithPublicPropertyTypes = exports.publicClassWithWithPrivatePropertyTypes = exports.publicClass = void 0;
--var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
--}());
--var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
--}());
-+class privateClass {
-+}
-+class publicClass {
-+}
+@@= skipped -433, +433 lines =@@
+ }
exports.publicClass = publicClass;
--var publicClassWithWithPrivatePropertyTypes = /** @class */ (function () {
-- function publicClassWithWithPrivatePropertyTypes() {
-- }
-- return publicClassWithWithPrivatePropertyTypes;
--}());
-+class publicClassWithWithPrivatePropertyTypes {
+ class publicClassWithWithPrivatePropertyTypes {
+ static myPublicStaticProperty; // Error
+ static myPrivateStaticProperty;
+ myPublicProperty; // Error
+ myPrivateProperty;
-+}
+ }
exports.publicClassWithWithPrivatePropertyTypes = publicClassWithWithPrivatePropertyTypes;
--var publicClassWithWithPublicPropertyTypes = /** @class */ (function () {
-- function publicClassWithWithPublicPropertyTypes() {
-- }
-- return publicClassWithWithPublicPropertyTypes;
--}());
-+class publicClassWithWithPublicPropertyTypes {
+ class publicClassWithWithPublicPropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+}
+ }
exports.publicClassWithWithPublicPropertyTypes = publicClassWithWithPublicPropertyTypes;
--var privateClassWithWithPrivatePropertyTypes = /** @class */ (function () {
-- function privateClassWithWithPrivatePropertyTypes() {
-- }
-- return privateClassWithWithPrivatePropertyTypes;
--}());
--var privateClassWithWithPublicPropertyTypes = /** @class */ (function () {
-- function privateClassWithWithPublicPropertyTypes() {
-- }
-- return privateClassWithWithPublicPropertyTypes;
--}());
-+class privateClassWithWithPrivatePropertyTypes {
+ class privateClassWithWithPrivatePropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+}
-+class privateClassWithWithPublicPropertyTypes {
+ }
+ class privateClassWithWithPublicPropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+}
+ }
var privateVarWithPrivatePropertyTypes;
var privateVarWithPublicPropertyTypes;
--var publicClassWithPrivateModulePropertyTypes = /** @class */ (function () {
-- function publicClassWithPrivateModulePropertyTypes() {
-- }
-- return publicClassWithPrivateModulePropertyTypes;
--}());
-+class publicClassWithPrivateModulePropertyTypes {
+ class publicClassWithPrivateModulePropertyTypes {
+ static myPublicStaticProperty; // Error
+ myPublicProperty; // Error
-+}
+ }
exports.publicClassWithPrivateModulePropertyTypes = publicClassWithPrivateModulePropertyTypes;
--var privateClassWithPrivateModulePropertyTypes = /** @class */ (function () {
-- function privateClassWithPrivateModulePropertyTypes() {
-- }
-- return privateClassWithPrivateModulePropertyTypes;
--}());
-+class privateClassWithPrivateModulePropertyTypes {
+ class privateClassWithPrivateModulePropertyTypes {
+ static myPublicStaticProperty;
+ myPublicProperty;
-+}
+ }
var privateVarWithPrivateModulePropertyTypes;
var publicModule;
- (function (publicModule) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
+@@= skipped -25, +45 lines =@@
+ }
publicModule.publicClass = publicClass;
-- var publicClassWithWithPrivatePropertyTypes = /** @class */ (function () {
-- function publicClassWithWithPrivatePropertyTypes() {
-- }
-- return publicClassWithWithPrivatePropertyTypes;
-- }());
-+ class publicClassWithWithPrivatePropertyTypes {
+ class publicClassWithWithPrivatePropertyTypes {
+ static myPublicStaticProperty; // Error
+ static myPrivateStaticProperty;
+ myPublicProperty; // Error
+ myPrivateProperty;
-+ }
+ }
publicModule.publicClassWithWithPrivatePropertyTypes = publicClassWithWithPrivatePropertyTypes;
-- var publicClassWithWithPublicPropertyTypes = /** @class */ (function () {
-- function publicClassWithWithPublicPropertyTypes() {
-- }
-- return publicClassWithWithPublicPropertyTypes;
-- }());
-+ class publicClassWithWithPublicPropertyTypes {
+ class publicClassWithWithPublicPropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+ }
+ }
publicModule.publicClassWithWithPublicPropertyTypes = publicClassWithWithPublicPropertyTypes;
-- var privateClassWithWithPrivatePropertyTypes = /** @class */ (function () {
-- function privateClassWithWithPrivatePropertyTypes() {
-- }
-- return privateClassWithWithPrivatePropertyTypes;
-- }());
-- var privateClassWithWithPublicPropertyTypes = /** @class */ (function () {
-- function privateClassWithWithPublicPropertyTypes() {
-- }
-- return privateClassWithWithPublicPropertyTypes;
-- }());
-+ class privateClassWithWithPrivatePropertyTypes {
+ class privateClassWithWithPrivatePropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+ }
-+ class privateClassWithWithPublicPropertyTypes {
+ }
+ class privateClassWithWithPublicPropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+ }
+ }
var privateVarWithPrivatePropertyTypes;
var privateVarWithPublicPropertyTypes;
-- var publicClassWithPrivateModulePropertyTypes = /** @class */ (function () {
-- function publicClassWithPrivateModulePropertyTypes() {
-- }
-- return publicClassWithPrivateModulePropertyTypes;
-- }());
-+ class publicClassWithPrivateModulePropertyTypes {
+ class publicClassWithPrivateModulePropertyTypes {
+ static myPublicStaticProperty; // Error
+ myPublicProperty; // Error
-+ }
+ }
publicModule.publicClassWithPrivateModulePropertyTypes = publicClassWithPrivateModulePropertyTypes;
-- var privateClassWithPrivateModulePropertyTypes = /** @class */ (function () {
-- function privateClassWithPrivateModulePropertyTypes() {
-- }
-- return privateClassWithPrivateModulePropertyTypes;
-- }());
-+ class privateClassWithPrivateModulePropertyTypes {
+ class privateClassWithPrivateModulePropertyTypes {
+ static myPublicStaticProperty;
+ myPublicProperty;
-+ }
+ }
var privateVarWithPrivateModulePropertyTypes;
})(publicModule || (exports.publicModule = publicModule = {}));
- var privateModule;
- (function (privateModule) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
+@@= skipped -26, +46 lines =@@
+ }
privateModule.publicClass = publicClass;
-- var publicClassWithWithPrivatePropertyTypes = /** @class */ (function () {
-- function publicClassWithWithPrivatePropertyTypes() {
-- }
-- return publicClassWithWithPrivatePropertyTypes;
-- }());
-+ class publicClassWithWithPrivatePropertyTypes {
+ class publicClassWithWithPrivatePropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+ }
+ }
privateModule.publicClassWithWithPrivatePropertyTypes = publicClassWithWithPrivatePropertyTypes;
-- var publicClassWithWithPublicPropertyTypes = /** @class */ (function () {
-- function publicClassWithWithPublicPropertyTypes() {
-- }
-- return publicClassWithWithPublicPropertyTypes;
-- }());
-+ class publicClassWithWithPublicPropertyTypes {
+ class publicClassWithWithPublicPropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+ }
+ }
privateModule.publicClassWithWithPublicPropertyTypes = publicClassWithWithPublicPropertyTypes;
-- var privateClassWithWithPrivatePropertyTypes = /** @class */ (function () {
-- function privateClassWithWithPrivatePropertyTypes() {
-- }
-- return privateClassWithWithPrivatePropertyTypes;
-- }());
-- var privateClassWithWithPublicPropertyTypes = /** @class */ (function () {
-- function privateClassWithWithPublicPropertyTypes() {
-- }
-- return privateClassWithWithPublicPropertyTypes;
-- }());
-+ class privateClassWithWithPrivatePropertyTypes {
+ class privateClassWithWithPrivatePropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+ }
-+ class privateClassWithWithPublicPropertyTypes {
+ }
+ class privateClassWithWithPublicPropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+ }
+ }
var privateVarWithPrivatePropertyTypes;
var privateVarWithPublicPropertyTypes;
-- var publicClassWithPrivateModulePropertyTypes = /** @class */ (function () {
-- function publicClassWithPrivateModulePropertyTypes() {
-- }
-- return publicClassWithPrivateModulePropertyTypes;
-- }());
-+ class publicClassWithPrivateModulePropertyTypes {
+ class publicClassWithPrivateModulePropertyTypes {
+ static myPublicStaticProperty;
+ myPublicProperty;
-+ }
+ }
privateModule.publicClassWithPrivateModulePropertyTypes = publicClassWithPrivateModulePropertyTypes;
-- var privateClassWithPrivateModulePropertyTypes = /** @class */ (function () {
-- function privateClassWithPrivateModulePropertyTypes() {
-- }
-- return privateClassWithPrivateModulePropertyTypes;
-- }());
-+ class privateClassWithPrivateModulePropertyTypes {
+ class privateClassWithPrivateModulePropertyTypes {
+ static myPublicStaticProperty;
+ myPublicProperty;
-+ }
+ }
var privateVarWithPrivateModulePropertyTypes;
})(privateModule || (privateModule = {}));
- //// [privacyVarDeclFile_GlobalFile.js]
--var publicClassInGlobal = /** @class */ (function () {
-- function publicClassInGlobal() {
-- }
-- return publicClassInGlobal;
--}());
--var publicClassWithWithPublicPropertyTypesInGlobal = /** @class */ (function () {
-- function publicClassWithWithPublicPropertyTypesInGlobal() {
-- }
-- return publicClassWithWithPublicPropertyTypesInGlobal;
--}());
-+class publicClassInGlobal {
-+}
-+class publicClassWithWithPublicPropertyTypesInGlobal {
+@@= skipped -22, +42 lines =@@
+ class publicClassInGlobal {
+ }
+ class publicClassWithWithPublicPropertyTypesInGlobal {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+}
+ }
var publicVarWithPublicPropertyTypesInGlobal;
var publicModuleInGlobal;
- (function (publicModuleInGlobal) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
- publicModuleInGlobal.publicClass = publicClass;
-- var privateModule;
-+ let privateModule;
- (function (privateModule) {
-- var privateClass = /** @class */ (function () {
-- function privateClass() {
-- }
-- return privateClass;
-- }());
-- var publicClass = /** @class */ (function () {
-- function publicClass() {
-- }
-- return publicClass;
-- }());
-+ class privateClass {
-+ }
-+ class publicClass {
-+ }
+@@= skipped -17, +21 lines =@@
+ }
privateModule.publicClass = publicClass;
-- var publicClassWithWithPrivatePropertyTypes = /** @class */ (function () {
-- function publicClassWithWithPrivatePropertyTypes() {
-- }
-- return publicClassWithWithPrivatePropertyTypes;
-- }());
-+ class publicClassWithWithPrivatePropertyTypes {
+ class publicClassWithWithPrivatePropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+ }
+ }
privateModule.publicClassWithWithPrivatePropertyTypes = publicClassWithWithPrivatePropertyTypes;
-- var publicClassWithWithPublicPropertyTypes = /** @class */ (function () {
-- function publicClassWithWithPublicPropertyTypes() {
-- }
-- return publicClassWithWithPublicPropertyTypes;
-- }());
-+ class publicClassWithWithPublicPropertyTypes {
+ class publicClassWithWithPublicPropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+ }
+ }
privateModule.publicClassWithWithPublicPropertyTypes = publicClassWithWithPublicPropertyTypes;
-- var privateClassWithWithPrivatePropertyTypes = /** @class */ (function () {
-- function privateClassWithWithPrivatePropertyTypes() {
-- }
-- return privateClassWithWithPrivatePropertyTypes;
-- }());
-- var privateClassWithWithPublicPropertyTypes = /** @class */ (function () {
-- function privateClassWithWithPublicPropertyTypes() {
-- }
-- return privateClassWithWithPublicPropertyTypes;
-- }());
-+ class privateClassWithWithPrivatePropertyTypes {
+ class privateClassWithWithPrivatePropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+ }
-+ class privateClassWithWithPublicPropertyTypes {
+ }
+ class privateClassWithWithPublicPropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+ }
+ }
var privateVarWithPrivatePropertyTypes;
var privateVarWithPublicPropertyTypes;
-- var publicClassWithPrivateModulePropertyTypes = /** @class */ (function () {
-- function publicClassWithPrivateModulePropertyTypes() {
-- }
-- return publicClassWithPrivateModulePropertyTypes;
-- }());
-+ class publicClassWithPrivateModulePropertyTypes {
+ class publicClassWithPrivateModulePropertyTypes {
+ static myPublicStaticProperty;
+ myPublicProperty;
-+ }
+ }
privateModule.publicClassWithPrivateModulePropertyTypes = publicClassWithPrivateModulePropertyTypes;
-- var privateClassWithPrivateModulePropertyTypes = /** @class */ (function () {
-- function privateClassWithPrivateModulePropertyTypes() {
-- }
-- return privateClassWithPrivateModulePropertyTypes;
-- }());
-+ class privateClassWithPrivateModulePropertyTypes {
+ class privateClassWithPrivateModulePropertyTypes {
+ static myPublicStaticProperty;
+ myPublicProperty;
-+ }
+ }
var privateVarWithPrivateModulePropertyTypes;
})(privateModule || (privateModule = {}));
-- var publicClassWithWithPrivatePropertyTypes = /** @class */ (function () {
-- function publicClassWithWithPrivatePropertyTypes() {
-- }
-- return publicClassWithWithPrivatePropertyTypes;
-- }());
-+ class publicClassWithWithPrivatePropertyTypes {
+ class publicClassWithWithPrivatePropertyTypes {
+ static myPublicStaticProperty; // Error
+ static myPrivateStaticProperty;
+ myPublicProperty; // Error
+ myPrivateProperty;
-+ }
+ }
publicModuleInGlobal.publicClassWithWithPrivatePropertyTypes = publicClassWithWithPrivatePropertyTypes;
-- var publicClassWithWithPublicPropertyTypes = /** @class */ (function () {
-- function publicClassWithWithPublicPropertyTypes() {
-- }
-- return publicClassWithWithPublicPropertyTypes;
-- }());
-+ class publicClassWithWithPublicPropertyTypes {
+ class publicClassWithWithPublicPropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+ }
+ }
publicModuleInGlobal.publicClassWithWithPublicPropertyTypes = publicClassWithWithPublicPropertyTypes;
-- var privateClassWithWithPrivatePropertyTypes = /** @class */ (function () {
-- function privateClassWithWithPrivatePropertyTypes() {
-- }
-- return privateClassWithWithPrivatePropertyTypes;
-- }());
-- var privateClassWithWithPublicPropertyTypes = /** @class */ (function () {
-- function privateClassWithWithPublicPropertyTypes() {
-- }
-- return privateClassWithWithPublicPropertyTypes;
-- }());
-+ class privateClassWithWithPrivatePropertyTypes {
+ class privateClassWithWithPrivatePropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+ }
-+ class privateClassWithWithPublicPropertyTypes {
+ }
+ class privateClassWithWithPublicPropertyTypes {
+ static myPublicStaticProperty;
+ static myPrivateStaticProperty;
+ myPublicProperty;
+ myPrivateProperty;
-+ }
+ }
var privateVarWithPrivatePropertyTypes;
var privateVarWithPublicPropertyTypes;
-- var publicClassWithPrivateModulePropertyTypes = /** @class */ (function () {
-- function publicClassWithPrivateModulePropertyTypes() {
-- }
-- return publicClassWithPrivateModulePropertyTypes;
-- }());
-+ class publicClassWithPrivateModulePropertyTypes {
+ class publicClassWithPrivateModulePropertyTypes {
+ static myPublicStaticProperty; // Error
+ myPublicProperty; // Error
-+ }
+ }
publicModuleInGlobal.publicClassWithPrivateModulePropertyTypes = publicClassWithPrivateModulePropertyTypes;
-- var privateClassWithPrivateModulePropertyTypes = /** @class */ (function () {
-- function privateClassWithPrivateModulePropertyTypes() {
-- }
-- return privateClassWithPrivateModulePropertyTypes;
-- }());
-+ class privateClassWithPrivateModulePropertyTypes {
+ class privateClassWithPrivateModulePropertyTypes {
+ static myPublicStaticProperty;
+ myPublicProperty;
-+ }
+ }
var privateVarWithPrivateModulePropertyTypes;
})(publicModuleInGlobal || (publicModuleInGlobal = {}));
-
-@@= skipped -267, +245 lines =@@
+@@= skipped -45, +85 lines =@@
export declare class publicClass {
}
export interface publicInterfaceWithPrivatePropertyTypes {
diff --git a/testdata/baselines/reference/submodule/compiler/privateAccessInSubclass1.js.diff b/testdata/baselines/reference/submodule/compiler/privateAccessInSubclass1.js.diff
index ab843c6874..9d2ed1b9de 100644
--- a/testdata/baselines/reference/submodule/compiler/privateAccessInSubclass1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privateAccessInSubclass1.js.diff
@@ -1,43 +1,10 @@
--- old.privateAccessInSubclass1.js
+++ new.privateAccessInSubclass1.js
-@@= skipped -11, +11 lines =@@
- }
+@@= skipped -12, +12 lines =@@
//// [privateAccessInSubclass1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Base = /** @class */ (function () {
-- function Base() {
-- }
-- return Base;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- D.prototype.myMethod = function () {
-+class Base {
+ class Base {
+ options;
-+}
-+class D extends Base {
-+ myMethod() {
- this.options;
-- };
-- return D;
--}(Base));
-+ }
-+}
\ No newline at end of file
+ }
+ class D extends Base {
+ myMethod() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privateFieldAssignabilityFromUnknown.js.diff b/testdata/baselines/reference/submodule/compiler/privateFieldAssignabilityFromUnknown.js.diff
index 2c66ea4af7..7226f7e3a1 100644
--- a/testdata/baselines/reference/submodule/compiler/privateFieldAssignabilityFromUnknown.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privateFieldAssignabilityFromUnknown.js.diff
@@ -7,16 +7,12 @@
-var _Class_field;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Class = void 0;
--var Class = /** @class */ (function () {
-- function Class() {
+ class Class {
+- constructor() {
- _Class_field.set(this, void 0);
- }
-- return Class;
--}());
-+class Class {
+ #field;
-+}
+ }
exports.Class = Class;
-_Class_field = new WeakMap();
--var task = {};
-+const task = {};
\ No newline at end of file
+ const task = {};
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privateInstanceVisibility.js.diff b/testdata/baselines/reference/submodule/compiler/privateInstanceVisibility.js.diff
index ec2f5ca4b6..43adf24ed9 100644
--- a/testdata/baselines/reference/submodule/compiler/privateInstanceVisibility.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privateInstanceVisibility.js.diff
@@ -1,39 +1,18 @@
--- old.privateInstanceVisibility.js
+++ new.privateInstanceVisibility.js
-@@= skipped -42, +42 lines =@@
- //// [privateInstanceVisibility.js]
+@@= skipped -43, +43 lines =@@
var Test;
(function (Test) {
-- var Example = /** @class */ (function () {
-- function Example() {
-- }
-- Example.prototype.doSomething = function () {
-+ class Example {
+ class Example {
+ someNumber;
-+ doSomething() {
+ doSomething() {
var that = this;
function innerFunction() {
- var num = that.someNumber;
- }
-- };
-- return Example;
-- }());
-+ }
-+ }
+@@= skipped -10, +11 lines =@@
Test.Example = Example;
})(Test || (Test = {}));
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.getX = function () { return this.x; };
-- C.prototype.clone = function (other) {
-+class C {
+ class C {
+ x;
-+ getX() { return this.x; }
-+ clone(other) {
- this.x = other.x;
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
+ getX() { return this.x; }
+ clone(other) {
+ this.x = other.x;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privateInterfaceProperties.js.diff b/testdata/baselines/reference/submodule/compiler/privateInterfaceProperties.js.diff
index b9cbe1a7e9..f886c9ea6d 100644
--- a/testdata/baselines/reference/submodule/compiler/privateInterfaceProperties.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privateInterfaceProperties.js.diff
@@ -1,23 +1,12 @@
--- old.privateInterfaceProperties.js
+++ new.privateInterfaceProperties.js
-@@= skipped -12, +12 lines =@@
-
+@@= skipped -13, +13 lines =@@
//// [privateInterfaceProperties.js]
// should be an error
--var c1 = /** @class */ (function () {
-- function c1() {
-- }
-- return c1;
--}());
-+class c1 {
+ class c1 {
+ name;
-+}
+ }
// should be ok
--var c2 = /** @class */ (function () {
-- function c2() {
-- }
-- return c2;
--}());
-+class c2 {
+ class c2 {
+ name;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privateNameJsx.js.diff b/testdata/baselines/reference/submodule/compiler/privateNameJsx.js.diff
index b962dcc74b..c1e750455e 100644
--- a/testdata/baselines/reference/submodule/compiler/privateNameJsx.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privateNameJsx.js.diff
@@ -5,18 +5,13 @@
//// [privateNameJsx.jsx]
-var _Test_prop;
--var Test = /** @class */ (function () {
-- function Test() {
-- _Test_prop.set(this, function () { return ; });
+ class Test {
+- constructor() {
+- _Test_prop.set(this, () => );
- }
-- Test.prototype.render = function () {
-+class Test {
+ #prop = () => ;
-+ render() {
+ render() {
return ;
-- };
-- return Test;
--}());
--_Test_prop = new WeakMap();
-+ }
-+}
\ No newline at end of file
+ }
+ }
+-_Test_prop = new WeakMap();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privatePropertyInUnion.js.diff b/testdata/baselines/reference/submodule/compiler/privatePropertyInUnion.js.diff
index a8e396563c..c63b589247 100644
--- a/testdata/baselines/reference/submodule/compiler/privatePropertyInUnion.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privatePropertyInUnion.js.diff
@@ -6,11 +6,6 @@
//// [privatePropertyInUnion.js]
-"use strict";
-// Repro from #38236
--var SyncableObject = /** @class */ (function () {
-- function SyncableObject() {
-- }
-- return SyncableObject;
--}());
-+class SyncableObject {
+ class SyncableObject {
+ foo;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privatePropertyUsingObjectType.js.diff b/testdata/baselines/reference/submodule/compiler/privatePropertyUsingObjectType.js.diff
index bb5c3b86f0..a0b6046265 100644
--- a/testdata/baselines/reference/submodule/compiler/privatePropertyUsingObjectType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privatePropertyUsingObjectType.js.diff
@@ -8,11 +8,8 @@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.FilterManager = void 0;
-- var FilterManager = /** @class */ (function () {
-- function FilterManager() {
-- }
-- return FilterManager;
-- }());
+- class FilterManager {
+- }
- exports.FilterManager = FilterManager;
-});
+"use strict";
diff --git a/testdata/baselines/reference/submodule/compiler/privateVisibility.js.diff b/testdata/baselines/reference/submodule/compiler/privateVisibility.js.diff
index e3bfd214a2..8ac4aa15ef 100644
--- a/testdata/baselines/reference/submodule/compiler/privateVisibility.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privateVisibility.js.diff
@@ -1,42 +1,30 @@
--- old.privateVisibility.js
+++ new.privateVisibility.js
-@@= skipped -28, +28 lines =@@
-
+@@= skipped -29, +29 lines =@@
//// [privateVisibility.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
+ class Foo {
+- constructor() {
- this.pubProp = 0;
- this.privProp = 0;
- }
-- Foo.prototype.pubMeth = function () { this.privMeth(); };
-- Foo.prototype.privMeth = function () { };
-- return Foo;
--}());
-+class Foo {
-+ pubMeth() { this.privMeth(); }
-+ privMeth() { }
+ pubMeth() { this.privMeth(); }
+ privMeth() { }
+ pubProp = 0;
+ privProp = 0;
-+}
+ }
var f = new Foo();
f.privMeth(); // should not work
- f.privProp; // should not work
-@@= skipped -16, +13 lines =@@
- f.pubProp; // should work
+@@= skipped -15, +13 lines =@@
var M;
(function (M) {
-- var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.pub = 0;
- this.priv = 1;
- }
-- return C;
-- }());
-+ class C {
+ pub = 0;
+ priv = 1;
-+ }
+ }
M.C = C;
- M.V = 0;
- })(M || (M = {}));
\ No newline at end of file
+ M.V = 0;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/privateVisibles.js.diff b/testdata/baselines/reference/submodule/compiler/privateVisibles.js.diff
index 1cd999abbd..4e0a78b753 100644
--- a/testdata/baselines/reference/submodule/compiler/privateVisibles.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/privateVisibles.js.diff
@@ -1,19 +1,12 @@
--- old.privateVisibles.js
+++ new.privateVisibles.js
-@@= skipped -11, +11 lines =@@
-
+@@= skipped -12, +12 lines =@@
//// [privateVisibles.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- this.pvar = 0;
-+class Foo {
+ class Foo {
+ pvar = 0;
-+ constructor() {
+ constructor() {
+- this.pvar = 0;
var n = this.pvar;
}
-- Foo.prototype.meth = function () { var q = this.pvar; };
-- return Foo;
--}());
-+ meth() { var q = this.pvar; }
-+}
\ No newline at end of file
+ meth() { var q = this.pvar; }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/promiseChaining.js.diff b/testdata/baselines/reference/submodule/compiler/promiseChaining.js.diff
index a3062a0423..4ddc27bb9f 100644
--- a/testdata/baselines/reference/submodule/compiler/promiseChaining.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/promiseChaining.js.diff
@@ -1,25 +1,10 @@
--- old.promiseChaining.js
+++ new.promiseChaining.js
-@@= skipped -13, +13 lines =@@
-
+@@= skipped -14, +14 lines =@@
//// [promiseChaining.js]
--var Chain = /** @class */ (function () {
-- function Chain(value) {
-+class Chain {
+ class Chain {
+ value;
-+ constructor(value) {
+ constructor(value) {
this.value = value;
- }
-- Chain.prototype.then = function (cb) {
-+ then(cb) {
- var result = cb(this.value);
- // should get a fresh type parameter which each then call
-- var z = this.then(function (x) { return result; }) /*S*/.then(function (x) { return "abc"; }) /*string*/.then(function (x) { return x.length; }) /*number*/; // No error
-+ var z = this.then(x => result) /*S*/.then(x => "abc") /*string*/.then(x => x.length) /*number*/; // No error
- return new Chain(result);
-- };
-- return Chain;
--}());
-+ }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/promiseChaining1.js.diff b/testdata/baselines/reference/submodule/compiler/promiseChaining1.js.diff
index 3e679b06ce..253bdeb318 100644
--- a/testdata/baselines/reference/submodule/compiler/promiseChaining1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/promiseChaining1.js.diff
@@ -1,25 +1,10 @@
--- old.promiseChaining1.js
+++ new.promiseChaining1.js
-@@= skipped -13, +13 lines =@@
-
+@@= skipped -14, +14 lines =@@
//// [promiseChaining1.js]
// same example but with constraints on each type parameter
--var Chain2 = /** @class */ (function () {
-- function Chain2(value) {
-+class Chain2 {
+ class Chain2 {
+ value;
-+ constructor(value) {
+ constructor(value) {
this.value = value;
- }
-- Chain2.prototype.then = function (cb) {
-+ then(cb) {
- var result = cb(this.value);
- // should get a fresh type parameter which each then call
-- var z = this.then(function (x) { return result; }) /*S*/.then(function (x) { return "abc"; }) /*Function*/.then(function (x) { return x.length; }) /*number*/; // Should error on "abc" because it is not a Function
-+ var z = this.then(x => result) /*S*/.then(x => "abc") /*Function*/.then(x => x.length) /*number*/; // Should error on "abc" because it is not a Function
- return new Chain2(result);
-- };
-- return Chain2;
--}());
-+ }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/promiseChaining2.js.diff b/testdata/baselines/reference/submodule/compiler/promiseChaining2.js.diff
index 62ddcf8979..2be71d2d06 100644
--- a/testdata/baselines/reference/submodule/compiler/promiseChaining2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/promiseChaining2.js.diff
@@ -1,25 +1,10 @@
--- old.promiseChaining2.js
+++ new.promiseChaining2.js
-@@= skipped -13, +13 lines =@@
-
+@@= skipped -14, +14 lines =@@
//// [promiseChaining2.js]
// same example but with constraints on each type parameter
--var Chain2 = /** @class */ (function () {
-- function Chain2(value) {
-+class Chain2 {
+ class Chain2 {
+ value;
-+ constructor(value) {
+ constructor(value) {
this.value = value;
- }
-- Chain2.prototype.then = function (cb) {
-+ then(cb) {
- var result = cb(this.value);
- // should get a fresh type parameter which each then call
-- var z = this.then(function (x) { return result; }).then(function (x) { return "abc"; }).then(function (x) { return x.length; });
-+ var z = this.then(x => result).then(x => "abc").then(x => x.length);
- return new Chain2(result);
-- };
-- return Chain2;
--}());
-+ }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/promiseDefinitionTest.js.diff b/testdata/baselines/reference/submodule/compiler/promiseDefinitionTest.js.diff
index f651bbc379..19faa8fd1d 100644
--- a/testdata/baselines/reference/submodule/compiler/promiseDefinitionTest.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/promiseDefinitionTest.js.diff
@@ -13,44 +13,10 @@
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
--};
--var Promise = /** @class */ (function () {
-- function Promise() {
-- }
-- return Promise;
--}());
--function foo() {
-- return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) {
-- return [2 /*return*/];
-- }); });
-+class Promise {
+ class Promise {
}
--var x = foo();
+-function foo() {
+- return __awaiter(this, void 0, void 0, function* () { });
+-}
+async function foo() { }
-+const x = foo();
\ No newline at end of file
+ const x = foo();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/promisePermutations.js.diff b/testdata/baselines/reference/submodule/compiler/promisePermutations.js.diff
deleted file mode 100644
index f977b862bc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/promisePermutations.js.diff
+++ /dev/null
@@ -1,30 +0,0 @@
---- old.promisePermutations.js
-+++ new.promisePermutations.js
-@@= skipped -252, +252 lines =@@
- var s9e = s9.then(nPromise, nPromise, nPromise); // ok
- var s9f = s9.then(testFunction, sIPromise, nIPromise); // error
- var s9g = s9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
--var r10 = testFunction10(function (x) { return x; });
-+var r10 = testFunction10(x => x);
- var r10a = r10.then(testFunction10, testFunction10, testFunction10); // ok
- var r10b = r10.then(sIPromise, sIPromise, sIPromise); // ok
- var r10c = r10.then(nIPromise, nIPromise, nIPromise); // ok
- var r10d = r10.then(testFunction, sIPromise, nIPromise); // ok
- var r10e = r10.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
--var s10 = testFunction10P(function (x) { return x; });
-+var s10 = testFunction10P(x => x);
- var s10a = s10.then(testFunction10, testFunction10, testFunction10); // ok
- var s10b = s10.then(testFunction10P, testFunction10P, testFunction10P); // ok
- var s10c = s10.then(testFunction10P, testFunction10, testFunction10); // ok
-@@= skipped -20, +20 lines =@@
- var s11a = s11.then(testFunction11, testFunction11, testFunction11); // ok
- var s11b = s11.then(testFunction11P, testFunction11P, testFunction11P); // error
- var s11c = s11.then(testFunction11P, testFunction11, testFunction11); // error
--var r12 = testFunction12(function (x) { return x; });
-+var r12 = testFunction12(x => x);
- var r12a = r12.then(testFunction12, testFunction12, testFunction12); // ok
--var s12 = testFunction12(function (x) { return x; });
-+var s12 = testFunction12(x => x);
- var s12a = s12.then(testFunction12, testFunction12, testFunction12); // ok
- var s12b = s12.then(testFunction12P, testFunction12P, testFunction12P); // ok
- var s12c = s12.then(testFunction12P, testFunction12, testFunction12); // ok
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/promisePermutations2.js.diff b/testdata/baselines/reference/submodule/compiler/promisePermutations2.js.diff
index 7dd218e973..2cddc5a770 100644
--- a/testdata/baselines/reference/submodule/compiler/promisePermutations2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/promisePermutations2.js.diff
@@ -7,32 +7,4 @@
-// same as promisePermutations but without the same overloads in Promise
var r1;
var r1a = r1.then(testFunction, testFunction, testFunction);
- var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFunction);
-@@= skipped -84, +83 lines =@@
- var s9e = s9.then(nPromise, nPromise, nPromise); // ok
- var s9f = s9.then(testFunction, sIPromise, nIPromise); // error
- var s9g = s9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
--var r10 = testFunction10(function (x) { return x; });
-+var r10 = testFunction10(x => x);
- var r10a = r10.then(testFunction10, testFunction10, testFunction10); // ok
- var r10b = r10.then(sIPromise, sIPromise, sIPromise); // ok
- var r10c = r10.then(nIPromise, nIPromise, nIPromise); // ok
- var r10d = r10.then(testFunction, sIPromise, nIPromise); // error
- var r10e = r10.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
--var s10 = testFunction10P(function (x) { return x; });
-+var s10 = testFunction10P(x => x);
- var s10a = s10.then(testFunction10, testFunction10, testFunction10); // ok
- var s10b = s10.then(testFunction10P, testFunction10P, testFunction10P); // ok
- var s10c = s10.then(testFunction10P, testFunction10, testFunction10); // ok
-@@= skipped -20, +20 lines =@@
- var s11a = s11.then(testFunction11, testFunction11, testFunction11); // ok
- var s11b = s11.then(testFunction11P, testFunction11P, testFunction11P); // ok
- var s11c = s11.then(testFunction11P, testFunction11, testFunction11); // ok
--var r12 = testFunction12(function (x) { return x; });
-+var r12 = testFunction12(x => x);
- var r12a = r12.then(testFunction12, testFunction12, testFunction12); // ok
--var s12 = testFunction12(function (x) { return x; });
-+var s12 = testFunction12(x => x);
- var s12a = s12.then(testFunction12, testFunction12, testFunction12); // ok
- var s12b = s12.then(testFunction12P, testFunction12P, testFunction12P); // ok
- var s12c = s12.then(testFunction12P, testFunction12, testFunction12); // ok
\ No newline at end of file
+ var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFunction);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/promisePermutations3.js.diff b/testdata/baselines/reference/submodule/compiler/promisePermutations3.js.diff
index 67264c249b..6a42aa7cf3 100644
--- a/testdata/baselines/reference/submodule/compiler/promisePermutations3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/promisePermutations3.js.diff
@@ -7,32 +7,4 @@
-// same as promisePermutations but without the same overloads in IPromise
var r1;
var r1a = r1.then(testFunction, testFunction, testFunction);
- var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFunction);
-@@= skipped -84, +83 lines =@@
- var s9e = s9.then(nPromise, nPromise, nPromise); // ok
- var s9f = s9.then(testFunction, sIPromise, nIPromise); // error
- var s9g = s9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
--var r10 = testFunction10(function (x) { return x; });
-+var r10 = testFunction10(x => x);
- var r10a = r10.then(testFunction10, testFunction10, testFunction10); // ok
- var r10b = r10.then(sIPromise, sIPromise, sIPromise); // ok
- var r10c = r10.then(nIPromise, nIPromise, nIPromise); // ok
- var r10d = r10.then(testFunction, sIPromise, nIPromise); // error
- var r10e = r10.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
--var s10 = testFunction10P(function (x) { return x; });
-+var s10 = testFunction10P(x => x);
- var s10a = s10.then(testFunction10, testFunction10, testFunction10); // ok
- var s10b = s10.then(testFunction10P, testFunction10P, testFunction10P); // ok
- var s10c = s10.then(testFunction10P, testFunction10, testFunction10); // ok
-@@= skipped -20, +20 lines =@@
- var s11a = s11.then(testFunction11, testFunction11, testFunction11); // ok
- var s11b = s11.then(testFunction11P, testFunction11P, testFunction11P); // error
- var s11c = s11.then(testFunction11P, testFunction11, testFunction11); // error
--var r12 = testFunction12(function (x) { return x; });
-+var r12 = testFunction12(x => x);
- var r12a = r12.then(testFunction12, testFunction12, testFunction12); // ok
--var s12 = testFunction12(function (x) { return x; });
-+var s12 = testFunction12(x => x);
- var s12a = s12.then(testFunction12, testFunction12, testFunction12); // ok
- var s12b = s12.then(testFunction12P, testFunction12P, testFunction12P); // ok
- var s12c = s12.then(testFunction12P, testFunction12, testFunction12); // ok
\ No newline at end of file
+ var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFunction);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/promiseTypeInference.js.diff b/testdata/baselines/reference/submodule/compiler/promiseTypeInference.js.diff
deleted file mode 100644
index 25f6e4fc0b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/promiseTypeInference.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.promiseTypeInference.js
-+++ new.promiseTypeInference.js
-@@= skipped -13, +13 lines =@@
-
-
- //// [promiseTypeInference.js]
--var $$x = load("something").then(function (s) { return convert(s); });
-+var $$x = load("something").then(s => convert(s));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/propTypeValidatorInference.js.diff b/testdata/baselines/reference/submodule/compiler/propTypeValidatorInference.js.diff
index db516054ff..4504bc62e8 100644
--- a/testdata/baselines/reference/submodule/compiler/propTypeValidatorInference.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/propTypeValidatorInference.js.diff
@@ -5,35 +5,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var PropTypes = require("prop-types");
--var innerProps = {
+const PropTypes = require("prop-types");
-+const innerProps = {
+ const innerProps = {
foo: PropTypes.string.isRequired,
- bar: PropTypes.bool,
- baz: PropTypes.any
- };
--var arrayOfTypes = [PropTypes.string, PropTypes.bool, PropTypes.shape({
-+const arrayOfTypes = [PropTypes.string, PropTypes.bool, PropTypes.shape({
- foo: PropTypes.string,
- bar: PropTypes.number.isRequired
- })];
- // TS checking
--var propTypes = {
-+const propTypes = {
- any: PropTypes.any,
- array: PropTypes.array.isRequired,
- bool: PropTypes.bool.isRequired,
-@@= skipped -19, +19 lines =@@
- oneOfType: PropTypes.oneOfType(arrayOfTypes).isRequired,
- };
- // JS checking
--var propTypesWithoutAnnotation = {
-+const propTypesWithoutAnnotation = {
- any: PropTypes.any,
- array: PropTypes.array.isRequired,
- bool: PropTypes.bool.isRequired,
- shape: PropTypes.shape(innerProps).isRequired,
- oneOfType: PropTypes.oneOfType(arrayOfTypes).isRequired,
- };
--var x = null;
-+const x = null;
\ No newline at end of file
+ bar: PropTypes.bool,
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/propagationOfPromiseInitialization.js.diff b/testdata/baselines/reference/submodule/compiler/propagationOfPromiseInitialization.js.diff
deleted file mode 100644
index 4e4ed95b02..0000000000
--- a/testdata/baselines/reference/submodule/compiler/propagationOfPromiseInitialization.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.propagationOfPromiseInitialization.js
-+++ new.propagationOfPromiseInitialization.js
-@@= skipped -17, +17 lines =@@
-
- //// [propagationOfPromiseInitialization.js]
- var foo;
--foo.then(function (x) {
-+foo.then((x) => {
- // x is inferred to be a number
- return "asdf";
--}).then(function (x) {
-+}).then((x) => {
- // x is inferred to be string
- x.length;
- return 123;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/properties.js.diff b/testdata/baselines/reference/submodule/compiler/properties.js.diff
deleted file mode 100644
index 258be41bc5..0000000000
--- a/testdata/baselines/reference/submodule/compiler/properties.js.diff
+++ /dev/null
@@ -1,32 +0,0 @@
---- old.properties.js
-+++ new.properties.js
-@@= skipped -14, +14 lines =@@
- }
-
- //// [properties.js]
--var MyClass = /** @class */ (function () {
-- function MyClass() {
-- }
-- Object.defineProperty(MyClass.prototype, "Count", {
-- get: function () {
-- return 42;
-- },
-- set: function (value) {
-- //
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return MyClass;
--}());
-+class MyClass {
-+ get Count() {
-+ return 42;
-+ }
-+ set Count(value) {
-+ //
-+ }
-+}
- //# sourceMappingURL=properties.js.map
-
- //// [properties.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/properties.js.map.diff b/testdata/baselines/reference/submodule/compiler/properties.js.map.diff
index d4a94f6b4d..b4904ec324 100644
--- a/testdata/baselines/reference/submodule/compiler/properties.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/properties.js.map.diff
@@ -2,7 +2,7 @@
+++ new.properties.js.map
@@= skipped -0, +0 lines =@@
//// [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,MAAM,OAAO;IAET,IAAW,KAAK;QAEZ,OAAO,EAAE,CAAC;IACd,CAAC;IAED,IAAW,KAAK,CAAC,KAAa;QAE1B,EAAE;IACN,CAAC;CACJ"}
+-//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgTXlDbGFzcyB7DQogICAgZ2V0IENvdW50KCkgew0KICAgICAgICByZXR1cm4gNDI7DQogICAgfQ0KICAgIHNldCBDb3VudCh2YWx1ZSkgew0KICAgICAgICAvLw0KICAgIH0NCn0NCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXByb3BlcnRpZXMuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydGllcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb3BlcnRpZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPO0lBRVQsSUFBVyxLQUFLO1FBRVosT0FBTyxFQUFFLENBQUM7SUFDZCxDQUFDO0lBRUQsSUFBVyxLQUFLLENBQUMsS0FBYTtRQUUxQixFQUFFO0lBQ04sQ0FBQztDQUNKIn0=,Y2xhc3MgTXlDbGFzcwp7CiAgICBwdWJsaWMgZ2V0IENvdW50KCk6IG51bWJlcgogICAgewogICAgICAgIHJldHVybiA0MjsKICAgIH0KCiAgICBwdWJsaWMgc2V0IENvdW50KHZhbHVlOiBudW1iZXIpCiAgICB7CiAgICAgICAgLy8KICAgIH0KfQ==
+{"version":3,"file":"properties.js","sourceRoot":"","sources":["properties.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO;IAET,IAAW,KAAK,GAChB;QACI,OAAO,EAAE,CAAC;IAAA,CACb;IAED,IAAW,KAAK,CAAC,KAAa,EAC9B;QACI,EAAE;IADL,CAEA;CACJ"}
+//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgTXlDbGFzcyB7DQogICAgZ2V0IENvdW50KCkgew0KICAgICAgICByZXR1cm4gNDI7DQogICAgfQ0KICAgIHNldCBDb3VudCh2YWx1ZSkgew0KICAgICAgICAvLw0KICAgIH0NCn0NCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXByb3BlcnRpZXMuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydGllcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb3BlcnRpZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPO0lBRVQsSUFBVyxLQUFLLEdBQ2hCO1FBQ0ksT0FBTyxFQUFFLENBQUM7SUFBQSxDQUNiO0lBRUQsSUFBVyxLQUFLLENBQUMsS0FBYSxFQUM5QjtRQUNJLEVBQUU7SUFETCxDQUVBO0NBQ0oifQ==,Y2xhc3MgTXlDbGFzcwp7CiAgICBwdWJsaWMgZ2V0IENvdW50KCk6IG51bWJlcgogICAgewogICAgICAgIHJldHVybiA0MjsKICAgIH0KCiAgICBwdWJsaWMgc2V0IENvdW50KHZhbHVlOiBudW1iZXIpCiAgICB7CiAgICAgICAgLy8KICAgIH0KfQ==
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/properties.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/properties.sourcemap.txt.diff
index bc52d7a1aa..4c6da52609 100644
--- a/testdata/baselines/reference/submodule/compiler/properties.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/properties.sourcemap.txt.diff
@@ -1,257 +1,89 @@
--- old.properties.sourcemap.txt
+++ new.properties.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:properties.js
- sourceFile:properties.ts
- -------------------------------------------------------------------
-->>>var MyClass = /** @class */ (function () {
--1 >
--2 >^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-+>>>class MyClass {
-+1 >
-+2 >^^^^^^
-+3 > ^^^^^^^
-+4 > ^^^^^->
-+1 >
-+2 >class
-+3 > MyClass
- 1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
-+2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0)
-+3 >Emitted(1, 14) Source(1, 14) + SourceIndex(0)
- ---
-->>> function MyClass() {
-+>>> get Count() {
+@@= skipped -23, +23 lines =@@
1->^^^^
--2 > ^^->
-+2 > ^^^^
-+3 > ^^^^^
+ 2 > ^^^^
+ 3 > ^^^^^
+-4 > ^^^^^^->
+4 > ^^^
+5 > ^^^->
1->
--1->Emitted(2, 5) Source(1, 1) + SourceIndex(0)
-----
-->>> }
--1->^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1->class MyClass
>{
-- > public get Count(): number
-- > {
-- > return 42;
-- > }
-- >
-- > public set Count(value: number)
-- > {
-- > //
-- > }
-- >
--2 > }
--1->Emitted(3, 5) Source(12, 1) + SourceIndex(0)
--2 >Emitted(3, 6) Source(12, 2) + SourceIndex(0)
-----
-->>> Object.defineProperty(MyClass.prototype, "Count", {
--1->^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^
--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)
-----
-->>> get: function () {
--1 >^^^^^^^^^^^^^
--2 > ^^^^^^^^^^->
--1 >
--1 >Emitted(5, 14) Source(3, 5) + SourceIndex(0)
-----
-->>> return 42;
--1->^^^^^^^^^^^^
--2 > ^^^^^^^
--3 > ^^
--4 > ^
--1->public get Count(): number
-- > {
-- >
--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 >^^^^^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 > }
--1 >Emitted(7, 9) Source(6, 5) + SourceIndex(0)
--2 >Emitted(7, 10) Source(6, 6) + SourceIndex(0)
-----
-->>> set: function (value) {
--1->^^^^^^^^^^^^^
--2 > ^^^^^^^^^^
--3 > ^^^^^
--1->
-- >
-- >
--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 >^^^^^^^^^^^^
--2 > ^^
--1 >)
-- > {
-- >
--2 > //
--1 >Emitted(9, 13) Source(10, 9) + SourceIndex(0)
--2 >Emitted(9, 15) Source(10, 11) + SourceIndex(0)
-----
-->>> },
--1 >^^^^^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 > }
--1 >Emitted(10, 9) Source(11, 5) + SourceIndex(0)
--2 >Emitted(10, 10) Source(11, 6) + SourceIndex(0)
-----
-->>> enumerable: false,
-->>> configurable: true
-->>> });
--1->^^^^^^^
--2 > ^^^^^^^^^^^^^->
--1->
--1->Emitted(13, 8) Source(6, 6) + SourceIndex(0)
-----
-->>> return MyClass;
-+3 > Count
+ 3 > Count
+4 > (): number
+ >
-+1->Emitted(2, 5) Source(3, 5) + SourceIndex(0)
-+2 >Emitted(2, 9) Source(3, 16) + SourceIndex(0)
-+3 >Emitted(2, 14) Source(3, 21) + SourceIndex(0)
+ 1->Emitted(2, 5) Source(3, 5) + SourceIndex(0)
+ 2 >Emitted(2, 9) Source(3, 16) + SourceIndex(0)
+ 3 >Emitted(2, 14) Source(3, 21) + SourceIndex(0)
+4 >Emitted(2, 17) Source(4, 5) + SourceIndex(0)
-+---
-+>>> return 42;
-+1->^^^^^^^^
-+2 > ^^^^^^^
-+3 > ^^
-+4 > ^
+ ---
+ >>> return 42;
+ 1->^^^^^^^^
+ 2 > ^^^^^^^
+ 3 > ^^
+ 4 > ^
+-1->(): number
+- > {
+1->{
-+ >
-+2 > return
-+3 > 42
-+4 > ;
-+1->Emitted(3, 9) Source(5, 9) + SourceIndex(0)
-+2 >Emitted(3, 16) Source(5, 16) + SourceIndex(0)
-+3 >Emitted(3, 18) Source(5, 18) + SourceIndex(0)
-+4 >Emitted(3, 19) Source(5, 19) + SourceIndex(0)
-+---
-+>>> }
-+1 >^^^^
-+2 > ^
-+3 > ^^^^^^^^^^^^^^^^^^->
-+1 >
+ >
+ 2 > return
+ 3 > 42
+@@= skipped -31, +34 lines =@@
+ 2 > ^
+ 3 > ^^^^^^^^^^^^^^^^^^->
+ 1 >
+- >
+-2 > }
+-1 >Emitted(4, 5) Source(6, 5) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(4, 5) Source(5, 19) + SourceIndex(0)
-+2 >Emitted(4, 6) Source(6, 6) + SourceIndex(0)
-+---
-+>>> set Count(value) {
- 1->^^^^
--2 > ^^^^^^^^^^^^^^
-+2 > ^^^^
-+3 > ^^^^^
-+4 > ^
-+5 > ^^^^^
+ 2 >Emitted(4, 6) Source(6, 6) + SourceIndex(0)
+ ---
+ >>> set Count(value) {
+@@= skipped -11, +11 lines =@@
+ 3 > ^^^^^
+ 4 > ^
+ 5 > ^^^^^
+6 > ^^
1->
>
-- > public set Count(value: number)
-- > {
-- > //
-- > }
-- >
--2 > }
--1->Emitted(14, 5) Source(12, 1) + SourceIndex(0)
--2 >Emitted(14, 19) Source(12, 2) + SourceIndex(0)
-----
-->>>}());
--1 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 >}
--3 >
--4 > class MyClass
-- > {
-- > public get Count(): number
-- > {
-- > return 42;
-- > }
-- >
-- > public set Count(value: number)
-- > {
-- > //
-- > }
-- > }
--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)
-+ >
-+2 > public set
-+3 > Count
-+4 > (
-+5 > value: number
+ >
+@@= skipped -7, +8 lines =@@
+ 3 > Count
+ 4 > (
+ 5 > value: number
+6 > )
+ >
-+1->Emitted(5, 5) Source(8, 5) + SourceIndex(0)
-+2 >Emitted(5, 9) Source(8, 16) + SourceIndex(0)
-+3 >Emitted(5, 14) Source(8, 21) + SourceIndex(0)
-+4 >Emitted(5, 15) Source(8, 22) + SourceIndex(0)
-+5 >Emitted(5, 20) Source(8, 35) + SourceIndex(0)
+ 1->Emitted(5, 5) Source(8, 5) + SourceIndex(0)
+ 2 >Emitted(5, 9) Source(8, 16) + SourceIndex(0)
+ 3 >Emitted(5, 14) Source(8, 21) + SourceIndex(0)
+ 4 >Emitted(5, 15) Source(8, 22) + SourceIndex(0)
+ 5 >Emitted(5, 20) Source(8, 35) + SourceIndex(0)
+6 >Emitted(5, 22) Source(9, 5) + SourceIndex(0)
-+---
-+>>> //
-+1 >^^^^^^^^
-+2 > ^^
+ ---
+ >>> //
+ 1 >^^^^^^^^
+ 2 > ^^
+-1 >)
+- > {
+1 >{
-+ >
-+2 > //
-+1 >Emitted(6, 9) Source(10, 9) + SourceIndex(0)
-+2 >Emitted(6, 11) Source(10, 11) + SourceIndex(0)
-+---
-+>>> }
-+1 >^^^^
-+2 > ^
-+1 >
+ >
+ 2 > //
+ 1 >Emitted(6, 9) Source(10, 9) + SourceIndex(0)
+@@= skipped -20, +22 lines =@@
+ 1 >^^^^
+ 2 > ^
+ 1 >
+- >
+-2 > }
+-1 >Emitted(7, 5) Source(11, 5) + SourceIndex(0)
+2 >
+ > //
+ > }
+1 >Emitted(7, 5) Source(9, 6) + SourceIndex(0)
-+2 >Emitted(7, 6) Source(11, 6) + SourceIndex(0)
-+---
-+>>>}
-+1 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >}
-+1 >Emitted(8, 2) Source(12, 2) + SourceIndex(0)
+ 2 >Emitted(7, 6) Source(11, 6) + SourceIndex(0)
---
- >>>//# sourceMappingURL=properties.js.map
\ No newline at end of file
+ >>>}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/propertiesAndIndexers.js.diff b/testdata/baselines/reference/submodule/compiler/propertiesAndIndexers.js.diff
index fc9de3c62d..8d52f5b5b8 100644
--- a/testdata/baselines/reference/submodule/compiler/propertiesAndIndexers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/propertiesAndIndexers.js.diff
@@ -1,39 +1,9 @@
--- old.propertiesAndIndexers.js
+++ new.propertiesAndIndexers.js
-@@= skipped -53, +53 lines =@@
- };
-
- //// [propertiesAndIndexers.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var P = /** @class */ (function () {
-- function P() {
-- }
-- return P;
--}());
--var Q = /** @class */ (function (_super) {
-- __extends(Q, _super);
-- function Q() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Q;
--}(P));
-+class P {
-+}
-+class Q extends P {
+@@= skipped -56, +56 lines =@@
+ class P {
+ }
+ class Q extends P {
+ t;
-+}
+ }
var c;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/propertiesAndIndexersForNumericNames.js.diff b/testdata/baselines/reference/submodule/compiler/propertiesAndIndexersForNumericNames.js.diff
index 391a630e06..e351abf91a 100644
--- a/testdata/baselines/reference/submodule/compiler/propertiesAndIndexersForNumericNames.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/propertiesAndIndexersForNumericNames.js.diff
@@ -1,11 +1,10 @@
--- old.propertiesAndIndexersForNumericNames.js
+++ new.propertiesAndIndexersForNumericNames.js
-@@= skipped -44, +44 lines =@@
-
+@@= skipped -45, +45 lines =@@
//// [propertiesAndIndexersForNumericNames.js]
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- // These all have numeric names; they should error
- // because their types are not compatible with the numeric indexer.
- this["1"] = "number"; // Error
@@ -41,9 +40,6 @@
- this["0b101101001010"] = "explicit binary"; // No error
- this["0.000000000000000000012"] = "should've been in exponential form"; // No error
- }
-- return C;
--}());
-+class C {
+ // These all have numeric names; they should error
+ // because their types are not compatible with the numeric indexer.
+ "1" = "number"; // Error
@@ -78,4 +74,4 @@
+ "0o123" = "explicit oct 83"; // No error
+ "0b101101001010" = "explicit binary"; // No error
+ "0.000000000000000000012" = "should've been in exponential form"; // No error
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/propertyAccessOnObjectLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/propertyAccessOnObjectLiteral.js.diff
deleted file mode 100644
index 2c59531164..0000000000
--- a/testdata/baselines/reference/submodule/compiler/propertyAccessOnObjectLiteral.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.propertyAccessOnObjectLiteral.js
-+++ new.propertyAccessOnObjectLiteral.js
-@@= skipped -10, +10 lines =@@
-
-
- //// [propertyAccessOnObjectLiteral.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
- ({}.toString());
--(function () {
-+(() => {
- ({}.toString());
- })();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/propertyAccessibility1.js.diff b/testdata/baselines/reference/submodule/compiler/propertyAccessibility1.js.diff
index 51a30123ae..9ed151cd26 100644
--- a/testdata/baselines/reference/submodule/compiler/propertyAccessibility1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/propertyAccessibility1.js.diff
@@ -1,17 +1,13 @@
--- old.propertyAccessibility1.js
+++ new.propertyAccessibility1.js
-@@= skipped -8, +8 lines =@@
-
+@@= skipped -9, +9 lines =@@
//// [propertyAccessibility1.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
+ class Foo {
+- constructor() {
- this.privProp = 0;
- }
-- return Foo;
--}());
-+class Foo {
+ privProp = 0;
-+}
+ }
var f = new Foo();
f.privProp;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/propertyAccessibility2.js.diff b/testdata/baselines/reference/submodule/compiler/propertyAccessibility2.js.diff
index c94ac5860b..0e72793f4c 100644
--- a/testdata/baselines/reference/submodule/compiler/propertyAccessibility2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/propertyAccessibility2.js.diff
@@ -4,12 +4,12 @@
//// [propertyAccessibility2.js]
--var C = /** @class */ (function () {
-- function C() {
+-let C = (() => {
+- class C {
- }
- C.x = 1;
- return C;
--}());
+-})();
+class C {
+ static x = 1;
+}
diff --git a/testdata/baselines/reference/submodule/compiler/propertyIdentityWithPrivacyMismatch.js.diff b/testdata/baselines/reference/submodule/compiler/propertyIdentityWithPrivacyMismatch.js.diff
index 39fd44ae42..5b6d049482 100644
--- a/testdata/baselines/reference/submodule/compiler/propertyIdentityWithPrivacyMismatch.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/propertyIdentityWithPrivacyMismatch.js.diff
@@ -9,16 +9,10 @@
- Object.defineProperty(exports, "__esModule", { value: true });
- var x;
- var x; // Should be error (mod1.Foo !== mod2.Foo)
-- var Foo1 = /** @class */ (function () {
-- function Foo1() {
-- }
-- return Foo1;
-- }());
-- var Foo2 = /** @class */ (function () {
-- function Foo2() {
-- }
-- return Foo2;
-- }());
+- class Foo1 {
+- }
+- class Foo2 {
+- }
- var y;
- var y;
-});
diff --git a/testdata/baselines/reference/submodule/compiler/propertyNamesWithStringLiteral.js.diff b/testdata/baselines/reference/submodule/compiler/propertyNamesWithStringLiteral.js.diff
index eaeb2e1615..59069e55f9 100644
--- a/testdata/baselines/reference/submodule/compiler/propertyNamesWithStringLiteral.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/propertyNamesWithStringLiteral.js.diff
@@ -1,20 +1,13 @@
--- old.propertyNamesWithStringLiteral.js
+++ new.propertyNamesWithStringLiteral.js
-@@= skipped -18, +18 lines =@@
-
+@@= skipped -19, +19 lines =@@
//// [propertyNamesWithStringLiteral.js]
--var _Color = /** @class */ (function () {
-- function _Color() {
-- }
-- return _Color;
--}());
-+class _Color {
+ class _Color {
+ a;
+ r;
+ g;
+ b;
-+}
+ }
var Color;
- (function (Color) {
- })(Color || (Color = {}));
\ No newline at end of file
+ (function (Color) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/propertyOrdering.js.diff b/testdata/baselines/reference/submodule/compiler/propertyOrdering.js.diff
index 180b784478..82bb3598cb 100644
--- a/testdata/baselines/reference/submodule/compiler/propertyOrdering.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/propertyOrdering.js.diff
@@ -1,39 +1,17 @@
--- old.propertyOrdering.js
+++ new.propertyOrdering.js
-@@= skipped -25, +25 lines =@@
-
+@@= skipped -26, +26 lines =@@
//// [propertyOrdering.js]
--var Foo = /** @class */ (function () {
-- function Foo(store) {
+ class Foo {
+- constructor(store) {
- this._store = store; // no repro if this is first line in class body
- }
-- Foo.prototype.foo = function () {
-- return this._store.length; // shouldn't be an error
-- };
-- Foo.prototype.bar = function () { return this.store; }; // should be an error
-- return Foo;
--}());
--var Bar = /** @class */ (function () {
-- function Bar(store) {
-+class Foo {
+ constructor(store) { }
-+ foo() {
-+ return this._store.length; // shouldn't be an error
-+ }
-+ _store = store; // no repro if this is first line in class body
-+ bar() { return this.store; } // should be an error
-+}
-+class Bar {
-+ foo() {
-+ return this._store.length; // shouldn't be an error
-+ }
-+ constructor(store) {
- this._store = store;
+ foo() {
+ return this._store.length; // shouldn't be an error
}
-- Bar.prototype.foo = function () {
-- return this._store.length; // shouldn't be an error
-- };
-- return Bar;
--}());
-+}
\ No newline at end of file
++ _store = store; // no repro if this is first line in class body
+ bar() { return this.store; } // should be an error
+ }
+ class Bar {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/propertyOrdering2.js.diff b/testdata/baselines/reference/submodule/compiler/propertyOrdering2.js.diff
index a2e7e2d476..6626e05fdb 100644
--- a/testdata/baselines/reference/submodule/compiler/propertyOrdering2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/propertyOrdering2.js.diff
@@ -1,22 +1,10 @@
--- old.propertyOrdering2.js
+++ new.propertyOrdering2.js
-@@= skipped -10, +10 lines =@@
-
+@@= skipped -11, +11 lines =@@
//// [propertyOrdering2.js]
--var Foo = /** @class */ (function () {
-- function Foo(x, y) {
-+class Foo {
+ class Foo {
+ x;
-+ constructor(x, y) {
+ constructor(x, y) {
this.x = x;
- }
-- Foo.prototype.foo = function () {
-+ foo() {
- var a = this.x;
- return this.y;
-- };
-- return Foo;
--}());
-+ }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/propertyOverridingPrototype.js.diff b/testdata/baselines/reference/submodule/compiler/propertyOverridingPrototype.js.diff
index daf1ee9578..a82428170e 100644
--- a/testdata/baselines/reference/submodule/compiler/propertyOverridingPrototype.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/propertyOverridingPrototype.js.diff
@@ -1,42 +1,8 @@
--- old.propertyOverridingPrototype.js
+++ new.propertyOverridingPrototype.js
-@@= skipped -12, +12 lines =@@
-
-
- //// [propertyOverridingPrototype.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Base = /** @class */ (function () {
-- function Base() {
-- }
-- Base.prototype.foo = function () {
-- };
-- return Base;
--}());
--var Derived = /** @class */ (function (_super) {
-- __extends(Derived, _super);
-- function Derived() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Derived;
--}(Base));
-+class Base {
-+ foo() {
-+ }
-+}
-+class Derived extends Base {
+@@= skipped -17, +17 lines =@@
+ }
+ }
+ class Derived extends Base {
+ foo;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/propertyParameterWithQuestionMark.js.diff b/testdata/baselines/reference/submodule/compiler/propertyParameterWithQuestionMark.js.diff
index 3580db69eb..73b1dd2196 100644
--- a/testdata/baselines/reference/submodule/compiler/propertyParameterWithQuestionMark.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/propertyParameterWithQuestionMark.js.diff
@@ -1,19 +1,10 @@
--- old.propertyParameterWithQuestionMark.js
+++ new.propertyParameterWithQuestionMark.js
-@@= skipped -11, +11 lines =@@
- var v3: { x } = new C; // Should fail
+@@= skipped -12, +12 lines =@@
//// [propertyParameterWithQuestionMark.js]
--var C = /** @class */ (function () {
-- function C(x) {
-+class C {
+ class C {
+ x;
-+ constructor(x) {
+ constructor(x) {
this.x = x;
- }
-- return C;
--}());
-+}
- // x should be an optional property
- var v = {}; // Should succeed
- var v2;
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/propertyWrappedInTry.js.diff b/testdata/baselines/reference/submodule/compiler/propertyWrappedInTry.js.diff
deleted file mode 100644
index 82f2b03226..0000000000
--- a/testdata/baselines/reference/submodule/compiler/propertyWrappedInTry.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.propertyWrappedInTry.js
-+++ new.propertyWrappedInTry.js
-@@= skipped -21, +21 lines =@@
-
-
- //// [propertyWrappedInTry.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
-+}
- try {
- bar = someInitThatMightFail();
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/protectedAccessThroughContextualThis.js.diff b/testdata/baselines/reference/submodule/compiler/protectedAccessThroughContextualThis.js.diff
index 30eedfbd96..8a3f9a927f 100644
--- a/testdata/baselines/reference/submodule/compiler/protectedAccessThroughContextualThis.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/protectedAccessThroughContextualThis.js.diff
@@ -5,27 +5,13 @@
//// [protectedAccessThroughContextualThis.js]
-"use strict";
--var Foo = /** @class */ (function () {
-- function Foo() {
-- this.protec = 'bar';
-- this.privat = '';
-+class Foo {
+ class Foo {
+ protec = 'bar';
+ privat = '';
+ copy;
-+ constructor() {
+ constructor() {
+- this.protec = 'bar';
+- this.privat = '';
bindCopy.call(this);
bindCopy2.call(this);
- }
-- return Foo;
--}());
-+}
- function bindCopy() {
- this.copy = this.protec; // Should OK
- console.log(this.privat); // Should error
- }
--var bindCopy2 = function () {
-+const bindCopy2 = function () {
- this.copy = this.protec; // Should OK
- console.log(this.privat); // Should error
- };
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/protectedMembers.js.diff b/testdata/baselines/reference/submodule/compiler/protectedMembers.js.diff
index 8e69fa4a44..4ed3d7b11d 100644
--- a/testdata/baselines/reference/submodule/compiler/protectedMembers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/protectedMembers.js.diff
@@ -1,207 +1,67 @@
--- old.protectedMembers.js
+++ new.protectedMembers.js
-@@= skipped -117, +117 lines =@@
-
-
+@@= skipped -119, +119 lines =@@
//// [protectedMembers.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
// Class with protected members
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- C1.prototype.f = function () {
-+class C1 {
+ class C1 {
+ x;
+ static sx;
-+ f() {
+ f() {
return this.x;
-- };
-- C1.sf = function () {
-+ }
-+ static sf() {
- return this.sx;
-- };
-- return C1;
--}());
-+ }
-+}
- // Derived class accessing protected members
--var C2 = /** @class */ (function (_super) {
-- __extends(C2, _super);
-- function C2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- C2.prototype.f = function () {
-- return _super.prototype.f.call(this) + this.x;
-- };
-- C2.sf = function () {
-- return _super.sf.call(this) + this.sx;
-- };
-- return C2;
--}(C1));
-+class C2 extends C1 {
-+ f() {
-+ return super.f() + this.x;
-+ }
-+ static sf() {
-+ return super.sf() + this.sx;
-+ }
-+}
+ }
+@@= skipped -18, +20 lines =@@
+ }
// Derived class making protected members public
--var C3 = /** @class */ (function (_super) {
-- __extends(C3, _super);
-- function C3() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- C3.prototype.f = function () {
-- return _super.prototype.f.call(this);
-- };
-- C3.sf = function () {
-- return _super.sf.call(this);
-- };
-- return C3;
--}(C2));
-+class C3 extends C2 {
+ class C3 extends C2 {
+ x;
+ static sx;
-+ f() {
-+ return super.f();
-+ }
-+ static sf() {
-+ return super.sf();
-+ }
-+}
- var c1;
- var c2;
- var c3;
-@@= skipped -73, +49 lines =@@
- c3.f();
+ f() {
+ return super.f();
+ }
+@@= skipped -26, +28 lines =@@
C3.sx;
C3.sf();
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- C.foo = function (a, b, c, d, e) {
-+class A {
+ class A {
+ x;
-+}
-+class B extends A {
+ }
+ class B extends A {
+ y;
-+}
-+class C extends A {
+ }
+ class C extends A {
+ z;
-+ static foo(a, b, c, d, e) {
+ static foo(a, b, c, d, e) {
a.x = 1; // Error, access must be through C or type derived from C
b.x = 1; // Error, access must be through C or type derived from C
- c.x = 1;
- d.x = 1;
- e.x = 1;
-- };
-- return C;
--}(A));
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return D;
--}(C));
--var CC = /** @class */ (function () {
-- function CC() {
-- }
-- return CC;
--}());
--var A1 = /** @class */ (function () {
-- function A1() {
-- }
-- return A1;
--}());
--var B1 = /** @class */ (function () {
-- function B1() {
-- }
-- return B1;
--}());
-+ }
-+}
-+class D extends C {
+@@= skipped -13, +16 lines =@@
+ }
+ }
+ class D extends C {
+ d;
-+}
-+class CC {
-+ constructor() {
-+ }
-+}
-+class A1 {
+ }
+ class CC {
+ constructor() {
+ }
+ }
+ class A1 {
+ x;
-+}
-+class B1 {
+ }
+ class B1 {
+ x;
-+}
+ }
var a1;
var b1;
a1 = b1; // Error, B1 doesn't derive from A1
b1 = a1; // Error, x is protected in A1 but public in B1
--var A2 = /** @class */ (function () {
-- function A2() {
-- }
-- return A2;
--}());
--var B2 = /** @class */ (function (_super) {
-- __extends(B2, _super);
-- function B2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B2;
--}(A2));
--var A3 = /** @class */ (function () {
-- function A3() {
-- }
-- return A3;
--}());
-+class A2 {
+ class A2 {
+ x;
-+}
-+class B2 extends A2 {
+ }
+ class B2 extends A2 {
+ x;
-+}
-+class A3 {
+ }
+ class A3 {
+ x;
-+}
+ }
// Error x is protected in B3 but public in A3
--var B3 = /** @class */ (function (_super) {
-- __extends(B3, _super);
-- function B3() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B3;
--}(A3));
-+class B3 extends A3 {
+ class B3 extends A3 {
+ x;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/protectedMembersThisParameter.js.diff b/testdata/baselines/reference/submodule/compiler/protectedMembersThisParameter.js.diff
index 84e152b00a..89eef0da46 100644
--- a/testdata/baselines/reference/submodule/compiler/protectedMembersThisParameter.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/protectedMembersThisParameter.js.diff
@@ -1,173 +1,13 @@
--- old.protectedMembersThisParameter.js
+++ new.protectedMembersThisParameter.js
-@@= skipped -98, +98 lines =@@
-
-
- //// [protectedMembersThisParameter.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Message = /** @class */ (function () {
-- function Message() {
-- }
-- Message.prototype.secret = function () { };
-- return Message;
--}());
--var MessageWrapper = /** @class */ (function () {
-- function MessageWrapper() {
+@@= skipped -102, +102 lines =@@
+ secret() { }
+ }
+ class MessageWrapper {
+- constructor() {
- this.message = new Message();
- }
-- MessageWrapper.prototype.wrap = function () {
-- var m = this.message;
-- var f = function () {
-+class Message {
-+ secret() { }
-+}
-+class MessageWrapper {
+ message = new Message();
-+ wrap() {
-+ let m = this.message;
-+ let f = function () {
- m.secret(); // should error
- };
-- };
-- return MessageWrapper;
--}());
--var A = /** @class */ (function () {
-- function A() {
-- }
-- A.prototype.a = function () { };
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- B.prototype.b = function () { };
-- return B;
--}(A));
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- C.prototype.c = function () { };
-- return C;
--}(A));
--var Z = /** @class */ (function () {
-- function Z() {
-- }
-- Z.prototype.z = function () { };
-- return Z;
--}());
-+ }
-+}
-+class A {
-+ a() { }
-+}
-+class B extends A {
-+ b() { }
-+}
-+class C extends A {
-+ c() { }
-+}
-+class Z {
-+ z() { }
-+}
- function bA(arg) {
- this.a();
- arg.a();
-@@= skipped -92, +55 lines =@@
- arg.a(); // should error
- arg.b(); // should error
- }
--var D = /** @class */ (function () {
-- function D() {
-- }
-- D.prototype.d = function () { };
-- D.prototype.derived1 = function (arg) {
-- arg.d();
-- arg.d1(); // should error
-- };
-- D.prototype.derived1ThisD = function (arg) {
-- arg.d();
-- arg.d1(); // should error
-- };
-- D.prototype.derived1ThisD1 = function (arg) {
-+class D {
-+ d() { }
-+ derived1(arg) {
-+ arg.d();
-+ arg.d1(); // should error
-+ }
-+ derived1ThisD(arg) {
-+ arg.d();
-+ arg.d1(); // should error
-+ }
-+ derived1ThisD1(arg) {
- arg.d();
- arg.d1();
-- };
-- D.prototype.derived2 = function (arg) {
-- arg.d(); // should error because of overridden method in D2
-- arg.d2(); // should error
-- };
-- D.prototype.derived2ThisD = function (arg) {
-- arg.d(); // should error because of overridden method in D2
-- arg.d2(); // should error
-- };
-- D.prototype.derived2ThisD2 = function (arg) {
-+ }
-+ derived2(arg) {
-+ arg.d(); // should error because of overridden method in D2
-+ arg.d2(); // should error
-+ }
-+ derived2ThisD(arg) {
-+ arg.d(); // should error because of overridden method in D2
-+ arg.d2(); // should error
-+ }
-+ derived2ThisD2(arg) {
- arg.d();
- arg.d2();
-- };
-- return D;
--}());
--var D1 = /** @class */ (function (_super) {
-- __extends(D1, _super);
-- function D1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- D1.prototype.d1 = function () { };
-- return D1;
--}(D));
--var D2 = /** @class */ (function (_super) {
-- __extends(D2, _super);
-- function D2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- D2.prototype.d = function () { };
-- D2.prototype.d2 = function () { };
-- return D2;
--}(D));
-+ }
-+}
-+class D1 extends D {
-+ d1() { }
-+}
-+class D2 extends D {
-+ d() { }
-+ d2() { }
-+}
\ No newline at end of file
+ wrap() {
+ let m = this.message;
+ let f = function () {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/protoAsIndexInIndexExpression.js.diff b/testdata/baselines/reference/submodule/compiler/protoAsIndexInIndexExpression.js.diff
index afc3acc56b..93324baa47 100644
--- a/testdata/baselines/reference/submodule/compiler/protoAsIndexInIndexExpression.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/protoAsIndexInIndexExpression.js.diff
@@ -1,15 +1,11 @@
--- old.protoAsIndexInIndexExpression.js
+++ new.protoAsIndexInIndexExpression.js
-@@= skipped -33, +33 lines =@@
- var o = {
+@@= skipped -34, +34 lines =@@
"__proto__": 0
};
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this["__proto__"] = 0;
- }
-- return C;
--}());
-+class C {
+ "__proto__" = 0;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/protoInIndexer.js.diff b/testdata/baselines/reference/submodule/compiler/protoInIndexer.js.diff
deleted file mode 100644
index b66102502f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/protoInIndexer.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.protoInIndexer.js
-+++ new.protoInIndexer.js
-@@= skipped -7, +7 lines =@@
- }
-
- //// [protoInIndexer.js]
--var X = /** @class */ (function () {
-- function X() {
-+class X {
-+ constructor() {
- this['__proto__'] = null; // used to cause ICE
- }
-- return X;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/prototypeInstantiatedWithBaseConstraint.js.diff b/testdata/baselines/reference/submodule/compiler/prototypeInstantiatedWithBaseConstraint.js.diff
index 508b7e9120..d6482e8272 100644
--- a/testdata/baselines/reference/submodule/compiler/prototypeInstantiatedWithBaseConstraint.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/prototypeInstantiatedWithBaseConstraint.js.diff
@@ -1,15 +1,9 @@
--- old.prototypeInstantiatedWithBaseConstraint.js
+++ new.prototypeInstantiatedWithBaseConstraint.js
-@@= skipped -7, +7 lines =@@
- C.prototype.x.boo; // No error, prototype is instantiated to any
+@@= skipped -8, +8 lines =@@
//// [prototypeInstantiatedWithBaseConstraint.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
-+class C {
+ class C {
+ x;
-+}
+ }
C.prototype.x.boo; // No error, prototype is instantiated to any
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/publicGetterProtectedSetterFromThisParameter.js.diff b/testdata/baselines/reference/submodule/compiler/publicGetterProtectedSetterFromThisParameter.js.diff
deleted file mode 100644
index bccf3bea9c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/publicGetterProtectedSetterFromThisParameter.js.diff
+++ /dev/null
@@ -1,66 +0,0 @@
---- old.publicGetterProtectedSetterFromThisParameter.js
-+++ new.publicGetterProtectedSetterFromThisParameter.js
-@@= skipped -38, +38 lines =@@
-
-
- //// [publicGetterProtectedSetterFromThisParameter.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- Object.defineProperty(A.prototype, "x", {
-- get: function () { return 0; },
-- set: function (v) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(A.prototype, "y", {
-- get: function () { return 0; },
-- set: function (v) { },
-- enumerable: false,
-- configurable: true
-- });
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- Object.defineProperty(B.prototype, "q", {
-- get: function () { return 0; },
-- set: function (v) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(B.prototype, "u", {
-- get: function () { return 0; },
-- set: function (v) { },
-- enumerable: false,
-- configurable: true
-- });
-- B.prototype.foo = function (a, b) {
-+class A {
-+ get x() { return 0; }
-+ set x(v) { }
-+ get y() { return 0; }
-+ set y(v) { }
-+}
-+class B {
-+ get q() { return 0; }
-+ set q(v) { }
-+ get u() { return 0; }
-+ set u(v) { }
-+ foo(a, b) {
- // Should have no errors in this block
- this.x = 0;
- this.y = 0;
-@@= skipped -40, +19 lines =@@
- a.y = 0;
- b.q = 0;
- b.u = 0;
-- };
-- return B;
--}());
-+ }
-+}
- function bar(a, b) {
- this.x = 0;
- this.y = 0;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/publicMemberImplementedAsPrivateInDerivedClass.js.diff b/testdata/baselines/reference/submodule/compiler/publicMemberImplementedAsPrivateInDerivedClass.js.diff
index fac5b54a3e..8dae27742a 100644
--- a/testdata/baselines/reference/submodule/compiler/publicMemberImplementedAsPrivateInDerivedClass.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/publicMemberImplementedAsPrivateInDerivedClass.js.diff
@@ -1,14 +1,8 @@
--- old.publicMemberImplementedAsPrivateInDerivedClass.js
+++ new.publicMemberImplementedAsPrivateInDerivedClass.js
-@@= skipped -9, +9 lines =@@
-
+@@= skipped -10, +10 lines =@@
//// [publicMemberImplementedAsPrivateInDerivedClass.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- return Foo;
--}());
-+class Foo {
+ class Foo {
+ Bar;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.js.diff b/testdata/baselines/reference/submodule/compiler/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.js.diff
deleted file mode 100644
index a25b0b1e3e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.js.diff
+++ /dev/null
@@ -1,34 +0,0 @@
---- old.qualifiedName_entity-name-resolution-does-not-affect-class-heritage.js
-+++ new.qualifiedName_entity-name-resolution-does-not-affect-class-heritage.js
-@@= skipped -8, +8 lines =@@
- }
-
- //// [qualifiedName_entity-name-resolution-does-not-affect-class-heritage.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var Alpha;
- (function (Alpha) {
- Alpha.x = 100;
- })(Alpha || (Alpha = {}));
--var Beta = /** @class */ (function (_super) {
-- __extends(Beta, _super);
-- function Beta() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Beta;
--}(Alpha.x));
-+class Beta extends Alpha.x {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/qualify.js.diff b/testdata/baselines/reference/submodule/compiler/qualify.js.diff
index c3de5dc33f..5118f2c2f4 100644
--- a/testdata/baselines/reference/submodule/compiler/qualify.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/qualify.js.diff
@@ -1,18 +1,8 @@
--- old.qualify.js
+++ new.qualify.js
-@@= skipped -65, +65 lines =@@
- var M;
+@@= skipped -73, +73 lines =@@
(function (M) {
- M.m = 0;
-- var N;
-+ let N;
- (function (N) {
- N.n = 1;
- })(N = M.N || (M.N = {}));
- })(M || (M = {}));
- (function (M) {
-- var N;
-+ let N;
+ let N;
(function (N) {
- var y = M.m;
- var x = N.n + y;
@@ -20,26 +10,4 @@
+ var x = n + y;
})(N = M.N || (M.N = {}));
})(M || (M = {}));
- var T;
- (function (T) {
-- var U;
-+ let U;
- (function (U) {
- var z = 3;
- })(U = T.U || (T.U = {}));
- })(T || (T = {}));
- var Peer;
- (function (Peer) {
-- var U2;
-+ let U2;
- (function (U2) {
- var z = 3;
- })(U2 = Peer.U2 || (Peer.U2 = {}));
- })(Peer || (Peer = {}));
- var Everest;
- (function (Everest) {
-- var K2;
-+ let K2;
- (function (K2) {
- var v1;
- var v2 = v1;
\ No newline at end of file
+ var T;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/quickIntersectionCheckCorrectlyCachesErrors.js.diff b/testdata/baselines/reference/submodule/compiler/quickIntersectionCheckCorrectlyCachesErrors.js.diff
deleted file mode 100644
index 16535a06f0..0000000000
--- a/testdata/baselines/reference/submodule/compiler/quickIntersectionCheckCorrectlyCachesErrors.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.quickIntersectionCheckCorrectlyCachesErrors.js
-+++ new.quickIntersectionCheckCorrectlyCachesErrors.js
-@@= skipped -31, +31 lines =@@
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.wu = wu;
- function wu(CC) {
-- var WU = /** @class */ (function () {
-- function WU() {
-- }
-- WU.prototype.m = function () {
-+ class WU {
-+ m() {
- g(CC);
- return React.createElement(CC, __assign({}, null));
-- };
-- return WU;
-- }());
-+ }
-+ }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/quickinfoTypeAtReturnPositionsInaccurate.js.diff b/testdata/baselines/reference/submodule/compiler/quickinfoTypeAtReturnPositionsInaccurate.js.diff
index c49548175b..8b43cec683 100644
--- a/testdata/baselines/reference/submodule/compiler/quickinfoTypeAtReturnPositionsInaccurate.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/quickinfoTypeAtReturnPositionsInaccurate.js.diff
@@ -1,113 +1,39 @@
--- old.quickinfoTypeAtReturnPositionsInaccurate.js
+++ new.quickinfoTypeAtReturnPositionsInaccurate.js
-@@= skipped -107, +107 lines =@@
- "use strict";
+@@= skipped -108, +108 lines =@@
Object.defineProperty(exports, "__esModule", { value: true });
exports.listFiles = listFiles;
--var NumClass = /** @class */ (function () {
-- function NumClass() {
-- }
-- NumClass.prototype.get = function () {
-- return this.value;
-- };
-- NumClass.prototype.numExclusive = function () { };
-- return NumClass;
--}());
--var StrClass = /** @class */ (function () {
-- function StrClass() {
-- }
-- StrClass.prototype.get = function () {
-- return this.value;
-- };
-- StrClass.prototype.strExclusive = function () { };
-- return StrClass;
--}());
--var isNumClass = function (item) {
-+class NumClass {
+ class NumClass {
+ value;
-+ get() {
-+ return this.value;
-+ }
-+ numExclusive() { }
-+}
-+class StrClass {
+ get() {
+ return this.value;
+ }
+ numExclusive() { }
+ }
+ class StrClass {
+ value;
-+ get() {
-+ return this.value;
-+ }
-+ strExclusive() { }
-+}
-+const isNumClass = (item) => {
- return (item instanceof NumClass);
- };
- /**
- * An example with one dimensional dictionary. Everything worked ok here, even in prior
+ get() {
+ return this.value;
+ }
+@@= skipped -19, +21 lines =@@
* versions.
*/
--var SimpleStore = /** @class */ (function () {
-- function SimpleStore() {
+ class SimpleStore {
+- constructor() {
- this.entries = {};
- }
-- SimpleStore.prototype.get = function (entryId) {
-- var entry = this.entries[entryId];
-+class SimpleStore {
+ entries = {};
-+ get(entryId) {
-+ let entry = this.entries[entryId];
+ get(entryId) {
+ let entry = this.entries[entryId];
entry.numExclusive(); // error - expected.
- if (isNumClass(entry)) {
- entry.numExclusive(); // works
- return entry;
- }
- return entry; // type is Entries[EntryId] - all fine
-- };
-- return SimpleStore;
--}());
-+ }
-+}
- /**
- * A an example with 2-dimensional dictionary.
- *
-@@= skipped -47, +40 lines =@@
- * In v4.2 or later, `isNumClass` type guard leaks outside its
+@@= skipped -21, +19 lines =@@
* scope.
*/
--var ComplexStore = /** @class */ (function () {
-- function ComplexStore() {
+ class ComplexStore {
+- constructor() {
- this.slices = {};
- }
-- ComplexStore.prototype.get = function (sliceId, sliceKey) {
-- var item = this.slices[sliceId][sliceKey];
-+class ComplexStore {
+ slices = {};
-+ get(sliceId, sliceKey) {
-+ let item = this.slices[sliceId][sliceKey];
- if (isNumClass(item)) {
- item.numExclusive(); // works only since version 4.2
- }
-@@= skipped -13, +11 lines =@@
- // unfortunately, doesn't work completely.
- // it seems like item's predicated type leaks outside the bracket...
- return item; // type is Extract ...
-- };
-- ComplexStore.prototype.get2 = function (sliceId, sliceKey) {
-- var item = this.slices[sliceId][sliceKey];
-+ }
-+ get2(sliceId, sliceKey) {
-+ let item = this.slices[sliceId][sliceKey];
- if (isNumClass(item)) {
- return item;
- }
-@@= skipped -10, +10 lines =@@
- // truthy
- item.get();
- return item; // type is never
-- };
-- return ComplexStore;
--}());
-+ }
-+}
- function listFiles(program) {
-- var x = isBuilderProgram(program) ? program.getProgram() : program;
-+ const x = isBuilderProgram(program) ? program.getProgram() : program;
- }
\ No newline at end of file
+ get(sliceId, sliceKey) {
+ let item = this.slices[sliceId][sliceKey];
+ if (isNumClass(item)) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/quotedAccessorName1.js.diff b/testdata/baselines/reference/submodule/compiler/quotedAccessorName1.js.diff
deleted file mode 100644
index 8f3a7261ca..0000000000
--- a/testdata/baselines/reference/submodule/compiler/quotedAccessorName1.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.quotedAccessorName1.js
-+++ new.quotedAccessorName1.js
-@@= skipped -5, +5 lines =@@
- }
-
- //// [quotedAccessorName1.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- Object.defineProperty(C.prototype, "foo", {
-- get: function () { return 0; },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
--}());
-+class C {
-+ get "foo"() { return 0; }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/quotedAccessorName2.js.diff b/testdata/baselines/reference/submodule/compiler/quotedAccessorName2.js.diff
deleted file mode 100644
index 7e532e6af6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/quotedAccessorName2.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.quotedAccessorName2.js
-+++ new.quotedAccessorName2.js
-@@= skipped -5, +5 lines =@@
- }
-
- //// [quotedAccessorName2.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- Object.defineProperty(C, "foo", {
-- get: function () { return 0; },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
--}());
-+class C {
-+ static get "foo"() { return 0; }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/quotedFunctionName1.js.diff b/testdata/baselines/reference/submodule/compiler/quotedFunctionName1.js.diff
deleted file mode 100644
index 0f12b8a7df..0000000000
--- a/testdata/baselines/reference/submodule/compiler/quotedFunctionName1.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.quotedFunctionName1.js
-+++ new.quotedFunctionName1.js
-@@= skipped -5, +5 lines =@@
- }
-
- //// [quotedFunctionName1.js]
--var Test1 = /** @class */ (function () {
-- function Test1() {
-- }
-- Test1.prototype["prop1"] = function () { };
-- return Test1;
--}());
-+class Test1 {
-+ "prop1"() { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/quotedFunctionName2.js.diff b/testdata/baselines/reference/submodule/compiler/quotedFunctionName2.js.diff
deleted file mode 100644
index bc296456df..0000000000
--- a/testdata/baselines/reference/submodule/compiler/quotedFunctionName2.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.quotedFunctionName2.js
-+++ new.quotedFunctionName2.js
-@@= skipped -5, +5 lines =@@
- }
-
- //// [quotedFunctionName2.js]
--var Test1 = /** @class */ (function () {
-- function Test1() {
-- }
-- Test1["prop1"] = function () { };
-- return Test1;
--}());
-+class Test1 {
-+ static "prop1"() { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/quotedPropertyName1.js.diff b/testdata/baselines/reference/submodule/compiler/quotedPropertyName1.js.diff
index 2a18bed14b..449138b0c8 100644
--- a/testdata/baselines/reference/submodule/compiler/quotedPropertyName1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/quotedPropertyName1.js.diff
@@ -1,15 +1,11 @@
--- old.quotedPropertyName1.js
+++ new.quotedPropertyName1.js
-@@= skipped -5, +5 lines =@@
- }
+@@= skipped -6, +6 lines =@@
//// [quotedPropertyName1.js]
--var Test1 = /** @class */ (function () {
-- function Test1() {
+ class Test1 {
+- constructor() {
- this["prop1"] = 0;
- }
-- return Test1;
--}());
-+class Test1 {
+ "prop1" = 0;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/quotedPropertyName2.js.diff b/testdata/baselines/reference/submodule/compiler/quotedPropertyName2.js.diff
index a133d899ab..e846ca9cf5 100644
--- a/testdata/baselines/reference/submodule/compiler/quotedPropertyName2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/quotedPropertyName2.js.diff
@@ -4,12 +4,12 @@
}
//// [quotedPropertyName2.js]
--var Test1 = /** @class */ (function () {
-- function Test1() {
+-let Test1 = (() => {
+- class Test1 {
- }
- Test1["prop1"] = 0;
- return Test1;
--}());
+-})();
+class Test1 {
+ static "prop1" = 0;
+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/quotedPropertyName3.js.diff b/testdata/baselines/reference/submodule/compiler/quotedPropertyName3.js.diff
index 05c62d3ecf..b7bccaa3a9 100644
--- a/testdata/baselines/reference/submodule/compiler/quotedPropertyName3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/quotedPropertyName3.js.diff
@@ -1,22 +1,10 @@
--- old.quotedPropertyName3.js
+++ new.quotedPropertyName3.js
-@@= skipped -9, +9 lines =@@
- }
+@@= skipped -10, +10 lines =@@
//// [quotedPropertyName3.js]
--var Test = /** @class */ (function () {
-- function Test() {
-- }
-- Test.prototype.foo = function () {
-- var _this = this;
-- var x = function () { return _this["prop1"]; };
-+class Test {
+ class Test {
+ "prop1";
-+ foo() {
-+ var x = () => this["prop1"];
- var y = x();
-- };
-- return Test;
--}());
-+ }
-+}
\ No newline at end of file
+ foo() {
+ var x = () => this["prop1"];
+ var y = x();
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/raiseErrorOnParameterProperty.js.diff b/testdata/baselines/reference/submodule/compiler/raiseErrorOnParameterProperty.js.diff
index 65ac93e25f..56dc82b58f 100644
--- a/testdata/baselines/reference/submodule/compiler/raiseErrorOnParameterProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/raiseErrorOnParameterProperty.js.diff
@@ -1,17 +1,10 @@
--- old.raiseErrorOnParameterProperty.js
+++ new.raiseErrorOnParameterProperty.js
-@@= skipped -9, +9 lines =@@
-
+@@= skipped -10, +10 lines =@@
//// [raiseErrorOnParameterProperty.js]
--var C1 = /** @class */ (function () {
-- function C1(x) {
-+class C1 {
+ class C1 {
+ x;
-+ constructor(x) {
+ constructor(x) {
this.x = x;
- }
-- return C1;
--}());
-+}
- var c1 = new C1(0);
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reachabilityChecks1.js.diff b/testdata/baselines/reference/submodule/compiler/reachabilityChecks1.js.diff
deleted file mode 100644
index 2dbcec612d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/reachabilityChecks1.js.diff
+++ /dev/null
@@ -1,64 +0,0 @@
---- old.reachabilityChecks1.js
-+++ new.reachabilityChecks1.js
-@@= skipped -83, +83 lines =@@
- (function (A) {
- while (true)
- ;
-- var x;
-+ let x;
- })(A || (A = {}));
- var A1;
- (function (A1) {
-@@= skipped -10, +10 lines =@@
- (function (A2) {
- while (true)
- ;
-- var A;
-+ let A;
- (function (A) {
- var x = 1;
- })(A || (A = {}));
-@@= skipped -14, +14 lines =@@
- (function (A4) {
- while (true)
- ;
-- var A;
-+ let A;
- (function (A) {
-- var E;
-+ let E;
- (function (E) {
- E[E["X"] = 0] = "X";
- })(E || (E = {}));
-@@= skipped -19, +19 lines =@@
- }
- function f2() {
- return;
-- var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
-- }());
-+ class A {
-+ }
- }
- var B;
- (function (B) {
-@@= skipped -14, +11 lines =@@
- function f3() {
- do {
- } while (true);
-- var E;
-+ let E;
- (function (E) {
- E[E["X"] = 1] = "X";
- })(E || (E = {}));
-@@= skipped -9, +9 lines =@@
- if (true) {
- throw new Error();
- }
-- var E;
-+ let E;
- (function (E) {
- E[E["X"] = 1] = "X";
- })(E || (E = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reachabilityChecks3.js.diff b/testdata/baselines/reference/submodule/compiler/reachabilityChecks3.js.diff
deleted file mode 100644
index 81e703de4e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/reachabilityChecks3.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.reachabilityChecks3.js
-+++ new.reachabilityChecks3.js
-@@= skipped -16, +16 lines =@@
- var y = () => { f: 1 }
-
- //// [reachabilityChecks3.js]
--var x = 1;
-+let x = 1;
- loop: while (true) {
- if (x == 100) {
- break;
-@@= skipped -12, +12 lines =@@
- {
- x: 100;
- }
--var y = function () { f: 1; };
-+var y = () => { f: 1; };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reactDefaultPropsInferenceSuccess.js.diff b/testdata/baselines/reference/submodule/compiler/reactDefaultPropsInferenceSuccess.js.diff
index 52abfbdd5b..f18ce8f09c 100644
--- a/testdata/baselines/reference/submodule/compiler/reactDefaultPropsInferenceSuccess.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reactDefaultPropsInferenceSuccess.js.diff
@@ -5,113 +5,74 @@
//// [reactDefaultPropsInferenceSuccess.js]
"use strict";
-///
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
-var react_1 = __importDefault(require("react"));
--var FieldFeedback = /** @class */ (function (_super) {
-- __extends(FieldFeedback, _super);
-- function FieldFeedback() {
-- return _super !== null && _super.apply(this, arguments) || this;
+-let FieldFeedback = (() => {
+- class FieldFeedback extends react_1.default.Component {
+- render() {
+- return react_1.default.createElement("div", null, "Hello");
+- }
- }
-- FieldFeedback.prototype.render = function () {
-- return react_1.default.createElement("div", null, "Hello");
-- };
- FieldFeedback.defaultProps = {
-- when: function () { return true; }
-- };
-- return FieldFeedback;
--}(react_1.default.Component));
--// OK
--var Test1 = function () { return react_1.default.createElement(FieldFeedback, { when: function (value) { return !!value; } }); };
--// Error: Void not assignable to boolean
--var Test2 = function () { return react_1.default.createElement(FieldFeedback, { when: function (value) { return console.log(value); } }); };
--var FieldFeedbackBeta = /** @class */ (function (_super) {
-- __extends(FieldFeedbackBeta, _super);
-- function FieldFeedbackBeta() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- FieldFeedbackBeta.prototype.render = function () {
-- return react_1.default.createElement("div", null, "Hello");
-- };
-- FieldFeedbackBeta.defaultProps = {
-- when: function () { return true; }
-- };
-- return FieldFeedbackBeta;
--}(react_1.default.Component));
--// OK
--var Test1a = function () { return react_1.default.createElement(FieldFeedbackBeta, { when: function (value) { return !!value; }, error: true }, "Hah"); };
--// Error: Void not assignable to boolean
--var Test2a = function () { return react_1.default.createElement(FieldFeedbackBeta, { when: function (value) { return console.log(value); }, error: true }, "Hah"); };
--var FieldFeedback2 = /** @class */ (function (_super) {
-- __extends(FieldFeedback2, _super);
-- function FieldFeedback2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- FieldFeedback2.prototype.render = function () {
+///
+const react_1 = __importDefault(require("react"));
+class FieldFeedback extends react_1.default.Component {
+ static defaultProps = {
-+ when: () => true
-+ };
+ when: () => true
+ };
+- return FieldFeedback;
+-})();
+ render() {
+ return react_1.default.createElement("div", null, "Hello");
+ }
+}
-+// OK
-+const Test1 = () => react_1.default.createElement(FieldFeedback, { when: value => !!value });
-+// Error: Void not assignable to boolean
-+const Test2 = () => react_1.default.createElement(FieldFeedback, { when: value => console.log(value) });
+ // OK
+ const Test1 = () => react_1.default.createElement(FieldFeedback, { when: value => !!value });
+ // Error: Void not assignable to boolean
+ const Test2 = () => react_1.default.createElement(FieldFeedback, { when: value => console.log(value) });
+-let FieldFeedbackBeta = (() => {
+- class FieldFeedbackBeta extends react_1.default.Component {
+- render() {
+- return react_1.default.createElement("div", null, "Hello");
+- }
+- }
+- FieldFeedbackBeta.defaultProps = {
+class FieldFeedbackBeta extends react_1.default.Component {
+ static defaultProps = {
-+ when: () => true
-+ };
+ when: () => true
+ };
+- return FieldFeedbackBeta;
+-})();
+ render() {
+ return react_1.default.createElement("div", null, "Hello");
+ }
+}
-+// OK
-+const Test1a = () => react_1.default.createElement(FieldFeedbackBeta, { when: value => !!value, error: true }, "Hah");
-+// Error: Void not assignable to boolean
-+const Test2a = () => react_1.default.createElement(FieldFeedbackBeta, { when: value => console.log(value), error: true }, "Hah");
+ // OK
+ const Test1a = () => react_1.default.createElement(FieldFeedbackBeta, { when: value => !!value, error: true }, "Hah");
+ // Error: Void not assignable to boolean
+ const Test2a = () => react_1.default.createElement(FieldFeedbackBeta, { when: value => console.log(value), error: true }, "Hah");
+-let FieldFeedback2 = (() => {
+- class FieldFeedback2 extends FieldFeedback {
+- render() {
+- this.props.when("now"); // OK, always defined
+- return react_1.default.createElement("div", null, "Hello");
+- }
+- }
+- FieldFeedback2.defaultProps = {
+class FieldFeedback2 extends FieldFeedback {
+ static defaultProps = {
-+ when: () => true
-+ };
-+ render() {
- this.props.when("now"); // OK, always defined
- return react_1.default.createElement("div", null, "Hello");
-- };
-- FieldFeedback2.defaultProps = {
-- when: function () { return true; }
-- };
+ when: () => true
+ };
- return FieldFeedback2;
--}(FieldFeedback));
+-})();
++ render() {
++ this.props.when("now"); // OK, always defined
++ return react_1.default.createElement("div", null, "Hello");
+ }
+}
// OK
--var Test3 = function () { return react_1.default.createElement(FieldFeedback2, { when: function (value) { return !!value; } }); };
-+const Test3 = () => react_1.default.createElement(FieldFeedback2, { when: value => !!value });
- // Error: Void not assignable to boolean
--var Test4 = function () { return react_1.default.createElement(FieldFeedback2, { when: function (value) { return console.log(value); } }); };
-+const Test4 = () => react_1.default.createElement(FieldFeedback2, { when: value => console.log(value) });
- // OK
--var Test5 = function () { return react_1.default.createElement(FieldFeedback2, null); };
-+const Test5 = () => react_1.default.createElement(FieldFeedback2, null);
\ No newline at end of file
+ const Test3 = () => react_1.default.createElement(FieldFeedback2, { when: value => !!value });
+ // Error: Void not assignable to boolean
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reactHOCSpreadprops.js.diff b/testdata/baselines/reference/submodule/compiler/reactHOCSpreadprops.js.diff
index 1fb74ea82b..b316b28e9f 100644
--- a/testdata/baselines/reference/submodule/compiler/reactHOCSpreadprops.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reactHOCSpreadprops.js.diff
@@ -1,46 +1,11 @@
--- old.reactHOCSpreadprops.js
+++ new.reactHOCSpreadprops.js
-@@= skipped -13, +13 lines =@@
-
- //// [reactHOCSpreadprops.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var __assign = (this && this.__assign) || function () {
- __assign = Object.assign || function(t) {
- for (var s, i = 1, n = arguments.length; i < n; i++) {
-@@= skipped -28, +13 lines =@@
+@@= skipped -26, +26 lines =@@
};
Object.defineProperty(exports, "__esModule", { value: true });
///
-var React = require("react");
+const React = require("react");
function f(App) {
-- var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- C.prototype.render = function () {
-+ class C extends React.Component {
-+ render() {
- return React.createElement(App, __assign({}, this.props));
-- };
-- return C;
-- }(React.Component));
-+ }
-+ }
- }
\ No newline at end of file
+ class C extends React.Component {
+ render() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reactImportUnusedInNewJSXEmit(jsx=react-jsxdev).js.diff b/testdata/baselines/reference/submodule/compiler/reactImportUnusedInNewJSXEmit(jsx=react-jsxdev).js.diff
index 9545d5592e..ad9876bd9b 100644
--- a/testdata/baselines/reference/submodule/compiler/reactImportUnusedInNewJSXEmit(jsx=react-jsxdev).js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reactImportUnusedInNewJSXEmit(jsx=react-jsxdev).js.diff
@@ -5,9 +5,8 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Foo = Foo;
-var jsx_dev_runtime_1 = require("react/jsx-dev-runtime");
--var _jsxFileName = "index.tsx";
+const jsx_dev_runtime_1 = require("react/jsx-dev-runtime");
-+const _jsxFileName = "index.tsx";
+ const _jsxFileName = "index.tsx";
function Bar() {
- return (0, jsx_dev_runtime_1.jsxDEV)("div", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 6, columnNumber: 9 }, this);
+ return jsx_dev_runtime_1.jsxDEV("div", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 6, columnNumber: 9 }, this);
diff --git a/testdata/baselines/reference/submodule/compiler/reactReadonlyHOCAssignabilityReal.js.diff b/testdata/baselines/reference/submodule/compiler/reactReadonlyHOCAssignabilityReal.js.diff
index 9013e795a7..ced1b236d8 100644
--- a/testdata/baselines/reference/submodule/compiler/reactReadonlyHOCAssignabilityReal.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reactReadonlyHOCAssignabilityReal.js.diff
@@ -1,46 +1,11 @@
--- old.reactReadonlyHOCAssignabilityReal.js
+++ new.reactReadonlyHOCAssignabilityReal.js
-@@= skipped -13, +13 lines =@@
-
- //// [reactReadonlyHOCAssignabilityReal.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var __assign = (this && this.__assign) || function () {
- __assign = Object.assign || function(t) {
- for (var s, i = 1, n = arguments.length; i < n; i++) {
-@@= skipped -28, +13 lines =@@
+@@= skipped -26, +26 lines =@@
};
Object.defineProperty(exports, "__esModule", { value: true });
///
-var React = require("react");
+const React = require("react");
function myHigherOrderComponent(Inner) {
-- return /** @class */ (function (_super) {
-- __extends(OuterComponent, _super);
-- function OuterComponent() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- OuterComponent.prototype.render = function () {
-+ return class OuterComponent extends React.Component {
-+ render() {
- return React.createElement(Inner, __assign({}, this.props, { name: "Matt" }));
-- };
-- return OuterComponent;
-- }(React.Component));
-+ }
-+ };
- }
\ No newline at end of file
+ return class OuterComponent extends React.Component {
+ render() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reactReduxLikeDeferredInferenceAllowsAssignment.js.diff b/testdata/baselines/reference/submodule/compiler/reactReduxLikeDeferredInferenceAllowsAssignment.js.diff
index 78a192e8a1..cb6b54024e 100644
--- a/testdata/baselines/reference/submodule/compiler/reactReduxLikeDeferredInferenceAllowsAssignment.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reactReduxLikeDeferredInferenceAllowsAssignment.js.diff
@@ -4,21 +4,6 @@
//// [reactReduxLikeDeferredInferenceAllowsAssignment.js]
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
-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) {
@@ -27,61 +12,17 @@
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
--};
--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;
-- function verb(n) { return function (v) { return step([n, v]); }; }
-- function step(op) {
-- if (f) throw new TypeError("Generator is already executing.");
-- while (g && (g = 0, op[0] && (_ = 0)), _) try {
-- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-- if (y = 0, t) op = [op[0] & 2, t.value];
-- switch (op[0]) {
-- case 0: case 1: t = op; break;
-- case 4: _.label++; return { value: op[1], done: false };
-- case 5: _.label++; y = op[1]; op = [0]; continue;
-- case 7: op = _.ops.pop(); _.trys.pop(); continue;
-- default:
-- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-- if (t[2]) _.ops.pop();
-- _.trys.pop(); continue;
-- }
-- op = body.call(thisArg, _);
-- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-- }
-};
Object.defineProperty(exports, "__esModule", { value: true });
--var simpleAction = function (payload) { return ({
-+const simpleAction = (payload) => ({
+ const simpleAction = (payload) => ({
type: "SIMPLE_ACTION",
-- payload: payload
--}); };
--var thunkAction = function (param1, param2) { return function (dispatch_1, _a) { return __awaiter(void 0, [dispatch_1, _a], void 0, function (dispatch, _b) {
-- var foo = _b.foo;
-- return __generator(this, function (_c) {
-- return [2 /*return*/, foo];
-- });
--}); }; };
--var TestComponent = /** @class */ (function (_super) {
-- __extends(TestComponent, _super);
-- function TestComponent() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return TestComponent;
--}(Component));
--var mapDispatchToProps = { simpleAction: simpleAction, thunkAction: thunkAction };
--var Test1 = connect(null, mapDispatchToProps)(TestComponent);
-+ payload
-+});
+ payload
+ });
+-const thunkAction = (param1, param2) => (dispatch_1, _a) => __awaiter(void 0, [dispatch_1, _a], void 0, function* (dispatch, { foo }) {
+const thunkAction = (param1, param2) => async (dispatch, { foo }) => {
-+ return foo;
+ return foo;
+-});
+};
-+class TestComponent extends Component {
-+}
-+const mapDispatchToProps = { simpleAction, thunkAction };
-+const Test1 = connect(null, mapDispatchToProps)(TestComponent);
\ No newline at end of file
+ class TestComponent extends Component {
+ }
+ const mapDispatchToProps = { simpleAction, thunkAction };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reactSFCAndFunctionResolvable.js.diff b/testdata/baselines/reference/submodule/compiler/reactSFCAndFunctionResolvable.js.diff
index 79753b9141..e0547d01bf 100644
--- a/testdata/baselines/reference/submodule/compiler/reactSFCAndFunctionResolvable.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reactSFCAndFunctionResolvable.js.diff
@@ -7,16 +7,8 @@
-///
Object.defineProperty(exports, "__esModule", { value: true });
-var React = require("react");
--var RandomComponent = function () {
-- var Component = condition1
+///
+const React = require("react");
-+const RandomComponent = () => {
-+ const Component = condition1
- ? Radio
- : Checkbox;
-- var OtherComponent = condition2
-+ const OtherComponent = condition2
- ? OtherRadio
- : Checkbox;
- return condition1 ? React.createElement(Component, null) : React.createElement(OtherComponent, null);
\ No newline at end of file
+ const RandomComponent = () => {
+ const Component = condition1
+ ? Radio
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reactTagNameComponentWithPropsNoOOM.js.diff b/testdata/baselines/reference/submodule/compiler/reactTagNameComponentWithPropsNoOOM.js.diff
index b65c64ca2a..6f68ebc762 100644
--- a/testdata/baselines/reference/submodule/compiler/reactTagNameComponentWithPropsNoOOM.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reactTagNameComponentWithPropsNoOOM.js.diff
@@ -13,12 +13,8 @@
};
Object.defineProperty(exports, "__esModule", { value: true });
-var React = require("react");
--var classes = "";
--var rest = {};
--var children = [];
+///
+const React = require("react");
-+const classes = "";
-+const rest = {};
-+const children = [];
- React.createElement(Tag, __assign({ className: classes }, rest), children);
\ No newline at end of file
+ const classes = "";
+ const rest = {};
+ const children = [];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reactTagNameComponentWithPropsNoOOM2.js.diff b/testdata/baselines/reference/submodule/compiler/reactTagNameComponentWithPropsNoOOM2.js.diff
index 3e31279126..b3845ebbe9 100644
--- a/testdata/baselines/reference/submodule/compiler/reactTagNameComponentWithPropsNoOOM2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reactTagNameComponentWithPropsNoOOM2.js.diff
@@ -13,12 +13,8 @@
};
Object.defineProperty(exports, "__esModule", { value: true });
-var React = require("react");
--var classes = "";
--var rest = {};
--var children = [];
+///
+const React = require("react");
-+const classes = "";
-+const rest = {};
-+const children = [];
- React.createElement(Tag, __assign({ className: classes }, rest), children);
\ No newline at end of file
+ const classes = "";
+ const rest = {};
+ const children = [];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reactTransitiveImportHasValidDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/reactTransitiveImportHasValidDeclaration.js.diff
index 699901632d..451a16d8c8 100644
--- a/testdata/baselines/reference/submodule/compiler/reactTransitiveImportHasValidDeclaration.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reactTransitiveImportHasValidDeclaration.js.diff
@@ -5,8 +5,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var react_emotion_1 = require("react-emotion");
--var Form = (0, react_emotion_1.default)('div')({ color: "red" });
+const react_emotion_1 = require("react-emotion");
-+const Form = (0, react_emotion_1.default)('div')({ color: "red" });
+ const Form = (0, react_emotion_1.default)('div')({ color: "red" });
exports.default = Form;
-
diff --git a/testdata/baselines/reference/submodule/compiler/readonlyAssignmentInSubclassOfClassExpression.js.diff b/testdata/baselines/reference/submodule/compiler/readonlyAssignmentInSubclassOfClassExpression.js.diff
deleted file mode 100644
index daade755f6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/readonlyAssignmentInSubclassOfClassExpression.js.diff
+++ /dev/null
@@ -1,41 +0,0 @@
---- old.readonlyAssignmentInSubclassOfClassExpression.js
-+++ new.readonlyAssignmentInSubclassOfClassExpression.js
-@@= skipped -9, +9 lines =@@
-
-
- //// [readonlyAssignmentInSubclassOfClassExpression.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- var _this = _super.call(this) || this;
-- _this.attrib = 2;
-- return _this;
-- }
-- return C;
--}(/** @class */ (function () {
-- function class_1() {
-- }
-- return class_1;
--}())));
-+class C extends class {
-+} {
-+ constructor() {
-+ super();
-+ this.attrib = 2;
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/readonlyFloat32ArrayAssignableWithFloat32Array.js.diff b/testdata/baselines/reference/submodule/compiler/readonlyFloat32ArrayAssignableWithFloat32Array.js.diff
index 37658c9487..7ab8cf04ca 100644
--- a/testdata/baselines/reference/submodule/compiler/readonlyFloat32ArrayAssignableWithFloat32Array.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/readonlyFloat32ArrayAssignableWithFloat32Array.js.diff
@@ -6,13 +6,5 @@
//// [readonlyFloat32ArrayAssignableWithFloat32Array.js]
-"use strict";
function update(b) {
-- var c = copy(b);
-+ const c = copy(b);
- add(c, c);
- }
--function add(a, b, c) {
-- if (c === void 0) { c = a; }
-+function add(a, b, c = a) {
- c[0] = a[0] + b[0];
- }
- function copy(a) {
\ No newline at end of file
+ const c = copy(b);
+ add(c, c);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/readonlyInDeclarationFile.js.diff b/testdata/baselines/reference/submodule/compiler/readonlyInDeclarationFile.js.diff
index ebd5d76ffc..634532abb2 100644
--- a/testdata/baselines/reference/submodule/compiler/readonlyInDeclarationFile.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/readonlyInDeclarationFile.js.diff
@@ -1,106 +1,22 @@
--- old.readonlyInDeclarationFile.js
+++ new.readonlyInDeclarationFile.js
-@@= skipped -55, +55 lines =@@
- }
+@@= skipped -56, +56 lines =@@
//// [readonlyInDeclarationFile.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- Object.defineProperty(C.prototype, "b1", {
-- get: function () { return 1; },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C.prototype, "b2", {
-- get: function () { return 1; },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C.prototype, "b3", {
-- get: function () { return 1; },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C.prototype, "c1", {
-- get: function () { return 1; },
-- set: function (value) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C.prototype, "c2", {
-- get: function () { return 1; },
-- set: function (value) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C.prototype, "c3", {
-- get: function () { return 1; },
-- set: function (value) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C, "t1", {
-- get: function () { return 1; },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C, "t2", {
-- get: function () { return 1; },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C, "t3", {
-- get: function () { return 1; },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C, "u1", {
-- get: function () { return 1; },
-- set: function (value) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C, "u2", {
-- get: function () { return 1; },
-- set: function (value) { },
-- enumerable: false,
-- configurable: true
-- });
-- Object.defineProperty(C, "u3", {
-- get: function () { return 1; },
-- set: function (value) { },
-- enumerable: false,
-- configurable: true
-- });
-- return C;
--}());
-+class C {
+ class C {
+ a1;
+ a2;
+ a3;
-+ get b1() { return 1; }
-+ get b2() { return 1; }
-+ get b3() { return 1; }
-+ get c1() { return 1; }
-+ set c1(value) { }
-+ get c2() { return 1; }
-+ set c2(value) { }
-+ get c3() { return 1; }
-+ set c3(value) { }
+ get b1() { return 1; }
+ get b2() { return 1; }
+ get b3() { return 1; }
+@@= skipped -9, +12 lines =@@
+ set c2(value) { }
+ get c3() { return 1; }
+ set c3(value) { }
+ static s1;
+ static s2;
+ static s3;
-+ static get t1() { return 1; }
-+ static get t2() { return 1; }
-+ static get t3() { return 1; }
-+ static get u1() { return 1; }
-+ static set u1(value) { }
-+ static get u2() { return 1; }
-+ static set u2(value) { }
-+ static get u3() { return 1; }
-+ static set u3(value) { }
-+}
- var z;
- function f() {
- return {
\ No newline at end of file
+ static get t1() { return 1; }
+ static get t2() { return 1; }
+ static get t3() { return 1; }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/readonlyInNonPropertyParameters.js.diff b/testdata/baselines/reference/submodule/compiler/readonlyInNonPropertyParameters.js.diff
deleted file mode 100644
index 51455173d7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/readonlyInNonPropertyParameters.js.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- old.readonlyInNonPropertyParameters.js
-+++ new.readonlyInNonPropertyParameters.js
-@@= skipped -11, +11 lines =@@
-
- //// [readonlyInNonPropertyParameters.js]
- // `readonly` won't work outside of property parameters
--var X = /** @class */ (function () {
-- function X() {
-- }
-- X.prototype.method = function (x) { };
-- Object.defineProperty(X.prototype, "x", {
-- set: function (value) { },
-- enumerable: false,
-- configurable: true
-- });
-- return X;
--}());
--(function (x) { return 0; });
-+class X {
-+ method(x) { }
-+ set x(value) { }
-+}
-+(x) => 0;
- // OK to use `readonly` as a name
--(function (readonly) { return 0; });
-+(readonly) => 0;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/readonlyMembers.js.diff b/testdata/baselines/reference/submodule/compiler/readonlyMembers.js.diff
index 6572ff6b9f..93d9955c8f 100644
--- a/testdata/baselines/reference/submodule/compiler/readonlyMembers.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/readonlyMembers.js.diff
@@ -1,68 +1,14 @@
--- old.readonlyMembers.js
+++ new.readonlyMembers.js
-@@= skipped -75, +75 lines =@@
- var x = { a: 0 };
+@@= skipped -76, +76 lines =@@
x.a = 1; // Error
x.b = 1; // Error
--var C = /** @class */ (function () {
-- function C() {
-- var _this = this;
-- this.b = 1;
-+class C {
+ class C {
+ a;
+ b = 1;
-+ get c() { return 1; }
-+ constructor() {
+ get c() { return 1; }
+ constructor() {
+- this.b = 1;
this.a = 1; // Ok
this.b = 1; // Ok
- this.c = 1; // Error
-- var f = function () {
-- _this.a = 1; // Error
-- _this.b = 1; // Error
-- _this.c = 1; // Error
-+ const f = () => {
-+ this.a = 1; // Error
-+ this.b = 1; // Error
-+ this.c = 1; // Error
- };
-- (function () {
-- _this.a = 1; // Ok
-- _this.b = 1; // Ok
-- _this.c = 1; // Error
-+ (() => {
-+ this.a = 1; // Ok
-+ this.b = 1; // Ok
-+ this.c = 1; // Error
- })();
- }
-- Object.defineProperty(C.prototype, "c", {
-- get: function () { return 1; },
-- enumerable: false,
-- configurable: true
-- });
-- C.prototype.foo = function () {
-+ foo() {
- this.a = 1; // Error
- this.b = 1; // Error
- this.c = 1; // Error
-- };
-- return C;
--}());
-+ }
-+}
- var o = {
- get a() { return 1; },
- get b() { return 1; },
-@@= skipped -59, +54 lines =@@
- N.a = 1; // Error
- N.b = 1;
- N.c = 1;
--var xx;
--var s = xx["foo"];
-+let xx;
-+let s = xx["foo"];
- xx["foo"] = "abc"; // Error
--var yy;
-+let yy;
- yy[1] = "abc"; // Error
- yy["foo"] = "abc";
\ No newline at end of file
+ this.c = 1; // Error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/readonlyPropertySubtypeRelationDirected.js.diff b/testdata/baselines/reference/submodule/compiler/readonlyPropertySubtypeRelationDirected.js.diff
deleted file mode 100644
index 65f5c1f712..0000000000
--- a/testdata/baselines/reference/submodule/compiler/readonlyPropertySubtypeRelationDirected.js.diff
+++ /dev/null
@@ -1,66 +0,0 @@
---- old.readonlyPropertySubtypeRelationDirected.js
-+++ new.readonlyPropertySubtypeRelationDirected.js
-@@= skipped -82, +82 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- // When the non-readonly type is declared first, the unioned type of `three` in `doSomething` is never treated as readonly
--var two = { a: 'two' };
--var one = { a: 'one' };
-+const two = { a: 'two' };
-+const one = { a: 'one' };
- function doSomething(condition) {
- // when `one` comes first in the conditional check, the return type of `doSomething` is inferred as `a` is readonly, but `a` is
- // only treated as readonly (i.e. it will produce a diagnostic if you try to assign to it) based on the order of declarations of `one` and `two` above
-- var three = (condition) ? one : two;
-+ const three = (condition) ? one : two;
- three.a = 'foo';
- // the inferred (displayed?) type of `a` also depends on the order of the condition above. When `one` comes first, the displayed type is `any`
- // when `two` comes first, the displayed type is `string`, but the diagnostic will always correctly find that it's string
-@@= skipped -16, +16 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- // When the non-readonly type is declared first, the unioned type of `three` in `doSomething` is never treated as readonly
--var two = { a: 'two' };
--var one = { a: 'one' };
-+const two = { a: 'two' };
-+const one = { a: 'one' };
- function doSomething(condition) {
- // when `two` comes first in the conditional check, the return type of `doSomething` is inferred as not readonly but produces the same diagnostics as above
- // based on the declaration order of `one` and `two`
-- var three = (condition) ? two : one;
-+ const three = (condition) ? two : one;
- three.a = 'foo';
- // the inferred (displayed?) type of `a` also depends on the order of the condition above. When `one` comes first, the displayed type is `any`
- // when `two` comes first, the displayed type is `string`, but the diagnostic will always correctly find that it's string
-@@= skipped -16, +16 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- // When the readonly type is declared first, the unioned type of `three` in `doSomething` is always treated as readonly by the compiler
--var one = { a: 'one' };
--var two = { a: 'two' };
-+const one = { a: 'one' };
-+const two = { a: 'two' };
- function doSomething(condition) {
- // when `one` comes first in the conditional check, the return type of `doSomething` is inferred as `a` is readonly, but `a` is
- // only treated as readonly (i.e. it will produce a diagnostic if you try to assign to it) based on the order of declarations of `one` and `two` above
-- var three = (condition) ? one : two;
-+ const three = (condition) ? one : two;
- three.a = 'foo';
- // the inferred (displayed?) type of `a` also depends on the order of the condition above. When `one` comes first, the displayed type is `any`
- // when `two` comes first, the displayed type is `string`, but the diagnostic will always correctly find that it's string
-@@= skipped -16, +16 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- // When the readonly type is declared first, the unioned type of `three` in `doSomething` is always treated as readonly by the compiler
--var one = { a: 'one' };
--var two = { a: 'two' };
-+const one = { a: 'one' };
-+const two = { a: 'two' };
- function doSomething(condition) {
- // when `two` comes first in the conditional check, the return type of `doSomething` is inferred as not readonly but produces the same diagnostics as above
- // based on the declaration order of `one` and `two`
-- var three = (condition) ? two : one;
-+ const three = (condition) ? two : one;
- three.a = 'foo';
- // the inferred (displayed?) type of `a` also depends on the order of the condition above. When `one` comes first, the displayed type is `any`
- // when `two` comes first, the displayed type is `string`, but the diagnostic will always correctly find that it's string
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/readonlyTupleAndArrayElaboration.js.diff b/testdata/baselines/reference/submodule/compiler/readonlyTupleAndArrayElaboration.js.diff
index 3a21c8a0f0..0bbc60b92b 100644
--- a/testdata/baselines/reference/submodule/compiler/readonlyTupleAndArrayElaboration.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/readonlyTupleAndArrayElaboration.js.diff
@@ -1,84 +1,11 @@
--- old.readonlyTupleAndArrayElaboration.js
+++ new.readonlyTupleAndArrayElaboration.js
-@@= skipped -77, +77 lines =@@
- //// [readonlyTupleAndArrayElaboration.js]
- // @strict
+@@= skipped -79, +79 lines =@@
// #Repro from #30839
--var point = [3, 4];
--function distanceFromOrigin(_a) {
-- var x = _a[0], y = _a[1];
+ let point = [3, 4];
+ function distanceFromOrigin([x, y]) {
- return Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
-+let point = [3, 4];
-+function distanceFromOrigin([x, y]) {
+ return Math.sqrt(x ** 2 + y ** 2);
}
distanceFromOrigin(point);
- arryFn(point);
-@@= skipped -11, +10 lines =@@
- arryFn2(a);
- arryFn2(b);
- arryFn2(c);
--var t1 = [1];
--var t2 = t1;
--var t3 = [1];
--var t4 = t3;
--var t5 = [1];
--var t6 = t5;
--var t7 = [1];
--var t8 = t7;
--var a1 = [1];
--var a2 = a1;
--var a3 = [1];
--var a4 = a3;
--var a5 = [1];
--var a6 = a5;
--var a7 = [1];
--var a8 = a7;
--var ta1 = [1];
--var ta2 = ta1;
--var ta3 = [1];
--var ta4 = ta3;
--var ta5 = [1];
--var ta6 = ta5;
--var ta7 = [1];
--var ta8 = ta7;
--var at1 = [1];
--var at2 = at1;
--var at3 = [1];
--var at4 = at3;
--var at5 = [1];
--var at6 = at5;
--var at7 = [1];
--var at8 = at7;
-+const t1 = [1];
-+const t2 = t1;
-+const t3 = [1];
-+const t4 = t3;
-+const t5 = [1];
-+const t6 = t5;
-+const t7 = [1];
-+const t8 = t7;
-+const a1 = [1];
-+const a2 = a1;
-+const a3 = [1];
-+const a4 = a3;
-+const a5 = [1];
-+const a6 = a5;
-+const a7 = [1];
-+const a8 = a7;
-+const ta1 = [1];
-+const ta2 = ta1;
-+const ta3 = [1];
-+const ta4 = ta3;
-+const ta5 = [1];
-+const ta6 = ta5;
-+const ta7 = [1];
-+const ta8 = ta7;
-+const at1 = [1];
-+const at2 = at1;
-+const at3 = [1];
-+const at4 = at3;
-+const at5 = [1];
-+const at6 = at5;
-+const at7 = [1];
-+const at8 = at7;
\ No newline at end of file
+ arryFn(point);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reassignStaticProp.js.diff b/testdata/baselines/reference/submodule/compiler/reassignStaticProp.js.diff
index 5c424fd9c8..ebd3281364 100644
--- a/testdata/baselines/reference/submodule/compiler/reassignStaticProp.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reassignStaticProp.js.diff
@@ -4,12 +4,12 @@
//// [reassignStaticProp.js]
--var foo = /** @class */ (function () {
-- function foo() {
+-let foo = (() => {
+- class foo {
- }
- foo.bar = 1;
- return foo;
--}());
+-})();
+class foo {
+ static bar = 1;
+ static bar; // errror - duplicate id
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveArrayNotCircular.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveArrayNotCircular.js.diff
deleted file mode 100644
index 049b022677..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveArrayNotCircular.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.recursiveArrayNotCircular.js
-+++ new.recursiveArrayNotCircular.js
-@@= skipped -51, +51 lines =@@
- function reducer(action) {
- switch (action.type) {
- case ActionType.Bar:
-- var x = action.payload;
-+ const x = action.payload;
- break;
- case ActionType.Baz:
-- var y = action.payload;
-+ const y = action.payload;
- break;
- case ActionType.Foo:
-- var z = action.payload;
-+ const z = action.payload;
- break;
- case ActionType.Batch:
- action.payload.map(reducer);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveBaseCheck3.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveBaseCheck3.js.diff
deleted file mode 100644
index 8b84710d1e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveBaseCheck3.js.diff
+++ /dev/null
@@ -1,40 +0,0 @@
---- old.recursiveBaseCheck3.js
-+++ new.recursiveBaseCheck3.js
-@@= skipped -6, +6 lines =@@
- (new C).blah;
-
- //// [recursiveBaseCheck3.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function (_super) {
-- __extends(A, _super);
-- function A() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return A;
--}(C));
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(A));
-+class A extends C {
-+}
-+class C extends A {
-+}
- (new C).blah;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveBaseCheck4.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveBaseCheck4.js.diff
deleted file mode 100644
index f1f6db3b5f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveBaseCheck4.js.diff
+++ /dev/null
@@ -1,31 +0,0 @@
---- old.recursiveBaseCheck4.js
-+++ new.recursiveBaseCheck4.js
-@@= skipped -4, +4 lines =@@
- (new M).blah;
-
- //// [recursiveBaseCheck4.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var M = /** @class */ (function (_super) {
-- __extends(M, _super);
-- function M() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return M;
--}(M));
-+class M extends M {
-+}
- (new M).blah;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveBaseCheck5.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveBaseCheck5.js.diff
deleted file mode 100644
index 27cdf1d55d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveBaseCheck5.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.recursiveBaseCheck5.js
-+++ new.recursiveBaseCheck5.js
-@@= skipped -6, +6 lines =@@
- (new X).blah;
-
- //// [recursiveBaseCheck5.js]
--var X = /** @class */ (function () {
-- function X() {
-- }
-- return X;
--}());
-+class X {
-+}
- (new X).blah;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveBaseCheck6.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveBaseCheck6.js.diff
deleted file mode 100644
index f7549fa3d6..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveBaseCheck6.js.diff
+++ /dev/null
@@ -1,31 +0,0 @@
---- old.recursiveBaseCheck6.js
-+++ new.recursiveBaseCheck6.js
-@@= skipped -4, +4 lines =@@
- (new S18()).blah;
-
- //// [recursiveBaseCheck6.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var S18 = /** @class */ (function (_super) {
-- __extends(S18, _super);
-- function S18() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return S18;
--}(S18));
-+class S18 extends S18 {
-+}
- (new S18()).blah;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveBaseConstructorCreation1.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveBaseConstructorCreation1.js.diff
deleted file mode 100644
index 40aeb47449..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveBaseConstructorCreation1.js.diff
+++ /dev/null
@@ -1,40 +0,0 @@
---- old.recursiveBaseConstructorCreation1.js
-+++ new.recursiveBaseConstructorCreation1.js
-@@= skipped -8, +8 lines =@@
-
-
- //// [recursiveBaseConstructorCreation1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- C1.prototype.func = function (param) { };
-- return C1;
--}());
--var C2 = /** @class */ (function (_super) {
-- __extends(C2, _super);
-- function C2() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C2;
--}(C1));
-+class C1 {
-+ func(param) { }
-+}
-+class C2 extends C1 {
-+}
- var x = new C2(); // Valid
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveClassBaseType.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveClassBaseType.js.diff
index 756c4afcf4..835b7cf63c 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveClassBaseType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveClassBaseType.js.diff
@@ -6,59 +6,10 @@
//// [recursiveClassBaseType.js]
-"use strict";
-// Repro from #44281
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(Base({ x: p(function () { return []; }) })));
-+class C extends Base({ x: p(() => []) }) {
-+}
+ class C extends Base({ x: p(() => []) }) {
+ }
// Repro from #44359
--var Base1 = /** @class */ (function () {
-- function Base1() {
-- }
-- return Base1;
--}());
--var Derived1 = /** @class */ (function (_super) {
-- __extends(Derived1, _super);
-- function Derived1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Derived1;
--}(/** @class */ (function (_super) {
-- __extends(class_1, _super);
-- function class_1() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- class_1.prototype.root = function () {
-+class Base1 {
-+}
-+class Derived1 extends class extends Base1 {
-+ root() {
- return undefined;
-- };
-- return class_1;
--}(Base1))));
-+ }
-+} {
-+}
+@@= skipped -16, +14 lines =@@
//// [recursiveClassBaseType.d.ts]
@@ -77,7 +28,7 @@
declare abstract class Base1 {
abstract root(): Derived1;
}
-@@= skipped -68, +35 lines =@@
+@@= skipped -19, +21 lines =@@
};
declare class Derived1 extends Derived1_base {
}
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveClassInstantiationsWithDefaultConstructors.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveClassInstantiationsWithDefaultConstructors.js.diff
index be3a0bf2c0..b09b3e1f6f 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveClassInstantiationsWithDefaultConstructors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveClassInstantiationsWithDefaultConstructors.js.diff
@@ -1,45 +1,13 @@
--- old.recursiveClassInstantiationsWithDefaultConstructors.js
+++ new.recursiveClassInstantiationsWithDefaultConstructors.js
-@@= skipped -11, +11 lines =@@
- var a = new TypeScript2.MemberNameArray()
-
- //// [recursiveClassInstantiationsWithDefaultConstructors.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
+@@= skipped -14, +14 lines =@@
var TypeScript2;
(function (TypeScript2) {
-- var MemberName = /** @class */ (function () {
-- function MemberName() {
+ class MemberName {
+- constructor() {
- this.prefix = "";
- }
-- return MemberName;
-- }());
-+ class MemberName {
+ prefix = "";
-+ }
+ }
TypeScript2.MemberName = MemberName;
-- var MemberNameArray = /** @class */ (function (_super) {
-- __extends(MemberNameArray, _super);
-- function MemberNameArray() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return MemberNameArray;
-- }(MemberName));
-+ class MemberNameArray extends MemberName {
-+ }
- TypeScript2.MemberNameArray = MemberNameArray;
- })(TypeScript2 || (TypeScript2 = {}));
- var a = new TypeScript2.MemberNameArray();
\ No newline at end of file
+ class MemberNameArray extends MemberName {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveClassReferenceTest.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveClassReferenceTest.js.diff
index b89793ae7e..f84a83dbf4 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveClassReferenceTest.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveClassReferenceTest.js.diff
@@ -6,21 +6,6 @@
//// [recursiveClassReferenceTest.js]
-// 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 () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
var Sample;
(function (Sample) {
- var Actions;
@@ -32,23 +17,9 @@
- var Find;
+ let Find;
(function (Find) {
-- var StartFindAction = /** @class */ (function () {
-- function StartFindAction() {
-- }
-- StartFindAction.prototype.getId = function () { return "yo"; };
-- StartFindAction.prototype.run = function (Thing) {
-+ class StartFindAction {
-+ getId() { return "yo"; }
-+ run(Thing) {
- return true;
-- };
-- return StartFindAction;
-- }());
-+ }
-+ }
- Find.StartFindAction = StartFindAction;
- })(Find = Thing_1.Find || (Thing_1.Find = {}));
- })(Thing = Actions.Thing || (Actions.Thing = {}));
+ class StartFindAction {
+ getId() { return "yo"; }
+@@= skipped -22, +20 lines =@@
})(Actions = Sample.Actions || (Sample.Actions = {}));
})(Sample || (Sample = {}));
(function (Sample) {
@@ -58,48 +29,21 @@
- var Widgets;
+ let Widgets;
(function (Widgets) {
-- var FindWidget = /** @class */ (function () {
-- function FindWidget(codeThing) {
-+ class FindWidget {
+ class FindWidget {
+ codeThing;
-+ gar(runner) { if (true) {
-+ return runner(this);
-+ } }
+ gar(runner) { if (true) {
+ return runner(this);
+ } }
+ domNode = null;
-+ constructor(codeThing) {
+ constructor(codeThing) {
this.codeThing = codeThing;
- this.domNode = null;
// scenario 1
codeThing.addWidget("addWidget", this);
}
-- FindWidget.prototype.gar = function (runner) { if (true) {
-- return runner(this);
-- } };
-- FindWidget.prototype.getDomNode = function () {
-+ getDomNode() {
- return domNode;
-- };
-- FindWidget.prototype.destroy = function () {
-- };
-- return FindWidget;
-- }());
-+ }
-+ destroy() {
-+ }
-+ }
- Widgets.FindWidget = FindWidget;
- })(Widgets = Thing.Widgets || (Thing.Widgets = {}));
- })(Thing = Sample.Thing || (Sample.Thing = {}));
- })(Sample || (Sample = {}));
--var AbstractMode = /** @class */ (function () {
-- function AbstractMode() {
-- }
-- AbstractMode.prototype.getInitialState = function () { return null; };
-- return AbstractMode;
--}());
-+class AbstractMode {
-+ getInitialState() { return null; }
-+}
+@@= skipped -28, +29 lines =@@
+ getInitialState() { return null; }
+ }
(function (Sample) {
- var Thing;
+ let Thing;
@@ -110,44 +54,8 @@
- var PlainText;
+ let PlainText;
(function (PlainText) {
-- var State = /** @class */ (function () {
-- function State(mode) {
-+ class State {
+ class State {
+ mode;
-+ constructor(mode) {
+ constructor(mode) {
this.mode = mode;
- }
-- State.prototype.clone = function () {
-+ clone() {
- return this;
-- };
-- State.prototype.equals = function (other) {
-+ }
-+ equals(other) {
- return this === other;
-- };
-- State.prototype.getMode = function () { return mode; };
-- return State;
-- }());
-+ }
-+ getMode() { return mode; }
-+ }
- PlainText.State = State;
-- var Mode = /** @class */ (function (_super) {
-- __extends(Mode, _super);
-- function Mode() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-+ class Mode extends AbstractMode {
- // scenario 2
-- Mode.prototype.getInitialState = function () {
-+ getInitialState() {
- return new State(self);
-- };
-- return Mode;
-- }(AbstractMode));
-+ }
-+ }
- PlainText.Mode = Mode;
- })(PlainText = Languages.PlainText || (Languages.PlainText = {}));
- })(Languages = Thing.Languages || (Thing.Languages = {}));
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveClassReferenceTest.js.map.diff b/testdata/baselines/reference/submodule/compiler/recursiveClassReferenceTest.js.map.diff
index c8b33c73d5..3d6581c251 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveClassReferenceTest.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveClassReferenceTest.js.map.diff
@@ -2,7 +2,7 @@
+++ new.recursiveClassReferenceTest.js.map
@@= skipped -0, +0 lines =@@
//// [recursiveClassReferenceTest.js.map]
--{"version":3,"file":"recursiveClassReferenceTest.js","sourceRoot":"","sources":["recursiveClassReferenceTest.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,0EAA0E;;;;;;;;;;;;;;;;AA8B1E,IAAO,MAAM,CAUZ;AAVD,WAAO,MAAM;IAAC,IAAA,OAAO,CAUpB;IAVa,WAAA,OAAO;QAAC,IAAA,KAAK,CAU1B;QAVqB,WAAA,OAAK;YAAC,IAAA,IAAI,CAU/B;YAV2B,WAAA,IAAI;gBAC/B;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,kBAQ3B,CAAA;YACF,CAAC,EAV2B,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAU/B;QA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ICovIChmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uIFN0YXJ0RmluZEFjdGlvbigpIHsNCiAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgICBTdGFydEZpbmRBY3Rpb24ucHJvdG90eXBlLmdldElkID0gZnVuY3Rpb24gKCkgeyByZXR1cm4gInlvIjsgfTsNCiAgICAgICAgICAgICAgICAgICAgU3RhcnRGaW5kQWN0aW9uLnByb3RvdHlwZS5ydW4gPSBmdW5jdGlvbiAoVGhpbmcpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB0cnVlOw0KICAgICAgICAgICAgICAgICAgICB9Ow0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gU3RhcnRGaW5kQWN0aW9uOw0KICAgICAgICAgICAgICAgIH0oKSk7DQogICAgICAgICAgICAgICAgRmluZC5TdGFydEZpbmRBY3Rpb24gPSBTdGFydEZpbmRBY3Rpb247DQogICAgICAgICAgICB9KShGaW5kID0gVGhpbmdfMS5GaW5kIHx8IChUaGluZ18xLkZpbmQgPSB7fSkpOw0KICAgICAgICB9KShUaGluZyA9IEFjdGlvbnMuVGhpbmcgfHwgKEFjdGlvbnMuVGhpbmcgPSB7fSkpOw0KICAgIH0pKEFjdGlvbnMgPSBTYW1wbGUuQWN0aW9ucyB8fCAoU2FtcGxlLkFjdGlvbnMgPSB7fSkpOw0KfSkoU2FtcGxlIHx8IChTYW1wbGUgPSB7fSkpOw0KKGZ1bmN0aW9uIChTYW1wbGUpIHsNCiAgICB2YXIgVGhpbmc7DQogICAgKGZ1bmN0aW9uIChUaGluZykgew0KICAgICAgICB2YXIgV2lkZ2V0czsNCiAgICAgICAgKGZ1bmN0aW9uIChXaWRnZXRzKSB7DQogICAgICAgICAgICB2YXIgRmluZFdpZGdldCA9IC8qKiBAY2xhc3MgKi8gKGZ1bmN0aW9uICgpIHsNCiAgICAgICAgICAgICAgICBmdW5jdGlvbiBGaW5kV2lkZ2V0KGNvZGVUaGluZykgew0KICAgICAgICAgICAgICAgICAgICB0aGlzLmNvZGVUaGluZyA9IGNvZGVUaGluZzsNCiAgICAgICAgICAgICAgICAgICAgdGhpcy5kb21Ob2RlID0gbnVsbDsNCiAgICAgICAgICAgICAgICAgICAgLy8gc2NlbmFyaW8gMQ0KICAgICAgICAgICAgICAgICAgICBjb2RlVGhpbmcuYWRkV2lkZ2V0KCJhZGRXaWRnZXQiLCB0aGlzKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgRmluZFdpZGdldC5wcm90b3R5cGUuZ2FyID0gZnVuY3Rpb24gKHJ1bm5lcikgeyBpZiAodHJ1ZSkgew0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gcnVubmVyKHRoaXMpOw0KICAgICAgICAgICAgICAgIH0gfTsNCiAgICAgICAgICAgICAgICBGaW5kV2lkZ2V0LnByb3RvdHlwZS5nZXREb21Ob2RlID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gZG9tTm9kZTsNCiAgICAgICAgICAgICAgICB9Ow0KICAgICAgICAgICAgICAgIEZpbmRXaWRnZXQucHJvdG90eXBlLmRlc3Ryb3kgPSBmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICAgICAgfTsNCiAgICAgICAgICAgICAgICByZXR1cm4gRmluZFdpZGdldDsNCiAgICAgICAgICAgIH0oKSk7DQogICAgICAgICAgICBXaWRnZXRzLkZpbmRXaWRnZXQgPSBGaW5kV2lkZ2V0Ow0KICAgICAgICB9KShXaWRnZXRzID0gVGhpbmcuV2lkZ2V0cyB8fCAoVGhpbmcuV2lkZ2V0cyA9IHt9KSk7DQogICAgfSkoVGhpbmcgPSBTYW1wbGUuVGhpbmcgfHwgKFNhbXBsZS5UaGluZyA9IHt9KSk7DQp9KShTYW1wbGUgfHwgKFNhbXBsZSA9IHt9KSk7DQp2YXIgQWJzdHJhY3RNb2RlID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgIGZ1bmN0aW9uIEFic3RyYWN0TW9kZSgpIHsNCiAgICB9DQogICAgQWJzdHJhY3RNb2RlLnByb3RvdHlwZS5nZXRJbml0aWFsU3RhdGUgPSBmdW5jdGlvbiAoKSB7IHJldHVybiBudWxsOyB9Ow0KICAgIHJldHVybiBBYnN0cmFjdE1vZGU7DQp9KCkpOw0KKGZ1bmN0aW9uIChTYW1wbGUpIHsNCiAgICB2YXIgVGhpbmc7DQogICAgKGZ1bmN0aW9uIChUaGluZykgew0KICAgICAgICB2YXIgTGFuZ3VhZ2VzOw0KICAgICAgICAoZnVuY3Rpb24gKExhbmd1YWdlcykgew0KICAgICAgICAgICAgdmFyIFBsYWluVGV4dDsNCiAgICAgICAgICAgIChmdW5jdGlvbiAoUGxhaW5UZXh0KSB7DQogICAgICAgICAgICAgICAgdmFyIFN0YXRlID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbiBTdGF0ZShtb2RlKSB7DQogICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm1vZGUgPSBtb2RlOw0KICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgIFN0YXRlLnByb3RvdHlwZS5jbG9uZSA9IGZ1bmN0aW9uICgpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB0aGlzOw0KICAgICAgICAgICAgICAgICAgICB9Ow0KICAgICAgICAgICAgICAgICAgICBTdGF0ZS5wcm90b3R5cGUuZXF1YWxzID0gZnVuY3Rpb24gKG90aGVyKSB7DQogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdGhpcyA9PT0gb3RoZXI7DQogICAgICAgICAgICAgICAgICAgIH07DQogICAgICAgICAgICAgICAgICAgIFN0YXRlLnByb3RvdHlwZS5nZXRNb2RlID0gZnVuY3Rpb24gKCkgeyByZXR1cm4gbW9kZTsgfTsNCiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFN0YXRlOw0KICAgICAgICAgICAgICAgIH0oKSk7DQogICAgICAgICAgICAgICAgUGxhaW5UZXh0LlN0YXRlID0gU3RhdGU7DQogICAgICAgICAgICAgICAgdmFyIE1vZGUgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoX3N1cGVyKSB7DQogICAgICAgICAgICAgICAgICAgIF9fZXh0ZW5kcyhNb2RlLCBfc3VwZXIpOw0KICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbiBNb2RlKCkgew0KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIF9zdXBlciAhPT0gbnVsbCAmJiBfc3VwZXIuYXBwbHkodGhpcywgYXJndW1lbnRzKSB8fCB0aGlzOw0KICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgIC8vIHNjZW5hcmlvIDINCiAgICAgICAgICAgICAgICAgICAgTW9kZS5wcm90b3R5cGUuZ2V0SW5pdGlhbFN0YXRlID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG5ldyBTdGF0ZShzZWxmKTsNCiAgICAgICAgICAgICAgICAgICAgfTsNCiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIE1vZGU7DQogICAgICAgICAgICAgICAgfShBYnN0cmFjdE1vZGUpKTsNCiAgICAgICAgICAgICAgICBQbGFpblRleHQuTW9kZSA9IE1vZGU7DQogICAgICAgICAgICB9KShQbGFpblRleHQgPSBMYW5ndWFnZXMuUGxhaW5UZXh0IHx8IChMYW5ndWFnZXMuUGxhaW5UZXh0ID0ge30pKTsNCiAgICAgICAgfSkoTGFuZ3VhZ2VzID0gVGhpbmcuTGFuZ3VhZ2VzIHx8IChUaGluZy5MYW5ndWFnZXMgPSB7fSkpOw0KICAgIH0pKFRoaW5nID0gU2FtcGxlLlRoaW5nIHx8IChTYW1wbGUuVGhpbmcgPSB7fSkpOw0KfSkoU2FtcGxlIHx8IChTYW1wbGUgPSB7fSk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AAS,KAAT,eAAS,QAwB5B;IAAD,CAAC,EAxBa,KAAK,GAAL,YAAK,KAAL,YAAK,QAwBlB;AAAD,CAAC,EAxBM,MAAM,KAAN,MAAM,QAwBZ"}
+-//// https://sokra.github.io/source-map-visualization#base64,Ly8gU2NlbmFyaW8gMTogVGVzdCByZXF1cnNpdmUgZnVuY3Rpb24gY2FsbCB3aXRoICJ0aGlzIiBwYXJhbWV0ZXINCi8vIFNjZW5hcmlvIDI6IFRlc3QgcmVjdXJzaXZlIGZ1bmN0aW9uIGNhbGwgd2l0aCBjYXN0IGFuZCAidGhpcyIgcGFyYW1ldGVyDQp2YXIgU2FtcGxlOw0KKGZ1bmN0aW9uIChTYW1wbGUpIHsNCiAgICB2YXIgQWN0aW9uczsNCiAgICAoZnVuY3Rpb24gKEFjdGlvbnMpIHsNCiAgICAgICAgdmFyIFRoaW5nOw0KICAgICAgICAoZnVuY3Rpb24gKFRoaW5nXzEpIHsNCiAgICAgICAgICAgIHZhciBGaW5kOw0KICAgICAgICAgICAgKGZ1bmN0aW9uIChGaW5kKSB7DQogICAgICAgICAgICAgICAgY2xhc3MgU3RhcnRGaW5kQWN0aW9uIHsNCiAgICAgICAgICAgICAgICAgICAgZ2V0SWQoKSB7IHJldHVybiAieW8iOyB9DQogICAgICAgICAgICAgICAgICAgIHJ1bihUaGluZykgew0KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7DQogICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgRmluZC5TdGFydEZpbmRBY3Rpb24gPSBTdGFydEZpbmRBY3Rpb247DQogICAgICAgICAgICB9KShGaW5kID0gVGhpbmdfMS5GaW5kIHx8IChUaGluZ18xLkZpbmQgPSB7fSkpOw0KICAgICAgICB9KShUaGluZyA9IEFjdGlvbnMuVGhpbmcgfHwgKEFjdGlvbnMuVGhpbmcgPSB7fSkpOw0KICAgIH0pKEFjdGlvbnMgPSBTYW1wbGUuQWN0aW9ucyB8fCAoU2FtcGxlLkFjdGlvbnMgPSB7fSkpOw0KfSkoU2FtcGxlIHx8IChTYW1wbGUgPSB7fSkpOw0KKGZ1bmN0aW9uIChTYW1wbGUpIHsNCiAgICB2YXIgVGhpbmc7DQogICAgKGZ1bmN0aW9uIChUaGluZykgew0KICAgICAgICB2YXIgV2lkZ2V0czsNCiAgICAgICAgKGZ1bmN0aW9uIChXaWRnZXRzKSB7DQogICAgICAgICAgICBjbGFzcyBGaW5kV2lkZ2V0IHsNCiAgICAgICAgICAgICAgICBnYXIocnVubmVyKSB7IGlmICh0cnVlKSB7DQogICAgICAgICAgICAgICAgICAgIHJldHVybiBydW5uZXIodGhpcyk7DQogICAgICAgICAgICAgICAgfSB9DQogICAgICAgICAgICAgICAgY29uc3RydWN0b3IoY29kZVRoaW5nKSB7DQogICAgICAgICAgICAgICAgICAgIHRoaXMuY29kZVRoaW5nID0gY29kZVRoaW5nOw0KICAgICAgICAgICAgICAgICAgICB0aGlzLmRvbU5vZGUgPSBudWxsOw0KICAgICAgICAgICAgICAgICAgICAvLyBzY2VuYXJpbyAxDQogICAgICAgICAgICAgICAgICAgIGNvZGVUaGluZy5hZGRXaWRnZXQoImFkZFdpZGdldCIsIHRoaXMpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBnZXREb21Ob2RlKCkgew0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gZG9tTm9kZTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgZGVzdHJveSgpIHsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBXaWRnZXRzLkZpbmRXaWRnZXQgPSBGaW5kV2lkZ2V0Ow0KICAgICAgICB9KShXaWRnZXRzID0gVGhpbmcuV2lkZ2V0cyB8fCAoVGhpbmcuV2lkZ2V0cyA9IHt9KSk7DQogICAgfSkoVGhpbmcgPSBTYW1wbGUuVGhpbmcgfHwgKFNhbXBsZS5UaGluZyA9IHt9KSk7DQp9KShTYW1wbGUgfHwgKFNhbXBsZSA9IHt9KSk7DQpjbGFzcyBBYnN0cmFjdE1vZGUgew0KICAgIGdldEluaXRpYWxTdGF0ZSgpIHsgcmV0dXJuIG51bGw7IH0NCn0NCihmdW5jdGlvbiAoU2FtcGxlKSB7DQogICAgdmFyIFRoaW5nOw0KICAgIChmdW5jdGlvbiAoVGhpbmcpIHsNCiAgICAgICAgdmFyIExhbmd1YWdlczsNCiAgICAgICAgKGZ1bmN0aW9uIChMYW5ndWFnZXMpIHsNCiAgICAgICAgICAgIHZhciBQbGFpblRleHQ7DQogICAgICAgICAgICAoZnVuY3Rpb24gKFBsYWluVGV4dCkgew0KICAgICAgICAgICAgICAgIGNsYXNzIFN0YXRlIHsNCiAgICAgICAgICAgICAgICAgICAgY29uc3RydWN0b3IobW9kZSkgew0KICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5tb2RlID0gbW9kZTsNCiAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgICBjbG9uZSgpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB0aGlzOw0KICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgIGVxdWFscyhvdGhlcikgew0KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMgPT09IG90aGVyOw0KICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgIGdldE1vZGUoKSB7IHJldHVybiBtb2RlOyB9DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIFBsYWluVGV4dC5TdGF0ZSA9IFN0YXRlOw0KICAgICAgICAgICAgICAgIGNsYXNzIE1vZGUgZXh0ZW5kcyBBYnN0cmFjdE1vZGUgew0KICAgICAgICAgICAgICAgICAgICAvLyBzY2VuYXJpbyAyDQogICAgICAgICAgICAgICAgICAgIGdldEluaXRpYWxTdGF0ZSgpIHsNCiAgICAgICAgICAgICAgICAgIC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AAO,IAAI,CAAC,CAAA,CAAE;iBACxC;gBAXY,UAAA,KAAK,QAWjB,CAAA;gBAED,MAAa,IAAK,SAAQ,YAAY;oBAErC,aAAa;oBACN,eAAe,GAAW;wBAChC,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC;oBAAA,CACvB;iBAGD;gBARY,UAAA,IAAI,OAQhB,CAAA;YAAA,CACD,EAxB6B,SAAS,GAAT,UAAA,SAAS,KAAT,UAAA,SAAS,QAwBtC;QADC,CACF,AAnGA,EA2EoB,SAAS,GAAT,MAAA,SAAS,KAAT,MAAA,SAAS,QAwB5B;IADC,CACF,AAnGA,EA2Ec,KAAK,GAAL,OAAA,KAAK,KAAL,OAAA,KAAK,QAwBlB;AADC,CACF,AAnGA,EA2EO,MAAM,KAAN,MAAM,QAwBZ"}
+//// https://sokra.github.io/source-map-visualization#base64,dmFyIFNhbXBsZTsNCihmdW5jdGlvbiAoU2FtcGxlKSB7DQogICAgbGV0IEFjdGlvbnM7DQogICAgKGZ1bmN0aW9uIChBY3Rpb25zKSB7DQogICAgICAgIGxldCBUaGluZzsNCiAgICAgICAgKGZ1bmN0aW9uIChUaGluZ18xKSB7DQogICAgICAgICAgICBsZXQgRmluZDsNCiAgICAgICAgICAgIChmdW5jdGlvbiAoRmluZCkgew0KICAgICAgICAgICAgICAgIGNsYXNzIFN0YXJ0RmluZEFjdGlvbiB7DQogICAgICAgICAgICAgICAgICAgIGdldElkKCkgeyByZXR1cm4gInlvIjsgfQ0KICAgICAgICAgICAgICAgICAgICBydW4oVGhpbmcpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB0cnVlOw0KICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIEZpbmQuU3RhcnRGaW5kQWN0aW9uID0gU3RhcnRGaW5kQWN0aW9uOw0KICAgICAgICAgICAgfSkoRmluZCA9IFRoaW5nXzEuRmluZCB8fCAoVGhpbmdfMS5GaW5kID0ge30pKTsNCiAgICAgICAgfSkoVGhpbmcgPSBBY3Rpb25zLlRoaW5nIHx8IChBY3Rpb25zLlRoaW5nID0ge30pKTsNCiAgICB9KShBY3Rpb25zID0gU2FtcGxlLkFjdGlvbnMgfHwgKFNhbXBsZS5BY3Rpb25zID0ge30pKTsNCn0pKFNhbXBsZSB8fCAoU2FtcGxlID0ge30pKTsNCihmdW5jdGlvbiAoU2FtcGxlKSB7DQogICAgbGV0IFRoaW5nOw0KICAgIChmdW5jdGlvbiAoVGhpbmcpIHsNCiAgICAgICAgbGV0IFdpZGdldHM7DQogICAgICAgIChmdW5jdGlvbiAoV2lkZ2V0cykgew0KICAgICAgICAgICAgY2xhc3MgRmluZFdpZGdldCB7DQogICAgICAgICAgICAgICAgY29kZVRoaW5nOw0KICAgICAgICAgICAgICAgIGdhcihydW5uZXIpIHsgaWYgKHRydWUpIHsNCiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHJ1bm5lcih0aGlzKTsNCiAgICAgICAgICAgICAgICB9IH0NCiAgICAgICAgICAgICAgICBkb21Ob2RlID0gbnVsbDsNCiAgICAgICAgICAgICAgICBjb25zdHJ1Y3Rvcihjb2RlVGhpbmcpIHsNCiAgICAgICAgICAgICAgICAgICAgdGhpcy5jb2RlVGhpbmcgPSBjb2RlVGhpbmc7DQogICAgICAgICAgICAgICAgICAgIC8vIHNjZW5hcmlvIDENCiAgICAgICAgICAgICAgICAgICAgY29kZVRoaW5nLmFkZFdpZGdldCgiYWRkV2lkZ2V0IiwgdGhpcyk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGdldERvbU5vZGUoKSB7DQogICAgICAgICAgICAgICAgICAgIHJldHVybiBkb21Ob2RlOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBkZXN0cm95KCkgew0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIFdpZGdldHMuRmluZFdpZGdldCA9IEZpbmRXaWRnZXQ7DQogICAgICAgIH0pKFdpZGdldHMgPSBUaGluZy5XaWRnZXRzIHx8IChUaGluZy5XaWRnZXRzID0ge30pKTsNCiAgICB9KShUaGluZyA9IFNhbXBsZS5UaGluZyB8fCAoU2FtcGxlLlRoaW5nID0ge30pKTsNCn0pKFNhbXBsZSB8fCAoU2FtcGxlID0ge30pKTsNCmNsYXNzIEFic3RyYWN0TW9kZSB7DQogICAgZ2V0SW5pdGlhbFN0YXRlKCkgeyByZXR1cm4gbnVsbDsgfQ0KfQ0KKGZ1bmN0aW9uIChTYW1wbGUpIHsNCiAgICBsZXQgVGhpbmc7DQogICAgKGZ1bmN0aW9uIChUaGluZykgew0KICAgICAgICBsZXQgTGFuZ3VhZ2VzOw0KICAgICAgICAoZnVuY3Rpb24gKExhbmd1YWdlcykgew0KICAgICAgICAgICAgbGV0IFBsYWluVGV4dDsNCiAgICAgICAgICAgIChmdW5jdGlvbiAoUGxhaW5UZXh0KSB7DQogICAgICAgICAgICAgICAgY2xhc3MgU3RhdGUgew0KICAgICAgICAgICAgICAgICAgICBtb2RlOw0KICAgICAgICAgICAgICAgICAgICBjb25zdHJ1Y3Rvcihtb2RlKSB7DQogICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm1vZGUgPSBtb2RlOw0KICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgIGNsb25lKCkgew0KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRoaXM7DQogICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgZXF1YWxzKG90aGVyKSB7DQogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdGhpcyA9PT0gb3RoZXI7DQogICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgZ2V0TW9kZSgpIHsgcmV0dXJuIG1vZGU7IH0NCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgUGxhaW5UZXh0LlN0YXRlID0gU3Rhd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ZSB7IGdldEluaXRpYWxTdGF0ZSgpOiBJU3RhdGU7fSAKY2xhc3MgQWJzdHJhY3RNb2RlIGltcGxlbWVudHMgSU1vZGUgeyBwdWJsaWMgZ2V0SW5pdGlhbFN0YXRlKCk6IElTdGF0ZSB7IHJldHVybiBudWxsO30gfQoKaW50ZXJmYWNlIElTdGF0ZSB7fQoKaW50ZXJmYWNlIFdpbmRvdyB7CiAgICBvcGVuZXI6IFdpbmRvdzsKfQpkZWNsYXJlIHZhciBzZWxmOiBXaW5kb3c7Cgptb2R1bGUgU2FtcGxlLlRoaW5nLkxhbmd1YWdlcy5QbGFpblRleHQgewoJCglleHBvcnQgY2xhc3MgU3RhdGUgaW1wbGVtZW50cyBJU3RhdGUgewkJCiAgICAgICAgY29uc3RydWN0b3IocHJpdmF0ZSBtb2RlOiBJTW9kZSkgeyB9CgkJcHVibGljIGNsb25lKCk6SVN0YXRlIHsKCQkJcmV0dXJuIHRoaXM7CgkJfQoKCQlwdWJsaWMgZXF1YWxzKG90aGVyOklTdGF0ZSk6Ym9vbGVhbiB7CgkJCXJldHVybiB0aGlzID09PSBvdGhlcjsKCQl9CgkJCgkJcHVibGljIGdldE1vZGUoKTogSU1vZGUgeyByZXR1cm4gbW9kZTsgfQoJfQoJCglleHBvcnQgY2xhc3MgTW9kZSBleHRlbmRzIEFic3RyYWN0TW9kZSB7CgoJCS8vIHNjZW5hcmlvIDIKCQlwdWJsaWMgZ2V0SW5pdGlhbFN0YXRlKCk6IElTdGF0ZSB7CgkJCXJldHVybiBuZXcgU3RhdGUoc2VsZik7CgkJfQoKCgl9Cn0KCg==
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveClassReferenceTest.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/recursiveClassReferenceTest.sourcemap.txt.diff
index 1247f7aa3f..93b2d5d6c0 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveClassReferenceTest.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveClassReferenceTest.sourcemap.txt.diff
@@ -22,21 +22,6 @@
-1->Emitted(2, 1) Source(2, 1) + SourceIndex(0)
-2 >Emitted(2, 75) Source(2, 75) + SourceIndex(0)
----
-->>>var __extends = (this && this.__extends) || (function () {
-->>> var extendStatics = function (d, b) {
-->>> extendStatics = Object.setPrototypeOf ||
-->>> ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-->>> function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-->>> return extendStatics(d, b);
-->>> };
-->>> return function (d, b) {
-->>> if (typeof b !== "function" && b !== null)
-->>> throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-->>> extendStatics(d, b);
-->>> function __() { this.constructor = d; }
-->>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-->>> };
-->>>})();
>>>var Sample;
1 >
2 >^^^^
@@ -50,7 +35,7 @@
>
>
>
-@@= skipped -71, +38 lines =@@
+@@= skipped -56, +38 lines =@@
>
>
2 >module
@@ -66,10 +51,10 @@
- > }
- > }
- > }
--1 >Emitted(18, 1) Source(32, 1) + SourceIndex(0)
--2 >Emitted(18, 5) Source(32, 8) + SourceIndex(0)
--3 >Emitted(18, 11) Source(32, 14) + SourceIndex(0)
--4 >Emitted(18, 12) Source(42, 2) + SourceIndex(0)
+-1 >Emitted(3, 1) Source(32, 1) + SourceIndex(0)
+-2 >Emitted(3, 5) Source(32, 8) + SourceIndex(0)
+-3 >Emitted(3, 11) Source(32, 14) + SourceIndex(0)
+-4 >Emitted(3, 12) Source(42, 2) + SourceIndex(0)
+3 > Sample.Actions.Thing.Find {
+ > export class StartFindAction implements Sample.Thing.IAction {
+ >
@@ -93,9 +78,9 @@
1->
2 >module
3 > Sample
--1->Emitted(19, 1) Source(32, 1) + SourceIndex(0)
--2 >Emitted(19, 12) Source(32, 8) + SourceIndex(0)
--3 >Emitted(19, 18) Source(32, 14) + SourceIndex(0)
+-1->Emitted(4, 1) Source(32, 1) + SourceIndex(0)
+-2 >Emitted(4, 12) Source(32, 8) + SourceIndex(0)
+-3 >Emitted(4, 18) Source(32, 14) + SourceIndex(0)
+4 >
+1->Emitted(2, 1) Source(32, 1) + SourceIndex(0)
+2 >Emitted(2, 12) Source(32, 8) + SourceIndex(0)
@@ -151,10 +136,10 @@
- > }
- > }
- > }
--1 >Emitted(20, 5) Source(32, 15) + SourceIndex(0)
--2 >Emitted(20, 9) Source(32, 15) + SourceIndex(0)
--3 >Emitted(20, 16) Source(32, 22) + SourceIndex(0)
--4 >Emitted(20, 17) Source(42, 2) + SourceIndex(0)
+-1 >Emitted(5, 5) Source(32, 15) + SourceIndex(0)
+-2 >Emitted(5, 9) Source(32, 15) + SourceIndex(0)
+-3 >Emitted(5, 16) Source(32, 22) + SourceIndex(0)
+-4 >Emitted(5, 17) Source(42, 2) + SourceIndex(0)
+3 > Actions.Thing.Find {
+ > export class StartFindAction implements Sample.Thing.IAction {
+ >
@@ -178,9 +163,9 @@
1->
2 >
3 > Actions
--1->Emitted(21, 5) Source(32, 15) + SourceIndex(0)
--2 >Emitted(21, 16) Source(32, 15) + SourceIndex(0)
--3 >Emitted(21, 23) Source(32, 22) + SourceIndex(0)
+-1->Emitted(6, 5) Source(32, 15) + SourceIndex(0)
+-2 >Emitted(6, 16) Source(32, 15) + SourceIndex(0)
+-3 >Emitted(6, 23) Source(32, 22) + SourceIndex(0)
+4 >
+1->Emitted(4, 5) Source(32, 15) + SourceIndex(0)
+2 >Emitted(4, 16) Source(32, 15) + SourceIndex(0)
@@ -236,10 +221,10 @@
- > }
- > }
- > }
--1 >Emitted(22, 9) Source(32, 23) + SourceIndex(0)
--2 >Emitted(22, 13) Source(32, 23) + SourceIndex(0)
--3 >Emitted(22, 18) Source(32, 28) + SourceIndex(0)
--4 >Emitted(22, 19) Source(42, 2) + SourceIndex(0)
+-1 >Emitted(7, 9) Source(32, 23) + SourceIndex(0)
+-2 >Emitted(7, 13) Source(32, 23) + SourceIndex(0)
+-3 >Emitted(7, 18) Source(32, 28) + SourceIndex(0)
+-4 >Emitted(7, 19) Source(42, 2) + SourceIndex(0)
+3 > Thing.Find {
+ > export class StartFindAction implements Sample.Thing.IAction {
+ >
@@ -263,9 +248,9 @@
1->
2 >
3 > Thing
--1->Emitted(23, 9) Source(32, 23) + SourceIndex(0)
--2 >Emitted(23, 20) Source(32, 23) + SourceIndex(0)
--3 >Emitted(23, 27) Source(32, 28) + SourceIndex(0)
+-1->Emitted(8, 9) Source(32, 23) + SourceIndex(0)
+-2 >Emitted(8, 20) Source(32, 23) + SourceIndex(0)
+-3 >Emitted(8, 27) Source(32, 28) + SourceIndex(0)
+4 >
+1->Emitted(6, 9) Source(32, 23) + SourceIndex(0)
+2 >Emitted(6, 20) Source(32, 23) + SourceIndex(0)
@@ -321,10 +306,10 @@
- > }
- > }
- > }
--1 >Emitted(24, 13) Source(32, 29) + SourceIndex(0)
--2 >Emitted(24, 17) Source(32, 29) + SourceIndex(0)
--3 >Emitted(24, 21) Source(32, 33) + SourceIndex(0)
--4 >Emitted(24, 22) Source(42, 2) + SourceIndex(0)
+-1 >Emitted(9, 13) Source(32, 29) + SourceIndex(0)
+-2 >Emitted(9, 17) Source(32, 29) + SourceIndex(0)
+-3 >Emitted(9, 21) Source(32, 33) + SourceIndex(0)
+-4 >Emitted(9, 22) Source(42, 2) + SourceIndex(0)
+3 > Find {
+ > export class StartFindAction implements Sample.Thing.IAction {
+ >
@@ -344,77 +329,47 @@
1->^^^^^^^^^^^^
2 > ^^^^^^^^^^^
3 > ^^^^
--4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-4 > ^^^^^^^^^^^^^->
+4 > ^^
+5 > ^^^^^^^^^^^->
1->
2 >
3 > Find
--1->Emitted(25, 13) Source(32, 29) + SourceIndex(0)
--2 >Emitted(25, 24) Source(32, 29) + SourceIndex(0)
--3 >Emitted(25, 28) Source(32, 33) + SourceIndex(0)
+-1->Emitted(10, 13) Source(32, 29) + SourceIndex(0)
+-2 >Emitted(10, 24) Source(32, 29) + SourceIndex(0)
+-3 >Emitted(10, 28) Source(32, 33) + SourceIndex(0)
+4 >
+1->Emitted(8, 13) Source(32, 29) + SourceIndex(0)
+2 >Emitted(8, 24) Source(32, 29) + SourceIndex(0)
+3 >Emitted(8, 28) Source(32, 33) + SourceIndex(0)
+4 >Emitted(8, 30) Source(32, 34) + SourceIndex(0)
---
-->>> var StartFindAction = /** @class */ (function () {
-+>>> class StartFindAction {
+ >>> class StartFindAction {
1->^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 2 > ^^^^^^
+ 3 > ^^^^^^^^^^^^^^^
+ 4 > ^^^^^^^^->
-1-> {
-- >
--1->Emitted(26, 17) Source(33, 2) + SourceIndex(0)
-----
-->>> function StartFindAction() {
--1->^^^^^^^^^^^^^^^^^^^^
--2 > ^^->
--1->
--1->Emitted(27, 21) Source(33, 2) + SourceIndex(0)
-----
-->>> }
--1->^^^^^^^^^^^^^^^^^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1->export class StartFindAction implements Sample.Thing.IAction {
-- >
-- > public getId() { return "yo"; }
-- >
-- > public run(Thing:Sample.Thing.ICodeThing):boolean {
-- >
-- > return true;
-- > }
-- >
--2 > }
--1->Emitted(28, 21) Source(41, 2) + SourceIndex(0)
--2 >Emitted(28, 22) Source(41, 3) + SourceIndex(0)
-----
-->>> StartFindAction.prototype.getId = function () { return "yo"; };
--1->^^^^^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^^^^^
--5 > ^^^^^^^
--6 > ^^^^
--7 > ^
--8 > ^
--9 > ^
--1->
-+2 > ^^^^^^
-+3 > ^^^^^^^^^^^^^^^
-+4 > ^^^^^^^^->
+1->{
-+ >
-+2 > export class
-+3 > StartFindAction
+ >
+ 2 > export class
+ 3 > StartFindAction
+-1->Emitted(11, 17) Source(33, 2) + SourceIndex(0)
+-2 >Emitted(11, 23) Source(33, 15) + SourceIndex(0)
+-3 >Emitted(11, 38) Source(33, 30) + SourceIndex(0)
+1->Emitted(9, 17) Source(33, 2) + SourceIndex(0)
+2 >Emitted(9, 23) Source(33, 15) + SourceIndex(0)
+3 >Emitted(9, 38) Source(33, 30) + SourceIndex(0)
-+---
-+>>> getId() { return "yo"; }
-+1->^^^^^^^^^^^^^^^^^^^^
-+2 > ^^^^^
+ ---
+ >>> getId() { return "yo"; }
+ 1->^^^^^^^^^^^^^^^^^^^^
+ 2 > ^^^^^
+-3 > ^^^^^
+-4 > ^^^^^^^
+-5 > ^^^^
+-6 > ^
+-7 > ^
+-8 > ^
+3 > ^^^
+4 > ^^
+5 > ^^^^^^^
@@ -422,26 +377,24 @@
+7 > ^
+8 > ^
+9 > ^
-+1-> implements Sample.Thing.IAction {
-+ >
-+ > public
+ 1-> implements Sample.Thing.IAction {
+ >
+ > public
2 > getId
--3 >
--4 > public getId() {
--5 > return
--6 > "yo"
--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)
+-3 > () {
+-4 > return
+-5 > "yo"
+-6 > ;
+-7 >
+-8 > }
+-1->Emitted(12, 21) Source(35, 10) + SourceIndex(0)
+-2 >Emitted(12, 26) Source(35, 15) + SourceIndex(0)
+-3 >Emitted(12, 31) Source(35, 20) + SourceIndex(0)
+-4 >Emitted(12, 38) Source(35, 27) + SourceIndex(0)
+-5 >Emitted(12, 42) Source(35, 31) + SourceIndex(0)
+-6 >Emitted(12, 43) Source(35, 32) + SourceIndex(0)
+-7 >Emitted(12, 44) Source(35, 33) + SourceIndex(0)
+-8 >Emitted(12, 45) Source(35, 34) + SourceIndex(0)
+3 > ()
+4 > {
+5 > return
@@ -459,32 +412,24 @@
+8 >Emitted(10, 44) Source(35, 32) + SourceIndex(0)
+9 >Emitted(10, 45) Source(35, 34) + SourceIndex(0)
---
-->>> StartFindAction.prototype.run = function (Thing) {
-+>>> run(Thing) {
+ >>> run(Thing) {
1 >^^^^^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^
--5 > ^^^^^
-+2 > ^^^
-+3 > ^
-+4 > ^^^^^
+ 2 > ^^^
+ 3 > ^
+ 4 > ^^^^^
+-5 > ^^^^^^^^->
+5 > ^^
+6 > ^^^^^^->
1 >
>
> public
2 > run
--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)
-+3 > (
-+4 > Thing:Sample.Thing.ICodeThing
+ 3 > (
+ 4 > Thing:Sample.Thing.ICodeThing
+-1 >Emitted(13, 21) Source(37, 10) + SourceIndex(0)
+-2 >Emitted(13, 24) Source(37, 13) + SourceIndex(0)
+-3 >Emitted(13, 25) Source(37, 14) + SourceIndex(0)
+-4 >Emitted(13, 30) Source(37, 43) + SourceIndex(0)
+5 > ):boolean
+1 >Emitted(11, 21) Source(37, 10) + SourceIndex(0)
+2 >Emitted(11, 24) Source(37, 13) + SourceIndex(0)
@@ -493,80 +438,45 @@
+5 >Emitted(11, 32) Source(37, 53) + SourceIndex(0)
---
>>> return true;
--1 >^^^^^^^^^^^^^^^^^^^^^^^^
-+1->^^^^^^^^^^^^^^^^^^^^^^^^
+ 1->^^^^^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^
3 > ^^^^
4 > ^
--1 >):boolean {
+-1->):boolean {
+1->{
>
>
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(14, 25) Source(39, 4) + SourceIndex(0)
+-2 >Emitted(14, 32) Source(39, 11) + SourceIndex(0)
+-3 >Emitted(14, 36) Source(39, 15) + SourceIndex(0)
+-4 >Emitted(14, 37) Source(39, 16) + SourceIndex(0)
+1->Emitted(12, 25) Source(39, 4) + SourceIndex(0)
+2 >Emitted(12, 32) Source(39, 11) + SourceIndex(0)
+3 >Emitted(12, 36) Source(39, 15) + SourceIndex(0)
+4 >Emitted(12, 37) Source(39, 16) + SourceIndex(0)
---
-->>> };
-+>>> }
+ >>> }
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
+ 1 >
- >
-2 > }
--1 >Emitted(32, 21) Source(40, 3) + SourceIndex(0)
--2 >Emitted(32, 22) Source(40, 4) + SourceIndex(0)
-----
-->>> return StartFindAction;
--1->^^^^^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^
--1->
-- >
--2 > }
--1->Emitted(33, 21) Source(41, 2) + SourceIndex(0)
--2 >Emitted(33, 43) Source(41, 3) + SourceIndex(0)
-----
-->>> }());
--1 >^^^^^^^^^^^^^^^^
--2 > ^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 > }
--3 >
--4 > export class StartFindAction implements Sample.Thing.IAction {
-- >
-- > public getId() { return "yo"; }
-- >
-- > public run(Thing:Sample.Thing.ICodeThing):boolean {
-- >
-- > 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 >
+-1 >Emitted(15, 21) Source(40, 3) + SourceIndex(0)
+-2 >Emitted(15, 22) Source(40, 4) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(13, 21) Source(39, 16) + SourceIndex(0)
+2 >Emitted(13, 22) Source(40, 4) + SourceIndex(0)
-+---
-+>>> }
-+1 >^^^^^^^^^^^^^^^^^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ > }
+ ---
+ >>> }
+ 1 >^^^^^^^^^^^^^^^^^
+ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 1 >
+ > }
+-1 >Emitted(16, 18) Source(41, 3) + SourceIndex(0)
+1 >Emitted(14, 18) Source(41, 3) + SourceIndex(0)
---
>>> Find.StartFindAction = StartFindAction;
@@ -589,15 +499,15 @@
>
> public getId() { return "yo"; }
>
-@@= skipped -290, +331 lines =@@
+@@= skipped -244, +331 lines =@@
> return true;
> }
> }
-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(17, 17) Source(33, 15) + SourceIndex(0)
+-2 >Emitted(17, 37) Source(33, 30) + SourceIndex(0)
+-3 >Emitted(17, 55) Source(41, 3) + SourceIndex(0)
+-4 >Emitted(17, 56) Source(41, 3) + SourceIndex(0)
+5 >
+1->Emitted(15, 17) Source(33, 15) + SourceIndex(0)
+2 >Emitted(15, 22) Source(33, 15) + SourceIndex(0)
@@ -646,15 +556,15 @@
> }
> }
> }
--1->Emitted(36, 13) Source(42, 1) + SourceIndex(0)
--2 >Emitted(36, 14) Source(42, 2) + SourceIndex(0)
--3 >Emitted(36, 16) Source(32, 29) + SourceIndex(0)
--4 >Emitted(36, 20) Source(32, 33) + SourceIndex(0)
--5 >Emitted(36, 23) Source(32, 29) + SourceIndex(0)
--6 >Emitted(36, 35) Source(32, 33) + SourceIndex(0)
--7 >Emitted(36, 40) Source(32, 29) + SourceIndex(0)
--8 >Emitted(36, 52) Source(32, 33) + SourceIndex(0)
--9 >Emitted(36, 60) Source(42, 2) + SourceIndex(0)
+-1->Emitted(18, 13) Source(42, 1) + SourceIndex(0)
+-2 >Emitted(18, 14) Source(42, 2) + SourceIndex(0)
+-3 >Emitted(18, 16) Source(32, 29) + SourceIndex(0)
+-4 >Emitted(18, 20) Source(32, 33) + SourceIndex(0)
+-5 >Emitted(18, 23) Source(32, 29) + SourceIndex(0)
+-6 >Emitted(18, 35) Source(32, 33) + SourceIndex(0)
+-7 >Emitted(18, 40) Source(32, 29) + SourceIndex(0)
+-8 >Emitted(18, 52) Source(32, 33) + SourceIndex(0)
+-9 >Emitted(18, 60) Source(42, 2) + SourceIndex(0)
+1->Emitted(16, 13) Source(41, 3) + SourceIndex(0)
+2 >Emitted(16, 14) Source(42, 2) + SourceIndex(0)
+3 >Emitted(16, 16) Source(32, 29) + SourceIndex(0)
@@ -747,15 +657,15 @@
> }
> }
> }
--1 >Emitted(37, 9) Source(42, 1) + SourceIndex(0)
--2 >Emitted(37, 10) Source(42, 2) + SourceIndex(0)
--3 >Emitted(37, 12) Source(32, 23) + SourceIndex(0)
--4 >Emitted(37, 17) Source(32, 28) + SourceIndex(0)
--5 >Emitted(37, 20) Source(32, 23) + SourceIndex(0)
--6 >Emitted(37, 33) Source(32, 28) + SourceIndex(0)
--7 >Emitted(37, 38) Source(32, 23) + SourceIndex(0)
--8 >Emitted(37, 51) Source(32, 28) + SourceIndex(0)
--9 >Emitted(37, 59) Source(42, 2) + SourceIndex(0)
+-1 >Emitted(19, 9) Source(42, 1) + SourceIndex(0)
+-2 >Emitted(19, 10) Source(42, 2) + SourceIndex(0)
+-3 >Emitted(19, 12) Source(32, 23) + SourceIndex(0)
+-4 >Emitted(19, 17) Source(32, 28) + SourceIndex(0)
+-5 >Emitted(19, 20) Source(32, 23) + SourceIndex(0)
+-6 >Emitted(19, 33) Source(32, 28) + SourceIndex(0)
+-7 >Emitted(19, 38) Source(32, 23) + SourceIndex(0)
+-8 >Emitted(19, 51) Source(32, 28) + SourceIndex(0)
+-9 >Emitted(19, 59) Source(42, 2) + SourceIndex(0)
+1 >Emitted(17, 9) Source(41, 3) + SourceIndex(0)
+2 >Emitted(17, 10) Source(42, 1) + SourceIndex(0)
+3 >Emitted(17, 10) Source(1, 1) + SourceIndex(0)
@@ -847,15 +757,15 @@
> }
> }
> }
--1->Emitted(38, 5) Source(42, 1) + SourceIndex(0)
--2 >Emitted(38, 6) Source(42, 2) + SourceIndex(0)
--3 >Emitted(38, 8) Source(32, 15) + SourceIndex(0)
--4 >Emitted(38, 15) Source(32, 22) + SourceIndex(0)
--5 >Emitted(38, 18) Source(32, 15) + SourceIndex(0)
--6 >Emitted(38, 32) Source(32, 22) + SourceIndex(0)
--7 >Emitted(38, 37) Source(32, 15) + SourceIndex(0)
--8 >Emitted(38, 51) Source(32, 22) + SourceIndex(0)
--9 >Emitted(38, 59) Source(42, 2) + SourceIndex(0)
+-1->Emitted(20, 5) Source(42, 1) + SourceIndex(0)
+-2 >Emitted(20, 6) Source(42, 2) + SourceIndex(0)
+-3 >Emitted(20, 8) Source(32, 15) + SourceIndex(0)
+-4 >Emitted(20, 15) Source(32, 22) + SourceIndex(0)
+-5 >Emitted(20, 18) Source(32, 15) + SourceIndex(0)
+-6 >Emitted(20, 32) Source(32, 22) + SourceIndex(0)
+-7 >Emitted(20, 37) Source(32, 15) + SourceIndex(0)
+-8 >Emitted(20, 51) Source(32, 22) + SourceIndex(0)
+-9 >Emitted(20, 59) Source(42, 2) + SourceIndex(0)
+1->Emitted(18, 5) Source(41, 3) + SourceIndex(0)
+2 >Emitted(18, 6) Source(42, 1) + SourceIndex(0)
+3 >Emitted(18, 6) Source(1, 1) + SourceIndex(0)
@@ -935,13 +845,13 @@
> }
> }
> }
--1 >Emitted(39, 1) Source(42, 1) + SourceIndex(0)
--2 >Emitted(39, 2) Source(42, 2) + SourceIndex(0)
--3 >Emitted(39, 4) Source(32, 8) + SourceIndex(0)
--4 >Emitted(39, 10) Source(32, 14) + SourceIndex(0)
--5 >Emitted(39, 15) Source(32, 8) + SourceIndex(0)
--6 >Emitted(39, 21) Source(32, 14) + SourceIndex(0)
--7 >Emitted(39, 29) Source(42, 2) + SourceIndex(0)
+-1 >Emitted(21, 1) Source(42, 1) + SourceIndex(0)
+-2 >Emitted(21, 2) Source(42, 2) + SourceIndex(0)
+-3 >Emitted(21, 4) Source(32, 8) + SourceIndex(0)
+-4 >Emitted(21, 10) Source(32, 14) + SourceIndex(0)
+-5 >Emitted(21, 15) Source(32, 8) + SourceIndex(0)
+-6 >Emitted(21, 21) Source(32, 14) + SourceIndex(0)
+-7 >Emitted(21, 29) Source(42, 2) + SourceIndex(0)
+1 >Emitted(19, 1) Source(41, 3) + SourceIndex(0)
+2 >Emitted(19, 2) Source(42, 1) + SourceIndex(0)
+3 >Emitted(19, 2) Source(1, 1) + SourceIndex(0)
@@ -961,9 +871,9 @@
>
2 >module
3 > Sample
--1 >Emitted(40, 1) Source(44, 1) + SourceIndex(0)
--2 >Emitted(40, 12) Source(44, 8) + SourceIndex(0)
--3 >Emitted(40, 18) Source(44, 14) + SourceIndex(0)
+-1 >Emitted(22, 1) Source(44, 1) + SourceIndex(0)
+-2 >Emitted(22, 12) Source(44, 8) + SourceIndex(0)
+-3 >Emitted(22, 18) Source(44, 14) + SourceIndex(0)
+4 >
+1 >Emitted(20, 1) Source(44, 1) + SourceIndex(0)
+2 >Emitted(20, 12) Source(44, 8) + SourceIndex(0)
@@ -1041,10 +951,10 @@
- >
- > }
- > }
--1 >Emitted(41, 5) Source(44, 15) + SourceIndex(0)
--2 >Emitted(41, 9) Source(44, 15) + SourceIndex(0)
--3 >Emitted(41, 14) Source(44, 20) + SourceIndex(0)
--4 >Emitted(41, 15) Source(64, 2) + SourceIndex(0)
+-1 >Emitted(23, 5) Source(44, 15) + SourceIndex(0)
+-2 >Emitted(23, 9) Source(44, 15) + SourceIndex(0)
+-3 >Emitted(23, 14) Source(44, 20) + SourceIndex(0)
+-4 >Emitted(23, 15) Source(64, 2) + SourceIndex(0)
+3 > Thing.Widgets {
+ > export class FindWidget implements Sample.Thing.IWidget {
+ >
@@ -1079,9 +989,9 @@
1->
2 >
3 > Thing
--1->Emitted(42, 5) Source(44, 15) + SourceIndex(0)
--2 >Emitted(42, 16) Source(44, 15) + SourceIndex(0)
--3 >Emitted(42, 21) Source(44, 20) + SourceIndex(0)
+-1->Emitted(24, 5) Source(44, 15) + SourceIndex(0)
+-2 >Emitted(24, 16) Source(44, 15) + SourceIndex(0)
+-3 >Emitted(24, 21) Source(44, 20) + SourceIndex(0)
+4 >
+1->Emitted(22, 5) Source(44, 15) + SourceIndex(0)
+2 >Emitted(22, 16) Source(44, 15) + SourceIndex(0)
@@ -1160,10 +1070,10 @@
- >
- > }
- > }
--1->Emitted(43, 9) Source(44, 21) + SourceIndex(0)
--2 >Emitted(43, 13) Source(44, 21) + SourceIndex(0)
--3 >Emitted(43, 20) Source(44, 28) + SourceIndex(0)
--4 >Emitted(43, 21) Source(64, 2) + SourceIndex(0)
+-1->Emitted(25, 9) Source(44, 21) + SourceIndex(0)
+-2 >Emitted(25, 13) Source(44, 21) + SourceIndex(0)
+-3 >Emitted(25, 20) Source(44, 28) + SourceIndex(0)
+-4 >Emitted(25, 21) Source(64, 2) + SourceIndex(0)
+3 > Widgets {
+ > export class FindWidget implements Sample.Thing.IWidget {
+ >
@@ -1193,62 +1103,65 @@
1->^^^^^^^^
2 > ^^^^^^^^^^^
3 > ^^^^^^^
--4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-4 > ^^^^^->
+4 > ^^
+5 > ^^^->
1->
2 >
3 > Widgets
--1->Emitted(44, 9) Source(44, 21) + SourceIndex(0)
--2 >Emitted(44, 20) Source(44, 21) + SourceIndex(0)
--3 >Emitted(44, 27) Source(44, 28) + SourceIndex(0)
+-1->Emitted(26, 9) Source(44, 21) + SourceIndex(0)
+-2 >Emitted(26, 20) Source(44, 21) + SourceIndex(0)
+-3 >Emitted(26, 27) Source(44, 28) + SourceIndex(0)
+4 >
+1->Emitted(24, 9) Source(44, 21) + SourceIndex(0)
+2 >Emitted(24, 20) Source(44, 21) + SourceIndex(0)
+3 >Emitted(24, 27) Source(44, 28) + SourceIndex(0)
+4 >Emitted(24, 29) Source(44, 29) + SourceIndex(0)
---
-->>> var FindWidget = /** @class */ (function () {
-+>>> class FindWidget {
+ >>> class FindWidget {
1->^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 2 > ^^^^^^
+ 3 > ^^^^^^^^^^
+-4 > ^^^^^^^^^^^^^^->
-1-> {
-+2 > ^^^^^^
-+3 > ^^^^^^^^^^
+1->{
>
--1->Emitted(45, 13) Source(45, 2) + SourceIndex(0)
-+2 > export class
-+3 > FindWidget
+ 2 > export class
+ 3 > FindWidget
+-1->Emitted(27, 13) Source(45, 2) + SourceIndex(0)
+-2 >Emitted(27, 19) Source(45, 15) + SourceIndex(0)
+-3 >Emitted(27, 29) Source(45, 25) + SourceIndex(0)
+1->Emitted(25, 13) Source(45, 2) + SourceIndex(0)
+2 >Emitted(25, 19) Source(45, 15) + SourceIndex(0)
+3 >Emitted(25, 29) Source(45, 25) + SourceIndex(0)
- ---
-->>> function FindWidget(codeThing) {
--1->^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^
--3 > ^^^^^^^^^
--4 > ^^^->
--1->export class FindWidget implements Sample.Thing.IWidget {
++---
+>>> codeThing;
+1 >^^^^^^^^^^^^^^^^
+2 > ^^^^^^^^^
+3 > ^^^^^^^^^^^^^^^^^->
+1 > implements Sample.Thing.IWidget {
- >
- > public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
- >
- > private domNode:any = null;
++ >
++ > public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
++ >
++ > private domNode:any = null;
+ > constructor(private
+2 > codeThing
+1 >Emitted(26, 17) Source(50, 23) + SourceIndex(0)
+2 >Emitted(26, 26) Source(50, 32) + SourceIndex(0)
-+---
-+>>> gar(runner) { if (true) {
-+1->^^^^^^^^^^^^^^^^
-+2 > ^^^
-+3 > ^
-+4 > ^^^^^^
+ ---
+ >>> gar(runner) { if (true) {
+ 1->^^^^^^^^^^^^^^^^
+ 2 > ^^^
+ 3 > ^
+ 4 > ^^^^^^
+-5 > ^^^^
+-6 > ^^^^
+-7 > ^^^^
+-8 > ^^
+-9 > ^
+-1-> implements Sample.Thing.IWidget {
+- >
+- > public
+5 > ^^
+6 > ^^
+7 > ^^^^
@@ -1256,9 +1169,23 @@
+9 > ^^
+10> ^
+1->
-+2 > gar
-+3 > (
-+4 > runner:(widget:Sample.Thing.IWidget)=>any
+ 2 > gar
+ 3 > (
+ 4 > runner:(widget:Sample.Thing.IWidget)=>any
+-5 > ) {
+-6 > if (
+-7 > true
+-8 > )
+-9 > {
+-1->Emitted(28, 17) Source(47, 10) + SourceIndex(0)
+-2 >Emitted(28, 20) Source(47, 13) + SourceIndex(0)
+-3 >Emitted(28, 21) Source(47, 14) + SourceIndex(0)
+-4 >Emitted(28, 27) Source(47, 55) + SourceIndex(0)
+-5 >Emitted(28, 31) Source(47, 59) + SourceIndex(0)
+-6 >Emitted(28, 35) Source(47, 63) + SourceIndex(0)
+-7 >Emitted(28, 39) Source(47, 67) + SourceIndex(0)
+-8 >Emitted(28, 41) Source(47, 69) + SourceIndex(0)
+-9 >Emitted(28, 42) Source(47, 70) + SourceIndex(0)
+5 > )
+6 > {
+7 > if (
@@ -1275,22 +1202,20 @@
+8 >Emitted(27, 39) Source(47, 67) + SourceIndex(0)
+9 >Emitted(27, 41) Source(47, 69) + SourceIndex(0)
+10>Emitted(27, 42) Source(47, 70) + SourceIndex(0)
-+---
-+>>> return runner(this);
-+1 >^^^^^^^^^^^^^^^^^^^^
-+2 > ^^^^^^^
-+3 > ^^^^^^
-+4 > ^
-+5 > ^^^^
-+6 > ^
-+7 > ^
-+1 >
-+2 > return
-+3 > runner
-+4 > (
-+5 > this
-+6 > )
-+7 > ;
+ ---
+ >>> return runner(this);
+ 1 >^^^^^^^^^^^^^^^^^^^^
+@@= skipped -174, +267 lines =@@
+ 5 > this
+ 6 > )
+ 7 > ;
+-1 >Emitted(29, 21) Source(47, 70) + SourceIndex(0)
+-2 >Emitted(29, 28) Source(47, 77) + SourceIndex(0)
+-3 >Emitted(29, 34) Source(47, 83) + SourceIndex(0)
+-4 >Emitted(29, 35) Source(47, 84) + SourceIndex(0)
+-5 >Emitted(29, 39) Source(47, 88) + SourceIndex(0)
+-6 >Emitted(29, 40) Source(47, 89) + SourceIndex(0)
+-7 >Emitted(29, 41) Source(47, 90) + SourceIndex(0)
+1 >Emitted(28, 21) Source(47, 70) + SourceIndex(0)
+2 >Emitted(28, 28) Source(47, 77) + SourceIndex(0)
+3 >Emitted(28, 34) Source(47, 83) + SourceIndex(0)
@@ -1298,17 +1223,22 @@
+5 >Emitted(28, 39) Source(47, 88) + SourceIndex(0)
+6 >Emitted(28, 40) Source(47, 89) + SourceIndex(0)
+7 >Emitted(28, 41) Source(47, 90) + SourceIndex(0)
-+---
-+>>> } }
-+1 >^^^^^^^^^^^^^^^^
-+2 > ^
-+3 > ^
-+4 > ^
+ ---
+ >>> } }
+ 1 >^^^^^^^^^^^^^^^^
+ 2 > ^
+ 3 > ^
+ 4 > ^
+-5 > ^^^^^^^^^^^^^^^^^^^^^^->
+5 > ^^^^^^^^^^^^^->
-+1 >
-+2 > }
-+3 >
-+4 > }
+ 1 >
+ 2 > }
+ 3 >
+ 4 > }
+-1 >Emitted(30, 17) Source(47, 90) + SourceIndex(0)
+-2 >Emitted(30, 18) Source(47, 91) + SourceIndex(0)
+-3 >Emitted(30, 19) Source(47, 91) + SourceIndex(0)
+-4 >Emitted(30, 20) Source(47, 92) + SourceIndex(0)
+1 >Emitted(29, 17) Source(47, 90) + SourceIndex(0)
+2 >Emitted(29, 18) Source(47, 91) + SourceIndex(0)
+3 >Emitted(29, 19) Source(47, 91) + SourceIndex(0)
@@ -1333,25 +1263,24 @@
+3 >Emitted(30, 27) Source(49, 25) + SourceIndex(0)
+4 >Emitted(30, 31) Source(49, 29) + SourceIndex(0)
+5 >Emitted(30, 32) Source(49, 30) + SourceIndex(0)
-+---
-+>>> constructor(codeThing) {
-+1->^^^^^^^^^^^^^^^^
-+2 > ^^^^^^^^^^^^
-+3 > ^^^^^^^^^
+ ---
+ >>> constructor(codeThing) {
+ 1->^^^^^^^^^^^^^^^^
+ 2 > ^^^^^^^^^^^^
+ 3 > ^^^^^^^^^
+-4 > ^^^^^^^^^^^->
+4 > ^^
+5 > ^^^^^^^^^->
-+1->
+ 1->
+- >
+- > private domNode:any = null;
>
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)
-+3 > codeThing: Sample.Thing.ICodeThing
+ 3 > codeThing: Sample.Thing.ICodeThing
+4 > )
-+1->Emitted(31, 17) Source(50, 3) + SourceIndex(0)
-+2 >Emitted(31, 29) Source(50, 23) + SourceIndex(0)
-+3 >Emitted(31, 38) Source(50, 57) + SourceIndex(0)
+ 1->Emitted(31, 17) Source(50, 3) + SourceIndex(0)
+ 2 >Emitted(31, 29) Source(50, 23) + SourceIndex(0)
+ 3 >Emitted(31, 38) Source(50, 57) + SourceIndex(0)
+4 >Emitted(31, 40) Source(50, 59) + SourceIndex(0)
---
>>> this.codeThing = codeThing;
@@ -1367,11 +1296,11 @@
-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(32, 21) Source(50, 23) + SourceIndex(0)
+-2 >Emitted(32, 35) Source(50, 32) + SourceIndex(0)
+-3 >Emitted(32, 38) Source(50, 23) + SourceIndex(0)
+-4 >Emitted(32, 47) Source(50, 32) + SourceIndex(0)
+-5 >Emitted(32, 48) Source(50, 57) + SourceIndex(0)
----
->>> this.domNode = null;
-1 >^^^^^^^^^^^^^^^^^^^^
@@ -1384,11 +1313,11 @@
-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(33, 21) Source(49, 11) + SourceIndex(0)
+-2 >Emitted(33, 33) Source(49, 18) + SourceIndex(0)
+-3 >Emitted(33, 36) Source(49, 25) + SourceIndex(0)
+-4 >Emitted(33, 40) Source(49, 29) + SourceIndex(0)
+-5 >Emitted(33, 41) Source(49, 30) + SourceIndex(0)
+2 > codeThing
+1->Emitted(32, 38) Source(50, 23) + SourceIndex(0)
+2 >Emitted(32, 47) Source(50, 32) + SourceIndex(0)
@@ -1402,27 +1331,27 @@
+1 >: 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(34, 21) Source(51, 7) + SourceIndex(0)
+-2 >Emitted(34, 34) Source(51, 20) + SourceIndex(0)
+1 >Emitted(33, 21) Source(51, 7) + SourceIndex(0)
+2 >Emitted(33, 34) Source(51, 20) + SourceIndex(0)
---
>>> codeThing.addWidget("addWidget", this);
1->^^^^^^^^^^^^^^^^^^^^
-@@= skipped -206, +366 lines =@@
+@@= skipped -105, +99 lines =@@
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(35, 21) Source(52, 7) + SourceIndex(0)
+-2 >Emitted(35, 30) Source(52, 16) + SourceIndex(0)
+-3 >Emitted(35, 31) Source(52, 17) + SourceIndex(0)
+-4 >Emitted(35, 40) Source(52, 26) + SourceIndex(0)
+-5 >Emitted(35, 41) Source(52, 27) + SourceIndex(0)
+-6 >Emitted(35, 52) Source(52, 38) + SourceIndex(0)
+-7 >Emitted(35, 54) Source(52, 40) + SourceIndex(0)
+-8 >Emitted(35, 58) Source(52, 44) + SourceIndex(0)
+-9 >Emitted(35, 59) Source(52, 45) + SourceIndex(0)
+-10>Emitted(35, 60) Source(52, 46) + SourceIndex(0)
+1->Emitted(34, 21) Source(52, 7) + SourceIndex(0)
+2 >Emitted(34, 30) Source(52, 16) + SourceIndex(0)
+3 >Emitted(34, 31) Source(52, 17) + SourceIndex(0)
@@ -1437,242 +1366,106 @@
>>> }
1 >^^^^^^^^^^^^^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
+ 3 > ^^^^^^^^^^^^^^->
+ 1 >
- >
-2 > }
--1 >Emitted(51, 17) Source(53, 3) + SourceIndex(0)
--2 >Emitted(51, 18) Source(53, 4) + SourceIndex(0)
-----
-->>> FindWidget.prototype.gar = function (runner) { if (true) {
--1->^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^
--5 > ^^^^^^
--6 > ^^^^
--7 > ^^^^
--8 > ^^^^
--9 > ^^
--10> ^
--1->
--2 > gar
--3 >
--4 > public gar(
--5 > runner:(widget:Sample.Thing.IWidget)=>any
--6 > ) {
--7 > if (
--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)
-----
-->>> return runner(this);
--1 >^^^^^^^^^^^^^^^^^^^^
--2 > ^^^^^^^
--3 > ^^^^^^
--4 > ^
--5 > ^^^^
--6 > ^
--7 > ^
--1 >
--2 > return
--3 > runner
--4 > (
--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 >^^^^^^^^^^^^^^^^
--2 > ^
--3 > ^
--4 > ^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--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)
-----
-->>> FindWidget.prototype.getDomNode = function () {
--1->^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--1->
-- >
-- > private domNode:any = null;
-- > constructor(private codeThing: Sample.Thing.ICodeThing) {
-- > // scenario 1
-- > codeThing.addWidget("addWidget", this);
-- > }
-+3 > ^^^^^^^^^^^^^^->
-+1 >
+-1 >Emitted(36, 17) Source(53, 3) + SourceIndex(0)
+-2 >Emitted(36, 18) Source(53, 4) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(35, 17) Source(52, 46) + SourceIndex(0)
+2 >Emitted(35, 18) Source(53, 4) + SourceIndex(0)
-+---
-+>>> getDomNode() {
-+1->^^^^^^^^^^^^^^^^
-+2 > ^^^^^^^^^^
+ ---
+ >>> getDomNode() {
+ 1->^^^^^^^^^^^^^^^^
+ 2 > ^^^^^^^^^^
+-3 > ^^^^^^^^^^->
+3 > ^^^
+4 > ^^^^^^^->
-+1->
+ 1->
>
> 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(37, 17) Source(55, 10) + SourceIndex(0)
+-2 >Emitted(37, 27) Source(55, 20) + SourceIndex(0)
+3 > ()
+1->Emitted(36, 17) Source(55, 10) + SourceIndex(0)
+2 >Emitted(36, 27) Source(55, 20) + SourceIndex(0)
+3 >Emitted(36, 30) Source(55, 23) + SourceIndex(0)
---
>>> return domNode;
--1 >^^^^^^^^^^^^^^^^^^^^
-+1->^^^^^^^^^^^^^^^^^^^^
+ 1->^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^
3 > ^^^^^^^
4 > ^
--1 >public getDomNode() {
+-1->() {
+1->{
>
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(38, 21) Source(56, 4) + SourceIndex(0)
+-2 >Emitted(38, 28) Source(56, 11) + SourceIndex(0)
+-3 >Emitted(38, 35) Source(56, 18) + SourceIndex(0)
+-4 >Emitted(38, 36) Source(56, 19) + SourceIndex(0)
+1->Emitted(37, 21) Source(56, 4) + SourceIndex(0)
+2 >Emitted(37, 28) Source(56, 11) + SourceIndex(0)
+3 >Emitted(37, 35) Source(56, 18) + SourceIndex(0)
+4 >Emitted(37, 36) Source(56, 19) + SourceIndex(0)
---
-->>> };
-+>>> }
+ >>> }
1 >^^^^^^^^^^^^^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^->
+ 3 > ^^^^^^^^^^^->
1 >
- >
-2 > }
--1 >Emitted(57, 17) Source(57, 3) + SourceIndex(0)
--2 >Emitted(57, 18) Source(57, 4) + SourceIndex(0)
+-1 >Emitted(39, 17) Source(57, 3) + SourceIndex(0)
+-2 >Emitted(39, 18) Source(57, 4) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(38, 17) Source(56, 19) + SourceIndex(0)
+2 >Emitted(38, 18) Source(57, 4) + SourceIndex(0)
---
-->>> FindWidget.prototype.destroy = function () {
-+>>> destroy() {
+ >>> destroy() {
1->^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
-+2 > ^^^^^^^
+ 2 > ^^^^^^^
+3 > ^^^
1->
>
> 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(40, 17) Source(59, 10) + SourceIndex(0)
+-2 >Emitted(40, 24) Source(59, 17) + SourceIndex(0)
+3 > ()
+1->Emitted(39, 17) Source(59, 10) + SourceIndex(0)
+2 >Emitted(39, 24) Source(59, 17) + SourceIndex(0)
+3 >Emitted(39, 27) Source(59, 20) + SourceIndex(0)
---
-->>> };
-+>>> }
+ >>> }
1 >^^^^^^^^^^^^^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^->
--1 >public destroy() {
+-1 >() {
- >
- >
-2 > }
--1 >Emitted(59, 17) Source(61, 3) + SourceIndex(0)
--2 >Emitted(59, 18) Source(61, 4) + SourceIndex(0)
-----
-->>> return FindWidget;
--1->^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^
--1->
-- >
-- >
--2 > }
--1->Emitted(60, 17) Source(63, 2) + SourceIndex(0)
--2 >Emitted(60, 34) Source(63, 3) + SourceIndex(0)
-----
-->>> }());
--1 >^^^^^^^^^^^^
--2 > ^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-1 >Emitted(41, 17) Source(61, 3) + SourceIndex(0)
+-2 >Emitted(41, 18) Source(61, 4) + SourceIndex(0)
+1 >{
+2 >
+ >
+ > }
+1 >Emitted(40, 17) Source(59, 21) + SourceIndex(0)
+2 >Emitted(40, 18) Source(61, 4) + SourceIndex(0)
-+---
-+>>> }
-+1 >^^^^^^^^^^^^^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ ---
+ >>> }
+ 1 >^^^^^^^^^^^^^
+@@= skipped -83, +89 lines =@@
1 >
--2 > }
--3 >
--4 > export class FindWidget implements Sample.Thing.IWidget {
-- >
-- > public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
-- >
-- > private domNode:any = null;
-- > constructor(private codeThing: Sample.Thing.ICodeThing) {
-- > // scenario 1
-- > codeThing.addWidget("addWidget", this);
-- > }
-- >
-- > public getDomNode() {
-- > return domNode;
-- > }
-- >
-- > public destroy() {
-- >
-- > }
-- >
-- > }
--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(42, 14) Source(63, 3) + SourceIndex(0)
+1 >Emitted(41, 14) Source(63, 3) + SourceIndex(0)
---
>>> Widgets.FindWidget = FindWidget;
@@ -1695,15 +1488,15 @@
>
> public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
>
-@@= skipped -229, +120 lines =@@
+@@= skipped -29, +31 lines =@@
> }
>
> }
-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(43, 13) Source(45, 15) + SourceIndex(0)
+-2 >Emitted(43, 31) Source(45, 25) + SourceIndex(0)
+-3 >Emitted(43, 44) Source(63, 3) + SourceIndex(0)
+-4 >Emitted(43, 45) Source(63, 3) + SourceIndex(0)
+5 >
+1->Emitted(42, 13) Source(45, 15) + SourceIndex(0)
+2 >Emitted(42, 21) Source(45, 15) + SourceIndex(0)
@@ -1752,15 +1545,15 @@
>
> }
> }
--1->Emitted(63, 9) Source(64, 1) + SourceIndex(0)
--2 >Emitted(63, 10) Source(64, 2) + SourceIndex(0)
--3 >Emitted(63, 12) Source(44, 21) + SourceIndex(0)
--4 >Emitted(63, 19) Source(44, 28) + SourceIndex(0)
--5 >Emitted(63, 22) Source(44, 21) + SourceIndex(0)
--6 >Emitted(63, 35) Source(44, 28) + SourceIndex(0)
--7 >Emitted(63, 40) Source(44, 21) + SourceIndex(0)
--8 >Emitted(63, 53) Source(44, 28) + SourceIndex(0)
--9 >Emitted(63, 61) Source(64, 2) + SourceIndex(0)
+-1->Emitted(44, 9) Source(64, 1) + SourceIndex(0)
+-2 >Emitted(44, 10) Source(64, 2) + SourceIndex(0)
+-3 >Emitted(44, 12) Source(44, 21) + SourceIndex(0)
+-4 >Emitted(44, 19) Source(44, 28) + SourceIndex(0)
+-5 >Emitted(44, 22) Source(44, 21) + SourceIndex(0)
+-6 >Emitted(44, 35) Source(44, 28) + SourceIndex(0)
+-7 >Emitted(44, 40) Source(44, 21) + SourceIndex(0)
+-8 >Emitted(44, 53) Source(44, 28) + SourceIndex(0)
+-9 >Emitted(44, 61) Source(64, 2) + SourceIndex(0)
+1->Emitted(43, 9) Source(63, 3) + SourceIndex(0)
+2 >Emitted(43, 10) Source(64, 2) + SourceIndex(0)
+3 >Emitted(43, 12) Source(44, 21) + SourceIndex(0)
@@ -1863,15 +1656,15 @@
>
> }
> }
--1 >Emitted(64, 5) Source(64, 1) + SourceIndex(0)
--2 >Emitted(64, 6) Source(64, 2) + SourceIndex(0)
--3 >Emitted(64, 8) Source(44, 15) + SourceIndex(0)
--4 >Emitted(64, 13) Source(44, 20) + SourceIndex(0)
--5 >Emitted(64, 16) Source(44, 15) + SourceIndex(0)
--6 >Emitted(64, 28) Source(44, 20) + SourceIndex(0)
--7 >Emitted(64, 33) Source(44, 15) + SourceIndex(0)
--8 >Emitted(64, 45) Source(44, 20) + SourceIndex(0)
--9 >Emitted(64, 53) Source(64, 2) + SourceIndex(0)
+-1 >Emitted(45, 5) Source(64, 1) + SourceIndex(0)
+-2 >Emitted(45, 6) Source(64, 2) + SourceIndex(0)
+-3 >Emitted(45, 8) Source(44, 15) + SourceIndex(0)
+-4 >Emitted(45, 13) Source(44, 20) + SourceIndex(0)
+-5 >Emitted(45, 16) Source(44, 15) + SourceIndex(0)
+-6 >Emitted(45, 28) Source(44, 20) + SourceIndex(0)
+-7 >Emitted(45, 33) Source(44, 15) + SourceIndex(0)
+-8 >Emitted(45, 45) Source(44, 20) + SourceIndex(0)
+-9 >Emitted(45, 53) Source(64, 2) + SourceIndex(0)
+1 >Emitted(44, 5) Source(63, 3) + SourceIndex(0)
+2 >Emitted(44, 6) Source(64, 1) + SourceIndex(0)
+3 >Emitted(44, 6) Source(1, 1) + SourceIndex(0)
@@ -1893,7 +1686,6 @@
-5 > ^^^^^
-6 > ^^^^^^
-7 > ^^^^^^^^
--8 > ^^^^^^^^^^^^^^^^^^^^->
+3 >
+4 > ^^
+5 > ^^^^^^
@@ -1960,17 +1752,17 @@
> export class FindWidget implements Sample.Thing.IWidget {
>
> public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
-@@= skipped -46, +94 lines =@@
+@@= skipped -45, +94 lines =@@
>
> }
> }
--1 >Emitted(65, 1) Source(64, 1) + SourceIndex(0)
--2 >Emitted(65, 2) Source(64, 2) + SourceIndex(0)
--3 >Emitted(65, 4) Source(44, 8) + SourceIndex(0)
--4 >Emitted(65, 10) Source(44, 14) + SourceIndex(0)
--5 >Emitted(65, 15) Source(44, 8) + SourceIndex(0)
--6 >Emitted(65, 21) Source(44, 14) + SourceIndex(0)
--7 >Emitted(65, 29) Source(64, 2) + SourceIndex(0)
+-1 >Emitted(46, 1) Source(64, 1) + SourceIndex(0)
+-2 >Emitted(46, 2) Source(64, 2) + SourceIndex(0)
+-3 >Emitted(46, 4) Source(44, 8) + SourceIndex(0)
+-4 >Emitted(46, 10) Source(44, 14) + SourceIndex(0)
+-5 >Emitted(46, 15) Source(44, 8) + SourceIndex(0)
+-6 >Emitted(46, 21) Source(44, 14) + SourceIndex(0)
+-7 >Emitted(46, 29) Source(64, 2) + SourceIndex(0)
+1 >Emitted(45, 1) Source(63, 3) + SourceIndex(0)
+2 >Emitted(45, 2) Source(64, 1) + SourceIndex(0)
+3 >Emitted(45, 2) Source(1, 1) + SourceIndex(0)
@@ -1980,56 +1772,28 @@
+7 >Emitted(45, 21) Source(44, 14) + SourceIndex(0)
+8 >Emitted(45, 29) Source(64, 2) + SourceIndex(0)
---
-->>>var AbstractMode = /** @class */ (function () {
--1->
--2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1->
-+>>>class AbstractMode {
-+1 >
-+2 >^^^^^^
-+3 > ^^^^^^^^^^^^
-+4 > ^^^^^^^^^^^^^^^^^^^^^->
-+1 >
- >
- >interface IMode { getInitialState(): IState;}
+ >>>class AbstractMode {
+ 1 >
+@@= skipped -19, +20 lines =@@
>
--1->Emitted(66, 1) Source(67, 1) + SourceIndex(0)
-----
-->>> function AbstractMode() {
--1->^^^^
--2 > ^^->
--1->
--1->Emitted(67, 5) Source(67, 1) + SourceIndex(0)
-----
-->>> }
--1->^^^^
--2 > ^
--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)
-----
-->>> AbstractMode.prototype.getInitialState = function () { return null; };
--1->^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^^^^^
--5 > ^^^^^^^
--6 > ^^^^
--7 > ^
--8 > ^
--9 > ^
--1->
-+2 >class
-+3 > AbstractMode
+ 2 >class
+ 3 > AbstractMode
+-1 >Emitted(47, 1) Source(67, 1) + SourceIndex(0)
+-2 >Emitted(47, 7) Source(67, 7) + SourceIndex(0)
+-3 >Emitted(47, 19) Source(67, 19) + SourceIndex(0)
+1 >Emitted(46, 1) Source(67, 1) + SourceIndex(0)
+2 >Emitted(46, 7) Source(67, 7) + SourceIndex(0)
+3 >Emitted(46, 19) Source(67, 19) + SourceIndex(0)
-+---
-+>>> getInitialState() { return null; }
-+1->^^^^
-+2 > ^^^^^^^^^^^^^^^
+ ---
+ >>> getInitialState() { return null; }
+ 1->^^^^
+ 2 > ^^^^^^^^^^^^^^^
+-3 > ^^^^^
+-4 > ^^^^^^^
+-5 > ^^^^
+-6 > ^
+-7 > ^
+-8 > ^
+3 > ^^^
+4 > ^^
+5 > ^^^^^^^
@@ -2037,47 +1801,22 @@
+7 > ^
+8 > ^
+9 > ^
-+1-> implements IMode { public
+ 1-> implements IMode { public
2 > getInitialState
--3 >
--4 > public getInitialState(): IState {
--5 > return
--6 > null
--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)
-----
-->>> 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 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^->
--1 >
--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)
+-3 > (): IState {
+-4 > return
+-5 > null
+-6 > ;
+-7 >
+-8 > }
+-1->Emitted(48, 5) Source(67, 46) + SourceIndex(0)
+-2 >Emitted(48, 20) Source(67, 61) + SourceIndex(0)
+-3 >Emitted(48, 25) Source(67, 74) + SourceIndex(0)
+-4 >Emitted(48, 32) Source(67, 81) + SourceIndex(0)
+-5 >Emitted(48, 36) Source(67, 85) + SourceIndex(0)
+-6 >Emitted(48, 37) Source(67, 86) + SourceIndex(0)
+-7 >Emitted(48, 38) Source(67, 86) + SourceIndex(0)
+-8 >Emitted(48, 39) Source(67, 87) + SourceIndex(0)
+3 > (): IState
+4 > {
+5 > return
@@ -2094,11 +1833,12 @@
+7 >Emitted(47, 37) Source(67, 86) + SourceIndex(0)
+8 >Emitted(47, 38) Source(67, 86) + SourceIndex(0)
+9 >Emitted(47, 39) Source(67, 87) + SourceIndex(0)
-+---
-+>>>}
-+1 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^->
-+1 > }
+ ---
+ >>>}
+ 1 >^
+ 2 > ^^^^^^^^^^^^^^^^^^^^->
+ 1 > }
+-1 >Emitted(49, 2) Source(67, 89) + SourceIndex(0)
+1 >Emitted(48, 2) Source(67, 89) + SourceIndex(0)
---
>>>(function (Sample) {
@@ -2109,13 +1849,13 @@
1->
>
>interface IState {}
-@@= skipped -100, +76 lines =@@
+@@= skipped -52, +56 lines =@@
>
2 >module
3 > Sample
--1->Emitted(72, 1) Source(76, 1) + SourceIndex(0)
--2 >Emitted(72, 12) Source(76, 8) + SourceIndex(0)
--3 >Emitted(72, 18) Source(76, 14) + SourceIndex(0)
+-1->Emitted(50, 1) Source(76, 1) + SourceIndex(0)
+-2 >Emitted(50, 12) Source(76, 8) + SourceIndex(0)
+-3 >Emitted(50, 18) Source(76, 14) + SourceIndex(0)
+4 >
+1->Emitted(49, 1) Source(76, 1) + SourceIndex(0)
+2 >Emitted(49, 12) Source(76, 8) + SourceIndex(0)
@@ -2229,10 +1969,10 @@
- >
- > }
- > }
--1 >Emitted(73, 5) Source(76, 15) + SourceIndex(0)
--2 >Emitted(73, 9) Source(76, 15) + SourceIndex(0)
--3 >Emitted(73, 14) Source(76, 20) + SourceIndex(0)
--4 >Emitted(73, 15) Source(100, 2) + SourceIndex(0)
+-1 >Emitted(51, 5) Source(76, 15) + SourceIndex(0)
+-2 >Emitted(51, 9) Source(76, 15) + SourceIndex(0)
+-3 >Emitted(51, 14) Source(76, 20) + SourceIndex(0)
+-4 >Emitted(51, 15) Source(100, 2) + SourceIndex(0)
+3 > Thing.Languages.PlainText {
+ >
+ > export class State implements IState {
@@ -2272,9 +2012,9 @@
1->
2 >
3 > Thing
--1->Emitted(74, 5) Source(76, 15) + SourceIndex(0)
--2 >Emitted(74, 16) Source(76, 15) + SourceIndex(0)
--3 >Emitted(74, 21) Source(76, 20) + SourceIndex(0)
+-1->Emitted(52, 5) Source(76, 15) + SourceIndex(0)
+-2 >Emitted(52, 16) Source(76, 15) + SourceIndex(0)
+-3 >Emitted(52, 21) Source(76, 20) + SourceIndex(0)
+4 >
+1->Emitted(51, 5) Source(76, 15) + SourceIndex(0)
+2 >Emitted(51, 16) Source(76, 15) + SourceIndex(0)
@@ -2388,10 +2128,10 @@
- >
- > }
- > }
--1->Emitted(75, 9) Source(76, 21) + SourceIndex(0)
--2 >Emitted(75, 13) Source(76, 21) + SourceIndex(0)
--3 >Emitted(75, 22) Source(76, 30) + SourceIndex(0)
--4 >Emitted(75, 23) Source(100, 2) + SourceIndex(0)
+-1->Emitted(53, 9) Source(76, 21) + SourceIndex(0)
+-2 >Emitted(53, 13) Source(76, 21) + SourceIndex(0)
+-3 >Emitted(53, 22) Source(76, 30) + SourceIndex(0)
+-4 >Emitted(53, 23) Source(100, 2) + SourceIndex(0)
+3 > Languages.PlainText {
+ >
+ > export class State implements IState {
@@ -2429,9 +2169,9 @@
1->
2 >
3 > Languages
--1->Emitted(76, 9) Source(76, 21) + SourceIndex(0)
--2 >Emitted(76, 20) Source(76, 21) + SourceIndex(0)
--3 >Emitted(76, 29) Source(76, 30) + SourceIndex(0)
+-1->Emitted(54, 9) Source(76, 21) + SourceIndex(0)
+-2 >Emitted(54, 20) Source(76, 21) + SourceIndex(0)
+-3 >Emitted(54, 29) Source(76, 30) + SourceIndex(0)
+4 >
+1->Emitted(53, 9) Source(76, 21) + SourceIndex(0)
+2 >Emitted(53, 20) Source(76, 21) + SourceIndex(0)
@@ -2545,10 +2285,10 @@
- >
- > }
- > }
--1 >Emitted(77, 13) Source(76, 31) + SourceIndex(0)
--2 >Emitted(77, 17) Source(76, 31) + SourceIndex(0)
--3 >Emitted(77, 26) Source(76, 40) + SourceIndex(0)
--4 >Emitted(77, 27) Source(100, 2) + SourceIndex(0)
+-1 >Emitted(55, 13) Source(76, 31) + SourceIndex(0)
+-2 >Emitted(55, 17) Source(76, 31) + SourceIndex(0)
+-3 >Emitted(55, 26) Source(76, 40) + SourceIndex(0)
+-4 >Emitted(55, 27) Source(100, 2) + SourceIndex(0)
+3 > PlainText {
+ >
+ > export class State implements IState {
@@ -2582,39 +2322,33 @@
1->^^^^^^^^^^^^
2 > ^^^^^^^^^^^
3 > ^^^^^^^^^
--4 > ^^^^^^^^^^^^^^^^^^^^^^^^^->
+4 > ^^
1->
2 >
3 > PlainText
--1->Emitted(78, 13) Source(76, 31) + SourceIndex(0)
--2 >Emitted(78, 24) Source(76, 31) + SourceIndex(0)
--3 >Emitted(78, 33) Source(76, 40) + SourceIndex(0)
-----
-->>> var State = /** @class */ (function () {
--1->^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1-> {
-- >
-- >
--1->Emitted(79, 17) Source(78, 2) + SourceIndex(0)
-----
-->>> function State(mode) {
+-1->Emitted(56, 13) Source(76, 31) + SourceIndex(0)
+-2 >Emitted(56, 24) Source(76, 31) + SourceIndex(0)
+-3 >Emitted(56, 33) Source(76, 40) + SourceIndex(0)
+4 >
+1->Emitted(55, 13) Source(76, 31) + SourceIndex(0)
+2 >Emitted(55, 24) Source(76, 31) + SourceIndex(0)
+3 >Emitted(55, 33) Source(76, 40) + SourceIndex(0)
+4 >Emitted(55, 35) Source(76, 41) + SourceIndex(0)
-+---
-+>>> class State {
-+1 >^^^^^^^^^^^^^^^^
-+2 > ^^^^^^
-+3 > ^^^^^
+ ---
+ >>> class State {
+ 1 >^^^^^^^^^^^^^^^^
+ 2 > ^^^^^^
+ 3 > ^^^^^
+-4 > ^^^^^^^^^^^^^->
+-1 > {
+1 >{
-+ >
-+ >
-+2 > export class
-+3 > State
+ >
+ >
+ 2 > export class
+ 3 > State
+-1 >Emitted(57, 17) Source(78, 2) + SourceIndex(0)
+-2 >Emitted(57, 23) Source(78, 15) + SourceIndex(0)
+-3 >Emitted(57, 28) Source(78, 20) + SourceIndex(0)
+1 >Emitted(56, 17) Source(78, 2) + SourceIndex(0)
+2 >Emitted(56, 23) Source(78, 15) + SourceIndex(0)
+3 >Emitted(56, 28) Source(78, 20) + SourceIndex(0)
@@ -2628,29 +2362,23 @@
+2 > mode
+1 >Emitted(57, 21) Source(79, 29) + SourceIndex(0)
+2 >Emitted(57, 25) Source(79, 33) + SourceIndex(0)
-+---
-+>>> constructor(mode) {
+ ---
+ >>> constructor(mode) {
1->^^^^^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^
--3 > ^^^^
--4 > ^^^->
--1->export class State implements IState {
+ 2 > ^^^^^^^^^^^^
+ 3 > ^^^^
+-4 > ^^^^^^->
+-1-> implements IState {
- >
-+2 > ^^^^^^^^^^^^
-+3 > ^^^^
+4 > ^^
+5 > ^^^^->
+1->
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)
-+3 > mode: IMode
+ 3 > mode: IMode
+4 > )
-+1->Emitted(58, 21) Source(79, 9) + SourceIndex(0)
-+2 >Emitted(58, 33) Source(79, 29) + SourceIndex(0)
-+3 >Emitted(58, 37) Source(79, 40) + SourceIndex(0)
+ 1->Emitted(58, 21) Source(79, 9) + SourceIndex(0)
+ 2 >Emitted(58, 33) Source(79, 29) + SourceIndex(0)
+ 3 >Emitted(58, 37) Source(79, 40) + SourceIndex(0)
+4 >Emitted(58, 39) Source(79, 42) + SourceIndex(0)
---
>>> this.mode = mode;
@@ -2666,11 +2394,11 @@
-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(59, 25) Source(79, 29) + SourceIndex(0)
+-2 >Emitted(59, 34) Source(79, 33) + SourceIndex(0)
+-3 >Emitted(59, 37) Source(79, 29) + SourceIndex(0)
+-4 >Emitted(59, 41) Source(79, 33) + SourceIndex(0)
+-5 >Emitted(59, 42) Source(79, 40) + SourceIndex(0)
+2 > mode
+1->Emitted(59, 37) Source(79, 29) + SourceIndex(0)
+2 >Emitted(59, 41) Source(79, 33) + SourceIndex(0)
@@ -2678,164 +2406,104 @@
>>> }
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 3 > ^^^^^^^^^->
-1 >) {
-2 > }
--1 >Emitted(82, 21) Source(79, 44) + SourceIndex(0)
--2 >Emitted(82, 22) Source(79, 45) + SourceIndex(0)
-+3 > ^^^^^^^^^->
+-1 >Emitted(60, 21) Source(79, 44) + SourceIndex(0)
+1 >: IMode) {
+2 > }
+1 >Emitted(60, 21) Source(79, 43) + SourceIndex(0)
-+2 >Emitted(60, 22) Source(79, 45) + SourceIndex(0)
+ 2 >Emitted(60, 22) Source(79, 45) + SourceIndex(0)
---
-->>> State.prototype.clone = function () {
-+>>> clone() {
+ >>> clone() {
1->^^^^^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
-+2 > ^^^^^
+ 2 > ^^^^^
+-3 > ^^^^^^^^^^^^->
+3 > ^^^
+4 > ^^^^^^^^^->
1->
> 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)
+3 > ():IState
-+1->Emitted(61, 21) Source(80, 10) + SourceIndex(0)
-+2 >Emitted(61, 26) Source(80, 15) + SourceIndex(0)
+ 1->Emitted(61, 21) Source(80, 10) + SourceIndex(0)
+ 2 >Emitted(61, 26) Source(80, 15) + SourceIndex(0)
+3 >Emitted(61, 29) Source(80, 25) + SourceIndex(0)
---
>>> return this;
--1 >^^^^^^^^^^^^^^^^^^^^^^^^
-+1->^^^^^^^^^^^^^^^^^^^^^^^^
+ 1->^^^^^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^
3 > ^^^^
4 > ^
--1 >public clone():IState {
+-1->():IState {
+1->{
>
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(62, 25) Source(81, 4) + SourceIndex(0)
-+2 >Emitted(62, 32) Source(81, 11) + SourceIndex(0)
-+3 >Emitted(62, 36) Source(81, 15) + SourceIndex(0)
-+4 >Emitted(62, 37) Source(81, 16) + SourceIndex(0)
- ---
-->>> };
-+>>> }
- 1 >^^^^^^^^^^^^^^^^^^^^
+@@= skipped -238, +455 lines =@@
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^->
+ 3 > ^^^^^^^^^^^^^^^->
1 >
- >
-2 > }
--1 >Emitted(85, 21) Source(82, 3) + SourceIndex(0)
--2 >Emitted(85, 22) Source(82, 4) + SourceIndex(0)
+-1 >Emitted(63, 21) Source(82, 3) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(63, 21) Source(81, 16) + SourceIndex(0)
-+2 >Emitted(63, 22) Source(82, 4) + SourceIndex(0)
- ---
-->>> State.prototype.equals = function (other) {
-+>>> equals(other) {
- 1->^^^^^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^
--5 > ^^^^^
-+2 > ^^^^^^
-+3 > ^
-+4 > ^^^^^
+ 2 >Emitted(63, 22) Source(82, 4) + SourceIndex(0)
+ ---
+ >>> equals(other) {
+@@= skipped -10, +10 lines =@@
+ 2 > ^^^^^^
+ 3 > ^
+ 4 > ^^^^^
+-5 > ^^^^^^^^^^^^^^^->
+5 > ^^
+6 > ^^^^^^^^^^^^^->
1->
>
> public
2 > equals
--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)
-+3 > (
-+4 > other:IState
+ 3 > (
+ 4 > other:IState
+5 > ):boolean
-+1->Emitted(64, 21) Source(84, 10) + SourceIndex(0)
-+2 >Emitted(64, 27) Source(84, 16) + SourceIndex(0)
-+3 >Emitted(64, 28) Source(84, 17) + SourceIndex(0)
-+4 >Emitted(64, 33) Source(84, 29) + SourceIndex(0)
+ 1->Emitted(64, 21) Source(84, 10) + SourceIndex(0)
+ 2 >Emitted(64, 27) Source(84, 16) + SourceIndex(0)
+ 3 >Emitted(64, 28) Source(84, 17) + SourceIndex(0)
+ 4 >Emitted(64, 33) Source(84, 29) + SourceIndex(0)
+5 >Emitted(64, 35) Source(84, 39) + SourceIndex(0)
---
>>> return this === other;
--1 >^^^^^^^^^^^^^^^^^^^^^^^^
-+1->^^^^^^^^^^^^^^^^^^^^^^^^
- 2 > ^^^^^^^
- 3 > ^^^^
+ 1->^^^^^^^^^^^^^^^^^^^^^^^^
+@@= skipped -19, +22 lines =@@
4 > ^^^^^
5 > ^^^^^
6 > ^
--1 >):boolean {
+-1->):boolean {
+1->{
>
2 > return
3 > this
- 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(65, 25) Source(85, 4) + SourceIndex(0)
-+2 >Emitted(65, 32) Source(85, 11) + SourceIndex(0)
-+3 >Emitted(65, 36) Source(85, 15) + SourceIndex(0)
-+4 >Emitted(65, 41) Source(85, 20) + SourceIndex(0)
-+5 >Emitted(65, 46) Source(85, 25) + SourceIndex(0)
-+6 >Emitted(65, 47) Source(85, 26) + SourceIndex(0)
- ---
-->>> };
-+>>> }
- 1 >^^^^^^^^^^^^^^^^^^^^
+@@= skipped -19, +19 lines =@@
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
- >
-2 > }
--1 >Emitted(88, 21) Source(86, 3) + SourceIndex(0)
--2 >Emitted(88, 22) Source(86, 4) + SourceIndex(0)
+-1 >Emitted(66, 21) Source(86, 3) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(66, 21) Source(85, 26) + SourceIndex(0)
-+2 >Emitted(66, 22) Source(86, 4) + SourceIndex(0)
+ 2 >Emitted(66, 22) Source(86, 4) + SourceIndex(0)
---
-->>> State.prototype.getMode = function () { return mode; };
-+>>> getMode() { return mode; }
+ >>> getMode() { return mode; }
1->^^^^^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^^^^^
--5 > ^^^^^^^
--6 > ^^^^
--7 > ^
--8 > ^
--9 > ^
-+2 > ^^^^^^^
+ 2 > ^^^^^^^
+-3 > ^^^^^
+-4 > ^^^^^^^
+-5 > ^^^^
+-6 > ^
+-7 > ^
+-8 > ^
+3 > ^^^
+4 > ^^
+5 > ^^^^^^^
@@ -2847,57 +2515,12 @@
>
> public
2 > getMode
--3 >
--4 > public getMode(): IMode {
--5 > return
--6 > mode
--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)
-----
-->>> return State;
--1 >^^^^^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^
--1 >
-- >
--2 > }
--1 >Emitted(90, 21) Source(89, 2) + SourceIndex(0)
--2 >Emitted(90, 33) Source(89, 3) + SourceIndex(0)
-----
-->>> }());
--1 >^^^^^^^^^^^^^^^^
--2 > ^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 > }
--3 >
--4 > export class State implements IState {
-- > constructor(private mode: IMode) { }
-- > public clone():IState {
-- > return this;
-- > }
-- >
-- > public equals(other:IState):boolean {
-- > return this === other;
-- > }
-- >
-- > 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)
+-3 > (): IMode {
+-4 > return
+-5 > mode
+-6 > ;
+-7 >
+-8 > }
+3 > (): IMode
+4 > {
+5 > return
@@ -2905,8 +2528,14 @@
+7 > ;
+8 >
+9 > }
-+1->Emitted(67, 21) Source(88, 10) + SourceIndex(0)
-+2 >Emitted(67, 28) Source(88, 17) + SourceIndex(0)
+ 1->Emitted(67, 21) Source(88, 10) + SourceIndex(0)
+ 2 >Emitted(67, 28) Source(88, 17) + SourceIndex(0)
+-3 >Emitted(67, 33) Source(88, 29) + SourceIndex(0)
+-4 >Emitted(67, 40) Source(88, 36) + SourceIndex(0)
+-5 >Emitted(67, 44) Source(88, 40) + SourceIndex(0)
+-6 >Emitted(67, 45) Source(88, 41) + SourceIndex(0)
+-7 >Emitted(67, 46) Source(88, 42) + SourceIndex(0)
+-8 >Emitted(67, 47) Source(88, 43) + SourceIndex(0)
+3 >Emitted(67, 31) Source(88, 27) + SourceIndex(0)
+4 >Emitted(67, 33) Source(88, 29) + SourceIndex(0)
+5 >Emitted(67, 40) Source(88, 36) + SourceIndex(0)
@@ -2914,20 +2543,17 @@
+7 >Emitted(67, 45) Source(88, 41) + SourceIndex(0)
+8 >Emitted(67, 46) Source(88, 41) + SourceIndex(0)
+9 >Emitted(67, 47) Source(88, 43) + SourceIndex(0)
-+---
-+>>> }
-+1 >^^^^^^^^^^^^^^^^^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ > }
-+1 >Emitted(68, 18) Source(89, 3) + SourceIndex(0)
+ ---
+ >>> }
+ 1 >^^^^^^^^^^^^^^^^^
+@@= skipped -42, +45 lines =@@
---
>>> PlainText.State = State;
1->^^^^^^^^^^^^^^^^
-2 > ^^^^^^^^^^^^^^^
-3 > ^^^^^^^^
-4 > ^
--5 > ^^^^^^^^^^^^^^^^^^^^^^->
+-5 > ^^^^^^^^^^->
+2 > ^^^^^^^^^^
+3 > ^^^^^
+4 > ^^^^^^^^
@@ -2942,213 +2568,63 @@
> constructor(private mode: IMode) { }
> public clone():IState {
> return this;
-@@= skipped -376, +571 lines =@@
+@@= skipped -18, +20 lines =@@
>
> 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)
+5 >
-+1->Emitted(69, 17) Source(78, 15) + SourceIndex(0)
+ 1->Emitted(69, 17) Source(78, 15) + SourceIndex(0)
+-2 >Emitted(69, 32) Source(78, 20) + SourceIndex(0)
+-3 >Emitted(69, 40) Source(89, 3) + SourceIndex(0)
+-4 >Emitted(69, 41) Source(89, 3) + SourceIndex(0)
+2 >Emitted(69, 27) Source(78, 15) + SourceIndex(0)
+3 >Emitted(69, 32) Source(78, 20) + SourceIndex(0)
+4 >Emitted(69, 40) Source(89, 3) + SourceIndex(0)
+5 >Emitted(69, 41) Source(89, 3) + SourceIndex(0)
---
-->>> var Mode = /** @class */ (function (_super) {
-+>>> class Mode extends AbstractMode {
+ >>> class Mode extends AbstractMode {
1->^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+2 > ^^^^^^
-+3 > ^^^^
-+4 > ^^^^^^^^^
-+5 > ^^^^^^^^^^^^
- 1->
- >
- >
--1->Emitted(93, 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)
-----
-->>> function Mode() {
--1 >^^^^^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--1 >Emitted(95, 21) Source(91, 2) + SourceIndex(0)
-----
-->>> return _super !== null && _super.apply(this, arguments) || this;
-->>> }
--1->^^^^^^^^^^^^^^^^^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^->
--1->export class Mode extends AbstractMode {
-- >
-- > // scenario 2
-- > public getInitialState(): IState {
-- > return new State(self);
-- > }
-- >
-- >
-- >
--2 > }
--1->Emitted(97, 21) Source(99, 2) + SourceIndex(0)
--2 >Emitted(97, 22) Source(99, 3) + SourceIndex(0)
-+2 > export class
-+3 > Mode
-+4 > extends
-+5 > AbstractMode
-+1->Emitted(70, 17) Source(91, 2) + SourceIndex(0)
-+2 >Emitted(70, 23) Source(91, 15) + SourceIndex(0)
-+3 >Emitted(70, 27) Source(91, 20) + SourceIndex(0)
-+4 >Emitted(70, 36) Source(91, 28) + SourceIndex(0)
-+5 >Emitted(70, 48) Source(91, 40) + SourceIndex(0)
- ---
- >>> // scenario 2
--1->^^^^^^^^^^^^^^^^^^^^
-+1 >^^^^^^^^^^^^^^^^^^^^
- 2 > ^^^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1->
-+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(71, 21) Source(93, 3) + SourceIndex(0)
-+2 >Emitted(71, 34) Source(93, 16) + SourceIndex(0)
- ---
-->>> Mode.prototype.getInitialState = function () {
-+>>> getInitialState() {
+@@= skipped -39, +40 lines =@@
+ >>> getInitialState() {
1->^^^^^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
-+2 > ^^^^^^^^^^^^^^^
+ 2 > ^^^^^^^^^^^^^^^
+-3 > ^^^^^^^^^^^^^->
+3 > ^^^
+4 > ^^^^^^^^^^->
1->
> 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)
+3 > (): IState
-+1->Emitted(72, 21) Source(94, 10) + SourceIndex(0)
-+2 >Emitted(72, 36) Source(94, 25) + SourceIndex(0)
+ 1->Emitted(72, 21) Source(94, 10) + SourceIndex(0)
+ 2 >Emitted(72, 36) Source(94, 25) + SourceIndex(0)
+3 >Emitted(72, 39) Source(94, 36) + SourceIndex(0)
---
>>> return new State(self);
--1 >^^^^^^^^^^^^^^^^^^^^^^^^
-+1->^^^^^^^^^^^^^^^^^^^^^^^^
- 2 > ^^^^^^^
- 3 > ^^^^
- 4 > ^^^^^
-@@= skipped -76, +59 lines =@@
+ 1->^^^^^^^^^^^^^^^^^^^^^^^^
+@@= skipped -16, +19 lines =@@
6 > ^^^^
7 > ^
8 > ^
--1 >public getInitialState(): IState {
+-1->(): IState {
+1->{
>
2 > return
3 > new
-@@= skipped -9, +9 lines =@@
- 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(73, 25) Source(95, 4) + SourceIndex(0)
-+2 >Emitted(73, 32) Source(95, 11) + SourceIndex(0)
-+3 >Emitted(73, 36) Source(95, 15) + SourceIndex(0)
-+4 >Emitted(73, 41) Source(95, 20) + SourceIndex(0)
-+5 >Emitted(73, 42) Source(95, 21) + SourceIndex(0)
-+6 >Emitted(73, 46) Source(95, 25) + SourceIndex(0)
-+7 >Emitted(73, 47) Source(95, 26) + SourceIndex(0)
-+8 >Emitted(73, 48) Source(95, 27) + SourceIndex(0)
- ---
-->>> };
-+>>> }
+@@= skipped -22, +22 lines =@@
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^
--3 > ^^^^^^^^^^^^->
--1 >
+ 1 >
- >
-2 > }
--1 >Emitted(101, 21) Source(96, 3) + SourceIndex(0)
--2 >Emitted(101, 22) Source(96, 4) + SourceIndex(0)
-----
-->>> return Mode;
--1->^^^^^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^
--3 > ^^^->
--1->
-- >
-- >
-- >
--2 > }
--1->Emitted(102, 21) Source(99, 2) + SourceIndex(0)
--2 >Emitted(102, 32) Source(99, 3) + SourceIndex(0)
-----
-->>> }(AbstractMode));
--1->^^^^^^^^^^^^^^^^
--2 > ^
--3 >
--4 > ^
--5 > ^^^^^^^^^^^^
--6 > ^^^
--7 > ^^^^^^->
--1->
--2 > }
--3 >
--4 > export class Mode extends
--5 > AbstractMode
--6 > {
-- >
-- > // scenario 2
-- > public getInitialState(): IState {
-- > return new State(self);
-- > }
-- >
-- >
-- > }
--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 >
+-1 >Emitted(74, 21) Source(96, 3) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(74, 21) Source(95, 27) + SourceIndex(0)
-+2 >Emitted(74, 22) Source(96, 4) + SourceIndex(0)
-+---
-+>>> }
-+1 >^^^^^^^^^^^^^^^^^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+ >
-+ > }
-+1 >Emitted(75, 18) Source(99, 3) + SourceIndex(0)
+ 2 >Emitted(74, 22) Source(96, 4) + SourceIndex(0)
+ ---
+ >>> }
+@@= skipped -16, +16 lines =@@
---
>>> PlainText.Mode = Mode;
1->^^^^^^^^^^^^^^^^
@@ -3170,17 +2646,16 @@
>
> // scenario 2
> public getInitialState(): IState {
-@@= skipped -77, +46 lines =@@
+@@= skipped -15, +17 lines =@@
>
>
> }
-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)
+5 >
-+1->Emitted(76, 17) Source(91, 15) + SourceIndex(0)
+ 1->Emitted(76, 17) Source(91, 15) + SourceIndex(0)
+-2 >Emitted(76, 31) Source(91, 19) + SourceIndex(0)
+-3 >Emitted(76, 38) Source(99, 3) + SourceIndex(0)
+-4 >Emitted(76, 39) Source(99, 3) + SourceIndex(0)
+2 >Emitted(76, 27) Source(91, 15) + SourceIndex(0)
+3 >Emitted(76, 31) Source(91, 19) + SourceIndex(0)
+4 >Emitted(76, 38) Source(99, 3) + SourceIndex(0)
@@ -3227,20 +2702,16 @@
>
> }
> }
--1->Emitted(105, 13) Source(100, 1) + SourceIndex(0)
--2 >Emitted(105, 14) Source(100, 2) + SourceIndex(0)
--3 >Emitted(105, 16) Source(76, 31) + SourceIndex(0)
--4 >Emitted(105, 25) Source(76, 40) + SourceIndex(0)
--5 >Emitted(105, 28) Source(76, 31) + SourceIndex(0)
--6 >Emitted(105, 47) Source(76, 40) + SourceIndex(0)
--7 >Emitted(105, 52) Source(76, 31) + SourceIndex(0)
--8 >Emitted(105, 71) Source(76, 40) + SourceIndex(0)
--9 >Emitted(105, 79) Source(100, 2) + SourceIndex(0)
+-1->Emitted(77, 13) Source(100, 1) + SourceIndex(0)
+1->Emitted(77, 13) Source(99, 3) + SourceIndex(0)
-+2 >Emitted(77, 14) Source(100, 2) + SourceIndex(0)
-+3 >Emitted(77, 16) Source(76, 31) + SourceIndex(0)
-+4 >Emitted(77, 25) Source(76, 40) + SourceIndex(0)
-+5 >Emitted(77, 28) Source(76, 31) + SourceIndex(0)
+ 2 >Emitted(77, 14) Source(100, 2) + SourceIndex(0)
+ 3 >Emitted(77, 16) Source(76, 31) + SourceIndex(0)
+ 4 >Emitted(77, 25) Source(76, 40) + SourceIndex(0)
+ 5 >Emitted(77, 28) Source(76, 31) + SourceIndex(0)
+-6 >Emitted(77, 47) Source(76, 40) + SourceIndex(0)
+-7 >Emitted(77, 52) Source(76, 31) + SourceIndex(0)
+-8 >Emitted(77, 71) Source(76, 40) + SourceIndex(0)
+-9 >Emitted(77, 79) Source(100, 2) + SourceIndex(0)
+6 >Emitted(77, 38) Source(76, 31) + SourceIndex(0)
+7 >Emitted(77, 47) Source(76, 40) + SourceIndex(0)
+8 >Emitted(77, 52) Source(76, 31) + SourceIndex(0)
@@ -3370,15 +2841,15 @@
>
> }
> }
--1 >Emitted(106, 9) Source(100, 1) + SourceIndex(0)
--2 >Emitted(106, 10) Source(100, 2) + SourceIndex(0)
--3 >Emitted(106, 12) Source(76, 21) + SourceIndex(0)
--4 >Emitted(106, 21) Source(76, 30) + SourceIndex(0)
--5 >Emitted(106, 24) Source(76, 21) + SourceIndex(0)
--6 >Emitted(106, 39) Source(76, 30) + SourceIndex(0)
--7 >Emitted(106, 44) Source(76, 21) + SourceIndex(0)
--8 >Emitted(106, 59) Source(76, 30) + SourceIndex(0)
--9 >Emitted(106, 67) Source(100, 2) + SourceIndex(0)
+-1 >Emitted(78, 9) Source(100, 1) + SourceIndex(0)
+-2 >Emitted(78, 10) Source(100, 2) + SourceIndex(0)
+-3 >Emitted(78, 12) Source(76, 21) + SourceIndex(0)
+-4 >Emitted(78, 21) Source(76, 30) + SourceIndex(0)
+-5 >Emitted(78, 24) Source(76, 21) + SourceIndex(0)
+-6 >Emitted(78, 39) Source(76, 30) + SourceIndex(0)
+-7 >Emitted(78, 44) Source(76, 21) + SourceIndex(0)
+-8 >Emitted(78, 59) Source(76, 30) + SourceIndex(0)
+-9 >Emitted(78, 67) Source(100, 2) + SourceIndex(0)
+1 >Emitted(78, 9) Source(99, 3) + SourceIndex(0)
+2 >Emitted(78, 10) Source(100, 1) + SourceIndex(0)
+3 >Emitted(78, 10) Source(1, 1) + SourceIndex(0)
@@ -3514,15 +2985,15 @@
>
> }
> }
--1 >Emitted(107, 5) Source(100, 1) + SourceIndex(0)
--2 >Emitted(107, 6) Source(100, 2) + SourceIndex(0)
--3 >Emitted(107, 8) Source(76, 15) + SourceIndex(0)
--4 >Emitted(107, 13) Source(76, 20) + SourceIndex(0)
--5 >Emitted(107, 16) Source(76, 15) + SourceIndex(0)
--6 >Emitted(107, 28) Source(76, 20) + SourceIndex(0)
--7 >Emitted(107, 33) Source(76, 15) + SourceIndex(0)
--8 >Emitted(107, 45) Source(76, 20) + SourceIndex(0)
--9 >Emitted(107, 53) Source(100, 2) + SourceIndex(0)
+-1 >Emitted(79, 5) Source(100, 1) + SourceIndex(0)
+-2 >Emitted(79, 6) Source(100, 2) + SourceIndex(0)
+-3 >Emitted(79, 8) Source(76, 15) + SourceIndex(0)
+-4 >Emitted(79, 13) Source(76, 20) + SourceIndex(0)
+-5 >Emitted(79, 16) Source(76, 15) + SourceIndex(0)
+-6 >Emitted(79, 28) Source(76, 20) + SourceIndex(0)
+-7 >Emitted(79, 33) Source(76, 15) + SourceIndex(0)
+-8 >Emitted(79, 45) Source(76, 20) + SourceIndex(0)
+-9 >Emitted(79, 53) Source(100, 2) + SourceIndex(0)
+1 >Emitted(79, 5) Source(99, 3) + SourceIndex(0)
+2 >Emitted(79, 6) Source(100, 1) + SourceIndex(0)
+3 >Emitted(79, 6) Source(1, 1) + SourceIndex(0)
@@ -3648,13 +3119,13 @@
>
> }
> }
--1 >Emitted(108, 1) Source(100, 1) + SourceIndex(0)
--2 >Emitted(108, 2) Source(100, 2) + SourceIndex(0)
--3 >Emitted(108, 4) Source(76, 8) + SourceIndex(0)
--4 >Emitted(108, 10) Source(76, 14) + SourceIndex(0)
--5 >Emitted(108, 15) Source(76, 8) + SourceIndex(0)
--6 >Emitted(108, 21) Source(76, 14) + SourceIndex(0)
--7 >Emitted(108, 29) Source(100, 2) + SourceIndex(0)
+-1 >Emitted(80, 1) Source(100, 1) + SourceIndex(0)
+-2 >Emitted(80, 2) Source(100, 2) + SourceIndex(0)
+-3 >Emitted(80, 4) Source(76, 8) + SourceIndex(0)
+-4 >Emitted(80, 10) Source(76, 14) + SourceIndex(0)
+-5 >Emitted(80, 15) Source(76, 8) + SourceIndex(0)
+-6 >Emitted(80, 21) Source(76, 14) + SourceIndex(0)
+-7 >Emitted(80, 29) Source(100, 2) + SourceIndex(0)
+1 >Emitted(80, 1) Source(99, 3) + SourceIndex(0)
+2 >Emitted(80, 2) Source(100, 1) + SourceIndex(0)
+3 >Emitted(80, 2) Source(1, 1) + SourceIndex(0)
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveCloduleReference.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveCloduleReference.js.diff
deleted file mode 100644
index fc897a7801..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveCloduleReference.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.recursiveCloduleReference.js
-+++ new.recursiveCloduleReference.js
-@@= skipped -14, +14 lines =@@
- //// [recursiveCloduleReference.js]
- var M;
- (function (M) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- M.C = C;
- (function (C_1) {
- C_1.C = M.C;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveComplicatedClasses.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveComplicatedClasses.js.diff
index 6d023617fc..c67cdf2e73 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveComplicatedClasses.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveComplicatedClasses.js.diff
@@ -1,74 +1,19 @@
--- old.recursiveComplicatedClasses.js
+++ new.recursiveComplicatedClasses.js
-@@= skipped -26, +26 lines =@@
- }
+@@= skipped -27, +27 lines =@@
//// [recursiveComplicatedClasses.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Signature = /** @class */ (function () {
-- function Signature() {
+ class Signature {
+- constructor() {
- this.parameters = null;
- }
-- return Signature;
--}());
-+class Signature {
+ parameters = null;
-+}
+ }
function aEnclosesB(a) {
return true;
}
--var Symbol = /** @class */ (function () {
-- function Symbol() {
-- }
-- Symbol.prototype.visible = function () {
-+class Symbol {
+ class Symbol {
+ bound;
-+ visible() {
+ visible() {
var b;
- return aEnclosesB(b);
-- };
-- return Symbol;
--}());
--var InferenceSymbol = /** @class */ (function (_super) {
-- __extends(InferenceSymbol, _super);
-- function InferenceSymbol() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return InferenceSymbol;
--}(Symbol));
--var ParameterSymbol = /** @class */ (function (_super) {
-- __extends(ParameterSymbol, _super);
-- function ParameterSymbol() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return ParameterSymbol;
--}(InferenceSymbol));
--var TypeSymbol = /** @class */ (function (_super) {
-- __extends(TypeSymbol, _super);
-- function TypeSymbol() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return TypeSymbol;
--}(InferenceSymbol));
-+ }
-+}
-+class InferenceSymbol extends Symbol {
-+}
-+class ParameterSymbol extends InferenceSymbol {
-+}
-+class TypeSymbol extends InferenceSymbol {
-+}
\ No newline at end of file
+ return aEnclosesB(b);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveConditionalCrash3.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveConditionalCrash3.js.diff
index 0d3b9f0fa7..5313135627 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveConditionalCrash3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveConditionalCrash3.js.diff
@@ -7,17 +7,4 @@
-// #43529
Object.defineProperty(exports, "__esModule", { value: true });
/**
- * These two functions work as charm, also they are superfast and as expected they don't use additional Memory
- */
--var y1;
--var y2;
-+let y1;
-+let y2;
- /**
- * but as you can see here, the expansion of Interface X it's still working.
- *
- * If a memory is still high, it may need some seconds to show popup.
- *
- */
--var t;
-+let t;
\ No newline at end of file
+ * These two functions work as charm, also they are superfast and as expected they don't use additional Memory
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveConditionalEvaluationNonInfinite.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveConditionalEvaluationNonInfinite.js.diff
deleted file mode 100644
index 55a4fef2f1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveConditionalEvaluationNonInfinite.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.recursiveConditionalEvaluationNonInfinite.js
-+++ new.recursiveConditionalEvaluationNonInfinite.js
-@@= skipped -7, +7 lines =@@
- const b: { notArray: number } = a; // Works
-
- //// [recursiveConditionalEvaluationNonInfinite.js]
--var y = x; // Error
--var b = a; // Works
-+const y = x; // Error
-+const b = a; // Works
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveExcessPropertyChecks.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveExcessPropertyChecks.js.diff
index 1897a2fcc0..24b9038832 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveExcessPropertyChecks.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveExcessPropertyChecks.js.diff
@@ -8,6 +8,4 @@
-// Repro from #35804
function getMaxId(items) {
}
--var nodes = [];
-+const nodes = [];
- getMaxId(nodes);
\ No newline at end of file
+ const nodes = [];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType1.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType1.js.diff
index ca4f98e4a1..387c62da81 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType1.js.diff
@@ -7,11 +7,8 @@
-//// [recursiveExportAssignmentAndFindAliasedType1_moduleB.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
-- var ClassB = /** @class */ (function () {
-- function ClassB() {
-- }
-- return ClassB;
-- }());
+- class ClassB {
+- }
- return ClassB;
-});
//// [recursiveExportAssignmentAndFindAliasedType1_moduleA.js]
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType2.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType2.js.diff
index 88539bc7ea..a9306ae6a0 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType2.js.diff
@@ -7,11 +7,8 @@
-//// [recursiveExportAssignmentAndFindAliasedType2_moduleB.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
-- var ClassB = /** @class */ (function () {
-- function ClassB() {
-- }
-- return ClassB;
-- }());
+- class ClassB {
+- }
- return ClassB;
-});
//// [recursiveExportAssignmentAndFindAliasedType2_moduleA.js]
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType3.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType3.js.diff
index 303f05a875..9f04f70a13 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType3.js.diff
@@ -7,11 +7,8 @@
-//// [recursiveExportAssignmentAndFindAliasedType3_moduleB.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
-- var ClassB = /** @class */ (function () {
-- function ClassB() {
-- }
-- return ClassB;
-- }());
+- class ClassB {
+- }
- return ClassB;
-});
//// [recursiveExportAssignmentAndFindAliasedType3_moduleA.js]
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType4.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType4.js.diff
index 89c7b894c0..ec784cea3c 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType4.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType4.js.diff
@@ -12,11 +12,8 @@
-//// [recursiveExportAssignmentAndFindAliasedType4_moduleB.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
-- var ClassB = /** @class */ (function () {
-- function ClassB() {
-- }
-- return ClassB;
-- }());
+- class ClassB {
+- }
- return ClassB;
-});
//// [recursiveExportAssignmentAndFindAliasedType4_moduleA.js]
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType5.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType5.js.diff
index c7a0d395f1..86a8b37d1d 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType5.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType5.js.diff
@@ -17,11 +17,8 @@
-//// [recursiveExportAssignmentAndFindAliasedType5_moduleB.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
-- var ClassB = /** @class */ (function () {
-- function ClassB() {
-- }
-- return ClassB;
-- }());
+- class ClassB {
+- }
- return ClassB;
-});
//// [recursiveExportAssignmentAndFindAliasedType5_moduleA.js]
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType6.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType6.js.diff
index 388d34cb3c..4c4239988d 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType6.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType6.js.diff
@@ -22,11 +22,8 @@
-//// [recursiveExportAssignmentAndFindAliasedType6_moduleB.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
-- var ClassB = /** @class */ (function () {
-- function ClassB() {
-- }
-- return ClassB;
-- }());
+- class ClassB {
+- }
- return ClassB;
-});
//// [recursiveExportAssignmentAndFindAliasedType6_moduleA.js]
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType7.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType7.js.diff
index 3aabb7e7f8..5cb4418fb5 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType7.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveExportAssignmentAndFindAliasedType7.js.diff
@@ -23,11 +23,8 @@
-//// [recursiveExportAssignmentAndFindAliasedType7_moduleB.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
-- var ClassB = /** @class */ (function () {
-- function ClassB() {
-- }
-- return ClassB;
-- }());
+- class ClassB {
+- }
- return ClassB;
-});
//// [recursiveExportAssignmentAndFindAliasedType7_moduleA.js]
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveFieldSetting.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveFieldSetting.js.diff
index 757e265369..96bf837555 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveFieldSetting.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveFieldSetting.js.diff
@@ -1,41 +1,29 @@
--- old.recursiveFieldSetting.js
+++ new.recursiveFieldSetting.js
-@@= skipped -21, +21 lines =@@
-
+@@= skipped -22, +22 lines =@@
//// [recursiveFieldSetting.js]
// #32721
--var Recursive1 = /** @class */ (function () {
-- function Recursive1(parent) {
-+class Recursive1 {
+ class Recursive1 {
+ parent;
-+ constructor(parent) {
+ constructor(parent) {
this.parent = parent;
- this.depth = this.parent ? this.parent.depth + 1 : 0;
-- }
-- return Recursive1;
--}());
--var Recursive2 = /** @class */ (function () {
-- function Recursive2() {
+ }
++ depth = this.parent ? this.parent.depth + 1 : 0;
+ }
+ class Recursive2 {
+- constructor() {
- this.depth = this.parent.depth;
- }
-- return Recursive2;
--}());
--var Recursive3 = /** @class */ (function () {
-- function Recursive3() {
++ parent;
++ depth = this.parent.depth;
+ }
+ class Recursive3 {
+- constructor() {
- this.depth = this.parent.alpha;
- this.alpha = 0;
- }
-- return Recursive3;
--}());
-+ }
-+ depth = this.parent ? this.parent.depth + 1 : 0;
-+}
-+class Recursive2 {
-+ parent;
-+ depth = this.parent.depth;
-+}
-+class Recursive3 {
+ parent;
+ depth = this.parent.alpha;
+ alpha = 0;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveFunctionTypes.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveFunctionTypes.js.diff
deleted file mode 100644
index e150340b14..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveFunctionTypes.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.recursiveFunctionTypes.js
-+++ new.recursiveFunctionTypes.js
-@@= skipped -56, +56 lines =@@
- function g2() { }
- function f3() { return f3; }
- var a = f3; // error
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.g = function (t) { };
-- return C;
--}());
-+class C {
-+ static g(t) { }
-+}
- C.g(3); // error
- var f4;
- f4 = 3; // error
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveFunctionTypes1.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveFunctionTypes1.js.diff
deleted file mode 100644
index 5d21ed71e7..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveFunctionTypes1.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.recursiveFunctionTypes1.js
-+++ new.recursiveFunctionTypes1.js
-@@= skipped -5, +5 lines =@@
- }
-
- //// [recursiveFunctionTypes1.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.g = function (t) { };
-- return C;
--}());
-+class C {
-+ static g(t) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveGetterAccess.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveGetterAccess.js.diff
deleted file mode 100644
index e99f6a0f6d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveGetterAccess.js.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- old.recursiveGetterAccess.js
-+++ new.recursiveGetterAccess.js
-@@= skipped -7, +7 lines =@@
-
-
- //// [recursiveGetterAccess.js]
--var MyClass = /** @class */ (function () {
-- function MyClass() {
-- }
-- Object.defineProperty(MyClass.prototype, "testProp", {
-- get: function () { return this.testProp; },
-- enumerable: false,
-- configurable: true
-- });
-- return MyClass;
--}());
-+class MyClass {
-+ get testProp() { return this.testProp; }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveInferenceBug.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveInferenceBug.js.diff
deleted file mode 100644
index 5cb6ba1b9e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveInferenceBug.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.recursiveInferenceBug.js
-+++ new.recursiveInferenceBug.js
-@@= skipped -18, +18 lines =@@
- return x;
- }
- var zz = {
-- g: function () { },
-+ g: () => { },
- get f() { return "abc"; },
- };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveInheritance3.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveInheritance3.js.diff
index a2b500c0e2..4b18671aa5 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveInheritance3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveInheritance3.js.diff
@@ -1,17 +1,12 @@
--- old.recursiveInheritance3.js
+++ new.recursiveInheritance3.js
-@@= skipped -10, +10 lines =@@
- }
+@@= skipped -11, +11 lines =@@
//// [recursiveInheritance3.js]
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.x = 1;
- }
-- C.prototype.foo = function (x) { return x; };
-- return C;
--}());
-+class C {
-+ foo(x) { return x; }
+ foo(x) { return x; }
+ x = 1;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveMods.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveMods.js.diff
index 4258a5d0cb..791ee65dce 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveMods.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveMods.js.diff
@@ -1,20 +1,6 @@
--- old.recursiveMods.js
+++ new.recursiveMods.js
-@@= skipped -30, +30 lines =@@
- exports.Foo = void 0;
- var Foo;
- (function (Foo) {
-- var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
-- }());
-+ class C {
-+ }
- Foo.C = C;
- })(Foo || (exports.Foo = Foo = {}));
- (function (Foo) {
-@@= skipped -12, +9 lines =@@
+@@= skipped -39, +39 lines =@@
if (true) {
return Bar();
}
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveProperties.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveProperties.js.diff
deleted file mode 100644
index 6c83246eda..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveProperties.js.diff
+++ /dev/null
@@ -1,32 +0,0 @@
---- old.recursiveProperties.js
-+++ new.recursiveProperties.js
-@@= skipped -9, +9 lines =@@
- }
-
- //// [recursiveProperties.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- Object.defineProperty(A.prototype, "testProp", {
-- get: function () { return this.testProp; },
-- enumerable: false,
-- configurable: true
-- });
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-- }
-- Object.defineProperty(B.prototype, "testProp", {
-- set: function (value) { this.testProp = value; },
-- enumerable: false,
-- configurable: true
-- });
-- return B;
--}());
-+class A {
-+ get testProp() { return this.testProp; }
-+}
-+class B {
-+ set testProp(value) { this.testProp = value; }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveReverseMappedType.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveReverseMappedType.js.diff
index 895d5d249d..607b35331a 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveReverseMappedType.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveReverseMappedType.js.diff
@@ -6,20 +6,6 @@
//// [recursiveReverseMappedType.js]
-"use strict";
-// Repro from #38198
--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)) {
-- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
-- ar[i] = from[i];
-- }
-- }
-- return to.concat(ar || Array.prototype.slice.call(from));
--};
function join(l) {
-- return __spreadArray(['marker'], l, true);
-+ return ['marker', ...l];
- }
- function a(l) {
-- var x = join(l);
-+ const x = join(l);
+ return ['marker', ...l];
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveSpecializationOfSignatures.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveSpecializationOfSignatures.js.diff
index 1a4018352c..cefae5bf7a 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveSpecializationOfSignatures.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveSpecializationOfSignatures.js.diff
@@ -1,24 +1,10 @@
--- old.recursiveSpecializationOfSignatures.js
+++ new.recursiveSpecializationOfSignatures.js
-@@= skipped -8, +8 lines =@@
-
+@@= skipped -9, +9 lines =@@
//// [recursiveSpecializationOfSignatures.js]
--var S0 = /** @class */ (function () {
-- function S0(S17) {
-+class S0 {
+ class S0 {
+ S17;
-+ set S1(S2) {
-+ }
-+ constructor(S17) {
- this.S17 = S17;
+ set S1(S2) {
}
-- Object.defineProperty(S0.prototype, "S1", {
-- set: function (S2) {
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return S0;
--}());
-+}
\ No newline at end of file
+ constructor(S17) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveTupleTypeInference.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveTupleTypeInference.js.diff
index 8e6ead5722..76a61bfca6 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveTupleTypeInference.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveTupleTypeInference.js.diff
@@ -6,8 +6,5 @@
"use strict";
-// Repro from #37475
Object.defineProperty(exports, "__esModule", { value: true });
--var gK = { b: ["number", "null"] };
-+const gK = { b: ["number", "null"] };
- function foo(g) {
- return {};
- }
\ No newline at end of file
+ const gK = { b: ["number", "null"] };
+ function foo(g) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveTupleTypes1.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveTupleTypes1.js.diff
deleted file mode 100644
index 9a0229425e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveTupleTypes1.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.recursiveTupleTypes1.js
-+++ new.recursiveTupleTypes1.js
-@@= skipped -15, +15 lines =@@
-
-
- //// [recursiveTupleTypes1.js]
--var tree1;
--var tree2;
-+let tree1;
-+let tree2;
- tree1 = tree2;
- tree2 = tree1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveTupleTypes2.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveTupleTypes2.js.diff
deleted file mode 100644
index d167be70fb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveTupleTypes2.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.recursiveTupleTypes2.js
-+++ new.recursiveTupleTypes2.js
-@@= skipped -15, +15 lines =@@
-
-
- //// [recursiveTupleTypes2.js]
--var tree1;
--var tree2;
-+let tree1;
-+let tree2;
- tree1 = tree2;
- tree2 = tree1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveTypeAliasWithSpreadConditionalReturnNotCircular.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveTypeAliasWithSpreadConditionalReturnNotCircular.js.diff
deleted file mode 100644
index 86c650e562..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveTypeAliasWithSpreadConditionalReturnNotCircular.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.recursiveTypeAliasWithSpreadConditionalReturnNotCircular.js
-+++ new.recursiveTypeAliasWithSpreadConditionalReturnNotCircular.js
-@@= skipped -29, +29 lines =@@
- //// [recursiveTypeAliasWithSpreadConditionalReturnNotCircular.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
--var zipped1 = opt1.zip1(opt2, opt3);
--var zipped2 = opt1.zip2(opt2, opt3);
--var zipped3 = opt1.zip3(opt2, opt3);
-+const zipped1 = opt1.zip1(opt2, opt3);
-+const zipped2 = opt1.zip2(opt2, opt3);
-+const zipped3 = opt1.zip3(opt2, opt3);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveTypeParameterConstraintReferenceLacksTypeArgs.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveTypeParameterConstraintReferenceLacksTypeArgs.js.diff
deleted file mode 100644
index 3d0fb33a76..0000000000
--- a/testdata/baselines/reference/submodule/compiler/recursiveTypeParameterConstraintReferenceLacksTypeArgs.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.recursiveTypeParameterConstraintReferenceLacksTypeArgs.js
-+++ new.recursiveTypeParameterConstraintReferenceLacksTypeArgs.js
-@@= skipped -3, +3 lines =@@
- class A { }
-
- //// [recursiveTypeParameterConstraintReferenceLacksTypeArgs.js]
--var A = /** @class */ (function () {
-- function A() {
-- }
-- return A;
--}());
-+class A {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveTypeParameterReferenceError1.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveTypeParameterReferenceError1.js.diff
index 9841e5d3cd..cc8540afd9 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveTypeParameterReferenceError1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveTypeParameterReferenceError1.js.diff
@@ -1,25 +1,10 @@
--- old.recursiveTypeParameterReferenceError1.js
+++ new.recursiveTypeParameterReferenceError1.js
-@@= skipped -19, +19 lines =@@
-
-
- //// [recursiveTypeParameterReferenceError1.js]
--var X = /** @class */ (function () {
-- function X() {
-- }
-- return X;
--}());
-+class X {
-+}
+@@= skipped -24, +24 lines =@@
var f;
var r = f.z;
--var C2 = /** @class */ (function () {
-- function C2() {
-- }
-- return C2;
--}());
-+class C2 {
+ class C2 {
+ x;
-+}
+ }
var f2;
var r2 = f2.ofC4;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursiveTypeRelations.js.diff b/testdata/baselines/reference/submodule/compiler/recursiveTypeRelations.js.diff
index ec15e8d47a..72cb5f8aa6 100644
--- a/testdata/baselines/reference/submodule/compiler/recursiveTypeRelations.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursiveTypeRelations.js.diff
@@ -7,32 +7,4 @@
-// Repro from #14896
Object.defineProperty(exports, "__esModule", { value: true });
exports.css = css;
--var Query = /** @class */ (function () {
-- function Query() {
-- }
-- return Query;
--}());
--function css(styles) {
-- var classNames = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- classNames[_i - 1] = arguments[_i];
-- }
-- var args = classNames.map(function (arg) {
-+class Query {
-+}
-+function css(styles, ...classNames) {
-+ const args = classNames.map(arg => {
- if (arg == null) {
- return null;
- }
-@@= skipped -21, +13 lines =@@
- return styles[arg];
- }
- if (typeof arg == "object") {
-- return Object.keys(arg).reduce(function (obj, key) {
-- var exportedClassName = styles[key];
-+ return Object.keys(arg).reduce((obj, key) => {
-+ const exportedClassName = styles[key];
- obj[exportedClassName] = arg[key];
- return obj;
- }, {});
\ No newline at end of file
+ class Query {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/recursivelySpecializedConstructorDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/recursivelySpecializedConstructorDeclaration.js.diff
index e7d86bfdb3..035dd0bced 100644
--- a/testdata/baselines/reference/submodule/compiler/recursivelySpecializedConstructorDeclaration.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/recursivelySpecializedConstructorDeclaration.js.diff
@@ -1,24 +1,7 @@
--- old.recursivelySpecializedConstructorDeclaration.js
+++ new.recursivelySpecializedConstructorDeclaration.js
-@@= skipped -31, +31 lines =@@
- */
-
+@@= skipped -33, +33 lines =@@
//// [recursivelySpecializedConstructorDeclaration.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
var MsPortal;
(function (MsPortal) {
- var Controls;
@@ -30,24 +13,5 @@
- var ItemList;
+ let ItemList;
(function (ItemList) {
-- var ItemValue = /** @class */ (function () {
-- function ItemValue(value) {
-+ class ItemValue {
-+ constructor(value) {
- }
-- return ItemValue;
-- }());
-+ }
- ItemList.ItemValue = ItemValue;
-- var ViewModel = /** @class */ (function (_super) {
-- __extends(ViewModel, _super);
-- function ViewModel() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return ViewModel;
-- }(ItemValue));
-+ class ViewModel extends ItemValue {
-+ }
- ItemList.ViewModel = ViewModel;
- })(ItemList = Base.ItemList || (Base.ItemList = {}));
- })(Base = Controls.Base || (Controls.Base = {}));
\ No newline at end of file
+ class ItemValue {
+ constructor(value) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reexportDefaultIsCallable.js.diff b/testdata/baselines/reference/submodule/compiler/reexportDefaultIsCallable.js.diff
index 5411690e0f..b3023e4517 100644
--- a/testdata/baselines/reference/submodule/compiler/reexportDefaultIsCallable.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reexportDefaultIsCallable.js.diff
@@ -1,37 +1,11 @@
--- old.reexportDefaultIsCallable.js
+++ new.reexportDefaultIsCallable.js
-@@= skipped -10, +10 lines =@@
-
- //// [usage.js]
- "use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var __importDefault = (this && this.__importDefault) || function (mod) {
+@@= skipped -14, +14 lines =@@
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
-var reexporter_1 = __importDefault(require("./reexporter"));
--var Mine = /** @class */ (function (_super) {
-- __extends(Mine, _super);
-- function Mine() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return Mine;
--}(reexporter_1.default));
+const reexporter_1 = __importDefault(require("./reexporter"));
-+class Mine extends reexporter_1.default {
-+}
+ class Mine extends reexporter_1.default {
+ }
exports.default = Mine;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reexportMissingDefault7.js.diff b/testdata/baselines/reference/submodule/compiler/reexportMissingDefault7.js.diff
deleted file mode 100644
index e6377b8c62..0000000000
--- a/testdata/baselines/reference/submodule/compiler/reexportMissingDefault7.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.reexportMissingDefault7.js
-+++ new.reexportMissingDefault7.js
-@@= skipped -7, +7 lines =@@
- export { default } from "./b";
-
- //// [b.js]
--export var b = null;
-+export const b = null;
- //// [a.js]
- export { b } from "./b";
- export { default } from "./b";
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reexportMissingDefault8.js.diff b/testdata/baselines/reference/submodule/compiler/reexportMissingDefault8.js.diff
index 437ef33425..313f78c742 100644
--- a/testdata/baselines/reference/submodule/compiler/reexportMissingDefault8.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reexportMissingDefault8.js.diff
@@ -1,15 +1,6 @@
--- old.reexportMissingDefault8.js
+++ new.reexportMissingDefault8.js
-@@= skipped -8, +8 lines =@@
-
- //// [b.js]
- "use strict";
--var b = null;
-+const b = null;
- module.exports = b;
- //// [a.js]
- "use strict";
-@@= skipped -9, +9 lines =@@
+@@= skipped -17, +17 lines =@@
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = void 0;
diff --git a/testdata/baselines/reference/submodule/compiler/reexportWrittenCorrectlyInDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/reexportWrittenCorrectlyInDeclaration.js.diff
index 09e672a16f..22df2cbce6 100644
--- a/testdata/baselines/reference/submodule/compiler/reexportWrittenCorrectlyInDeclaration.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reexportWrittenCorrectlyInDeclaration.js.diff
@@ -1,30 +1,6 @@
--- old.reexportWrittenCorrectlyInDeclaration.js
+++ new.reexportWrittenCorrectlyInDeclaration.js
-@@= skipped -20, +20 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.ThingA = void 0;
--var ThingA = /** @class */ (function () {
-- function ThingA() {
-- }
-- return ThingA;
--}());
-+class ThingA {
-+}
- exports.ThingA = ThingA;
- //// [ThingB.js]
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.ThingB = void 0;
--var ThingB = /** @class */ (function () {
-- function ThingB() {
-- }
-- return ThingB;
--}());
-+class ThingB {
-+}
- exports.ThingB = ThingB;
- //// [Things.js]
+@@= skipped -34, +34 lines =@@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ThingB = exports.ThingA = void 0;
@@ -38,14 +14,10 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Test = void 0;
--var Test = /** @class */ (function () {
-- function Test() {
-- this.method = function (input) { };
+ class Test {
+- constructor() {
+- this.method = (input) => { };
- }
-- return Test;
--}());
-+class Test {
+ method = (input) => { };
-+}
+ }
exports.Test = Test;
-
diff --git a/testdata/baselines/reference/submodule/compiler/reexportedMissingAlias.js.diff b/testdata/baselines/reference/submodule/compiler/reexportedMissingAlias.js.diff
index d444e45b03..1630822376 100644
--- a/testdata/baselines/reference/submodule/compiler/reexportedMissingAlias.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reexportedMissingAlias.js.diff
@@ -1,33 +1,10 @@
--- old.reexportedMissingAlias.js
+++ new.reexportedMissingAlias.js
-@@= skipped -11, +11 lines =@@
-
+@@= skipped -12, +12 lines =@@
//// [crash.js]
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
-var first_1 = require("./first");
--var C = /** @class */ (function (_super) {
-- __extends(C, _super);
-- function C() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return C;
--}(first_1.Component));
+const first_1 = require("./first");
-+class C extends first_1.Component {
-+}
\ No newline at end of file
+ class C extends first_1.Component {
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/referenceSatisfiesExpression.js.diff b/testdata/baselines/reference/submodule/compiler/referenceSatisfiesExpression.js.diff
deleted file mode 100644
index d007218ad2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/referenceSatisfiesExpression.js.diff
+++ /dev/null
@@ -1,35 +0,0 @@
---- old.referenceSatisfiesExpression.js
-+++ new.referenceSatisfiesExpression.js
-@@= skipped -28, +28 lines =@@
-
-
- //// [referenceSatisfiesExpression.js]
--var a = 10;
-+let a = 10;
- --a;
- ++a;
- a++;
- a--;
--var b;
-+let b;
- b = 10;
--var c;
--c = [10][0];
--var d, e = 1;
--(e = { d: 10 }.d);
--var g = 1;
--for (var _i = 0, _a = [10]; _i < _a.length; _i++) {
-- g = _a[_i];
-+let c;
-+[c] = [10];
-+let d, e = 1;
-+({ d: e } = { d: 10 });
-+let g = 1;
-+for (g of [10]) {
- console.log(g);
- }
--var x = "hello";
-+let x = "hello";
- for (x in { a: 10 }) {
- console.log(x);
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/referenceTypesPreferedToPathIfPossible.js.diff b/testdata/baselines/reference/submodule/compiler/referenceTypesPreferedToPathIfPossible.js.diff
index ee9181f4cf..aca03f6e9a 100644
--- a/testdata/baselines/reference/submodule/compiler/referenceTypesPreferedToPathIfPossible.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/referenceTypesPreferedToPathIfPossible.js.diff
@@ -5,8 +5,6 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.thing = void 0;
-var url_1 = require("url");
--var thing = function () { return (0, url_1.parse)(); };
+const url_1 = require("url");
-+const thing = () => (0, url_1.parse)();
+ const thing = () => (0, url_1.parse)();
exports.thing = thing;
-
diff --git a/testdata/baselines/reference/submodule/compiler/regExpWithOpenBracketInCharClass(target=es5).js.diff b/testdata/baselines/reference/submodule/compiler/regExpWithOpenBracketInCharClass(target=es5).js.diff
deleted file mode 100644
index 4ee830a164..0000000000
--- a/testdata/baselines/reference/submodule/compiler/regExpWithOpenBracketInCharClass(target=es5).js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.regExpWithOpenBracketInCharClass(target=es5).js
-+++ new.regExpWithOpenBracketInCharClass(target=es5).js
-@@= skipped -8, +8 lines =@@
-
-
- //// [regExpWithOpenBracketInCharClass.js]
--var regexes = [
-+const regexes = [
- /[[]/, // Valid
- /[[]/u, // Valid
- /[[]/v, // Well-terminated regex with an incomplete character class
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/regularExpressionGroupNameSuggestions.js.diff b/testdata/baselines/reference/submodule/compiler/regularExpressionGroupNameSuggestions.js.diff
deleted file mode 100644
index e87f928fe4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/regularExpressionGroupNameSuggestions.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.regularExpressionGroupNameSuggestions.js
-+++ new.regularExpressionGroupNameSuggestions.js
-@@= skipped -4, +4 lines =@@
-
-
- //// [regularExpressionGroupNameSuggestions.js]
--var regex = /(?)\k/;
-+const regex = /(?)\k/;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/regularExpressionScanning(target=es5).js.diff b/testdata/baselines/reference/submodule/compiler/regularExpressionScanning(target=es5).js.diff
deleted file mode 100644
index c509753953..0000000000
--- a/testdata/baselines/reference/submodule/compiler/regularExpressionScanning(target=es5).js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.regularExpressionScanning(target=es5).js
-+++ new.regularExpressionScanning(target=es5).js
-@@= skipped -51, +51 lines =@@
-
-
- //// [regularExpressionScanning.js]
--var regexes = [
-+const regexes = [
- // Flags
- /foo/visualstudiocode,
- // Pattern modifiers
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/regularExpressionUnicodePropertyValueExpressionSuggestions.js.diff b/testdata/baselines/reference/submodule/compiler/regularExpressionUnicodePropertyValueExpressionSuggestions.js.diff
deleted file mode 100644
index 3738b854bd..0000000000
--- a/testdata/baselines/reference/submodule/compiler/regularExpressionUnicodePropertyValueExpressionSuggestions.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.regularExpressionUnicodePropertyValueExpressionSuggestions.js
-+++ new.regularExpressionUnicodePropertyValueExpressionSuggestions.js
-@@= skipped -4, +4 lines =@@
-
-
- //// [regularExpressionUnicodePropertyValueExpressionSuggestions.js]
--var regex = /\p{ascii}\p{Sc=Unknown}\p{sc=unknownX}\p{Script_Declensions=Inherited}\p{scx=inherit}/u;
-+const regex = /\p{ascii}\p{Sc=Unknown}\p{sc=unknownX}\p{Script_Declensions=Inherited}\p{scx=inherit}/u;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/relatedViaDiscriminatedTypeNoError.js.diff b/testdata/baselines/reference/submodule/compiler/relatedViaDiscriminatedTypeNoError.js.diff
index 75e31c6df3..03952640db 100644
--- a/testdata/baselines/reference/submodule/compiler/relatedViaDiscriminatedTypeNoError.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/relatedViaDiscriminatedTypeNoError.js.diff
@@ -1,50 +1,16 @@
--- old.relatedViaDiscriminatedTypeNoError.js
+++ new.relatedViaDiscriminatedTypeNoError.js
-@@= skipped -13, +13 lines =@@
-
+@@= skipped -14, +14 lines =@@
//// [relatedViaDiscriminatedTypeNoError.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var Model = /** @class */ (function () {
-- function Model(flag) {
-+class Model {
+ class Model {
+ flag;
-+ constructor(flag) {
+ constructor(flag) {
this.flag = flag;
}
-- return Model;
--}());
--var A = /** @class */ (function () {
-- function A(model) {
-+}
-+class A {
+ }
+ class A {
+ model;
-+ constructor(model) {
+ constructor(model) {
this.model = model;
- }
-- return A;
--}());
--var B = /** @class */ (function (_super) {
-- __extends(B, _super);
-- function B() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return B;
--}(A));
-+}
-+class B extends A {
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/relationalOperatorComparable.js.diff b/testdata/baselines/reference/submodule/compiler/relationalOperatorComparable.js.diff
deleted file mode 100644
index d86b0eb211..0000000000
--- a/testdata/baselines/reference/submodule/compiler/relationalOperatorComparable.js.diff
+++ /dev/null
@@ -1,33 +0,0 @@
---- old.relationalOperatorComparable.js
-+++ new.relationalOperatorComparable.js
-@@= skipped -19, +19 lines =@@
-
- //// [relationalOperatorComparable.js]
- function f(onethree, two) {
-- var t = true;
-- var f = false;
-- var a1 = onethree < two; // ok
-- var a2 = onethree < true; // error, number and boolean
-- var a3 = onethree <= false; // error, number and boolean
-- var a4 = onethree >= t; // error, number and boolean
-- var a5 = onethree > f; // error, number and boolean
-- var a6 = true < onethree; // error, boolean and number
-- var a7 = false < two; // error, boolean and number
-- var a8 = 'foo' < onethree; // error, string and number
-- var a9 = onethree < 1; // ok
-- var a10 = 1 < two; // ok
-- var a11 = 2 < 1; // ok
-+ const t = true;
-+ const f = false;
-+ let a1 = onethree < two; // ok
-+ let a2 = onethree < true; // error, number and boolean
-+ let a3 = onethree <= false; // error, number and boolean
-+ let a4 = onethree >= t; // error, number and boolean
-+ let a5 = onethree > f; // error, number and boolean
-+ let a6 = true < onethree; // error, boolean and number
-+ let a7 = false < two; // error, boolean and number
-+ let a8 = 'foo' < onethree; // error, string and number
-+ let a9 = onethree < 1; // ok
-+ let a10 = 1 < two; // ok
-+ let a11 = 2 < 1; // ok
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/requireEmitSemicolon.js.diff b/testdata/baselines/reference/submodule/compiler/requireEmitSemicolon.js.diff
index 9226acd586..7e82611ca3 100644
--- a/testdata/baselines/reference/submodule/compiler/requireEmitSemicolon.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/requireEmitSemicolon.js.diff
@@ -10,11 +10,9 @@
- exports.Models = void 0;
- var Models;
- (function (Models) {
-- var Person = /** @class */ (function () {
-- function Person(name) {
-- }
-- return Person;
-- }());
+- class Person {
+- constructor(name) { }
+- }
- Models.Person = Person;
- })(Models || (exports.Models = Models = {}));
-});
@@ -35,17 +33,10 @@
- exports.Database = void 0;
- var Database;
- (function (Database) {
-- var DB = /** @class */ (function () {
-- function DB() {
-- }
-- DB.prototype.findPerson = function (id) {
+- class DB {
+- findPerson(id) {
- return new P.Models.Person("Rock");
-- };
-- return DB;
-- }());
-- Database.DB = DB;
-- })(Database || (exports.Database = Database = {}));
--});
+- }
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Database = void 0;
@@ -56,7 +47,10 @@
+ class DB {
+ findPerson(id) {
+ return new P.Models.Person("Rock");
-+ }
+ }
+- Database.DB = DB;
+- })(Database || (exports.Database = Database = {}));
+-});
+ }
+ Database.DB = DB;
+})(Database || (exports.Database = Database = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithAlwaysStrictWithoutErrors.js.diff b/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithAlwaysStrictWithoutErrors.js.diff
index 8246774e27..ec66905167 100644
--- a/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithAlwaysStrictWithoutErrors.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithAlwaysStrictWithoutErrors.js.diff
@@ -13,13 +13,10 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var b1 = require("./b.json");
--var x = b1.a;
--var b2 = require("./b.json");
+const b1 = require("./b.json");
-+let x = b1.a;
+ let x = b1.a;
+-var b2 = require("./b.json");
+const b2 = require("./b.json");
if (x) {
-- var b = b2.b;
-+ let b = b2.b;
- x = (b1.b === b);
- }
\ No newline at end of file
+ let b = b2.b;
+ x = (b1.b === b);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithComputedPropertyName.js.diff b/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithComputedPropertyName.js.diff
index eb03f3fe44..253b294048 100644
--- a/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithComputedPropertyName.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithComputedPropertyName.js.diff
@@ -5,18 +5,16 @@
}
-//// [b.json]
--var _a;
--_a = {},
-- _a[a] = 10,
-- _a;
+-{
+- [a]: 10
+-}
//// [file1.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var b1 = require("./b.json");
--var x = b1;
--var b2 = require("./b.json");
+const b1 = require("./b.json");
-+let x = b1;
+ let x = b1;
+-var b2 = require("./b.json");
+const b2 = require("./b.json");
if (x) {
x = b2;
diff --git a/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithDeclaration.js.diff b/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithDeclaration.js.diff
index 0c322c3373..9d4216b949 100644
--- a/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithDeclaration.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithDeclaration.js.diff
@@ -13,13 +13,10 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var b1 = require("./b.json");
--var x = b1.a;
--var b2 = require("./b.json");
+const b1 = require("./b.json");
-+let x = b1.a;
+ let x = b1.a;
+-var b2 = require("./b.json");
+const b2 = require("./b.json");
if (x) {
-- var b = b2.b;
-+ let b = b2.b;
- x = (b1.b === b);
- }
+ let b = b2.b;
+ x = (b1.b === b);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithSourceMap.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithSourceMap.sourcemap.txt.diff
index b7434fa9f9..a2e14c49ea 100644
--- a/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithSourceMap.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithSourceMap.sourcemap.txt.diff
@@ -24,11 +24,8 @@
+3 >Emitted(3, 9) Source(1, 10) + SourceIndex(0)
+4 >Emitted(3, 32) Source(1, 33) + SourceIndex(0)
---
-->>>var x = b1.a;
-+>>>let x = b1.a;
+ >>>let x = b1.a;
1 >
- 2 >^^^^
- 3 > ^
@@= skipped -17, +23 lines =@@
6 > ^
7 > ^
@@ -62,13 +59,4 @@
+4 >Emitted(5, 32) Source(3, 33) + SourceIndex(0)
---
>>>if (x) {
- 1 >
-@@= skipped -28, +34 lines =@@
- 4 >Emitted(6, 8) Source(4, 8) + SourceIndex(0)
- 5 >Emitted(6, 9) Source(4, 9) + SourceIndex(0)
- ---
-->>> var b = b2.b;
-+>>> let b = b2.b;
- 1->^^^^
- 2 > ^^^^
- 3 > ^
\ No newline at end of file
+ 1 >
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithoutAllowJs.js.diff b/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithoutAllowJs.js.diff
index ae68edaca3..8e6d84cf4a 100644
--- a/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithoutAllowJs.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithoutAllowJs.js.diff
@@ -13,13 +13,10 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var b1 = require("./b.json");
--var x = b1.a;
--var b2 = require("./b.json");
+const b1 = require("./b.json");
-+let x = b1.a;
+ let x = b1.a;
+-var b2 = require("./b.json");
+const b2 = require("./b.json");
if (x) {
-- var b = b2.b;
-+ let b = b2.b;
- x = (b1.b === b);
- }
\ No newline at end of file
+ let b = b2.b;
+ x = (b1.b === b);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithoutOutDir.js.diff b/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithoutOutDir.js.diff
index aa2c0de9ef..2c3fd5257f 100644
--- a/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithoutOutDir.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/requireOfJsonFileWithoutOutDir.js.diff
@@ -5,13 +5,10 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var b1 = require("./b.json");
--var x = b1.a;
--var b2 = require("./b.json");
+const b1 = require("./b.json");
-+let x = b1.a;
+ let x = b1.a;
+-var b2 = require("./b.json");
+const b2 = require("./b.json");
if (x) {
-- var b = b2.b;
-+ let b = b2.b;
- x = (b1.b === b);
- }
\ No newline at end of file
+ let b = b2.b;
+ x = (b1.b === b);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/requiredInitializedParameter1.js.diff b/testdata/baselines/reference/submodule/compiler/requiredInitializedParameter1.js.diff
deleted file mode 100644
index ed926d9968..0000000000
--- a/testdata/baselines/reference/submodule/compiler/requiredInitializedParameter1.js.diff
+++ /dev/null
@@ -1,30 +0,0 @@
---- old.requiredInitializedParameter1.js
-+++ new.requiredInitializedParameter1.js
-@@= skipped -21, +21 lines =@@
- f4(0);
-
- //// [requiredInitializedParameter1.js]
--function f1(a, b, c) {
-- if (b === void 0) { b = 0; }
--}
--function f2(a, b, c) {
-- if (b === void 0) { b = 0; }
-- if (c === void 0) { c = 0; }
--}
--function f3(a, b, c) {
-- if (b === void 0) { b = 0; }
--}
--function f4(a, b) {
-- if (b === void 0) { b = 0; }
-- var c = [];
-- for (var _i = 2; _i < arguments.length; _i++) {
-- c[_i - 2] = arguments[_i];
-- }
--}
-+function f1(a, b = 0, c) { }
-+function f2(a, b = 0, c = 0) { }
-+function f3(a, b = 0, c) { }
-+function f4(a, b = 0, ...c) { }
- f1(0, 1, 2);
- f2(0, 1, 2);
- f3(0, 1, 2);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/requiredInitializedParameter2.js.diff b/testdata/baselines/reference/submodule/compiler/requiredInitializedParameter2.js.diff
deleted file mode 100644
index c3f4f6125c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/requiredInitializedParameter2.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.requiredInitializedParameter2.js
-+++ new.requiredInitializedParameter2.js
-@@= skipped -9, +9 lines =@@
- }
-
- //// [requiredInitializedParameter2.js]
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- C1.prototype.method = function (a, b) {
-- if (a === void 0) { a = 0; }
-- };
-- return C1;
--}());
-+class C1 {
-+ method(a = 0, b) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/requiredInitializedParameter3.js.diff b/testdata/baselines/reference/submodule/compiler/requiredInitializedParameter3.js.diff
deleted file mode 100644
index 58403dd241..0000000000
--- a/testdata/baselines/reference/submodule/compiler/requiredInitializedParameter3.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.requiredInitializedParameter3.js
-+++ new.requiredInitializedParameter3.js
-@@= skipped -9, +9 lines =@@
- }
-
- //// [requiredInitializedParameter3.js]
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- C1.prototype.method = function (a, b) {
-- if (a === void 0) { a = 0; }
-- };
-- return C1;
--}());
-+class C1 {
-+ method(a = 0, b) { }
-+}
-
-
- //// [requiredInitializedParameter3.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/requiredInitializedParameter4.js.diff b/testdata/baselines/reference/submodule/compiler/requiredInitializedParameter4.js.diff
deleted file mode 100644
index f533f2f20c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/requiredInitializedParameter4.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.requiredInitializedParameter4.js
-+++ new.requiredInitializedParameter4.js
-@@= skipped -5, +5 lines =@@
- }
-
- //// [requiredInitializedParameter4.js]
--var C1 = /** @class */ (function () {
-- function C1() {
-- }
-- C1.prototype.method = function (a, b) {
-- if (a === void 0) { a = 0; }
-- };
-- return C1;
--}());
-+class C1 {
-+ method(a = 0, b) { }
-+}
-
-
- //// [requiredInitializedParameter4.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/requiredMappedTypeModifierTrumpsVariance.js.diff b/testdata/baselines/reference/submodule/compiler/requiredMappedTypeModifierTrumpsVariance.js.diff
index c2b8745c58..2587509de5 100644
--- a/testdata/baselines/reference/submodule/compiler/requiredMappedTypeModifierTrumpsVariance.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/requiredMappedTypeModifierTrumpsVariance.js.diff
@@ -1,13 +1,6 @@
--- old.requiredMappedTypeModifierTrumpsVariance.js
+++ new.requiredMappedTypeModifierTrumpsVariance.js
-@@= skipped -27, +27 lines =@@
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.BB = exports.AA = exports.B = exports.A = void 0;
--var a = { a: 1, x: 1 };
--var b = { b: 1, x: 1 };
-+const a = { a: 1, x: 1 };
-+const b = { b: 1, x: 1 };
+@@= skipped -32, +32 lines =@@
exports.A = a;
exports.B = b;
exports.A = b; // Should Error
@@ -16,10 +9,8 @@
+B = a; // Should Error
a.b; // Property 'b' does not exist on type 'Required<{ a?: 1; x: 1; }>'.
b.a; // Property 'a' does not exist on type 'Required<{ b?: 1; x: 1; }>'.
--var aa = { a: { a: 1, x: 1 } };
--var bb = { a: { b: 1, x: 1 } };
-+const aa = { a: { a: 1, x: 1 } };
-+const bb = { a: { b: 1, x: 1 } };
+ const aa = { a: { a: 1, x: 1 } };
+@@= skipped -8, +9 lines =@@
exports.AA = aa;
exports.BB = bb;
exports.AA = bb; // Should Error
diff --git a/testdata/baselines/reference/submodule/compiler/reservedWords2.js.diff b/testdata/baselines/reference/submodule/compiler/reservedWords2.js.diff
deleted file mode 100644
index 30f9cf506a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/reservedWords2.js.diff
+++ /dev/null
@@ -1,32 +0,0 @@
---- old.reservedWords2.js
-+++ new.reservedWords2.js
-@@= skipped -26, +26 lines =@@
- typeof ;
- 10;
- function () { }
--throw function () { };
-+throw () => { };
- module;
- void {};
--var _a = { while: 1, return: 2 }, = _a.while, = _a.return;
--var _b = { this: 1, switch: { continue: 2 } }, = _b.this, = _b.switch.continue;
--var _c = void 0;
-+var { while: , return: } = { while: 1, return: 2 };
-+var { this: , switch: { continue: } } = { this: 1, switch: { continue: 2 } };
-+var [];
- debugger;
- if ()
- ;
-@@= skipped -14, +14 lines =@@
- })( || ( = {}));
- void {};
- function f() { }
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.m = function (, string) { };
-- return C;
--}());
-+class C {
-+ m(, string) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reservedWords3.js.diff b/testdata/baselines/reference/submodule/compiler/reservedWords3.js.diff
deleted file mode 100644
index 8ba59e65c4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/reservedWords3.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.reservedWords3.js
-+++ new.reservedWords3.js
-@@= skipped -14, +14 lines =@@
- })( || ( = {}));
- { }
- function f2() { }
--var default_1 = /** @class */ (function () {
-- function default_1() {
-- }
-- return default_1;
--}());
-+class {
-+}
- { }
- function f3() { }
- function () { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/resolveInterfaceNameWithSameLetDeclarationName1.js.diff b/testdata/baselines/reference/submodule/compiler/resolveInterfaceNameWithSameLetDeclarationName1.js.diff
deleted file mode 100644
index e55fad7c72..0000000000
--- a/testdata/baselines/reference/submodule/compiler/resolveInterfaceNameWithSameLetDeclarationName1.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.resolveInterfaceNameWithSameLetDeclarationName1.js
-+++ new.resolveInterfaceNameWithSameLetDeclarationName1.js
-@@= skipped -5, +5 lines =@@
-
-
- //// [resolveInterfaceNameWithSameLetDeclarationName1.js]
--var bar;
-+let bar;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/resolveInterfaceNameWithSameLetDeclarationName2.js.diff b/testdata/baselines/reference/submodule/compiler/resolveInterfaceNameWithSameLetDeclarationName2.js.diff
deleted file mode 100644
index 270976e647..0000000000
--- a/testdata/baselines/reference/submodule/compiler/resolveInterfaceNameWithSameLetDeclarationName2.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.resolveInterfaceNameWithSameLetDeclarationName2.js
-+++ new.resolveInterfaceNameWithSameLetDeclarationName2.js
-@@= skipped -6, +6 lines =@@
- let foo: bar | foo;
-
- //// [resolveInterfaceNameWithSameLetDeclarationName2.js]
--var bar;
--var foo;
-+let bar;
-+let foo;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/resolveModuleNameWithSameLetDeclarationName1.js.diff b/testdata/baselines/reference/submodule/compiler/resolveModuleNameWithSameLetDeclarationName1.js.diff
deleted file mode 100644
index b415fa7908..0000000000
--- a/testdata/baselines/reference/submodule/compiler/resolveModuleNameWithSameLetDeclarationName1.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.resolveModuleNameWithSameLetDeclarationName1.js
-+++ new.resolveModuleNameWithSameLetDeclarationName1.js
-@@= skipped -10, +10 lines =@@
- let foo: foo.Bar;
-
- //// [resolveModuleNameWithSameLetDeclarationName1.js]
--var foo;
-+let foo;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/resolveTypeAliasWithSameLetDeclarationName1.js.diff b/testdata/baselines/reference/submodule/compiler/resolveTypeAliasWithSameLetDeclarationName1.js.diff
deleted file mode 100644
index c4e0115bac..0000000000
--- a/testdata/baselines/reference/submodule/compiler/resolveTypeAliasWithSameLetDeclarationName1.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.resolveTypeAliasWithSameLetDeclarationName1.js
-+++ new.resolveTypeAliasWithSameLetDeclarationName1.js
-@@= skipped -6, +6 lines =@@
-
-
- //// [resolveTypeAliasWithSameLetDeclarationName1.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var baz;
-+class C {
-+}
-+let baz;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.js.diff b/testdata/baselines/reference/submodule/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.js.diff
deleted file mode 100644
index e807bf775a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.js.diff
+++ /dev/null
@@ -1,5875 +0,0 @@
---- old.resolvingClassDeclarationWhenInBaseTypeResolution.js
-+++ new.resolvingClassDeclarationWhenInBaseTypeResolution.js
-@@= skipped -1021, +1021 lines =@@
-
-
- //// [resolvingClassDeclarationWhenInBaseTypeResolution.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
- var rionegrensis;
- (function (rionegrensis) {
-- var caniventer = /** @class */ (function (_super) {
-- __extends(caniventer, _super);
-- function caniventer() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- caniventer.prototype.salomonseni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- caniventer.prototype.uchidai = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- caniventer.prototype.raffrayana = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- caniventer.prototype.Uranium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- caniventer.prototype.nayaur = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return caniventer;
-- }(Lanthanum.nitidus));
-+ class caniventer extends Lanthanum.nitidus {
-+ salomonseni() { var x; () => { var y = this; }; return x; }
-+ uchidai() { var x; () => { var y = this; }; return x; }
-+ raffrayana() { var x; () => { var y = this; }; return x; }
-+ Uranium() { var x; () => { var y = this; }; return x; }
-+ nayaur() { var x; () => { var y = this; }; return x; }
-+ }
- rionegrensis.caniventer = caniventer;
-- var veraecrucis = /** @class */ (function (_super) {
-- __extends(veraecrucis, _super);
-- function veraecrucis() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- veraecrucis.prototype.naso = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- veraecrucis.prototype.vancouverensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- veraecrucis.prototype.africana = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- veraecrucis.prototype.palliolata = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- veraecrucis.prototype.nivicola = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return veraecrucis;
-- }(trivirgatus.mixtus));
-+ class veraecrucis extends trivirgatus.mixtus {
-+ naso() { var x; () => { var y = this; }; return x; }
-+ vancouverensis() { var x; () => { var y = this; }; return x; }
-+ africana() { var x; () => { var y = this; }; return x; }
-+ palliolata() { var x; () => { var y = this; }; return x; }
-+ nivicola() { var x; () => { var y = this; }; return x; }
-+ }
- rionegrensis.veraecrucis = veraecrucis;
- })(rionegrensis || (rionegrensis = {}));
- var julianae;
- (function (julianae) {
-- var steerii = /** @class */ (function () {
-- function steerii() {
-- }
-- return steerii;
-- }());
-+ class steerii {
-+ }
- julianae.steerii = steerii;
-- var nudicaudus = /** @class */ (function () {
-- function nudicaudus() {
-- }
-- nudicaudus.prototype.brandtii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- nudicaudus.prototype.maxwellii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- nudicaudus.prototype.endoi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- nudicaudus.prototype.venezuelae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- nudicaudus.prototype.zamicrus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return nudicaudus;
-- }());
-+ class nudicaudus {
-+ brandtii() { var x; () => { var y = this; }; return x; }
-+ maxwellii() { var x; () => { var y = this; }; return x; }
-+ endoi() { var x; () => { var y = this; }; return x; }
-+ venezuelae() { var x; () => { var y = this; }; return x; }
-+ zamicrus() { var x; () => { var y = this; }; return x; }
-+ }
- julianae.nudicaudus = nudicaudus;
-- var galapagoensis = /** @class */ (function () {
-- function galapagoensis() {
-- }
-- galapagoensis.prototype.isabellae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- galapagoensis.prototype.rueppellii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- galapagoensis.prototype.peregusna = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- galapagoensis.prototype.gliroides = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- galapagoensis.prototype.banakrisi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- galapagoensis.prototype.rozendaali = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- galapagoensis.prototype.stuhlmanni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return galapagoensis;
-- }());
-+ class galapagoensis {
-+ isabellae() { var x; () => { var y = this; }; return x; }
-+ rueppellii() { var x; () => { var y = this; }; return x; }
-+ peregusna() { var x; () => { var y = this; }; return x; }
-+ gliroides() { var x; () => { var y = this; }; return x; }
-+ banakrisi() { var x; () => { var y = this; }; return x; }
-+ rozendaali() { var x; () => { var y = this; }; return x; }
-+ stuhlmanni() { var x; () => { var y = this; }; return x; }
-+ }
- julianae.galapagoensis = galapagoensis;
-- var albidens = /** @class */ (function () {
-- function albidens() {
-- }
-- albidens.prototype.mattheyi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- albidens.prototype.Astatine = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- albidens.prototype.vincenti = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- albidens.prototype.hirta = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- albidens.prototype.virginianus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- albidens.prototype.macrophyllum = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- albidens.prototype.porcellus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return albidens;
-- }());
-+ class albidens {
-+ mattheyi() { var x; () => { var y = this; }; return x; }
-+ Astatine() { var x; () => { var y = this; }; return x; }
-+ vincenti() { var x; () => { var y = this; }; return x; }
-+ hirta() { var x; () => { var y = this; }; return x; }
-+ virginianus() { var x; () => { var y = this; }; return x; }
-+ macrophyllum() { var x; () => { var y = this; }; return x; }
-+ porcellus() { var x; () => { var y = this; }; return x; }
-+ }
- julianae.albidens = albidens;
-- var oralis = /** @class */ (function (_super) {
-- __extends(oralis, _super);
-- function oralis() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- oralis.prototype.cepapi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oralis.prototype.porteri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oralis.prototype.bindi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oralis.prototype.puda = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oralis.prototype.mindorensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oralis.prototype.ignitus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oralis.prototype.rufus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oralis.prototype.monax = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oralis.prototype.unalascensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oralis.prototype.wuchihensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oralis.prototype.leucippe = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oralis.prototype.ordii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oralis.prototype.eisentrauti = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return oralis;
-- }(caurinus.psilurus));
-+ class oralis extends caurinus.psilurus {
-+ cepapi() { var x; () => { var y = this; }; return x; }
-+ porteri() { var x; () => { var y = this; }; return x; }
-+ bindi() { var x; () => { var y = this; }; return x; }
-+ puda() { var x; () => { var y = this; }; return x; }
-+ mindorensis() { var x; () => { var y = this; }; return x; }
-+ ignitus() { var x; () => { var y = this; }; return x; }
-+ rufus() { var x; () => { var y = this; }; return x; }
-+ monax() { var x; () => { var y = this; }; return x; }
-+ unalascensis() { var x; () => { var y = this; }; return x; }
-+ wuchihensis() { var x; () => { var y = this; }; return x; }
-+ leucippe() { var x; () => { var y = this; }; return x; }
-+ ordii() { var x; () => { var y = this; }; return x; }
-+ eisentrauti() { var x; () => { var y = this; }; return x; }
-+ }
- julianae.oralis = oralis;
-- var sumatrana = /** @class */ (function (_super) {
-- __extends(sumatrana, _super);
-- function sumatrana() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- sumatrana.prototype.wolffsohni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sumatrana.prototype.geata = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sumatrana.prototype.awashensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sumatrana.prototype.sturdeei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sumatrana.prototype.pachyurus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sumatrana.prototype.lyelli = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sumatrana.prototype.neohibernicus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return sumatrana;
-- }(Lanthanum.jugularis));
-+ class sumatrana extends Lanthanum.jugularis {
-+ wolffsohni() { var x; () => { var y = this; }; return x; }
-+ geata() { var x; () => { var y = this; }; return x; }
-+ awashensis() { var x; () => { var y = this; }; return x; }
-+ sturdeei() { var x; () => { var y = this; }; return x; }
-+ pachyurus() { var x; () => { var y = this; }; return x; }
-+ lyelli() { var x; () => { var y = this; }; return x; }
-+ neohibernicus() { var x; () => { var y = this; }; return x; }
-+ }
- julianae.sumatrana = sumatrana;
-- var gerbillus = /** @class */ (function () {
-- function gerbillus() {
-- }
-- gerbillus.prototype.pundti = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gerbillus.prototype.tristrami = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gerbillus.prototype.swarthi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gerbillus.prototype.horsfieldii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gerbillus.prototype.diazi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gerbillus.prototype.rennelli = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gerbillus.prototype.maulinus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gerbillus.prototype.muscina = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gerbillus.prototype.pelengensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gerbillus.prototype.abramus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gerbillus.prototype.reevesi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return gerbillus;
-- }());
-+ class gerbillus {
-+ pundti() { var x; () => { var y = this; }; return x; }
-+ tristrami() { var x; () => { var y = this; }; return x; }
-+ swarthi() { var x; () => { var y = this; }; return x; }
-+ horsfieldii() { var x; () => { var y = this; }; return x; }
-+ diazi() { var x; () => { var y = this; }; return x; }
-+ rennelli() { var x; () => { var y = this; }; return x; }
-+ maulinus() { var x; () => { var y = this; }; return x; }
-+ muscina() { var x; () => { var y = this; }; return x; }
-+ pelengensis() { var x; () => { var y = this; }; return x; }
-+ abramus() { var x; () => { var y = this; }; return x; }
-+ reevesi() { var x; () => { var y = this; }; return x; }
-+ }
- julianae.gerbillus = gerbillus;
-- var acariensis = /** @class */ (function () {
-- function acariensis() {
-- }
-- acariensis.prototype.levicula = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- acariensis.prototype.minous = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- acariensis.prototype.cinereiventer = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- acariensis.prototype.longicaudatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- acariensis.prototype.baeodon = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- acariensis.prototype.soricoides = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- acariensis.prototype.datae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- acariensis.prototype.spixii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- acariensis.prototype.anakuma = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- acariensis.prototype.kihaulei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- acariensis.prototype.gymnura = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- acariensis.prototype.olchonensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return acariensis;
-- }());
-+ class acariensis {
-+ levicula() { var x; () => { var y = this; }; return x; }
-+ minous() { var x; () => { var y = this; }; return x; }
-+ cinereiventer() { var x; () => { var y = this; }; return x; }
-+ longicaudatus() { var x; () => { var y = this; }; return x; }
-+ baeodon() { var x; () => { var y = this; }; return x; }
-+ soricoides() { var x; () => { var y = this; }; return x; }
-+ datae() { var x; () => { var y = this; }; return x; }
-+ spixii() { var x; () => { var y = this; }; return x; }
-+ anakuma() { var x; () => { var y = this; }; return x; }
-+ kihaulei() { var x; () => { var y = this; }; return x; }
-+ gymnura() { var x; () => { var y = this; }; return x; }
-+ olchonensis() { var x; () => { var y = this; }; return x; }
-+ }
- julianae.acariensis = acariensis;
-- var durangae = /** @class */ (function (_super) {
-- __extends(durangae, _super);
-- function durangae() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- durangae.prototype.Californium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- durangae.prototype.Flerovium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- durangae.prototype.phrudus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return durangae;
-- }(dogramacii.aurata));
-+ class durangae extends dogramacii.aurata {
-+ Californium() { var x; () => { var y = this; }; return x; }
-+ Flerovium() { var x; () => { var y = this; }; return x; }
-+ phrudus() { var x; () => { var y = this; }; return x; }
-+ }
- julianae.durangae = durangae;
- })(julianae || (julianae = {}));
- var ruatanica;
- (function (ruatanica) {
-- var hector = /** @class */ (function () {
-- function hector() {
-- }
-- hector.prototype.humulis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- hector.prototype.eurycerus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return hector;
-- }());
-+ class hector {
-+ humulis() { var x; () => { var y = this; }; return x; }
-+ eurycerus() { var x; () => { var y = this; }; return x; }
-+ }
- ruatanica.hector = hector;
- })(ruatanica || (ruatanica = {}));
- var Lanthanum;
- (function (Lanthanum) {
-- var suillus = /** @class */ (function () {
-- function suillus() {
-- }
-- suillus.prototype.spilosoma = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- suillus.prototype.tumbalensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- suillus.prototype.anatolicus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return suillus;
-- }());
-+ class suillus {
-+ spilosoma() { var x; () => { var y = this; }; return x; }
-+ tumbalensis() { var x; () => { var y = this; }; return x; }
-+ anatolicus() { var x; () => { var y = this; }; return x; }
-+ }
- Lanthanum.suillus = suillus;
-- var nitidus = /** @class */ (function (_super) {
-- __extends(nitidus, _super);
-- function nitidus() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- nitidus.prototype.granatensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- nitidus.prototype.negligens = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- nitidus.prototype.lewisi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- nitidus.prototype.arge = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- nitidus.prototype.dominicensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- nitidus.prototype.taurus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- nitidus.prototype.tonganus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- nitidus.prototype.silvatica = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- nitidus.prototype.midas = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- nitidus.prototype.bicornis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return nitidus;
-- }(argurus.gilbertii));
-+ class nitidus extends argurus.gilbertii {
-+ granatensis() { var x; () => { var y = this; }; return x; }
-+ negligens() { var x; () => { var y = this; }; return x; }
-+ lewisi() { var x; () => { var y = this; }; return x; }
-+ arge() { var x; () => { var y = this; }; return x; }
-+ dominicensis() { var x; () => { var y = this; }; return x; }
-+ taurus() { var x; () => { var y = this; }; return x; }
-+ tonganus() { var x; () => { var y = this; }; return x; }
-+ silvatica() { var x; () => { var y = this; }; return x; }
-+ midas() { var x; () => { var y = this; }; return x; }
-+ bicornis() { var x; () => { var y = this; }; return x; }
-+ }
- Lanthanum.nitidus = nitidus;
-- var megalonyx = /** @class */ (function (_super) {
-- __extends(megalonyx, _super);
-- function megalonyx() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- megalonyx.prototype.phillipsii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- megalonyx.prototype.melanogaster = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- megalonyx.prototype.elaphus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- megalonyx.prototype.elater = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- megalonyx.prototype.ourebi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- megalonyx.prototype.caraccioli = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- megalonyx.prototype.parva = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- megalonyx.prototype.albipes = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return megalonyx;
-- }(caurinus.johorensis));
-+ class megalonyx extends caurinus.johorensis {
-+ phillipsii() { var x; () => { var y = this; }; return x; }
-+ melanogaster() { var x; () => { var y = this; }; return x; }
-+ elaphus() { var x; () => { var y = this; }; return x; }
-+ elater() { var x; () => { var y = this; }; return x; }
-+ ourebi() { var x; () => { var y = this; }; return x; }
-+ caraccioli() { var x; () => { var y = this; }; return x; }
-+ parva() { var x; () => { var y = this; }; return x; }
-+ albipes() { var x; () => { var y = this; }; return x; }
-+ }
- Lanthanum.megalonyx = megalonyx;
-- var jugularis = /** @class */ (function () {
-- function jugularis() {
-- }
-- jugularis.prototype.torrei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- jugularis.prototype.revoili = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- jugularis.prototype.macrobullatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- jugularis.prototype.compactus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- jugularis.prototype.talpinus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- jugularis.prototype.stramineus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- jugularis.prototype.dartmouthi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- jugularis.prototype.ogilbyi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- jugularis.prototype.incomtus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- jugularis.prototype.surdaster = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- jugularis.prototype.melanorhinus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- jugularis.prototype.picticaudata = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- jugularis.prototype.pomona = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- jugularis.prototype.ileile = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return jugularis;
-- }());
-+ class jugularis {
-+ torrei() { var x; () => { var y = this; }; return x; }
-+ revoili() { var x; () => { var y = this; }; return x; }
-+ macrobullatus() { var x; () => { var y = this; }; return x; }
-+ compactus() { var x; () => { var y = this; }; return x; }
-+ talpinus() { var x; () => { var y = this; }; return x; }
-+ stramineus() { var x; () => { var y = this; }; return x; }
-+ dartmouthi() { var x; () => { var y = this; }; return x; }
-+ ogilbyi() { var x; () => { var y = this; }; return x; }
-+ incomtus() { var x; () => { var y = this; }; return x; }
-+ surdaster() { var x; () => { var y = this; }; return x; }
-+ melanorhinus() { var x; () => { var y = this; }; return x; }
-+ picticaudata() { var x; () => { var y = this; }; return x; }
-+ pomona() { var x; () => { var y = this; }; return x; }
-+ ileile() { var x; () => { var y = this; }; return x; }
-+ }
- Lanthanum.jugularis = jugularis;
- })(Lanthanum || (Lanthanum = {}));
- var rendalli;
- (function (rendalli) {
-- var zuluensis = /** @class */ (function (_super) {
-- __extends(zuluensis, _super);
-- function zuluensis() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- zuluensis.prototype.telfairi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- zuluensis.prototype.keyensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- zuluensis.prototype.occasius = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- zuluensis.prototype.damarensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- zuluensis.prototype.Neptunium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- zuluensis.prototype.griseoflavus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- zuluensis.prototype.thar = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- zuluensis.prototype.alborufus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- zuluensis.prototype.fusicaudus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- zuluensis.prototype.gordonorum = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- zuluensis.prototype.ruber = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- zuluensis.prototype.desmarestianus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- zuluensis.prototype.lutillus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- zuluensis.prototype.salocco = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return zuluensis;
-- }(julianae.steerii));
-+ class zuluensis extends julianae.steerii {
-+ telfairi() { var x; () => { var y = this; }; return x; }
-+ keyensis() { var x; () => { var y = this; }; return x; }
-+ occasius() { var x; () => { var y = this; }; return x; }
-+ damarensis() { var x; () => { var y = this; }; return x; }
-+ Neptunium() { var x; () => { var y = this; }; return x; }
-+ griseoflavus() { var x; () => { var y = this; }; return x; }
-+ thar() { var x; () => { var y = this; }; return x; }
-+ alborufus() { var x; () => { var y = this; }; return x; }
-+ fusicaudus() { var x; () => { var y = this; }; return x; }
-+ gordonorum() { var x; () => { var y = this; }; return x; }
-+ ruber() { var x; () => { var y = this; }; return x; }
-+ desmarestianus() { var x; () => { var y = this; }; return x; }
-+ lutillus() { var x; () => { var y = this; }; return x; }
-+ salocco() { var x; () => { var y = this; }; return x; }
-+ }
- rendalli.zuluensis = zuluensis;
-- var moojeni = /** @class */ (function () {
-- function moojeni() {
-- }
-- moojeni.prototype.floweri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- moojeni.prototype.montosa = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- moojeni.prototype.miletus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- moojeni.prototype.heaneyi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- moojeni.prototype.marchei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- moojeni.prototype.budini = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- moojeni.prototype.maggietaylorae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- moojeni.prototype.poliocephalus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- moojeni.prototype.zibethicus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- moojeni.prototype.biacensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return moojeni;
-- }());
-+ class moojeni {
-+ floweri() { var x; () => { var y = this; }; return x; }
-+ montosa() { var x; () => { var y = this; }; return x; }
-+ miletus() { var x; () => { var y = this; }; return x; }
-+ heaneyi() { var x; () => { var y = this; }; return x; }
-+ marchei() { var x; () => { var y = this; }; return x; }
-+ budini() { var x; () => { var y = this; }; return x; }
-+ maggietaylorae() { var x; () => { var y = this; }; return x; }
-+ poliocephalus() { var x; () => { var y = this; }; return x; }
-+ zibethicus() { var x; () => { var y = this; }; return x; }
-+ biacensis() { var x; () => { var y = this; }; return x; }
-+ }
- rendalli.moojeni = moojeni;
-- var crenulata = /** @class */ (function (_super) {
-- __extends(crenulata, _super);
-- function crenulata() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- crenulata.prototype.salvanius = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- crenulata.prototype.maritimus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- crenulata.prototype.edax = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return crenulata;
-- }(trivirgatus.falconeri));
-+ class crenulata extends trivirgatus.falconeri {
-+ salvanius() { var x; () => { var y = this; }; return x; }
-+ maritimus() { var x; () => { var y = this; }; return x; }
-+ edax() { var x; () => { var y = this; }; return x; }
-+ }
- rendalli.crenulata = crenulata;
- })(rendalli || (rendalli = {}));
- var trivirgatus;
- (function (trivirgatus) {
-- var tumidifrons = /** @class */ (function () {
-- function tumidifrons() {
-- }
-- tumidifrons.prototype.nivalis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- tumidifrons.prototype.vestitus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- tumidifrons.prototype.aequatorius = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- tumidifrons.prototype.scherman = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- tumidifrons.prototype.improvisum = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- tumidifrons.prototype.cervinipes = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- tumidifrons.prototype.audax = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- tumidifrons.prototype.vallinus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return tumidifrons;
-- }());
-+ class tumidifrons {
-+ nivalis() { var x; () => { var y = this; }; return x; }
-+ vestitus() { var x; () => { var y = this; }; return x; }
-+ aequatorius() { var x; () => { var y = this; }; return x; }
-+ scherman() { var x; () => { var y = this; }; return x; }
-+ improvisum() { var x; () => { var y = this; }; return x; }
-+ cervinipes() { var x; () => { var y = this; }; return x; }
-+ audax() { var x; () => { var y = this; }; return x; }
-+ vallinus() { var x; () => { var y = this; }; return x; }
-+ }
- trivirgatus.tumidifrons = tumidifrons;
-- var mixtus = /** @class */ (function (_super) {
-- __extends(mixtus, _super);
-- function mixtus() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- mixtus.prototype.ochrogaster = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- mixtus.prototype.bryophilus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- mixtus.prototype.liechtensteini = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- mixtus.prototype.crawfordi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- mixtus.prototype.hypsibia = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- mixtus.prototype.matacus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- mixtus.prototype.demidoff = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return mixtus;
-- }(argurus.pygmaea));
-+ class mixtus extends argurus.pygmaea {
-+ ochrogaster() { var x; () => { var y = this; }; return x; }
-+ bryophilus() { var x; () => { var y = this; }; return x; }
-+ liechtensteini() { var x; () => { var y = this; }; return x; }
-+ crawfordi() { var x; () => { var y = this; }; return x; }
-+ hypsibia() { var x; () => { var y = this; }; return x; }
-+ matacus() { var x; () => { var y = this; }; return x; }
-+ demidoff() { var x; () => { var y = this; }; return x; }
-+ }
- trivirgatus.mixtus = mixtus;
-- var lotor = /** @class */ (function () {
-- function lotor() {
-- }
-- lotor.prototype.balensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- lotor.prototype.pullata = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return lotor;
-- }());
-+ class lotor {
-+ balensis() { var x; () => { var y = this; }; return x; }
-+ pullata() { var x; () => { var y = this; }; return x; }
-+ }
- trivirgatus.lotor = lotor;
-- var falconeri = /** @class */ (function () {
-- function falconeri() {
-- }
-- falconeri.prototype.cabrali = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- falconeri.prototype.gouldi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- falconeri.prototype.fuscicollis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- falconeri.prototype.martiensseni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- falconeri.prototype.gaoligongensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- falconeri.prototype.shawi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- falconeri.prototype.gmelini = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return falconeri;
-- }());
-+ class falconeri {
-+ cabrali() { var x; () => { var y = this; }; return x; }
-+ gouldi() { var x; () => { var y = this; }; return x; }
-+ fuscicollis() { var x; () => { var y = this; }; return x; }
-+ martiensseni() { var x; () => { var y = this; }; return x; }
-+ gaoligongensis() { var x; () => { var y = this; }; return x; }
-+ shawi() { var x; () => { var y = this; }; return x; }
-+ gmelini() { var x; () => { var y = this; }; return x; }
-+ }
- trivirgatus.falconeri = falconeri;
-- var oconnelli = /** @class */ (function () {
-- function oconnelli() {
-- }
-- oconnelli.prototype.youngsoni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oconnelli.prototype.terrestris = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oconnelli.prototype.chrysopus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oconnelli.prototype.fuscomurina = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oconnelli.prototype.hellwaldii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oconnelli.prototype.aenea = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oconnelli.prototype.perrini = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oconnelli.prototype.entellus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oconnelli.prototype.krebsii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oconnelli.prototype.cephalotes = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oconnelli.prototype.molossinus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oconnelli.prototype.luisi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oconnelli.prototype.ceylonicus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oconnelli.prototype.ralli = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return oconnelli;
-- }());
-+ class oconnelli {
-+ youngsoni() { var x; () => { var y = this; }; return x; }
-+ terrestris() { var x; () => { var y = this; }; return x; }
-+ chrysopus() { var x; () => { var y = this; }; return x; }
-+ fuscomurina() { var x; () => { var y = this; }; return x; }
-+ hellwaldii() { var x; () => { var y = this; }; return x; }
-+ aenea() { var x; () => { var y = this; }; return x; }
-+ perrini() { var x; () => { var y = this; }; return x; }
-+ entellus() { var x; () => { var y = this; }; return x; }
-+ krebsii() { var x; () => { var y = this; }; return x; }
-+ cephalotes() { var x; () => { var y = this; }; return x; }
-+ molossinus() { var x; () => { var y = this; }; return x; }
-+ luisi() { var x; () => { var y = this; }; return x; }
-+ ceylonicus() { var x; () => { var y = this; }; return x; }
-+ ralli() { var x; () => { var y = this; }; return x; }
-+ }
- trivirgatus.oconnelli = oconnelli;
- })(trivirgatus || (trivirgatus = {}));
- var quasiater;
- (function (quasiater) {
-- var bobrinskoi = /** @class */ (function () {
-- function bobrinskoi() {
-- }
-- bobrinskoi.prototype.crassicaudatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- bobrinskoi.prototype.mulatta = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- bobrinskoi.prototype.ansorgei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- bobrinskoi.prototype.Copper = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return bobrinskoi;
-- }());
-+ class bobrinskoi {
-+ crassicaudatus() { var x; () => { var y = this; }; return x; }
-+ mulatta() { var x; () => { var y = this; }; return x; }
-+ ansorgei() { var x; () => { var y = this; }; return x; }
-+ Copper() { var x; () => { var y = this; }; return x; }
-+ }
- quasiater.bobrinskoi = bobrinskoi;
- })(quasiater || (quasiater = {}));
- (function (ruatanica) {
-- var americanus = /** @class */ (function (_super) {
-- __extends(americanus, _super);
-- function americanus() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- americanus.prototype.nasoloi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- americanus.prototype.mystacalis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- americanus.prototype.fardoulisi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- americanus.prototype.tumidus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return americanus;
-- }(imperfecta.ciliolabrum));
-+ class americanus extends imperfecta.ciliolabrum {
-+ nasoloi() { var x; () => { var y = this; }; return x; }
-+ mystacalis() { var x; () => { var y = this; }; return x; }
-+ fardoulisi() { var x; () => { var y = this; }; return x; }
-+ tumidus() { var x; () => { var y = this; }; return x; }
-+ }
- ruatanica.americanus = americanus;
- })(ruatanica || (ruatanica = {}));
- var lavali;
- (function (lavali) {
-- var wilsoni = /** @class */ (function (_super) {
-- __extends(wilsoni, _super);
-- function wilsoni() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- wilsoni.prototype.setiger = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wilsoni.prototype.lorentzii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wilsoni.prototype.antisensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wilsoni.prototype.blossevillii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wilsoni.prototype.bontanus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wilsoni.prototype.caligata = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wilsoni.prototype.franqueti = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wilsoni.prototype.roberti = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wilsoni.prototype.degelidus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wilsoni.prototype.amoenus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wilsoni.prototype.kob = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wilsoni.prototype.csorbai = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wilsoni.prototype.dorsata = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return wilsoni;
-- }(Lanthanum.nitidus));
-+ class wilsoni extends Lanthanum.nitidus {
-+ setiger() { var x; () => { var y = this; }; return x; }
-+ lorentzii() { var x; () => { var y = this; }; return x; }
-+ antisensis() { var x; () => { var y = this; }; return x; }
-+ blossevillii() { var x; () => { var y = this; }; return x; }
-+ bontanus() { var x; () => { var y = this; }; return x; }
-+ caligata() { var x; () => { var y = this; }; return x; }
-+ franqueti() { var x; () => { var y = this; }; return x; }
-+ roberti() { var x; () => { var y = this; }; return x; }
-+ degelidus() { var x; () => { var y = this; }; return x; }
-+ amoenus() { var x; () => { var y = this; }; return x; }
-+ kob() { var x; () => { var y = this; }; return x; }
-+ csorbai() { var x; () => { var y = this; }; return x; }
-+ dorsata() { var x; () => { var y = this; }; return x; }
-+ }
- lavali.wilsoni = wilsoni;
-- var beisa = /** @class */ (function () {
-- function beisa() {
-- }
-- return beisa;
-- }());
-+ class beisa {
-+ }
- lavali.beisa = beisa;
-- var otion = /** @class */ (function (_super) {
-- __extends(otion, _super);
-- function otion() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- otion.prototype.bonaerensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- otion.prototype.dussumieri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- otion.prototype.osvaldoreigi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- otion.prototype.grevyi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- otion.prototype.hirtula = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- otion.prototype.cristatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- otion.prototype.darlingtoni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- otion.prototype.fontanierii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- otion.prototype.umbrosus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- otion.prototype.chiriquinus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- otion.prototype.orarius = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- otion.prototype.ilaeus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- otion.prototype.musschenbroekii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return otion;
-- }(howi.coludo));
-+ class otion extends howi.coludo {
-+ bonaerensis() { var x; () => { var y = this; }; return x; }
-+ dussumieri() { var x; () => { var y = this; }; return x; }
-+ osvaldoreigi() { var x; () => { var y = this; }; return x; }
-+ grevyi() { var x; () => { var y = this; }; return x; }
-+ hirtula() { var x; () => { var y = this; }; return x; }
-+ cristatus() { var x; () => { var y = this; }; return x; }
-+ darlingtoni() { var x; () => { var y = this; }; return x; }
-+ fontanierii() { var x; () => { var y = this; }; return x; }
-+ umbrosus() { var x; () => { var y = this; }; return x; }
-+ chiriquinus() { var x; () => { var y = this; }; return x; }
-+ orarius() { var x; () => { var y = this; }; return x; }
-+ ilaeus() { var x; () => { var y = this; }; return x; }
-+ musschenbroekii() { var x; () => { var y = this; }; return x; }
-+ }
- lavali.otion = otion;
-- var xanthognathus = /** @class */ (function () {
-- function xanthognathus() {
-- }
-- xanthognathus.prototype.nanulus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- xanthognathus.prototype.albigena = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- xanthognathus.prototype.onca = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- xanthognathus.prototype.gunnii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- xanthognathus.prototype.apeco = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- xanthognathus.prototype.variegates = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- xanthognathus.prototype.goudotii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- xanthognathus.prototype.pohlei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- xanthognathus.prototype.ineptus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- xanthognathus.prototype.euryotis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- xanthognathus.prototype.maurisca = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- xanthognathus.prototype.coyhaiquensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return xanthognathus;
-- }());
-+ class xanthognathus {
-+ nanulus() { var x; () => { var y = this; }; return x; }
-+ albigena() { var x; () => { var y = this; }; return x; }
-+ onca() { var x; () => { var y = this; }; return x; }
-+ gunnii() { var x; () => { var y = this; }; return x; }
-+ apeco() { var x; () => { var y = this; }; return x; }
-+ variegates() { var x; () => { var y = this; }; return x; }
-+ goudotii() { var x; () => { var y = this; }; return x; }
-+ pohlei() { var x; () => { var y = this; }; return x; }
-+ ineptus() { var x; () => { var y = this; }; return x; }
-+ euryotis() { var x; () => { var y = this; }; return x; }
-+ maurisca() { var x; () => { var y = this; }; return x; }
-+ coyhaiquensis() { var x; () => { var y = this; }; return x; }
-+ }
- lavali.xanthognathus = xanthognathus;
-- var thaeleri = /** @class */ (function (_super) {
-- __extends(thaeleri, _super);
-- function thaeleri() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- thaeleri.prototype.coromandra = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- thaeleri.prototype.parvipes = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- thaeleri.prototype.sponsorius = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- thaeleri.prototype.vates = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- thaeleri.prototype.roosmalenorum = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- thaeleri.prototype.rubicola = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- thaeleri.prototype.ikonnikovi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- thaeleri.prototype.paramicrus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return thaeleri;
-- }(argurus.oreas));
-+ class thaeleri extends argurus.oreas {
-+ coromandra() { var x; () => { var y = this; }; return x; }
-+ parvipes() { var x; () => { var y = this; }; return x; }
-+ sponsorius() { var x; () => { var y = this; }; return x; }
-+ vates() { var x; () => { var y = this; }; return x; }
-+ roosmalenorum() { var x; () => { var y = this; }; return x; }
-+ rubicola() { var x; () => { var y = this; }; return x; }
-+ ikonnikovi() { var x; () => { var y = this; }; return x; }
-+ paramicrus() { var x; () => { var y = this; }; return x; }
-+ }
- lavali.thaeleri = thaeleri;
-- var lepturus = /** @class */ (function (_super) {
-- __extends(lepturus, _super);
-- function lepturus() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- lepturus.prototype.ferrumequinum = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- lepturus.prototype.aequalis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return lepturus;
-- }(Lanthanum.suillus));
-+ class lepturus extends Lanthanum.suillus {
-+ ferrumequinum() { var x; () => { var y = this; }; return x; }
-+ aequalis() { var x; () => { var y = this; }; return x; }
-+ }
- lavali.lepturus = lepturus;
- })(lavali || (lavali = {}));
- var dogramacii;
- (function (dogramacii) {
-- var robustulus = /** @class */ (function (_super) {
-- __extends(robustulus, _super);
-- function robustulus() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- robustulus.prototype.fossor = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- robustulus.prototype.humboldti = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- robustulus.prototype.mexicana = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- robustulus.prototype.martini = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- robustulus.prototype.beatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- robustulus.prototype.leporina = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- robustulus.prototype.pearsonii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- robustulus.prototype.keaysi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- robustulus.prototype.hindei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return robustulus;
-- }(lavali.wilsoni));
-+ class robustulus extends lavali.wilsoni {
-+ fossor() { var x; () => { var y = this; }; return x; }
-+ humboldti() { var x; () => { var y = this; }; return x; }
-+ mexicana() { var x; () => { var y = this; }; return x; }
-+ martini() { var x; () => { var y = this; }; return x; }
-+ beatus() { var x; () => { var y = this; }; return x; }
-+ leporina() { var x; () => { var y = this; }; return x; }
-+ pearsonii() { var x; () => { var y = this; }; return x; }
-+ keaysi() { var x; () => { var y = this; }; return x; }
-+ hindei() { var x; () => { var y = this; }; return x; }
-+ }
- dogramacii.robustulus = robustulus;
-- var koepckeae = /** @class */ (function () {
-- function koepckeae() {
-- }
-- koepckeae.prototype.culturatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return koepckeae;
-- }());
-+ class koepckeae {
-+ culturatus() { var x; () => { var y = this; }; return x; }
-+ }
- dogramacii.koepckeae = koepckeae;
-- var kaiseri = /** @class */ (function () {
-- function kaiseri() {
-- }
-- kaiseri.prototype.bedfordiae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- kaiseri.prototype.paramorum = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- kaiseri.prototype.rubidus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- kaiseri.prototype.juninensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- kaiseri.prototype.marginata = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- kaiseri.prototype.Meitnerium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- kaiseri.prototype.pinetorum = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- kaiseri.prototype.hoolock = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- kaiseri.prototype.poeyi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- kaiseri.prototype.Thulium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- kaiseri.prototype.patrius = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- kaiseri.prototype.quadraticauda = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- kaiseri.prototype.ater = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return kaiseri;
-- }());
-+ class kaiseri {
-+ bedfordiae() { var x; () => { var y = this; }; return x; }
-+ paramorum() { var x; () => { var y = this; }; return x; }
-+ rubidus() { var x; () => { var y = this; }; return x; }
-+ juninensis() { var x; () => { var y = this; }; return x; }
-+ marginata() { var x; () => { var y = this; }; return x; }
-+ Meitnerium() { var x; () => { var y = this; }; return x; }
-+ pinetorum() { var x; () => { var y = this; }; return x; }
-+ hoolock() { var x; () => { var y = this; }; return x; }
-+ poeyi() { var x; () => { var y = this; }; return x; }
-+ Thulium() { var x; () => { var y = this; }; return x; }
-+ patrius() { var x; () => { var y = this; }; return x; }
-+ quadraticauda() { var x; () => { var y = this; }; return x; }
-+ ater() { var x; () => { var y = this; }; return x; }
-+ }
- dogramacii.kaiseri = kaiseri;
-- var aurata = /** @class */ (function () {
-- function aurata() {
-- }
-- aurata.prototype.grunniens = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- aurata.prototype.howensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- aurata.prototype.karlkoopmani = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- aurata.prototype.mirapitanga = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- aurata.prototype.ophiodon = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- aurata.prototype.landeri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- aurata.prototype.sonomae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- aurata.prototype.erythromos = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return aurata;
-- }());
-+ class aurata {
-+ grunniens() { var x; () => { var y = this; }; return x; }
-+ howensis() { var x; () => { var y = this; }; return x; }
-+ karlkoopmani() { var x; () => { var y = this; }; return x; }
-+ mirapitanga() { var x; () => { var y = this; }; return x; }
-+ ophiodon() { var x; () => { var y = this; }; return x; }
-+ landeri() { var x; () => { var y = this; }; return x; }
-+ sonomae() { var x; () => { var y = this; }; return x; }
-+ erythromos() { var x; () => { var y = this; }; return x; }
-+ }
- dogramacii.aurata = aurata;
- })(dogramacii || (dogramacii = {}));
- var lutreolus;
- (function (lutreolus) {
-- var schlegeli = /** @class */ (function (_super) {
-- __extends(schlegeli, _super);
-- function schlegeli() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- schlegeli.prototype.mittendorfi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- schlegeli.prototype.blicki = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- schlegeli.prototype.culionensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- schlegeli.prototype.scrofa = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- schlegeli.prototype.fernandoni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- schlegeli.prototype.Tin = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- schlegeli.prototype.marmorata = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- schlegeli.prototype.tavaratra = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- schlegeli.prototype.peregrina = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- schlegeli.prototype.frontalis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- schlegeli.prototype.cuniculus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- schlegeli.prototype.magdalenae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- schlegeli.prototype.andamanensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- schlegeli.prototype.dispar = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return schlegeli;
-- }(lavali.beisa));
-+ class schlegeli extends lavali.beisa {
-+ mittendorfi() { var x; () => { var y = this; }; return x; }
-+ blicki() { var x; () => { var y = this; }; return x; }
-+ culionensis() { var x; () => { var y = this; }; return x; }
-+ scrofa() { var x; () => { var y = this; }; return x; }
-+ fernandoni() { var x; () => { var y = this; }; return x; }
-+ Tin() { var x; () => { var y = this; }; return x; }
-+ marmorata() { var x; () => { var y = this; }; return x; }
-+ tavaratra() { var x; () => { var y = this; }; return x; }
-+ peregrina() { var x; () => { var y = this; }; return x; }
-+ frontalis() { var x; () => { var y = this; }; return x; }
-+ cuniculus() { var x; () => { var y = this; }; return x; }
-+ magdalenae() { var x; () => { var y = this; }; return x; }
-+ andamanensis() { var x; () => { var y = this; }; return x; }
-+ dispar() { var x; () => { var y = this; }; return x; }
-+ }
- lutreolus.schlegeli = schlegeli;
- })(lutreolus || (lutreolus = {}));
- var argurus;
- (function (argurus) {
-- var dauricus = /** @class */ (function () {
-- function dauricus() {
-- }
-- dauricus.prototype.chinensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dauricus.prototype.duodecimcostatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dauricus.prototype.foxi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dauricus.prototype.macleayii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dauricus.prototype.darienensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dauricus.prototype.hardwickii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dauricus.prototype.albifrons = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dauricus.prototype.jacobitus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dauricus.prototype.guentheri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dauricus.prototype.mahomet = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dauricus.prototype.misionensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return dauricus;
-- }());
-+ class dauricus {
-+ chinensis() { var x; () => { var y = this; }; return x; }
-+ duodecimcostatus() { var x; () => { var y = this; }; return x; }
-+ foxi() { var x; () => { var y = this; }; return x; }
-+ macleayii() { var x; () => { var y = this; }; return x; }
-+ darienensis() { var x; () => { var y = this; }; return x; }
-+ hardwickii() { var x; () => { var y = this; }; return x; }
-+ albifrons() { var x; () => { var y = this; }; return x; }
-+ jacobitus() { var x; () => { var y = this; }; return x; }
-+ guentheri() { var x; () => { var y = this; }; return x; }
-+ mahomet() { var x; () => { var y = this; }; return x; }
-+ misionensis() { var x; () => { var y = this; }; return x; }
-+ }
- argurus.dauricus = dauricus;
- })(argurus || (argurus = {}));
- var nigra;
- (function (nigra) {
-- var dolichurus = /** @class */ (function () {
-- function dolichurus() {
-- }
-- dolichurus.prototype.solomonis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dolichurus.prototype.alfredi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dolichurus.prototype.morrisi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dolichurus.prototype.lekaguli = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dolichurus.prototype.dimissus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dolichurus.prototype.phaeotis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dolichurus.prototype.ustus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- dolichurus.prototype.sagei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return dolichurus;
-- }());
-+ class dolichurus {
-+ solomonis() { var x; () => { var y = this; }; return x; }
-+ alfredi() { var x; () => { var y = this; }; return x; }
-+ morrisi() { var x; () => { var y = this; }; return x; }
-+ lekaguli() { var x; () => { var y = this; }; return x; }
-+ dimissus() { var x; () => { var y = this; }; return x; }
-+ phaeotis() { var x; () => { var y = this; }; return x; }
-+ ustus() { var x; () => { var y = this; }; return x; }
-+ sagei() { var x; () => { var y = this; }; return x; }
-+ }
- nigra.dolichurus = dolichurus;
- })(nigra || (nigra = {}));
- var panglima;
- (function (panglima) {
-- var amphibius = /** @class */ (function (_super) {
-- __extends(amphibius, _super);
-- function amphibius() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- amphibius.prototype.bottegi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- amphibius.prototype.jerdoni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- amphibius.prototype.camtschatica = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- amphibius.prototype.spadix = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- amphibius.prototype.luismanueli = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- amphibius.prototype.aceramarcae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return amphibius;
-- }(caurinus.johorensis));
-+ class amphibius extends caurinus.johorensis {
-+ bottegi() { var x; () => { var y = this; }; return x; }
-+ jerdoni() { var x; () => { var y = this; }; return x; }
-+ camtschatica() { var x; () => { var y = this; }; return x; }
-+ spadix() { var x; () => { var y = this; }; return x; }
-+ luismanueli() { var x; () => { var y = this; }; return x; }
-+ aceramarcae() { var x; () => { var y = this; }; return x; }
-+ }
- panglima.amphibius = amphibius;
-- var fundatus = /** @class */ (function (_super) {
-- __extends(fundatus, _super);
-- function fundatus() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- fundatus.prototype.crassulus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fundatus.prototype.flamarioni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fundatus.prototype.mirabilis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return fundatus;
-- }(lutreolus.schlegeli));
-+ class fundatus extends lutreolus.schlegeli {
-+ crassulus() { var x; () => { var y = this; }; return x; }
-+ flamarioni() { var x; () => { var y = this; }; return x; }
-+ mirabilis() { var x; () => { var y = this; }; return x; }
-+ }
- panglima.fundatus = fundatus;
-- var abidi = /** @class */ (function (_super) {
-- __extends(abidi, _super);
-- function abidi() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- abidi.prototype.greyii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- abidi.prototype.macedonicus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- abidi.prototype.galili = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- abidi.prototype.thierryi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- abidi.prototype.ega = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return abidi;
-- }(argurus.dauricus));
-+ class abidi extends argurus.dauricus {
-+ greyii() { var x; () => { var y = this; }; return x; }
-+ macedonicus() { var x; () => { var y = this; }; return x; }
-+ galili() { var x; () => { var y = this; }; return x; }
-+ thierryi() { var x; () => { var y = this; }; return x; }
-+ ega() { var x; () => { var y = this; }; return x; }
-+ }
- panglima.abidi = abidi;
- })(panglima || (panglima = {}));
- (function (quasiater) {
-- var carolinensis = /** @class */ (function () {
-- function carolinensis() {
-- }
-- carolinensis.prototype.concinna = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- carolinensis.prototype.aeneus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- carolinensis.prototype.aloysiisabaudiae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- carolinensis.prototype.tenellus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- carolinensis.prototype.andium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- carolinensis.prototype.persephone = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- carolinensis.prototype.patrizii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return carolinensis;
-- }());
-+ class carolinensis {
-+ concinna() { var x; () => { var y = this; }; return x; }
-+ aeneus() { var x; () => { var y = this; }; return x; }
-+ aloysiisabaudiae() { var x; () => { var y = this; }; return x; }
-+ tenellus() { var x; () => { var y = this; }; return x; }
-+ andium() { var x; () => { var y = this; }; return x; }
-+ persephone() { var x; () => { var y = this; }; return x; }
-+ patrizii() { var x; () => { var y = this; }; return x; }
-+ }
- quasiater.carolinensis = carolinensis;
- })(quasiater || (quasiater = {}));
- var minutus;
- (function (minutus) {
-- var himalayana = /** @class */ (function (_super) {
-- __extends(himalayana, _super);
-- function himalayana() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- himalayana.prototype.simoni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- himalayana.prototype.lobata = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- himalayana.prototype.rusticus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- himalayana.prototype.latona = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- himalayana.prototype.famulus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- himalayana.prototype.flaviceps = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- himalayana.prototype.paradoxolophus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- himalayana.prototype.Osmium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- himalayana.prototype.vulgaris = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- himalayana.prototype.betsileoensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- himalayana.prototype.vespuccii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- himalayana.prototype.olympus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return himalayana;
-- }(lutreolus.punicus));
-+ class himalayana extends lutreolus.punicus {
-+ simoni() { var x; () => { var y = this; }; return x; }
-+ lobata() { var x; () => { var y = this; }; return x; }
-+ rusticus() { var x; () => { var y = this; }; return x; }
-+ latona() { var x; () => { var y = this; }; return x; }
-+ famulus() { var x; () => { var y = this; }; return x; }
-+ flaviceps() { var x; () => { var y = this; }; return x; }
-+ paradoxolophus() { var x; () => { var y = this; }; return x; }
-+ Osmium() { var x; () => { var y = this; }; return x; }
-+ vulgaris() { var x; () => { var y = this; }; return x; }
-+ betsileoensis() { var x; () => { var y = this; }; return x; }
-+ vespuccii() { var x; () => { var y = this; }; return x; }
-+ olympus() { var x; () => { var y = this; }; return x; }
-+ }
- minutus.himalayana = himalayana;
- })(minutus || (minutus = {}));
- var caurinus;
- (function (caurinus) {
-- var mahaganus = /** @class */ (function (_super) {
-- __extends(mahaganus, _super);
-- function mahaganus() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- mahaganus.prototype.martiniquensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- mahaganus.prototype.devius = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- mahaganus.prototype.masalai = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- mahaganus.prototype.kathleenae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- mahaganus.prototype.simulus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- mahaganus.prototype.nigrovittatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- mahaganus.prototype.senegalensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- mahaganus.prototype.acticola = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return mahaganus;
-- }(panglima.fundatus));
-+ class mahaganus extends panglima.fundatus {
-+ martiniquensis() { var x; () => { var y = this; }; return x; }
-+ devius() { var x; () => { var y = this; }; return x; }
-+ masalai() { var x; () => { var y = this; }; return x; }
-+ kathleenae() { var x; () => { var y = this; }; return x; }
-+ simulus() { var x; () => { var y = this; }; return x; }
-+ nigrovittatus() { var x; () => { var y = this; }; return x; }
-+ senegalensis() { var x; () => { var y = this; }; return x; }
-+ acticola() { var x; () => { var y = this; }; return x; }
-+ }
- caurinus.mahaganus = mahaganus;
- })(caurinus || (caurinus = {}));
- var macrorhinos;
- (function (macrorhinos) {
-- var marmosurus = /** @class */ (function () {
-- function marmosurus() {
-- }
-- marmosurus.prototype.tansaniana = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return marmosurus;
-- }());
-+ class marmosurus {
-+ tansaniana() { var x; () => { var y = this; }; return x; }
-+ }
- macrorhinos.marmosurus = marmosurus;
- })(macrorhinos || (macrorhinos = {}));
- var howi;
- (function (howi) {
-- var angulatus = /** @class */ (function (_super) {
-- __extends(angulatus, _super);
-- function angulatus() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- angulatus.prototype.pennatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return angulatus;
-- }(sagitta.stolzmanni));
-+ class angulatus extends sagitta.stolzmanni {
-+ pennatus() { var x; () => { var y = this; }; return x; }
-+ }
- howi.angulatus = angulatus;
- })(howi || (howi = {}));
- var daubentonii;
- (function (daubentonii) {
-- var nesiotes = /** @class */ (function () {
-- function nesiotes() {
-- }
-- return nesiotes;
-- }());
-+ class nesiotes {
-+ }
- daubentonii.nesiotes = nesiotes;
- })(daubentonii || (daubentonii = {}));
- (function (nigra) {
-- var thalia = /** @class */ (function () {
-- function thalia() {
-- }
-- thalia.prototype.dichotomus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- thalia.prototype.arnuxii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- thalia.prototype.verheyeni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- thalia.prototype.dauuricus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- thalia.prototype.tristriatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- thalia.prototype.lasiura = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- thalia.prototype.gangetica = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- thalia.prototype.brucei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return thalia;
-- }());
-+ class thalia {
-+ dichotomus() { var x; () => { var y = this; }; return x; }
-+ arnuxii() { var x; () => { var y = this; }; return x; }
-+ verheyeni() { var x; () => { var y = this; }; return x; }
-+ dauuricus() { var x; () => { var y = this; }; return x; }
-+ tristriatus() { var x; () => { var y = this; }; return x; }
-+ lasiura() { var x; () => { var y = this; }; return x; }
-+ gangetica() { var x; () => { var y = this; }; return x; }
-+ brucei() { var x; () => { var y = this; }; return x; }
-+ }
- nigra.thalia = thalia;
- })(nigra || (nigra = {}));
- var sagitta;
- (function (sagitta) {
-- var walkeri = /** @class */ (function (_super) {
-- __extends(walkeri, _super);
-- function walkeri() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- walkeri.prototype.maracajuensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return walkeri;
-- }(minutus.portoricensis));
-+ class walkeri extends minutus.portoricensis {
-+ maracajuensis() { var x; () => { var y = this; }; return x; }
-+ }
- sagitta.walkeri = walkeri;
- })(sagitta || (sagitta = {}));
- (function (minutus) {
-- var inez = /** @class */ (function (_super) {
-- __extends(inez, _super);
-- function inez() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- inez.prototype.vexillaris = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return inez;
-- }(samarensis.pelurus));
-+ class inez extends samarensis.pelurus {
-+ vexillaris() { var x; () => { var y = this; }; return x; }
-+ }
- minutus.inez = inez;
- })(minutus || (minutus = {}));
- (function (macrorhinos) {
-- var konganensis = /** @class */ (function (_super) {
-- __extends(konganensis, _super);
-- function konganensis() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return konganensis;
-- }(imperfecta.lasiurus));
-+ class konganensis extends imperfecta.lasiurus {
-+ }
- macrorhinos.konganensis = konganensis;
- })(macrorhinos || (macrorhinos = {}));
- var panamensis;
- (function (panamensis) {
-- var linulus = /** @class */ (function (_super) {
-- __extends(linulus, _super);
-- function linulus() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- linulus.prototype.goslingi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- linulus.prototype.taki = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- linulus.prototype.fumosus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- linulus.prototype.rufinus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- linulus.prototype.lami = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- linulus.prototype.regina = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- linulus.prototype.nanilla = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- linulus.prototype.enganus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- linulus.prototype.gomantongensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return linulus;
-- }(ruatanica.hector));
-+ class linulus extends ruatanica.hector {
-+ goslingi() { var x; () => { var y = this; }; return x; }
-+ taki() { var x; () => { var y = this; }; return x; }
-+ fumosus() { var x; () => { var y = this; }; return x; }
-+ rufinus() { var x; () => { var y = this; }; return x; }
-+ lami() { var x; () => { var y = this; }; return x; }
-+ regina() { var x; () => { var y = this; }; return x; }
-+ nanilla() { var x; () => { var y = this; }; return x; }
-+ enganus() { var x; () => { var y = this; }; return x; }
-+ gomantongensis() { var x; () => { var y = this; }; return x; }
-+ }
- panamensis.linulus = linulus;
- })(panamensis || (panamensis = {}));
- (function (nigra) {
-- var gracilis = /** @class */ (function () {
-- function gracilis() {
-- }
-- gracilis.prototype.weddellii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gracilis.prototype.echinothrix = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gracilis.prototype.garridoi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gracilis.prototype.rouxii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gracilis.prototype.aurita = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gracilis.prototype.geoffrensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gracilis.prototype.theresa = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gracilis.prototype.melanocarpus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gracilis.prototype.dubiaquercus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gracilis.prototype.pectoralis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gracilis.prototype.apoensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gracilis.prototype.grisescens = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gracilis.prototype.ramirohitra = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return gracilis;
-- }());
-+ class gracilis {
-+ weddellii() { var x; () => { var y = this; }; return x; }
-+ echinothrix() { var x; () => { var y = this; }; return x; }
-+ garridoi() { var x; () => { var y = this; }; return x; }
-+ rouxii() { var x; () => { var y = this; }; return x; }
-+ aurita() { var x; () => { var y = this; }; return x; }
-+ geoffrensis() { var x; () => { var y = this; }; return x; }
-+ theresa() { var x; () => { var y = this; }; return x; }
-+ melanocarpus() { var x; () => { var y = this; }; return x; }
-+ dubiaquercus() { var x; () => { var y = this; }; return x; }
-+ pectoralis() { var x; () => { var y = this; }; return x; }
-+ apoensis() { var x; () => { var y = this; }; return x; }
-+ grisescens() { var x; () => { var y = this; }; return x; }
-+ ramirohitra() { var x; () => { var y = this; }; return x; }
-+ }
- nigra.gracilis = gracilis;
- })(nigra || (nigra = {}));
- var samarensis;
- (function (samarensis) {
-- var pelurus = /** @class */ (function (_super) {
-- __extends(pelurus, _super);
-- function pelurus() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- pelurus.prototype.Palladium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pelurus.prototype.castanea = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pelurus.prototype.chamek = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pelurus.prototype.nigriceps = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pelurus.prototype.lunatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pelurus.prototype.madurae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pelurus.prototype.chinchilla = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pelurus.prototype.eliasi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pelurus.prototype.proditor = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pelurus.prototype.gambianus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pelurus.prototype.petteri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pelurus.prototype.nusatenggara = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pelurus.prototype.olitor = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return pelurus;
-- }(sagitta.stolzmanni));
-+ class pelurus extends sagitta.stolzmanni {
-+ Palladium() { var x; () => { var y = this; }; return x; }
-+ castanea() { var x; () => { var y = this; }; return x; }
-+ chamek() { var x; () => { var y = this; }; return x; }
-+ nigriceps() { var x; () => { var y = this; }; return x; }
-+ lunatus() { var x; () => { var y = this; }; return x; }
-+ madurae() { var x; () => { var y = this; }; return x; }
-+ chinchilla() { var x; () => { var y = this; }; return x; }
-+ eliasi() { var x; () => { var y = this; }; return x; }
-+ proditor() { var x; () => { var y = this; }; return x; }
-+ gambianus() { var x; () => { var y = this; }; return x; }
-+ petteri() { var x; () => { var y = this; }; return x; }
-+ nusatenggara() { var x; () => { var y = this; }; return x; }
-+ olitor() { var x; () => { var y = this; }; return x; }
-+ }
- samarensis.pelurus = pelurus;
-- var fuscus = /** @class */ (function (_super) {
-- __extends(fuscus, _super);
-- function fuscus() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- fuscus.prototype.planifrons = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fuscus.prototype.badia = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fuscus.prototype.prymnolopha = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fuscus.prototype.natalensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fuscus.prototype.hunteri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fuscus.prototype.sapiens = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fuscus.prototype.macrocercus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fuscus.prototype.nimbae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fuscus.prototype.suricatta = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fuscus.prototype.jagorii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fuscus.prototype.beecrofti = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fuscus.prototype.imaizumii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fuscus.prototype.colocolo = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- fuscus.prototype.wolfi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return fuscus;
-- }(macrorhinos.daphaenodon));
-+ class fuscus extends macrorhinos.daphaenodon {
-+ planifrons() { var x; () => { var y = this; }; return x; }
-+ badia() { var x; () => { var y = this; }; return x; }
-+ prymnolopha() { var x; () => { var y = this; }; return x; }
-+ natalensis() { var x; () => { var y = this; }; return x; }
-+ hunteri() { var x; () => { var y = this; }; return x; }
-+ sapiens() { var x; () => { var y = this; }; return x; }
-+ macrocercus() { var x; () => { var y = this; }; return x; }
-+ nimbae() { var x; () => { var y = this; }; return x; }
-+ suricatta() { var x; () => { var y = this; }; return x; }
-+ jagorii() { var x; () => { var y = this; }; return x; }
-+ beecrofti() { var x; () => { var y = this; }; return x; }
-+ imaizumii() { var x; () => { var y = this; }; return x; }
-+ colocolo() { var x; () => { var y = this; }; return x; }
-+ wolfi() { var x; () => { var y = this; }; return x; }
-+ }
- samarensis.fuscus = fuscus;
-- var pallidus = /** @class */ (function () {
-- function pallidus() {
-- }
-- pallidus.prototype.oblativa = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pallidus.prototype.watersi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pallidus.prototype.glacialis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pallidus.prototype.viaria = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return pallidus;
-- }());
-+ class pallidus {
-+ oblativa() { var x; () => { var y = this; }; return x; }
-+ watersi() { var x; () => { var y = this; }; return x; }
-+ glacialis() { var x; () => { var y = this; }; return x; }
-+ viaria() { var x; () => { var y = this; }; return x; }
-+ }
- samarensis.pallidus = pallidus;
-- var cahirinus = /** @class */ (function () {
-- function cahirinus() {
-- }
-- cahirinus.prototype.alashanicus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cahirinus.prototype.flaviventer = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cahirinus.prototype.bottai = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cahirinus.prototype.pinetis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cahirinus.prototype.saussurei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return cahirinus;
-- }());
-+ class cahirinus {
-+ alashanicus() { var x; () => { var y = this; }; return x; }
-+ flaviventer() { var x; () => { var y = this; }; return x; }
-+ bottai() { var x; () => { var y = this; }; return x; }
-+ pinetis() { var x; () => { var y = this; }; return x; }
-+ saussurei() { var x; () => { var y = this; }; return x; }
-+ }
- samarensis.cahirinus = cahirinus;
- })(samarensis || (samarensis = {}));
- (function (sagitta) {
-- var leptoceros = /** @class */ (function (_super) {
-- __extends(leptoceros, _super);
-- function leptoceros() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- leptoceros.prototype.victus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- leptoceros.prototype.hoplomyoides = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- leptoceros.prototype.gratiosus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- leptoceros.prototype.rex = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- leptoceros.prototype.bolami = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return leptoceros;
-- }(caurinus.johorensis));
-+ class leptoceros extends caurinus.johorensis {
-+ victus() { var x; () => { var y = this; }; return x; }
-+ hoplomyoides() { var x; () => { var y = this; }; return x; }
-+ gratiosus() { var x; () => { var y = this; }; return x; }
-+ rex() { var x; () => { var y = this; }; return x; }
-+ bolami() { var x; () => { var y = this; }; return x; }
-+ }
- sagitta.leptoceros = leptoceros;
- })(sagitta || (sagitta = {}));
- (function (daubentonii) {
-- var nigricans = /** @class */ (function (_super) {
-- __extends(nigricans, _super);
-- function nigricans() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- nigricans.prototype.woosnami = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return nigricans;
-- }(sagitta.stolzmanni));
-+ class nigricans extends sagitta.stolzmanni {
-+ woosnami() { var x; () => { var y = this; }; return x; }
-+ }
- daubentonii.nigricans = nigricans;
- })(daubentonii || (daubentonii = {}));
- var dammermani;
- (function (dammermani) {
-- var siberu = /** @class */ (function () {
-- function siberu() {
-- }
-- return siberu;
-- }());
-+ class siberu {
-+ }
- dammermani.siberu = siberu;
- })(dammermani || (dammermani = {}));
- (function (argurus) {
-- var pygmaea = /** @class */ (function (_super) {
-- __extends(pygmaea, _super);
-- function pygmaea() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- pygmaea.prototype.pajeros = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pygmaea.prototype.capucinus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- pygmaea.prototype.cuvieri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return pygmaea;
-- }(rendalli.moojeni));
-+ class pygmaea extends rendalli.moojeni {
-+ pajeros() { var x; () => { var y = this; }; return x; }
-+ capucinus() { var x; () => { var y = this; }; return x; }
-+ cuvieri() { var x; () => { var y = this; }; return x; }
-+ }
- argurus.pygmaea = pygmaea;
- })(argurus || (argurus = {}));
- var chrysaeolus;
- (function (chrysaeolus) {
-- var sarasinorum = /** @class */ (function (_super) {
-- __extends(sarasinorum, _super);
-- function sarasinorum() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- sarasinorum.prototype.belzebul = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sarasinorum.prototype.hinpoon = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sarasinorum.prototype.kandti = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sarasinorum.prototype.cynosuros = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sarasinorum.prototype.Germanium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sarasinorum.prototype.Ununoctium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sarasinorum.prototype.princeps = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return sarasinorum;
-- }(caurinus.psilurus));
-+ class sarasinorum extends caurinus.psilurus {
-+ belzebul() { var x; () => { var y = this; }; return x; }
-+ hinpoon() { var x; () => { var y = this; }; return x; }
-+ kandti() { var x; () => { var y = this; }; return x; }
-+ cynosuros() { var x; () => { var y = this; }; return x; }
-+ Germanium() { var x; () => { var y = this; }; return x; }
-+ Ununoctium() { var x; () => { var y = this; }; return x; }
-+ princeps() { var x; () => { var y = this; }; return x; }
-+ }
- chrysaeolus.sarasinorum = sarasinorum;
- })(chrysaeolus || (chrysaeolus = {}));
- (function (argurus) {
-- var wetmorei = /** @class */ (function () {
-- function wetmorei() {
-- }
-- wetmorei.prototype.leucoptera = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wetmorei.prototype.ochraventer = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wetmorei.prototype.tephromelas = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wetmorei.prototype.cracens = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wetmorei.prototype.jamaicensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wetmorei.prototype.gymnocaudus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wetmorei.prototype.mayori = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return wetmorei;
-- }());
-+ class wetmorei {
-+ leucoptera() { var x; () => { var y = this; }; return x; }
-+ ochraventer() { var x; () => { var y = this; }; return x; }
-+ tephromelas() { var x; () => { var y = this; }; return x; }
-+ cracens() { var x; () => { var y = this; }; return x; }
-+ jamaicensis() { var x; () => { var y = this; }; return x; }
-+ gymnocaudus() { var x; () => { var y = this; }; return x; }
-+ mayori() { var x; () => { var y = this; }; return x; }
-+ }
- argurus.wetmorei = wetmorei;
- })(argurus || (argurus = {}));
- (function (argurus) {
-- var oreas = /** @class */ (function (_super) {
-- __extends(oreas, _super);
-- function oreas() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- oreas.prototype.salamonis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oreas.prototype.paniscus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oreas.prototype.fagani = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oreas.prototype.papuanus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oreas.prototype.timidus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oreas.prototype.nghetinhensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oreas.prototype.barbei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- oreas.prototype.univittatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return oreas;
-- }(lavali.wilsoni));
-+ class oreas extends lavali.wilsoni {
-+ salamonis() { var x; () => { var y = this; }; return x; }
-+ paniscus() { var x; () => { var y = this; }; return x; }
-+ fagani() { var x; () => { var y = this; }; return x; }
-+ papuanus() { var x; () => { var y = this; }; return x; }
-+ timidus() { var x; () => { var y = this; }; return x; }
-+ nghetinhensis() { var x; () => { var y = this; }; return x; }
-+ barbei() { var x; () => { var y = this; }; return x; }
-+ univittatus() { var x; () => { var y = this; }; return x; }
-+ }
- argurus.oreas = oreas;
- })(argurus || (argurus = {}));
- (function (daubentonii) {
-- var arboreus = /** @class */ (function () {
-- function arboreus() {
-- }
-- arboreus.prototype.capreolus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- arboreus.prototype.moreni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- arboreus.prototype.hypoleucos = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- arboreus.prototype.paedulcus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- arboreus.prototype.pucheranii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- arboreus.prototype.stella = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- arboreus.prototype.brasiliensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- arboreus.prototype.brevicaudata = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- arboreus.prototype.vitticollis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- arboreus.prototype.huangensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- arboreus.prototype.cameroni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- arboreus.prototype.tianshanica = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return arboreus;
-- }());
-+ class arboreus {
-+ capreolus() { var x; () => { var y = this; }; return x; }
-+ moreni() { var x; () => { var y = this; }; return x; }
-+ hypoleucos() { var x; () => { var y = this; }; return x; }
-+ paedulcus() { var x; () => { var y = this; }; return x; }
-+ pucheranii() { var x; () => { var y = this; }; return x; }
-+ stella() { var x; () => { var y = this; }; return x; }
-+ brasiliensis() { var x; () => { var y = this; }; return x; }
-+ brevicaudata() { var x; () => { var y = this; }; return x; }
-+ vitticollis() { var x; () => { var y = this; }; return x; }
-+ huangensis() { var x; () => { var y = this; }; return x; }
-+ cameroni() { var x; () => { var y = this; }; return x; }
-+ tianshanica() { var x; () => { var y = this; }; return x; }
-+ }
- daubentonii.arboreus = arboreus;
- })(daubentonii || (daubentonii = {}));
- var patas;
- (function (patas) {
-- var uralensis = /** @class */ (function () {
-- function uralensis() {
-- }
-- uralensis.prototype.cartilagonodus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- uralensis.prototype.pyrrhinus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- uralensis.prototype.insulans = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- uralensis.prototype.nigricauda = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- uralensis.prototype.muricauda = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- uralensis.prototype.albicaudus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- uralensis.prototype.fallax = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- uralensis.prototype.attenuata = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- uralensis.prototype.megalura = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- uralensis.prototype.neblina = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- uralensis.prototype.citellus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- uralensis.prototype.tanezumi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- uralensis.prototype.albiventer = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return uralensis;
-- }());
-+ class uralensis {
-+ cartilagonodus() { var x; () => { var y = this; }; return x; }
-+ pyrrhinus() { var x; () => { var y = this; }; return x; }
-+ insulans() { var x; () => { var y = this; }; return x; }
-+ nigricauda() { var x; () => { var y = this; }; return x; }
-+ muricauda() { var x; () => { var y = this; }; return x; }
-+ albicaudus() { var x; () => { var y = this; }; return x; }
-+ fallax() { var x; () => { var y = this; }; return x; }
-+ attenuata() { var x; () => { var y = this; }; return x; }
-+ megalura() { var x; () => { var y = this; }; return x; }
-+ neblina() { var x; () => { var y = this; }; return x; }
-+ citellus() { var x; () => { var y = this; }; return x; }
-+ tanezumi() { var x; () => { var y = this; }; return x; }
-+ albiventer() { var x; () => { var y = this; }; return x; }
-+ }
- patas.uralensis = uralensis;
- })(patas || (patas = {}));
- var provocax;
- (function (provocax) {
-- var melanoleuca = /** @class */ (function (_super) {
-- __extends(melanoleuca, _super);
-- function melanoleuca() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- melanoleuca.prototype.Neodymium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- melanoleuca.prototype.baeri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return melanoleuca;
-- }(lavali.wilsoni));
-+ class melanoleuca extends lavali.wilsoni {
-+ Neodymium() { var x; () => { var y = this; }; return x; }
-+ baeri() { var x; () => { var y = this; }; return x; }
-+ }
- provocax.melanoleuca = melanoleuca;
- })(provocax || (provocax = {}));
- (function (sagitta) {
-- var sicarius = /** @class */ (function () {
-- function sicarius() {
-- }
-- sicarius.prototype.Chlorine = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sicarius.prototype.simulator = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return sicarius;
-- }());
-+ class sicarius {
-+ Chlorine() { var x; () => { var y = this; }; return x; }
-+ simulator() { var x; () => { var y = this; }; return x; }
-+ }
- sagitta.sicarius = sicarius;
- })(sagitta || (sagitta = {}));
- (function (howi) {
-- var marcanoi = /** @class */ (function (_super) {
-- __extends(marcanoi, _super);
-- function marcanoi() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- marcanoi.prototype.formosae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- marcanoi.prototype.dudui = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- marcanoi.prototype.leander = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- marcanoi.prototype.martinsi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- marcanoi.prototype.beatrix = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- marcanoi.prototype.griseoventer = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- marcanoi.prototype.zerda = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- marcanoi.prototype.yucatanicus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- marcanoi.prototype.nigrita = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- marcanoi.prototype.jouvenetae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- marcanoi.prototype.indefessus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- marcanoi.prototype.vuquangensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- marcanoi.prototype.Zirconium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- marcanoi.prototype.hyaena = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return marcanoi;
-- }(Lanthanum.megalonyx));
-+ class marcanoi extends Lanthanum.megalonyx {
-+ formosae() { var x; () => { var y = this; }; return x; }
-+ dudui() { var x; () => { var y = this; }; return x; }
-+ leander() { var x; () => { var y = this; }; return x; }
-+ martinsi() { var x; () => { var y = this; }; return x; }
-+ beatrix() { var x; () => { var y = this; }; return x; }
-+ griseoventer() { var x; () => { var y = this; }; return x; }
-+ zerda() { var x; () => { var y = this; }; return x; }
-+ yucatanicus() { var x; () => { var y = this; }; return x; }
-+ nigrita() { var x; () => { var y = this; }; return x; }
-+ jouvenetae() { var x; () => { var y = this; }; return x; }
-+ indefessus() { var x; () => { var y = this; }; return x; }
-+ vuquangensis() { var x; () => { var y = this; }; return x; }
-+ Zirconium() { var x; () => { var y = this; }; return x; }
-+ hyaena() { var x; () => { var y = this; }; return x; }
-+ }
- howi.marcanoi = marcanoi;
- })(howi || (howi = {}));
- (function (argurus) {
-- var gilbertii = /** @class */ (function () {
-- function gilbertii() {
-- }
-- gilbertii.prototype.nasutus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gilbertii.prototype.poecilops = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gilbertii.prototype.sondaicus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gilbertii.prototype.auriventer = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gilbertii.prototype.cherriei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gilbertii.prototype.lindberghi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gilbertii.prototype.pipistrellus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gilbertii.prototype.paranus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gilbertii.prototype.dubosti = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gilbertii.prototype.opossum = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gilbertii.prototype.oreopolus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- gilbertii.prototype.amurensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return gilbertii;
-- }());
-+ class gilbertii {
-+ nasutus() { var x; () => { var y = this; }; return x; }
-+ poecilops() { var x; () => { var y = this; }; return x; }
-+ sondaicus() { var x; () => { var y = this; }; return x; }
-+ auriventer() { var x; () => { var y = this; }; return x; }
-+ cherriei() { var x; () => { var y = this; }; return x; }
-+ lindberghi() { var x; () => { var y = this; }; return x; }
-+ pipistrellus() { var x; () => { var y = this; }; return x; }
-+ paranus() { var x; () => { var y = this; }; return x; }
-+ dubosti() { var x; () => { var y = this; }; return x; }
-+ opossum() { var x; () => { var y = this; }; return x; }
-+ oreopolus() { var x; () => { var y = this; }; return x; }
-+ amurensis() { var x; () => { var y = this; }; return x; }
-+ }
- argurus.gilbertii = gilbertii;
- })(argurus || (argurus = {}));
- var petrophilus;
- (function (petrophilus) {
-- var minutilla = /** @class */ (function () {
-- function minutilla() {
-- }
-- return minutilla;
-- }());
-+ class minutilla {
-+ }
- petrophilus.minutilla = minutilla;
- })(petrophilus || (petrophilus = {}));
- (function (lutreolus) {
-- var punicus = /** @class */ (function () {
-- function punicus() {
-- }
-- punicus.prototype.strandi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- punicus.prototype.lar = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- punicus.prototype.erica = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- punicus.prototype.trichura = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- punicus.prototype.lemniscatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- punicus.prototype.aspalax = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- punicus.prototype.marshalli = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- punicus.prototype.Zinc = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- punicus.prototype.monochromos = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- punicus.prototype.purinus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- punicus.prototype.ischyrus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- punicus.prototype.tenuis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- punicus.prototype.Helium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return punicus;
-- }());
-+ class punicus {
-+ strandi() { var x; () => { var y = this; }; return x; }
-+ lar() { var x; () => { var y = this; }; return x; }
-+ erica() { var x; () => { var y = this; }; return x; }
-+ trichura() { var x; () => { var y = this; }; return x; }
-+ lemniscatus() { var x; () => { var y = this; }; return x; }
-+ aspalax() { var x; () => { var y = this; }; return x; }
-+ marshalli() { var x; () => { var y = this; }; return x; }
-+ Zinc() { var x; () => { var y = this; }; return x; }
-+ monochromos() { var x; () => { var y = this; }; return x; }
-+ purinus() { var x; () => { var y = this; }; return x; }
-+ ischyrus() { var x; () => { var y = this; }; return x; }
-+ tenuis() { var x; () => { var y = this; }; return x; }
-+ Helium() { var x; () => { var y = this; }; return x; }
-+ }
- lutreolus.punicus = punicus;
- })(lutreolus || (lutreolus = {}));
- (function (macrorhinos) {
-- var daphaenodon = /** @class */ (function () {
-- function daphaenodon() {
-- }
-- daphaenodon.prototype.bredanensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- daphaenodon.prototype.othus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- daphaenodon.prototype.hammondi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- daphaenodon.prototype.aureocollaris = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- daphaenodon.prototype.flavipes = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- daphaenodon.prototype.callosus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return daphaenodon;
-- }());
-+ class daphaenodon {
-+ bredanensis() { var x; () => { var y = this; }; return x; }
-+ othus() { var x; () => { var y = this; }; return x; }
-+ hammondi() { var x; () => { var y = this; }; return x; }
-+ aureocollaris() { var x; () => { var y = this; }; return x; }
-+ flavipes() { var x; () => { var y = this; }; return x; }
-+ callosus() { var x; () => { var y = this; }; return x; }
-+ }
- macrorhinos.daphaenodon = daphaenodon;
- })(macrorhinos || (macrorhinos = {}));
- (function (sagitta) {
-- var cinereus = /** @class */ (function () {
-- function cinereus() {
-- }
-- cinereus.prototype.zunigae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cinereus.prototype.microps = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cinereus.prototype.guaporensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cinereus.prototype.tonkeana = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cinereus.prototype.montensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cinereus.prototype.sphinx = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cinereus.prototype.glis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cinereus.prototype.dorsalis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cinereus.prototype.fimbriatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cinereus.prototype.sara = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cinereus.prototype.epimelas = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cinereus.prototype.pittieri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return cinereus;
-- }());
-+ class cinereus {
-+ zunigae() { var x; () => { var y = this; }; return x; }
-+ microps() { var x; () => { var y = this; }; return x; }
-+ guaporensis() { var x; () => { var y = this; }; return x; }
-+ tonkeana() { var x; () => { var y = this; }; return x; }
-+ montensis() { var x; () => { var y = this; }; return x; }
-+ sphinx() { var x; () => { var y = this; }; return x; }
-+ glis() { var x; () => { var y = this; }; return x; }
-+ dorsalis() { var x; () => { var y = this; }; return x; }
-+ fimbriatus() { var x; () => { var y = this; }; return x; }
-+ sara() { var x; () => { var y = this; }; return x; }
-+ epimelas() { var x; () => { var y = this; }; return x; }
-+ pittieri() { var x; () => { var y = this; }; return x; }
-+ }
- sagitta.cinereus = cinereus;
- })(sagitta || (sagitta = {}));
- (function (nigra) {
-- var caucasica = /** @class */ (function () {
-- function caucasica() {
-- }
-- return caucasica;
-- }());
-+ class caucasica {
-+ }
- nigra.caucasica = caucasica;
- })(nigra || (nigra = {}));
- var gabriellae;
- (function (gabriellae) {
-- var klossii = /** @class */ (function (_super) {
-- __extends(klossii, _super);
-- function klossii() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- return klossii;
-- }(imperfecta.lasiurus));
-+ class klossii extends imperfecta.lasiurus {
-+ }
- gabriellae.klossii = klossii;
-- var amicus = /** @class */ (function () {
-- function amicus() {
-- }
-- amicus.prototype.pirrensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- amicus.prototype.phaeura = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- amicus.prototype.voratus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- amicus.prototype.satarae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- amicus.prototype.hooperi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- amicus.prototype.perrensi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- amicus.prototype.ridei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- amicus.prototype.audeberti = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- amicus.prototype.Lutetium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- amicus.prototype.atrox = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return amicus;
-- }());
-+ class amicus {
-+ pirrensis() { var x; () => { var y = this; }; return x; }
-+ phaeura() { var x; () => { var y = this; }; return x; }
-+ voratus() { var x; () => { var y = this; }; return x; }
-+ satarae() { var x; () => { var y = this; }; return x; }
-+ hooperi() { var x; () => { var y = this; }; return x; }
-+ perrensi() { var x; () => { var y = this; }; return x; }
-+ ridei() { var x; () => { var y = this; }; return x; }
-+ audeberti() { var x; () => { var y = this; }; return x; }
-+ Lutetium() { var x; () => { var y = this; }; return x; }
-+ atrox() { var x; () => { var y = this; }; return x; }
-+ }
- gabriellae.amicus = amicus;
-- var echinatus = /** @class */ (function () {
-- function echinatus() {
-- }
-- echinatus.prototype.tenuipes = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return echinatus;
-- }());
-+ class echinatus {
-+ tenuipes() { var x; () => { var y = this; }; return x; }
-+ }
- gabriellae.echinatus = echinatus;
- })(gabriellae || (gabriellae = {}));
- var imperfecta;
- (function (imperfecta) {
-- var lasiurus = /** @class */ (function () {
-- function lasiurus() {
-- }
-- lasiurus.prototype.marisae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- lasiurus.prototype.fulvus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- lasiurus.prototype.paranaensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- lasiurus.prototype.didactylus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- lasiurus.prototype.schreibersii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- lasiurus.prototype.orii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return lasiurus;
-- }());
-+ class lasiurus {
-+ marisae() { var x; () => { var y = this; }; return x; }
-+ fulvus() { var x; () => { var y = this; }; return x; }
-+ paranaensis() { var x; () => { var y = this; }; return x; }
-+ didactylus() { var x; () => { var y = this; }; return x; }
-+ schreibersii() { var x; () => { var y = this; }; return x; }
-+ orii() { var x; () => { var y = this; }; return x; }
-+ }
- imperfecta.lasiurus = lasiurus;
-- var subspinosus = /** @class */ (function () {
-- function subspinosus() {
-- }
-- subspinosus.prototype.monticularis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- subspinosus.prototype.Gadolinium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- subspinosus.prototype.oasicus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- subspinosus.prototype.paterculus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- subspinosus.prototype.punctata = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- subspinosus.prototype.invictus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- subspinosus.prototype.stangeri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- subspinosus.prototype.siskiyou = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- subspinosus.prototype.welwitschii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- subspinosus.prototype.Polonium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- subspinosus.prototype.harpia = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return subspinosus;
-- }());
-+ class subspinosus {
-+ monticularis() { var x; () => { var y = this; }; return x; }
-+ Gadolinium() { var x; () => { var y = this; }; return x; }
-+ oasicus() { var x; () => { var y = this; }; return x; }
-+ paterculus() { var x; () => { var y = this; }; return x; }
-+ punctata() { var x; () => { var y = this; }; return x; }
-+ invictus() { var x; () => { var y = this; }; return x; }
-+ stangeri() { var x; () => { var y = this; }; return x; }
-+ siskiyou() { var x; () => { var y = this; }; return x; }
-+ welwitschii() { var x; () => { var y = this; }; return x; }
-+ Polonium() { var x; () => { var y = this; }; return x; }
-+ harpia() { var x; () => { var y = this; }; return x; }
-+ }
- imperfecta.subspinosus = subspinosus;
-- var ciliolabrum = /** @class */ (function (_super) {
-- __extends(ciliolabrum, _super);
-- function ciliolabrum() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- ciliolabrum.prototype.leschenaultii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- ciliolabrum.prototype.ludia = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- ciliolabrum.prototype.sinicus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return ciliolabrum;
-- }(dogramacii.robustulus));
-+ class ciliolabrum extends dogramacii.robustulus {
-+ leschenaultii() { var x; () => { var y = this; }; return x; }
-+ ludia() { var x; () => { var y = this; }; return x; }
-+ sinicus() { var x; () => { var y = this; }; return x; }
-+ }
- imperfecta.ciliolabrum = ciliolabrum;
- })(imperfecta || (imperfecta = {}));
- (function (quasiater) {
-- var wattsi = /** @class */ (function () {
-- function wattsi() {
-- }
-- wattsi.prototype.lagotis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wattsi.prototype.hussoni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wattsi.prototype.bilarni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- wattsi.prototype.cabrerae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return wattsi;
-- }());
-+ class wattsi {
-+ lagotis() { var x; () => { var y = this; }; return x; }
-+ hussoni() { var x; () => { var y = this; }; return x; }
-+ bilarni() { var x; () => { var y = this; }; return x; }
-+ cabrerae() { var x; () => { var y = this; }; return x; }
-+ }
- quasiater.wattsi = wattsi;
- })(quasiater || (quasiater = {}));
- (function (petrophilus) {
-- var sodyi = /** @class */ (function (_super) {
-- __extends(sodyi, _super);
-- function sodyi() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- sodyi.prototype.saundersiae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sodyi.prototype.imberbis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sodyi.prototype.cansdalei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sodyi.prototype.Lawrencium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sodyi.prototype.catta = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sodyi.prototype.breviceps = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sodyi.prototype.transitionalis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sodyi.prototype.heptneri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- sodyi.prototype.bairdii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return sodyi;
-- }(quasiater.bobrinskoi));
-+ class sodyi extends quasiater.bobrinskoi {
-+ saundersiae() { var x; () => { var y = this; }; return x; }
-+ imberbis() { var x; () => { var y = this; }; return x; }
-+ cansdalei() { var x; () => { var y = this; }; return x; }
-+ Lawrencium() { var x; () => { var y = this; }; return x; }
-+ catta() { var x; () => { var y = this; }; return x; }
-+ breviceps() { var x; () => { var y = this; }; return x; }
-+ transitionalis() { var x; () => { var y = this; }; return x; }
-+ heptneri() { var x; () => { var y = this; }; return x; }
-+ bairdii() { var x; () => { var y = this; }; return x; }
-+ }
- petrophilus.sodyi = sodyi;
- })(petrophilus || (petrophilus = {}));
- (function (caurinus) {
-- var megaphyllus = /** @class */ (function (_super) {
-- __extends(megaphyllus, _super);
-- function megaphyllus() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- megaphyllus.prototype.montana = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- megaphyllus.prototype.amatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- megaphyllus.prototype.bucculentus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- megaphyllus.prototype.lepida = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- megaphyllus.prototype.graecus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- megaphyllus.prototype.forsteri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- megaphyllus.prototype.perotensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- megaphyllus.prototype.cirrhosus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return megaphyllus;
-- }(imperfecta.lasiurus));
-+ class megaphyllus extends imperfecta.lasiurus {
-+ montana() { var x; () => { var y = this; }; return x; }
-+ amatus() { var x; () => { var y = this; }; return x; }
-+ bucculentus() { var x; () => { var y = this; }; return x; }
-+ lepida() { var x; () => { var y = this; }; return x; }
-+ graecus() { var x; () => { var y = this; }; return x; }
-+ forsteri() { var x; () => { var y = this; }; return x; }
-+ perotensis() { var x; () => { var y = this; }; return x; }
-+ cirrhosus() { var x; () => { var y = this; }; return x; }
-+ }
- caurinus.megaphyllus = megaphyllus;
- })(caurinus || (caurinus = {}));
- (function (minutus) {
-- var portoricensis = /** @class */ (function () {
-- function portoricensis() {
-- }
-- portoricensis.prototype.relictus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- portoricensis.prototype.aequatorianus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- portoricensis.prototype.rhinogradoides = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return portoricensis;
-- }());
-+ class portoricensis {
-+ relictus() { var x; () => { var y = this; }; return x; }
-+ aequatorianus() { var x; () => { var y = this; }; return x; }
-+ rhinogradoides() { var x; () => { var y = this; }; return x; }
-+ }
- minutus.portoricensis = portoricensis;
- })(minutus || (minutus = {}));
- (function (lutreolus) {
-- var foina = /** @class */ (function () {
-- function foina() {
-- }
-- foina.prototype.tarfayensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- foina.prototype.Promethium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- foina.prototype.salinae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- foina.prototype.kerri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- foina.prototype.scotti = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- foina.prototype.camerunensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- foina.prototype.affinis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- foina.prototype.siebersi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- foina.prototype.maquassiensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- foina.prototype.layardi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- foina.prototype.bishopi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- foina.prototype.apodemoides = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- foina.prototype.argentiventer = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return foina;
-- }());
-+ class foina {
-+ tarfayensis() { var x; () => { var y = this; }; return x; }
-+ Promethium() { var x; () => { var y = this; }; return x; }
-+ salinae() { var x; () => { var y = this; }; return x; }
-+ kerri() { var x; () => { var y = this; }; return x; }
-+ scotti() { var x; () => { var y = this; }; return x; }
-+ camerunensis() { var x; () => { var y = this; }; return x; }
-+ affinis() { var x; () => { var y = this; }; return x; }
-+ siebersi() { var x; () => { var y = this; }; return x; }
-+ maquassiensis() { var x; () => { var y = this; }; return x; }
-+ layardi() { var x; () => { var y = this; }; return x; }
-+ bishopi() { var x; () => { var y = this; }; return x; }
-+ apodemoides() { var x; () => { var y = this; }; return x; }
-+ argentiventer() { var x; () => { var y = this; }; return x; }
-+ }
- lutreolus.foina = foina;
- })(lutreolus || (lutreolus = {}));
- (function (lutreolus) {
-- var cor = /** @class */ (function (_super) {
-- __extends(cor, _super);
-- function cor() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- cor.prototype.antinorii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cor.prototype.voi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cor.prototype.mussoi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cor.prototype.truncatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cor.prototype.achates = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cor.prototype.praedatrix = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cor.prototype.mzabi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cor.prototype.xanthinus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cor.prototype.tapoatafa = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- cor.prototype.castroviejoi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return cor;
-- }(panglima.fundatus));
-+ class cor extends panglima.fundatus {
-+ antinorii() { var x; () => { var y = this; }; return x; }
-+ voi() { var x; () => { var y = this; }; return x; }
-+ mussoi() { var x; () => { var y = this; }; return x; }
-+ truncatus() { var x; () => { var y = this; }; return x; }
-+ achates() { var x; () => { var y = this; }; return x; }
-+ praedatrix() { var x; () => { var y = this; }; return x; }
-+ mzabi() { var x; () => { var y = this; }; return x; }
-+ xanthinus() { var x; () => { var y = this; }; return x; }
-+ tapoatafa() { var x; () => { var y = this; }; return x; }
-+ castroviejoi() { var x; () => { var y = this; }; return x; }
-+ }
- lutreolus.cor = cor;
- })(lutreolus || (lutreolus = {}));
- (function (howi) {
-- var coludo = /** @class */ (function () {
-- function coludo() {
-- }
-- coludo.prototype.bernhardi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- coludo.prototype.isseli = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return coludo;
-- }());
-+ class coludo {
-+ bernhardi() { var x; () => { var y = this; }; return x; }
-+ isseli() { var x; () => { var y = this; }; return x; }
-+ }
- howi.coludo = coludo;
- })(howi || (howi = {}));
- (function (argurus) {
-- var germaini = /** @class */ (function (_super) {
-- __extends(germaini, _super);
-- function germaini() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- germaini.prototype.sharpei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- germaini.prototype.palmarum = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return germaini;
-- }(gabriellae.amicus));
-+ class germaini extends gabriellae.amicus {
-+ sharpei() { var x; () => { var y = this; }; return x; }
-+ palmarum() { var x; () => { var y = this; }; return x; }
-+ }
- argurus.germaini = germaini;
- })(argurus || (argurus = {}));
- (function (sagitta) {
-- var stolzmanni = /** @class */ (function () {
-- function stolzmanni() {
-- }
-- stolzmanni.prototype.riparius = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- stolzmanni.prototype.dhofarensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- stolzmanni.prototype.tricolor = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- stolzmanni.prototype.gardneri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- stolzmanni.prototype.walleri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- stolzmanni.prototype.talpoides = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- stolzmanni.prototype.pallipes = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- stolzmanni.prototype.lagurus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- stolzmanni.prototype.hipposideros = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- stolzmanni.prototype.griselda = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- stolzmanni.prototype.florium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return stolzmanni;
-- }());
-+ class stolzmanni {
-+ riparius() { var x; () => { var y = this; }; return x; }
-+ dhofarensis() { var x; () => { var y = this; }; return x; }
-+ tricolor() { var x; () => { var y = this; }; return x; }
-+ gardneri() { var x; () => { var y = this; }; return x; }
-+ walleri() { var x; () => { var y = this; }; return x; }
-+ talpoides() { var x; () => { var y = this; }; return x; }
-+ pallipes() { var x; () => { var y = this; }; return x; }
-+ lagurus() { var x; () => { var y = this; }; return x; }
-+ hipposideros() { var x; () => { var y = this; }; return x; }
-+ griselda() { var x; () => { var y = this; }; return x; }
-+ florium() { var x; () => { var y = this; }; return x; }
-+ }
- sagitta.stolzmanni = stolzmanni;
- })(sagitta || (sagitta = {}));
- (function (dammermani) {
-- var melanops = /** @class */ (function (_super) {
-- __extends(melanops, _super);
-- function melanops() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- melanops.prototype.blarina = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- melanops.prototype.harwoodi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- melanops.prototype.ashaninka = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- melanops.prototype.wiedii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- melanops.prototype.godmani = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- melanops.prototype.condorensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- melanops.prototype.xerophila = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- melanops.prototype.laminatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- melanops.prototype.archeri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- melanops.prototype.hidalgo = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- melanops.prototype.unicolor = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- melanops.prototype.philippii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- melanops.prototype.bocagei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return melanops;
-- }(minutus.inez));
-+ class melanops extends minutus.inez {
-+ blarina() { var x; () => { var y = this; }; return x; }
-+ harwoodi() { var x; () => { var y = this; }; return x; }
-+ ashaninka() { var x; () => { var y = this; }; return x; }
-+ wiedii() { var x; () => { var y = this; }; return x; }
-+ godmani() { var x; () => { var y = this; }; return x; }
-+ condorensis() { var x; () => { var y = this; }; return x; }
-+ xerophila() { var x; () => { var y = this; }; return x; }
-+ laminatus() { var x; () => { var y = this; }; return x; }
-+ archeri() { var x; () => { var y = this; }; return x; }
-+ hidalgo() { var x; () => { var y = this; }; return x; }
-+ unicolor() { var x; () => { var y = this; }; return x; }
-+ philippii() { var x; () => { var y = this; }; return x; }
-+ bocagei() { var x; () => { var y = this; }; return x; }
-+ }
- dammermani.melanops = melanops;
- })(dammermani || (dammermani = {}));
- (function (argurus) {
-- var peninsulae = /** @class */ (function (_super) {
-- __extends(peninsulae, _super);
-- function peninsulae() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- peninsulae.prototype.aitkeni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- peninsulae.prototype.novaeangliae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- peninsulae.prototype.olallae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- peninsulae.prototype.anselli = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- peninsulae.prototype.timminsi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- peninsulae.prototype.sordidus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- peninsulae.prototype.telfordi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- peninsulae.prototype.cavernarum = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return peninsulae;
-- }(patas.uralensis));
-+ class peninsulae extends patas.uralensis {
-+ aitkeni() { var x; () => { var y = this; }; return x; }
-+ novaeangliae() { var x; () => { var y = this; }; return x; }
-+ olallae() { var x; () => { var y = this; }; return x; }
-+ anselli() { var x; () => { var y = this; }; return x; }
-+ timminsi() { var x; () => { var y = this; }; return x; }
-+ sordidus() { var x; () => { var y = this; }; return x; }
-+ telfordi() { var x; () => { var y = this; }; return x; }
-+ cavernarum() { var x; () => { var y = this; }; return x; }
-+ }
- argurus.peninsulae = peninsulae;
- })(argurus || (argurus = {}));
- (function (argurus) {
-- var netscheri = /** @class */ (function () {
-- function netscheri() {
-- }
-- netscheri.prototype.gravis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- netscheri.prototype.ruschii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- netscheri.prototype.tricuspidatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- netscheri.prototype.fernandezi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- netscheri.prototype.colletti = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- netscheri.prototype.microbullatus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- netscheri.prototype.eburneae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- netscheri.prototype.tatei = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- netscheri.prototype.millardi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- netscheri.prototype.pruinosus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- netscheri.prototype.delator = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- netscheri.prototype.nyikae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- netscheri.prototype.ruemmleri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return netscheri;
-- }());
-+ class netscheri {
-+ gravis() { var x; () => { var y = this; }; return x; }
-+ ruschii() { var x; () => { var y = this; }; return x; }
-+ tricuspidatus() { var x; () => { var y = this; }; return x; }
-+ fernandezi() { var x; () => { var y = this; }; return x; }
-+ colletti() { var x; () => { var y = this; }; return x; }
-+ microbullatus() { var x; () => { var y = this; }; return x; }
-+ eburneae() { var x; () => { var y = this; }; return x; }
-+ tatei() { var x; () => { var y = this; }; return x; }
-+ millardi() { var x; () => { var y = this; }; return x; }
-+ pruinosus() { var x; () => { var y = this; }; return x; }
-+ delator() { var x; () => { var y = this; }; return x; }
-+ nyikae() { var x; () => { var y = this; }; return x; }
-+ ruemmleri() { var x; () => { var y = this; }; return x; }
-+ }
- argurus.netscheri = netscheri;
- })(argurus || (argurus = {}));
- (function (ruatanica) {
-- var Praseodymium = /** @class */ (function (_super) {
-- __extends(Praseodymium, _super);
-- function Praseodymium() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- Praseodymium.prototype.clara = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- Praseodymium.prototype.spectabilis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- Praseodymium.prototype.kamensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- Praseodymium.prototype.ruddi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- Praseodymium.prototype.bartelsii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- Praseodymium.prototype.yerbabuenae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- Praseodymium.prototype.davidi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- Praseodymium.prototype.pilirostris = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- Praseodymium.prototype.catherinae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- Praseodymium.prototype.frontata = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- Praseodymium.prototype.Terbium = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- Praseodymium.prototype.thomensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- Praseodymium.prototype.soricinus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return Praseodymium;
-- }(ruatanica.hector));
-+ class Praseodymium extends ruatanica.hector {
-+ clara() { var x; () => { var y = this; }; return x; }
-+ spectabilis() { var x; () => { var y = this; }; return x; }
-+ kamensis() { var x; () => { var y = this; }; return x; }
-+ ruddi() { var x; () => { var y = this; }; return x; }
-+ bartelsii() { var x; () => { var y = this; }; return x; }
-+ yerbabuenae() { var x; () => { var y = this; }; return x; }
-+ davidi() { var x; () => { var y = this; }; return x; }
-+ pilirostris() { var x; () => { var y = this; }; return x; }
-+ catherinae() { var x; () => { var y = this; }; return x; }
-+ frontata() { var x; () => { var y = this; }; return x; }
-+ Terbium() { var x; () => { var y = this; }; return x; }
-+ thomensis() { var x; () => { var y = this; }; return x; }
-+ soricinus() { var x; () => { var y = this; }; return x; }
-+ }
- ruatanica.Praseodymium = Praseodymium;
- })(ruatanica || (ruatanica = {}));
- (function (caurinus) {
-- var johorensis = /** @class */ (function (_super) {
-- __extends(johorensis, _super);
-- function johorensis() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- johorensis.prototype.maini = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return johorensis;
-- }(lutreolus.punicus));
-+ class johorensis extends lutreolus.punicus {
-+ maini() { var x; () => { var y = this; }; return x; }
-+ }
- caurinus.johorensis = johorensis;
- })(caurinus || (caurinus = {}));
- (function (argurus) {
-- var luctuosa = /** @class */ (function () {
-- function luctuosa() {
-- }
-- luctuosa.prototype.loriae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return luctuosa;
-- }());
-+ class luctuosa {
-+ loriae() { var x; () => { var y = this; }; return x; }
-+ }
- argurus.luctuosa = luctuosa;
- })(argurus || (argurus = {}));
- (function (panamensis) {
-- var setulosus = /** @class */ (function () {
-- function setulosus() {
-- }
-- setulosus.prototype.duthieae = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- setulosus.prototype.guereza = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- setulosus.prototype.buselaphus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- setulosus.prototype.nuttalli = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- setulosus.prototype.pelii = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- setulosus.prototype.tunneyi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- setulosus.prototype.lamula = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- setulosus.prototype.vampyrus = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return setulosus;
-- }());
-+ class setulosus {
-+ duthieae() { var x; () => { var y = this; }; return x; }
-+ guereza() { var x; () => { var y = this; }; return x; }
-+ buselaphus() { var x; () => { var y = this; }; return x; }
-+ nuttalli() { var x; () => { var y = this; }; return x; }
-+ pelii() { var x; () => { var y = this; }; return x; }
-+ tunneyi() { var x; () => { var y = this; }; return x; }
-+ lamula() { var x; () => { var y = this; }; return x; }
-+ vampyrus() { var x; () => { var y = this; }; return x; }
-+ }
- panamensis.setulosus = setulosus;
- })(panamensis || (panamensis = {}));
- (function (petrophilus) {
-- var rosalia = /** @class */ (function () {
-- function rosalia() {
-- }
-- rosalia.prototype.palmeri = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- rosalia.prototype.baeops = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- rosalia.prototype.ozensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- rosalia.prototype.creaghi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- rosalia.prototype.montivaga = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return rosalia;
-- }());
-+ class rosalia {
-+ palmeri() { var x; () => { var y = this; }; return x; }
-+ baeops() { var x; () => { var y = this; }; return x; }
-+ ozensis() { var x; () => { var y = this; }; return x; }
-+ creaghi() { var x; () => { var y = this; }; return x; }
-+ montivaga() { var x; () => { var y = this; }; return x; }
-+ }
- petrophilus.rosalia = rosalia;
- })(petrophilus || (petrophilus = {}));
- (function (caurinus) {
-- var psilurus = /** @class */ (function (_super) {
-- __extends(psilurus, _super);
-- function psilurus() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- psilurus.prototype.socialis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- psilurus.prototype.lundi = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- psilurus.prototype.araeum = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- psilurus.prototype.calamianensis = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- psilurus.prototype.petersoni = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- psilurus.prototype.nitela = function () {
-- var _this = this;
-- var x;
-- (function () { var y = _this; });
-- return x;
-- };
-- return psilurus;
-- }(lutreolus.punicus));
-+ class psilurus extends lutreolus.punicus {
-+ socialis() { var x; () => { var y = this; }; return x; }
-+ lundi() { var x; () => { var y = this; }; return x; }
-+ araeum() { var x; () => { var y = this; }; return x; }
-+ calamianensis() { var x; () => { var y = this; }; return x; }
-+ petersoni() { var x; () => { var y = this; }; return x; }
-+ nitela() { var x; () => { var y = this; }; return x; }
-+ }
- caurinus.psilurus = psilurus;
- })(caurinus || (caurinus = {}));
diff --git a/testdata/baselines/reference/submodule/compiler/restArgAssignmentCompat.js.diff b/testdata/baselines/reference/submodule/compiler/restArgAssignmentCompat.js.diff
deleted file mode 100644
index cd7286dae4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/restArgAssignmentCompat.js.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- old.restArgAssignmentCompat.js
-+++ new.restArgAssignmentCompat.js
-@@= skipped -11, +11 lines =@@
-
-
- //// [restArgAssignmentCompat.js]
--function f() {
-- var x = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- x[_i] = arguments[_i];
-- }
-- x.forEach(function (n, i) { return void ('item ' + i + ' = ' + n); });
-+function f(...x) {
-+ x.forEach((n, i) => void ('item ' + i + ' = ' + n));
- }
- function g(x, y) { }
- var n = g;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restArgMissingName.js.diff b/testdata/baselines/reference/submodule/compiler/restArgMissingName.js.diff
deleted file mode 100644
index 8d5dc08c91..0000000000
--- a/testdata/baselines/reference/submodule/compiler/restArgMissingName.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.restArgMissingName.js
-+++ new.restArgMissingName.js
-@@= skipped -4, +4 lines =@@
-
-
- //// [restArgMissingName.js]
--function sum() {
-- var = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- [_i] = arguments[_i];
-- }
--}
-+function sum(...) { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restElementAssignable.js.diff b/testdata/baselines/reference/submodule/compiler/restElementAssignable.js.diff
index 04d06316e3..28849d4ed3 100644
--- a/testdata/baselines/reference/submodule/compiler/restElementAssignable.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/restElementAssignable.js.diff
@@ -17,23 +17,16 @@
- return t;
-};
{
-- var props = __rest({}, []);
+- const props = __rest({}, []);
+ const { ...props } = {};
// Use to fail
-- var t1 = props;
-+ const t1 = props;
+ const t1 = props;
// Working equivalent
-- var t2 = {};
-+ const t2 = {};
+ const t2 = {};
}
{
-- var props = __rest({ a: 1, b: false, c: "str" }, []);
+- const props = __rest({ a: 1, b: false, c: "str" }, []);
+ const { ...props } = { a: 1, b: false, c: "str" };
// Use to fail
-- var t1 = props;
-+ const t1 = props;
- // Working equivalent
-- var t2 = { a: 1, b: false, c: "str" };
-+ const t2 = { a: 1, b: false, c: "str" };
- ;
- }
\ No newline at end of file
+ const t1 = props;
+ // Working equivalent
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restElementWithNumberPropertyName.js.diff b/testdata/baselines/reference/submodule/compiler/restElementWithNumberPropertyName.js.diff
index 64964399a4..7788329cfb 100644
--- a/testdata/baselines/reference/submodule/compiler/restElementWithNumberPropertyName.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/restElementWithNumberPropertyName.js.diff
@@ -15,5 +15,5 @@
- }
- return t;
-};
--var _a = [0, 1, 2], a = _a[0], b = __rest(_a, ["0"]);
+-const _a = [0, 1, 2], { 0: a } = _a, b = __rest(_a, ["0"]);
+const { 0: a, ...b } = [0, 1, 2];
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restIntersection.js.diff b/testdata/baselines/reference/submodule/compiler/restIntersection.js.diff
index 0be6458aa9..5495a712ac 100644
--- a/testdata/baselines/reference/submodule/compiler/restIntersection.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/restIntersection.js.diff
@@ -17,5 +17,5 @@
-};
var intersection;
var rest1;
--var x = intersection.x, rest1 = __rest(intersection, ["x"]);
+-var { x } = intersection, rest1 = __rest(intersection, ["x"]);
+var { x, ...rest1 } = intersection;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restParamAsOptional.js.diff b/testdata/baselines/reference/submodule/compiler/restParamAsOptional.js.diff
deleted file mode 100644
index b967e80444..0000000000
--- a/testdata/baselines/reference/submodule/compiler/restParamAsOptional.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.restParamAsOptional.js
-+++ new.restParamAsOptional.js
-@@= skipped -4, +4 lines =@@
- function f2(...x = []) { }
-
- //// [restParamAsOptional.js]
--function f() {
-- var x = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- x[_i] = arguments[_i];
-- }
--}
--function f2() {
-- var x = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- x[_i] = arguments[_i];
-- }
--}
-+function f(...x) { }
-+function f2(...x = []) { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restParamModifier.js.diff b/testdata/baselines/reference/submodule/compiler/restParamModifier.js.diff
deleted file mode 100644
index 6df79363aa..0000000000
--- a/testdata/baselines/reference/submodule/compiler/restParamModifier.js.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- old.restParamModifier.js
-+++ new.restParamModifier.js
-@@= skipped -5, +5 lines =@@
- }
-
- //// [restParamModifier.js]
--var C = /** @class */ (function () {
-- function C(rest) {
-- }
-- return C;
--}());
-+class C {
-+ constructor(...public, rest) { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restParamModifier2.js.diff b/testdata/baselines/reference/submodule/compiler/restParamModifier2.js.diff
index 4987c28b9d..c19a76cddd 100644
--- a/testdata/baselines/reference/submodule/compiler/restParamModifier2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/restParamModifier2.js.diff
@@ -1,20 +1,10 @@
--- old.restParamModifier2.js
+++ new.restParamModifier2.js
-@@= skipped -5, +5 lines =@@
- }
+@@= skipped -6, +6 lines =@@
//// [restParamModifier2.js]
--var C = /** @class */ (function () {
-- function C() {
-- var rest = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- rest[_i] = arguments[_i];
-- }
-+class C {
+ class C {
+ rest;
-+ constructor(...rest) {
+ constructor(...rest) {
this.rest = rest;
- }
-- return C;
--}());
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restParameterAssignmentCompatibility.js.diff b/testdata/baselines/reference/submodule/compiler/restParameterAssignmentCompatibility.js.diff
deleted file mode 100644
index 963eae7e2e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/restParameterAssignmentCompatibility.js.diff
+++ /dev/null
@@ -1,50 +0,0 @@
---- old.restParameterAssignmentCompatibility.js
-+++ new.restParameterAssignmentCompatibility.js
-@@= skipped -28, +28 lines =@@
- t1 = s; // Similar to above, but optionality does not matter here.
-
- //// [restParameterAssignmentCompatibility.js]
--var T = /** @class */ (function () {
-- function T() {
-- }
-- T.prototype.m = function () {
-- var p3 = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- p3[_i] = arguments[_i];
-- }
-- };
-- return T;
--}());
--var S = /** @class */ (function () {
-- function S() {
-- }
-- S.prototype.m = function (p1, p2) {
-- };
-- return S;
--}());
-+class T {
-+ m(...p3) {
-+ }
-+}
-+class S {
-+ m(p1, p2) {
-+ }
-+}
- var t;
- var s;
- // M is a non - specialized call or construct signature and S' contains a call or construct signature N where,
- // the number of non-optional parameters in N is less than or equal to the total number of parameters in M,
- t = s; // Should be valid (rest params correspond to an infinite expansion of parameters)
--var T1 = /** @class */ (function () {
-- function T1() {
-+class T1 {
-+ m(p1, p2) {
- }
-- T1.prototype.m = function (p1, p2) {
-- };
-- return T1;
--}());
-+}
- var t1;
- // When comparing call or construct signatures, parameter names are ignored and rest parameters correspond to an unbounded expansion of optional parameters of the rest parameter element type.
- t1 = s; // Similar to above, but optionality does not matter here.
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restParameterNoTypeAnnotation.js.diff b/testdata/baselines/reference/submodule/compiler/restParameterNoTypeAnnotation.js.diff
deleted file mode 100644
index 9e30a0c92c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/restParameterNoTypeAnnotation.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.restParameterNoTypeAnnotation.js
-+++ new.restParameterNoTypeAnnotation.js
-@@= skipped -7, +7 lines =@@
-
-
- //// [restParameterNoTypeAnnotation.js]
--function foo() {
-- var rest = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- rest[_i] = arguments[_i];
-- }
-+function foo(...rest) {
- var x = rest[0];
- return x;
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restParameterNotLast.js.diff b/testdata/baselines/reference/submodule/compiler/restParameterNotLast.js.diff
deleted file mode 100644
index 1fb8662f7a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/restParameterNotLast.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.restParameterNotLast.js
-+++ new.restParameterNotLast.js
-@@= skipped -3, +3 lines =@@
- function f(...x, y) { }
-
- //// [restParameterNotLast.js]
--function f(y) { }
-+function f(...x, y) { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restParameterTypeInstantiation.js.diff b/testdata/baselines/reference/submodule/compiler/restParameterTypeInstantiation.js.diff
index e37af43198..f2ddee1231 100644
--- a/testdata/baselines/reference/submodule/compiler/restParameterTypeInstantiation.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/restParameterTypeInstantiation.js.diff
@@ -17,10 +17,9 @@
- }
- return t;
-};
--var removeF = function (_a) {
-- var f = _a.f, rest = __rest(_a, ["f"]);
+-const removeF = (_a) => {
+- var { f } = _a, rest = __rest(_a, ["f"]);
+const removeF = ({ f, ...rest }) => {
return rest;
};
--var result = removeF({ f: '', g: 3 }).g;
-+const result = removeF({ f: '', g: 3 }).g;
\ No newline at end of file
+ const result = removeF({ f: '', g: 3 }).g;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern1.js.diff b/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern1.js.diff
deleted file mode 100644
index a4edf6126b..0000000000
--- a/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern1.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.restParameterWithBindingPattern1.js
-+++ new.restParameterWithBindingPattern1.js
-@@= skipped -3, +3 lines =@@
- function a(...{a, b}) { }
-
- //// [restParameterWithBindingPattern1.js]
--function a() {
-- var _a = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- _a[_i] = arguments[_i];
-- }
-- var a = _a.a, b = _a.b;
--}
-+function a(...{ a, b }) { }
- //# sourceMappingURL=restParameterWithBindingPattern1.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern1.js.map.diff b/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern1.js.map.diff
index 3f39c5ddd9..f1e1c3a44c 100644
--- a/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern1.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern1.js.map.diff
@@ -2,7 +2,7 @@
+++ new.restParameterWithBindingPattern1.js.map
@@= skipped -0, +0 lines =@@
//// [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,CAAC,GAAG,EAAC,CAAC,EAAE,CAAC,EAAC,IAAI,CAAC"}
+-//// https://sokra.github.io/source-map-visualization#base64,ZnVuY3Rpb24gYSguLi57IGEsIGIgfSkgeyB9DQovLyMgc291cmNlTWFwcGluZ1VSTD1yZXN0UGFyYW1ldGVyV2l0aEJpbmRpbmdQYXR0ZXJuMS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdFBhcmFtZXRlcldpdGhCaW5kaW5nUGF0dGVybjEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJyZXN0UGFyYW1ldGVyV2l0aEJpbmRpbmdQYXR0ZXJuMS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxTQUFTLENBQUMsQ0FBQyxHQUFHLEVBQUMsQ0FBQyxFQUFFLENBQUMsRUFBQyxJQUFJLENBQUMifQ==,ZnVuY3Rpb24gYSguLi57YSwgYn0pIHsgfQ==
+{"version":3,"file":"restParameterWithBindingPattern1.js","sourceRoot":"","sources":["restParameterWithBindingPattern1.ts"],"names":[],"mappings":"AAAA,SAAS,CAAC,CAAC,GAAG,EAAC,CAAC,EAAE,CAAC,EAAC,EAAE,EAAC,CAAE"}
+//// https://sokra.github.io/source-map-visualization#base64,ZnVuY3Rpb24gYSguLi57IGEsIGIgfSkgeyB9DQovLyMgc291cmNlTWFwcGluZ1VSTD1yZXN0UGFyYW1ldGVyV2l0aEJpbmRpbmdQYXR0ZXJuMS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdFBhcmFtZXRlcldpdGhCaW5kaW5nUGF0dGVybjEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJyZXN0UGFyYW1ldGVyV2l0aEJpbmRpbmdQYXR0ZXJuMS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxTQUFTLENBQUMsQ0FBQyxHQUFHLEVBQUMsQ0FBQyxFQUFFLENBQUMsRUFBQyxFQUFFLEVBQUMsQ0FBRSJ9,ZnVuY3Rpb24gYSguLi57YSwgYn0pIHsgfQ==
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern1.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern1.sourcemap.txt.diff
index b55191ade9..59fc8d2b67 100644
--- a/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern1.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern1.sourcemap.txt.diff
@@ -1,22 +1,12 @@
--- old.restParameterWithBindingPattern1.sourcemap.txt
+++ new.restParameterWithBindingPattern1.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:restParameterWithBindingPattern1.js
- sourceFile:restParameterWithBindingPattern1.ts
- -------------------------------------------------------------------
-->>>function a() {
-+>>>function a(...{ a, b }) { }
- 1 >
- 2 >^^^^^^^^^
- 3 > ^
--4 > ^^^^^^^->
-+4 > ^
-+5 > ^^^
-+6 > ^^
-+7 > ^
-+8 > ^^
-+9 > ^
-+10> ^^
+@@= skipped -18, +18 lines =@@
+ 8 > ^^
+ 9 > ^
+ 10> ^^
+-11> ^^^^
+-12> ^
+-13> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+11> ^^
+12> ^^
+13> ^
@@ -24,99 +14,24 @@
1 >
2 >function
3 > a
-+4 > (
-+5 > ...
-+6 > {
-+7 > a
-+8 > ,
-+9 > b
-+10> }
+@@= skipped -13, +14 lines =@@
+ 8 > ,
+ 9 > b
+ 10> }
+-11> ) {
+-12> }
+11> )
+12> {
+13> }
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)
-----
-->>> var _a = [];
--1->^^^^
--2 > ^^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1->(
--2 > ...{a, b}
--1->Emitted(2, 5) Source(1, 12) + SourceIndex(0)
--2 >Emitted(2, 17) Source(1, 21) + SourceIndex(0)
-----
-->>> for (var _i = 0; _i < arguments.length; _i++) {
--1->^^^^^^^^^
--2 > ^^^^^^^^^^
--3 > ^^
--4 > ^^^^^^^^^^^^^^^^^^^^^
--5 > ^^
--6 > ^^^^
--1->
--2 > ...{a, b}
--3 >
--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)
-----
-->>> _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)
-----
-->>> }
-->>> var a = _a.a, b = _a.b;
--1 >^^^^
--2 > ^^^^
--3 > ^
--4 > ^^^^^^^
--5 > ^^
--6 > ^
--7 > ^^^^^^^
--8 > ^
--1 >
--2 > ...{
--3 > a
--4 >
--5 > ,
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >) {
--2 >}
--1 >Emitted(7, 1) Source(1, 25) + SourceIndex(0)
--2 >Emitted(7, 2) Source(1, 26) + SourceIndex(0)
-+4 >Emitted(1, 12) Source(1, 12) + SourceIndex(0)
-+5 >Emitted(1, 15) Source(1, 15) + SourceIndex(0)
-+6 >Emitted(1, 17) Source(1, 16) + SourceIndex(0)
-+7 >Emitted(1, 18) Source(1, 17) + SourceIndex(0)
-+8 >Emitted(1, 20) Source(1, 19) + SourceIndex(0)
-+9 >Emitted(1, 21) Source(1, 20) + SourceIndex(0)
-+10>Emitted(1, 23) Source(1, 21) + SourceIndex(0)
+@@= skipped -12, +13 lines =@@
+ 8 >Emitted(1, 20) Source(1, 19) + SourceIndex(0)
+ 9 >Emitted(1, 21) Source(1, 20) + SourceIndex(0)
+ 10>Emitted(1, 23) Source(1, 21) + SourceIndex(0)
+-11>Emitted(1, 27) Source(1, 25) + SourceIndex(0)
+-12>Emitted(1, 28) Source(1, 26) + SourceIndex(0)
+11>Emitted(1, 25) Source(1, 23) + SourceIndex(0)
+12>Emitted(1, 27) Source(1, 24) + SourceIndex(0)
+13>Emitted(1, 28) Source(1, 26) + SourceIndex(0)
diff --git a/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern2.js.diff b/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern2.js.diff
deleted file mode 100644
index 448687ede1..0000000000
--- a/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern2.js.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- old.restParameterWithBindingPattern2.js
-+++ new.restParameterWithBindingPattern2.js
-@@= skipped -3, +3 lines =@@
- function a(...[a, b]) { }
-
- //// [restParameterWithBindingPattern2.js]
--function a() {
-- var _a = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- _a[_i] = arguments[_i];
-- }
-- var a = _a[0], b = _a[1];
--}
-+function a(...[a, b]) { }
- //# sourceMappingURL=restParameterWithBindingPattern2.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern2.js.map.diff b/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern2.js.map.diff
index ebc9f90561..05c81707f2 100644
--- a/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern2.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern2.js.map.diff
@@ -2,7 +2,7 @@
+++ new.restParameterWithBindingPattern2.js.map
@@= skipped -0, +0 lines =@@
//// [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,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC"}
+-//// https://sokra.github.io/source-map-visualization#base64,ZnVuY3Rpb24gYSguLi5bYSwgYl0pIHsgfQ0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9cmVzdFBhcmFtZXRlcldpdGhCaW5kaW5nUGF0dGVybjIuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdFBhcmFtZXRlcldpdGhCaW5kaW5nUGF0dGVybjIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJyZXN0UGFyYW1ldGVyV2l0aEJpbmRpbmdQYXR0ZXJuMi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxTQUFTLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMifQ==,ZnVuY3Rpb24gYSguLi5bYSwgYl0pIHsgfQ==
+{"version":3,"file":"restParameterWithBindingPattern2.js","sourceRoot":"","sources":["restParameterWithBindingPattern2.ts"],"names":[],"mappings":"AAAA,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAC,CAAE"}
+//// https://sokra.github.io/source-map-visualization#base64,ZnVuY3Rpb24gYSguLi5bYSwgYl0pIHsgfQ0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9cmVzdFBhcmFtZXRlcldpdGhCaW5kaW5nUGF0dGVybjIuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdFBhcmFtZXRlcldpdGhCaW5kaW5nUGF0dGVybjIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJyZXN0UGFyYW1ldGVyV2l0aEJpbmRpbmdQYXR0ZXJuMi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxTQUFTLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUMsQ0FBRSJ9,ZnVuY3Rpb24gYSguLi5bYSwgYl0pIHsgfQ==
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern2.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern2.sourcemap.txt.diff
index d13f9fa8d1..a908844bb0 100644
--- a/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern2.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern2.sourcemap.txt.diff
@@ -1,22 +1,12 @@
--- old.restParameterWithBindingPattern2.sourcemap.txt
+++ new.restParameterWithBindingPattern2.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:restParameterWithBindingPattern2.js
- sourceFile:restParameterWithBindingPattern2.ts
- -------------------------------------------------------------------
-->>>function a() {
-+>>>function a(...[a, b]) { }
- 1 >
- 2 >^^^^^^^^^
- 3 > ^
--4 > ^^^^^^^->
-+4 > ^
-+5 > ^^^
-+6 > ^
-+7 > ^
-+8 > ^^
-+9 > ^
-+10> ^
+@@= skipped -18, +18 lines =@@
+ 8 > ^^
+ 9 > ^
+ 10> ^
+-11> ^^^^
+-12> ^
+-13> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+11> ^^
+12> ^^
+13> ^
@@ -24,99 +14,24 @@
1 >
2 >function
3 > a
-+4 > (
-+5 > ...
-+6 > [
-+7 > a
-+8 > ,
-+9 > b
-+10> ]
+@@= skipped -13, +14 lines =@@
+ 8 > ,
+ 9 > b
+ 10> ]
+-11> ) {
+-12> }
+11> )
+12> {
+13> }
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)
-----
-->>> var _a = [];
--1->^^^^
--2 > ^^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1->(
--2 > ...[a, b]
--1->Emitted(2, 5) Source(1, 12) + SourceIndex(0)
--2 >Emitted(2, 17) Source(1, 21) + SourceIndex(0)
-----
-->>> for (var _i = 0; _i < arguments.length; _i++) {
--1->^^^^^^^^^
--2 > ^^^^^^^^^^
--3 > ^^
--4 > ^^^^^^^^^^^^^^^^^^^^^
--5 > ^^
--6 > ^^^^
--1->
--2 > ...[a, b]
--3 >
--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)
-----
-->>> _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)
-----
-->>> }
-->>> var a = _a[0], b = _a[1];
--1 >^^^^
--2 > ^^^^
--3 > ^
--4 > ^^^^^^^^
--5 > ^^
--6 > ^
--7 > ^^^^^^^^
--8 > ^
--1 >
--2 > ...[
--3 > a
--4 >
--5 > ,
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >) {
--2 >}
--1 >Emitted(7, 1) Source(1, 25) + SourceIndex(0)
--2 >Emitted(7, 2) Source(1, 26) + SourceIndex(0)
-+4 >Emitted(1, 12) Source(1, 12) + SourceIndex(0)
-+5 >Emitted(1, 15) Source(1, 15) + SourceIndex(0)
-+6 >Emitted(1, 16) Source(1, 16) + SourceIndex(0)
-+7 >Emitted(1, 17) Source(1, 17) + SourceIndex(0)
-+8 >Emitted(1, 19) Source(1, 19) + SourceIndex(0)
-+9 >Emitted(1, 20) Source(1, 20) + SourceIndex(0)
-+10>Emitted(1, 21) Source(1, 21) + SourceIndex(0)
+@@= skipped -12, +13 lines =@@
+ 8 >Emitted(1, 19) Source(1, 19) + SourceIndex(0)
+ 9 >Emitted(1, 20) Source(1, 20) + SourceIndex(0)
+ 10>Emitted(1, 21) Source(1, 21) + SourceIndex(0)
+-11>Emitted(1, 25) Source(1, 25) + SourceIndex(0)
+-12>Emitted(1, 26) Source(1, 26) + SourceIndex(0)
+11>Emitted(1, 23) Source(1, 23) + SourceIndex(0)
+12>Emitted(1, 25) Source(1, 24) + SourceIndex(0)
+13>Emitted(1, 26) Source(1, 26) + SourceIndex(0)
diff --git a/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern3.js.diff b/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern3.js.diff
index a5b17531b2..c38d335161 100644
--- a/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern3.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/restParameterWithBindingPattern3.js.diff
@@ -15,43 +15,9 @@
- }
- return t;
-};
--function a() {
-- var _a = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- _a[_i] = arguments[_i];
-- }
-- var _b = _a[0], a = _b === void 0 ? 1 : _b, _c = _a[1], b = _c === void 0 ? true : _c;
--}
--function b() {
-- var _a = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- _a[_i] = arguments[_i];
-- }
-- var _b = _a.slice(0), foo = _b === void 0 ? [] : _b;
--}
--function c() {
-- var _a = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- _a[_i] = arguments[_i];
-- }
-- var a = _a[0], length = _a.length, d = _a[3];
--}
--function d() {
-- var _a = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- _a[_i] = arguments[_i];
-- }
-- var a = _a[0], d = _a[3];
--}
--function e() {
-- var _a = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- _a[_i] = arguments[_i];
-- }
-- var _b = _a[0], a = _b === void 0 ? 1 : _b, _c = _a[1], b = _c === void 0 ? true : _c, rest = __rest(_a, ["0", "1"]);
--}
-+function a(...[a = 1, b = true]) { }
-+function b(...[...foo = []]) { }
-+function c(...{ 0: a, length, 3: d }) { }
-+function d(...[a, , , d]) { }
+ function a(...[a = 1, b = true]) { }
+ function b(...[...foo = []]) { }
+ function c(...{ 0: a, length, 3: d }) { }
+ function d(...[a, , , d]) { }
+-function e(..._a) { var { 0: a = 1, 1: b = true } = _a, rest = __rest(_a, ["0", "1"]); }
+function e(...{ 0: a = 1, 1: b = true, ...rest: rest }) { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restParameters.js.diff b/testdata/baselines/reference/submodule/compiler/restParameters.js.diff
deleted file mode 100644
index 53a05d3fe2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/restParameters.js.diff
+++ /dev/null
@@ -1,34 +0,0 @@
---- old.restParameters.js
-+++ new.restParameters.js
-@@= skipped -9, +9 lines =@@
- function f21(a:string, b?:string, c?:number, ...d:number[]){}
-
- //// [restParameters.js]
--function f18(a) {
-- var b = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- b[_i - 1] = arguments[_i];
-- }
--}
--function f19(a, b) {
-- var c = [];
-- for (var _i = 2; _i < arguments.length; _i++) {
-- c[_i - 2] = arguments[_i];
-- }
--}
--function f20(a, b) {
-- var c = [];
-- for (var _i = 2; _i < arguments.length; _i++) {
-- c[_i - 2] = arguments[_i];
-- }
--}
--function f21(a, b, c) {
-- var d = [];
-- for (var _i = 3; _i < arguments.length; _i++) {
-- d[_i - 3] = arguments[_i];
-- }
--}
-+function f18(a, ...b) { }
-+function f19(a, b, ...c) { }
-+function f20(a, b, ...c) { }
-+function f21(a, b, c, ...d) { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restParamsWithNonRestParams.js.diff b/testdata/baselines/reference/submodule/compiler/restParamsWithNonRestParams.js.diff
deleted file mode 100644
index aadd8878ad..0000000000
--- a/testdata/baselines/reference/submodule/compiler/restParamsWithNonRestParams.js.diff
+++ /dev/null
@@ -1,30 +0,0 @@
---- old.restParamsWithNonRestParams.js
-+++ new.restParamsWithNonRestParams.js
-@@= skipped -8, +8 lines =@@
- foo3(); // error but shouldn't be
-
- //// [restParamsWithNonRestParams.js]
--function foo() {
-- var b = [];
-- for (var _i = 0; _i < arguments.length; _i++) {
-- b[_i] = arguments[_i];
-- }
--}
-+function foo(...b) { }
- foo(); // ok
--function foo2(a) {
-- var b = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- b[_i - 1] = arguments[_i];
-- }
--}
-+function foo2(a, ...b) { }
- foo2(); // should be an error
--function foo3(a) {
-- var b = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- b[_i - 1] = arguments[_i];
-- }
--}
-+function foo3(a, ...b) { }
- foo3(); // error but shouldn't be
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restTypeRetainsMappyness.js.diff b/testdata/baselines/reference/submodule/compiler/restTypeRetainsMappyness.js.diff
deleted file mode 100644
index 633fa9696e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/restTypeRetainsMappyness.js.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- old.restTypeRetainsMappyness.js
-+++ new.restTypeRetainsMappyness.js
-@@= skipped -12, +12 lines =@@
-
- //// [restTypeRetainsMappyness.js]
- function test(fn) {
-- var arr = {};
-- fn.apply(void 0, arr); // Error: Argument of type 'any[]' is not assignable to parameter of type 'Foo'
-+ const arr = {};
-+ fn(...arr); // Error: Argument of type 'any[]' is not assignable to parameter of type 'Foo'
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/restUnion.js.diff b/testdata/baselines/reference/submodule/compiler/restUnion.js.diff
index db5adfa9b1..2d7635e9e2 100644
--- a/testdata/baselines/reference/submodule/compiler/restUnion.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/restUnion.js.diff
@@ -17,13 +17,13 @@
-};
var union;
var rest1;
--var a = union.a, rest1 = __rest(union, ["a"]);
+-var { a } = union, rest1 = __rest(union, ["a"]);
+var { a, ...rest1 } = union;
var undefinedUnion;
var rest2;
--var n = undefinedUnion.n, rest2 = __rest(undefinedUnion, ["n"]);
+-var { n } = undefinedUnion, rest2 = __rest(undefinedUnion, ["n"]);
+var { n, ...rest2 } = undefinedUnion;
var nullUnion;
var rest3;
--var n = nullUnion.n, rest3 = __rest(nullUnion, ["n"]);
+-var { n } = nullUnion, rest3 = __rest(nullUnion, ["n"]);
+var { n, ...rest3 } = nullUnion;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/returnInConstructor1.js.diff b/testdata/baselines/reference/submodule/compiler/returnInConstructor1.js.diff
index c144d89686..5876226941 100644
--- a/testdata/baselines/reference/submodule/compiler/returnInConstructor1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/returnInConstructor1.js.diff
@@ -1,123 +1,22 @@
--- old.returnInConstructor1.js
+++ new.returnInConstructor1.js
-@@= skipped -68, +68 lines =@@
-
-
- //// [returnInConstructor1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var A = /** @class */ (function () {
-- function A() {
-+class A {
-+ foo() { }
-+ constructor() {
- return;
+@@= skipped -93, +93 lines =@@
}
-- A.prototype.foo = function () { };
-- return A;
--}());
--var B = /** @class */ (function () {
-- function B() {
-+}
-+class B {
-+ foo() { }
-+ constructor() {
- return 1; // error
- }
-- B.prototype.foo = function () { };
-- return B;
--}());
--var C = /** @class */ (function () {
-- function C() {
-+}
-+class C {
-+ foo() { }
-+ constructor() {
- return this;
- }
-- C.prototype.foo = function () { };
-- return C;
--}());
--var D = /** @class */ (function () {
-- function D() {
-+}
-+class D {
-+ foo() { }
-+ constructor() {
- return "test"; // error
- }
-- D.prototype.foo = function () { };
-- return D;
--}());
--var E = /** @class */ (function () {
-- function E() {
-+}
-+class E {
+ }
+ class E {
+ foo;
-+ constructor() {
+ constructor() {
return { foo: 1 };
}
-- return E;
--}());
--var F = /** @class */ (function () {
-- function F() {
-+}
-+class F {
+ }
+ class F {
+ foo;
-+ constructor() {
+ constructor() {
return { foo: 1 }; //error
}
-- return F;
--}());
--var G = /** @class */ (function () {
-- function G() {
-+}
-+class G {
+ }
+ class G {
+ test;
-+ test1() { }
-+ foo() { }
-+ constructor() {
- this.test = 2;
- }
-- G.prototype.test1 = function () { };
-- G.prototype.foo = function () { };
-- return G;
--}());
--var H = /** @class */ (function (_super) {
-- __extends(H, _super);
-- function H() {
-- var _this = _super.call(this) || this;
-+}
-+class H extends F {
-+ constructor() {
-+ super();
- return new G(); //error
- }
-- return H;
--}(F));
--var I = /** @class */ (function (_super) {
-- __extends(I, _super);
-- function I() {
-- var _this = _super.call(this) || this;
-+}
-+class I extends G {
-+ constructor() {
-+ super();
- return new G();
- }
-- return I;
--}(G));
-+}
\ No newline at end of file
+ test1() { }
+ foo() { }
+ constructor() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/returnInfiniteIntersection.js.diff b/testdata/baselines/reference/submodule/compiler/returnInfiniteIntersection.js.diff
deleted file mode 100644
index 987f644917..0000000000
--- a/testdata/baselines/reference/submodule/compiler/returnInfiniteIntersection.js.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- old.returnInfiniteIntersection.js
-+++ new.returnInfiniteIntersection.js
-@@= skipped -10, +10 lines =@@
-
- //// [returnInfiniteIntersection.js]
- function recursive() {
-- var x = function (subkey) { return recursive(); };
-+ let x = (subkey) => recursive();
- return x;
- }
--var result = recursive()(1);
-+let result = recursive()(1);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/returnTypePredicateIsInstantiateInContextOfTarget.js.diff b/testdata/baselines/reference/submodule/compiler/returnTypePredicateIsInstantiateInContextOfTarget.js.diff
index 53badffeb9..f3efdc8b6f 100644
--- a/testdata/baselines/reference/submodule/compiler/returnTypePredicateIsInstantiateInContextOfTarget.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/returnTypePredicateIsInstantiateInContextOfTarget.js.diff
@@ -1,48 +1,28 @@
--- old.returnTypePredicateIsInstantiateInContextOfTarget.js
+++ new.returnTypePredicateIsInstantiateInContextOfTarget.js
-@@= skipped -17, +17 lines =@@
-
- //// [returnTypePredicateIsInstantiateInContextOfTarget.js]
+@@= skipped -19, +19 lines =@@
"use strict";
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
Object.defineProperty(exports, "__esModule", { value: true });
///
-var React = require("react");
--var TestComponent = /** @class */ (function (_super) {
-- __extends(TestComponent, _super);
-- function TestComponent() {
-- return _super !== null && _super.apply(this, arguments) || this;
+-let TestComponent = (() => {
+- class TestComponent extends React.Component {
+- // Type guard is defined as a static class property
+- static isAny(obj) {
+- return true;
+- }
- }
+- TestComponent.defaultProps = {
+const React = require("react");
+class TestComponent extends React.Component {
+ static defaultProps = {
-+ isAny: TestComponent.isAny
-+ };
- // Type guard is defined as a static class property
-- TestComponent.isAny = function (obj) {
-+ static isAny(obj) {
- return true;
-- };
-- TestComponent.defaultProps = {
-- isAny: TestComponent.isAny
-- };
+ isAny: TestComponent.isAny
+ };
- return TestComponent;
--}(React.Component));
--var TestRender = function () { return React.createElement(TestComponent, null); };
+-})();
++ // Type guard is defined as a static class property
++ static isAny(obj) {
++ return true;
+ }
+}
-+const TestRender = () => React.createElement(TestComponent, null);
\ No newline at end of file
+ const TestRender = () => React.createElement(TestComponent, null);
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/returnTypeTypeArguments.js.diff b/testdata/baselines/reference/submodule/compiler/returnTypeTypeArguments.js.diff
index 250f5bc134..c7a9aeca2c 100644
--- a/testdata/baselines/reference/submodule/compiler/returnTypeTypeArguments.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/returnTypeTypeArguments.js.diff
@@ -1,92 +1,29 @@
--- old.returnTypeTypeArguments.js
+++ new.returnTypeTypeArguments.js
-@@= skipped -78, +78 lines =@@
-
+@@= skipped -79, +79 lines =@@
//// [returnTypeTypeArguments.js]
--var One = /** @class */ (function () {
-- function One() {
-- }
-- return One;
--}());
--var Two = /** @class */ (function () {
-- function Two() {
-- }
-- return Two;
--}());
--var Three = /** @class */ (function () {
-- function Three() {
-- }
-- return Three;
--}());
-+class One {
+ class One {
+ value;
-+}
-+class Two {
+ }
+ class Two {
+ value;
+ id;
-+}
-+class Three {
+ }
+ class Three {
+ value;
+ id;
+ name;
-+}
+ }
function A1() { return null; }
function A2() { return null; }
- function A3() { return null; }
- function B1() { return null; }
- function B2() { return null; }
- function B3() { return null; }
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.A1 = function () { return null; };
-- C.prototype.A2 = function () { return null; };
-- C.prototype.A3 = function () { return null; };
-- C.prototype.B1 = function () { return null; };
-- C.prototype.B2 = function () { return null; };
-- C.prototype.B3 = function () { return null; };
-- return C;
--}());
--var D = /** @class */ (function () {
-- function D() {
-- }
-- D.prototype.A2 = function () { return null; };
-- D.prototype.A3 = function () { return null; };
-- D.prototype.B1 = function () { return null; };
-- D.prototype.B2 = function () { return null; };
-- D.prototype.B3 = function () { return null; };
-- return D;
--}());
--var Y = /** @class */ (function () {
-- function Y() {
-- }
-- return Y;
--}());
--var X = /** @class */ (function () {
-- function X() {
-- }
-- return X;
--}());
-+class C {
-+ A1() { return null; }
-+ A2() { return null; }
-+ A3() { return null; }
-+ B1() { return null; }
-+ B2() { return null; }
-+ B3() { return null; }
-+}
-+class D {
-+ A2() { return null; }
-+ A3() { return null; }
-+ B1() { return null; }
-+ B2() { return null; }
-+ B3() { return null; }
-+}
-+class Y {
+@@= skipped -27, +33 lines =@@
+ B3() { return null; }
+ }
+ class Y {
+ value;
-+}
-+class X {
+ }
+ class X {
+ p1;
+ p2;
+ p3;
@@ -97,4 +34,4 @@
+ p8;
+ p9;
+ pa;
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/returnValueInSetter.js.diff b/testdata/baselines/reference/submodule/compiler/returnValueInSetter.js.diff
deleted file mode 100644
index 9c8d63d632..0000000000
--- a/testdata/baselines/reference/submodule/compiler/returnValueInSetter.js.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- old.returnValueInSetter.js
-+++ new.returnValueInSetter.js
-@@= skipped -9, +9 lines =@@
-
-
- //// [returnValueInSetter.js]
--var f = /** @class */ (function () {
-- function f() {
-+class f {
-+ set x(value) {
-+ return null; // Should be an error
- }
-- Object.defineProperty(f.prototype, "x", {
-- set: function (value) {
-- return null; // Should be an error
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return f;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reverseMappedContravariantInference.js.diff b/testdata/baselines/reference/submodule/compiler/reverseMappedContravariantInference.js.diff
index 41f881fbec..1e91b9b2a8 100644
--- a/testdata/baselines/reference/submodule/compiler/reverseMappedContravariantInference.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reverseMappedContravariantInference.js.diff
@@ -6,5 +6,4 @@
//// [reverseMappedContravariantInference.js]
-"use strict";
-// Repro from #21273
--conforms({ foo: function (v) { return false; } })({ foo: "hello" });
-+conforms({ foo: (v) => false })({ foo: "hello" });
\ No newline at end of file
+ conforms({ foo: (v) => false })({ foo: "hello" });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reverseMappedPartiallyInferableTypes.js.diff b/testdata/baselines/reference/submodule/compiler/reverseMappedPartiallyInferableTypes.js.diff
index 3a17618e45..90fab6c9cb 100644
--- a/testdata/baselines/reference/submodule/compiler/reverseMappedPartiallyInferableTypes.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reverseMappedPartiallyInferableTypes.js.diff
@@ -6,63 +6,5 @@
"use strict";
-// Repro from #30505
Object.defineProperty(exports, "__esModule", { value: true });
--var r = extend({
-+const r = extend({
- props: {
- notResolved: {
- type: Object,
-- validator: function (x) {
-+ validator: x => {
- return x.valid;
- }
- },
- explicit: {
- type: Object,
-- validator: function (x) {
-+ validator: (x) => {
- return x.valid;
- }
- }
-@@= skipped -23, +22 lines =@@
- r.explicit.required;
- r.notResolved.required;
- // All properties have inferable types
--var obj1 = id({
-+const obj1 = id({
- foo: {
- contents: ""
- }
- });
- // Some properties have inferable types
--var obj2 = id({
-+const obj2 = id({
- foo: {
- contents: "",
-- contains: function (k) {
-+ contains(k) {
- return k.length > 0;
- }
- }
- });
- // No properties have inferable types
--var obj3 = id({
-+const obj3 = id({
- foo: {
-- contains: function (k) {
-+ contains(k) {
- return k.length > 0;
- }
- }
- });
- inferMapped1({
-- key: [3, function (arg) { return arg.key > 5; }]
-+ key: [3, arg => arg.key > 5]
- });
- inferMapped2({
-- key: [3, function (arg) { return arg.key > 5; }]
-+ key: [3, arg => arg.key > 5]
- });
- inferMappedReadonly({
-- key: [3, function (arg) { return arg.key > 5; }]
-+ key: [3, arg => arg.key > 5]
- });
\ No newline at end of file
+ const r = extend({
+ props: {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reverseMappedTypeContextualTypeNotCircular.js.diff b/testdata/baselines/reference/submodule/compiler/reverseMappedTypeContextualTypeNotCircular.js.diff
deleted file mode 100644
index db22b0928e..0000000000
--- a/testdata/baselines/reference/submodule/compiler/reverseMappedTypeContextualTypeNotCircular.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.reverseMappedTypeContextualTypeNotCircular.js
-+++ new.reverseMappedTypeContextualTypeNotCircular.js
-@@= skipped -13, +13 lines =@@
- });
-
- //// [reverseMappedTypeContextualTypeNotCircular.js]
--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
-+const editable = () => ({});
-+const mapStateToProps = createStructuredSelector({
-+ editable: (state, props) => editable(), // expect "Type '(state: any, props: any) => {}' is not assignable to type 'Selector'", _not_ a circularity error
- });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reverseMappedTypeIntersectionConstraint.js.diff b/testdata/baselines/reference/submodule/compiler/reverseMappedTypeIntersectionConstraint.js.diff
index db58ac5ae3..a0a7853dfe 100644
--- a/testdata/baselines/reference/submodule/compiler/reverseMappedTypeIntersectionConstraint.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reverseMappedTypeIntersectionConstraint.js.diff
@@ -16,32 +16,10 @@
- };
- return __assign.apply(this, arguments);
-};
--var inferredParams1 = createMachine({
-+const inferredParams1 = createMachine({
+ const inferredParams1 = createMachine({
entry: "foo",
states: {
- a: {
-@@= skipped -21, +9 lines =@@
- },
- extra: 12,
- });
--var inferredParams2 = createMachine({
-+const inferredParams2 = createMachine({
- entry: "foo",
- states: {
- a: {
-@@= skipped -10, +10 lines =@@
- extra: 12,
- });
- // -----------------------------------------------------------------------------------------
--var checkType = function () { return function (value) { return value; }; };
--var checked = checkType()({
-+const checkType = () => (value) => value;
-+const checked = checkType()({
- x: 1,
- y: "y",
- z: "z", // undesirable property z is *not* allowed
-@@= skipped -31, +31 lines =@@
+@@= skipped -62, +50 lines =@@
return foo(props); // no error because lack of excess property check by design
}
foo({ x: 1, y: 'foo' });
@@ -49,22 +27,4 @@
+foo({ ...{ x: 1, y: 'foo' } }); // no error because lack of excess property check by design
baz({ x: 1 });
baz({ x: 1, z: 123 });
- baz({ x: 1, y: 'foo' });
- baz({ x: 1, y: 'foo', z: 123 });
--var wnp = withNestedProp({ prop: 'foo', nested: { prop: 'bar' }, extra: 10 });
--var child = function () { return Promise.resolve("foo"); };
--var config = createXMachine({
-+const wnp = withNestedProp({ prop: 'foo', nested: { prop: 'bar' }, extra: 10 });
-+const child = () => Promise.resolve("foo");
-+const config = createXMachine({
- types: {},
- invoke: {
- src: "str",
- },
- extra: 10
- });
--var config2 = createXMachine({
-+const config2 = createXMachine({
- invoke: {
- src: "whatever",
- },
\ No newline at end of file
+ baz({ x: 1, y: 'foo' });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reverseMappedTypeLimitedConstraint.js.diff b/testdata/baselines/reference/submodule/compiler/reverseMappedTypeLimitedConstraint.js.diff
deleted file mode 100644
index 2eaf0cb2c4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/reverseMappedTypeLimitedConstraint.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.reverseMappedTypeLimitedConstraint.js
-+++ new.reverseMappedTypeLimitedConstraint.js
-@@= skipped -19, +19 lines =@@
- //// [reverseMappedTypeLimitedConstraint.js]
- foo_({ x: 1, y: 'foo' });
- // -----------------------------------------------------------------------------------------
--var checkType_ = function () { return function (value) { return value; }; };
--var checked_ = checkType_()({
-+const checkType_ = () => (value) => value;
-+const checked_ = checkType_()({
- x: 1,
- y: "y",
- z: "z",
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/reverseMappedTypeRecursiveInference.js.diff b/testdata/baselines/reference/submodule/compiler/reverseMappedTypeRecursiveInference.js.diff
index 5f10d6bb0b..d207f1caf4 100644
--- a/testdata/baselines/reference/submodule/compiler/reverseMappedTypeRecursiveInference.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/reverseMappedTypeRecursiveInference.js.diff
@@ -7,8 +7,4 @@
-"use strict";
function test(value) {
console.log(value);
- return undefined;
- }
--var bar = {};
-+const bar = {};
- test(bar);
\ No newline at end of file
+ return undefined;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/satisfiesEmit.js.diff b/testdata/baselines/reference/submodule/compiler/satisfiesEmit.js.diff
index 99fec89226..16c7f7cac9 100644
--- a/testdata/baselines/reference/submodule/compiler/satisfiesEmit.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/satisfiesEmit.js.diff
@@ -5,6 +5,5 @@
Object.defineProperty(exports, "__esModule", { value: true });
// This import should not be elided in the emitted JS
-var a = require("foo");
--var p = a;
+const a = require("foo");
-+const p = a;
\ No newline at end of file
+ const p = a;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/scopeCheckClassProperty.js.diff b/testdata/baselines/reference/submodule/compiler/scopeCheckClassProperty.js.diff
index 84809ff039..371c340fd5 100644
--- a/testdata/baselines/reference/submodule/compiler/scopeCheckClassProperty.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/scopeCheckClassProperty.js.diff
@@ -1,26 +1,17 @@
--- old.scopeCheckClassProperty.js
+++ new.scopeCheckClassProperty.js
-@@= skipped -12, +12 lines =@@
-
-
+@@= skipped -14, +14 lines =@@
//// [scopeCheckClassProperty.js]
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+ constructor() {
- this.x = new A().p; // should also be ok
-+class C {
-+ constructor() {
new A().p; // ok
}
-- return C;
--}());
--var A = /** @class */ (function () {
-- function A() {
++ x = new A().p; // should also be ok
+ }
+ class A {
+- constructor() {
- this.p = '';
- }
-- return A;
--}());
-+ x = new A().p; // should also be ok
-+}
-+class A {
+ p = '';
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/scopeCheckExtendedClassInsidePublicMethod2.js.diff b/testdata/baselines/reference/submodule/compiler/scopeCheckExtendedClassInsidePublicMethod2.js.diff
index e1d637c7ca..1bc7d89879 100644
--- a/testdata/baselines/reference/submodule/compiler/scopeCheckExtendedClassInsidePublicMethod2.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/scopeCheckExtendedClassInsidePublicMethod2.js.diff
@@ -1,47 +1,12 @@
--- old.scopeCheckExtendedClassInsidePublicMethod2.js
+++ new.scopeCheckExtendedClassInsidePublicMethod2.js
-@@= skipped -10, +10 lines =@@
- }
+@@= skipped -11, +11 lines =@@
//// [scopeCheckExtendedClassInsidePublicMethod2.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- D.prototype.c = function () {
-+class C {
+ class C {
+ v;
+ p;
+ static s;
-+}
-+class D extends C {
-+ c() {
- v = 1;
- this.p = 1;
- s = 1;
-- };
-- return D;
--}(C));
-+ }
-+}
\ No newline at end of file
+ }
+ class D extends C {
+ c() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/scopeCheckExtendedClassInsideStaticMethod1.js.diff b/testdata/baselines/reference/submodule/compiler/scopeCheckExtendedClassInsideStaticMethod1.js.diff
index 7ff2414243..9eea82d43e 100644
--- a/testdata/baselines/reference/submodule/compiler/scopeCheckExtendedClassInsideStaticMethod1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/scopeCheckExtendedClassInsideStaticMethod1.js.diff
@@ -1,47 +1,12 @@
--- old.scopeCheckExtendedClassInsideStaticMethod1.js
+++ new.scopeCheckExtendedClassInsideStaticMethod1.js
-@@= skipped -10, +10 lines =@@
- }
+@@= skipped -11, +11 lines =@@
//// [scopeCheckExtendedClassInsideStaticMethod1.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- D.c = function () {
-+class C {
+ class C {
+ v;
+ p;
+ static s;
-+}
-+class D extends C {
-+ static c() {
- v = 1;
- this.p = 1;
- s = 1;
-- };
-- return D;
--}(C));
-+ }
-+}
\ No newline at end of file
+ }
+ class D extends C {
+ static c() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/scopeCheckInsidePublicMethod1.js.diff b/testdata/baselines/reference/submodule/compiler/scopeCheckInsidePublicMethod1.js.diff
index 550e7b3bc2..f2b26185f3 100644
--- a/testdata/baselines/reference/submodule/compiler/scopeCheckInsidePublicMethod1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/scopeCheckInsidePublicMethod1.js.diff
@@ -1,19 +1,10 @@
--- old.scopeCheckInsidePublicMethod1.js
+++ new.scopeCheckInsidePublicMethod1.js
-@@= skipped -8, +8 lines =@@
- }
+@@= skipped -9, +9 lines =@@
//// [scopeCheckInsidePublicMethod1.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.prototype.a = function () {
-+class C {
+ class C {
+ static s;
-+ a() {
+ a() {
s = 1; // ERR
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/scopeCheckInsideStaticMethod1.js.diff b/testdata/baselines/reference/submodule/compiler/scopeCheckInsideStaticMethod1.js.diff
index 76ae587063..bcb16e7e1a 100644
--- a/testdata/baselines/reference/submodule/compiler/scopeCheckInsideStaticMethod1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/scopeCheckInsideStaticMethod1.js.diff
@@ -1,23 +1,12 @@
--- old.scopeCheckInsideStaticMethod1.js
+++ new.scopeCheckInsideStaticMethod1.js
-@@= skipped -12, +12 lines =@@
- }
+@@= skipped -13, +13 lines =@@
//// [scopeCheckInsideStaticMethod1.js]
--var C = /** @class */ (function () {
-- function C() {
-- }
-- C.b = function () {
-+class C {
+ class C {
+ v;
+ p;
+ static s;
-+ static b() {
+ static b() {
v = 1; // ERR
- C.s = 1;
- this.p = 1; // ERR
-- };
-- return C;
--}());
-+ }
-+}
\ No newline at end of file
+ C.s = 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/scopeCheckStaticInitializer.js.diff b/testdata/baselines/reference/submodule/compiler/scopeCheckStaticInitializer.js.diff
index ba2ff16c95..680efee7f9 100644
--- a/testdata/baselines/reference/submodule/compiler/scopeCheckStaticInitializer.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/scopeCheckStaticInitializer.js.diff
@@ -4,21 +4,25 @@
//// [scopeCheckStaticInitializer.js]
--var X = /** @class */ (function () {
-- function X() {
+-let X = (() => {
+- class X {
+- static method() { }
- }
-- X.method = function () { };
- X.illegalBeforeProperty = X.data;
- X.okBeforeMethod = X.method;
- X.illegal2 = After.data;
- X.illegal3 = After.method;
- X.data = 13;
- return X;
--}());
--var After = /** @class */ (function () {
-- function After() {
+-})();
+-let After = (() => {
+- class After {
+- static method() { }
+- ;
- }
-- After.method = function () { };
+- After.data = 12;
+- return After;
+-})();
+class X {
+ static illegalBeforeProperty = X.data;
+ static okBeforeMethod = X.method;
@@ -30,8 +34,5 @@
+class After {
+ static data = 12;
+ static method() { }
- ;
-- After.data = 12;
-- return After;
--}());
++ ;
+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/scopeTests.js.diff b/testdata/baselines/reference/submodule/compiler/scopeTests.js.diff
index 814bf9819d..2370e8bc03 100644
--- a/testdata/baselines/reference/submodule/compiler/scopeTests.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/scopeTests.js.diff
@@ -1,50 +1,16 @@
--- old.scopeTests.js
+++ new.scopeTests.js
-@@= skipped -13, +13 lines =@@
- }
+@@= skipped -14, +14 lines =@@
//// [scopeTests.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var C = /** @class */ (function () {
-- function C() {
-- }
-- return C;
--}());
--var D = /** @class */ (function (_super) {
-- __extends(D, _super);
-- function D() {
-- var _this = _super.call(this) || this;
-- _this.v = 1;
-- _this.p = 1;
-+class C {
+ class C {
+ v;
+ p;
+ static s;
-+}
-+class D extends C {
+ }
+ class D extends C {
+ v;
+ p;
-+ constructor() {
-+ super();
-+ this.v = 1;
-+ this.p = 1;
- C.s = 1;
-- return _this;
- }
-- return D;
--}(C));
-+}
\ No newline at end of file
+ constructor() {
+ super();
+ this.v = 1;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/selfInCallback.js.diff b/testdata/baselines/reference/submodule/compiler/selfInCallback.js.diff
index 25de894e1a..c91a13da64 100644
--- a/testdata/baselines/reference/submodule/compiler/selfInCallback.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/selfInCallback.js.diff
@@ -1,23 +1,13 @@
--- old.selfInCallback.js
+++ new.selfInCallback.js
-@@= skipped -9, +9 lines =@@
- }
+@@= skipped -10, +10 lines =@@
//// [selfInCallback.js]
--var C = /** @class */ (function () {
-- function C() {
+ class C {
+- constructor() {
- this.p1 = 0;
-+class C {
+- }
+ p1 = 0;
-+ callback(cb) { cb(); }
-+ doit() {
-+ this.callback(() => { this.p1 + 1; });
- }
-- C.prototype.callback = function (cb) { cb(); };
-- C.prototype.doit = function () {
-- var _this = this;
-- this.callback(function () { _this.p1 + 1; });
-- };
-- return C;
--}());
-+}
\ No newline at end of file
+ callback(cb) { cb(); }
+ doit() {
+ this.callback(() => { this.p1 + 1; });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/selfInLambdas.js.diff b/testdata/baselines/reference/submodule/compiler/selfInLambdas.js.diff
index e6cca65634..deb5c25b9c 100644
--- a/testdata/baselines/reference/submodule/compiler/selfInLambdas.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/selfInLambdas.js.diff
@@ -1,42 +1,13 @@
--- old.selfInLambdas.js
+++ new.selfInLambdas.js
-@@= skipped -51, +51 lines =@@
- var o = {
- counter: 0,
- start: function () {
-- var _this = this;
-- window.onmousemove = function () {
-- _this.counter++;
-- var f = function () { return _this.counter; };
-+ window.onmousemove = () => {
-+ this.counter++;
-+ var f = () => this.counter;
- };
+@@= skipped -58, +58 lines =@@
}
};
--var X = /** @class */ (function () {
-- function X() {
+ class X {
+- constructor() {
- this.value = "value";
- }
-- X.prototype.foo = function () {
-- var _this = this;
-- var outer = function () {
-- var x = _this.value;
-- var inner = function () {
-- var y = _this.value;
-+class X {
+ value = "value";
-+ foo() {
-+ var outer = () => {
-+ var x = this.value;
-+ var inner = () => {
-+ var y = this.value;
- };
- inner();
- };
- outer();
-- };
-- return X;
--}());
-+ }
-+}
\ No newline at end of file
+ foo() {
+ var outer = () => {
+ var x = this.value;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/selfRef.js.diff b/testdata/baselines/reference/submodule/compiler/selfRef.js.diff
index 1beb4d26e0..97094ec674 100644
--- a/testdata/baselines/reference/submodule/compiler/selfRef.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/selfRef.js.diff
@@ -1,11 +1,10 @@
--- old.selfRef.js
+++ new.selfRef.js
-@@= skipped -22, +22 lines =@@
- //// [selfRef.js]
+@@= skipped -23, +23 lines =@@
var M;
(function (M) {
-- var Test = /** @class */ (function () {
-- function Test() {
+ class Test {
+- constructor() {
- this.name = "hello";
- this.setName = function (value) {
- (function () {
@@ -16,9 +15,6 @@
- return name;
- };
- }
-- return Test;
-- }());
-+ class Test {
+ name = "hello";
+ setName = function (value) {
+ (function () {
@@ -28,6 +24,6 @@
+ getName = function () {
+ return name;
+ };
-+ }
+ }
M.Test = Test;
})(M || (M = {}));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/selfReference.js.diff b/testdata/baselines/reference/submodule/compiler/selfReference.js.diff
deleted file mode 100644
index e7ac1e6250..0000000000
--- a/testdata/baselines/reference/submodule/compiler/selfReference.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.selfReference.js
-+++ new.selfReference.js
-@@= skipped -4, +4 lines =@@
- asFunction(() => { return 1; });
-
- //// [selfReference.js]
--asFunction(function () { return 1; });
-+asFunction(() => { return 1; });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/selfReferencesInFunctionParameters.js.diff b/testdata/baselines/reference/submodule/compiler/selfReferencesInFunctionParameters.js.diff
deleted file mode 100644
index f917f4508c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/selfReferencesInFunctionParameters.js.diff
+++ /dev/null
@@ -1,34 +0,0 @@
---- old.selfReferencesInFunctionParameters.js
-+++ new.selfReferencesInFunctionParameters.js
-@@= skipped -15, +15 lines =@@
- }
-
- //// [selfReferencesInFunctionParameters.js]
--function foo(x) {
-- if (x === void 0) { x = x; }
--}
--function bar(x0, x) {
-- if (x0 === void 0) { x0 = ""; }
-- if (x === void 0) { x = x; }
--}
--var C = /** @class */ (function () {
-- function C(x, y) {
-- if (x === void 0) { x = 1; }
-- if (y === void 0) { y = y; }
-- }
-- C.prototype.bar = function (a, b) {
-- if (a === void 0) { a = ""; }
-- if (b === void 0) { b = b.toString(); }
-- };
-- return C;
--}());
-+function foo(x = x) {
-+}
-+function bar(x0 = "", x = x) {
-+}
-+class C {
-+ constructor(x = 1, y = y) {
-+ }
-+ bar(a = "", b = b.toString()) {
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/selfReferencingFile.js.diff b/testdata/baselines/reference/submodule/compiler/selfReferencingFile.js.diff
deleted file mode 100644
index 964a2c9210..0000000000
--- a/testdata/baselines/reference/submodule/compiler/selfReferencingFile.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.selfReferencingFile.js
-+++ new.selfReferencingFile.js
-@@= skipped -8, +8 lines =@@
-
- //// [selfReferencingFile.js]
- ///
--var selfReferencingFile = /** @class */ (function () {
-- function selfReferencingFile() {
-- }
-- return selfReferencingFile;
--}());
-+class selfReferencingFile {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/selfReferencingFile2.js.diff b/testdata/baselines/reference/submodule/compiler/selfReferencingFile2.js.diff
deleted file mode 100644
index ca539e0b3f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/selfReferencingFile2.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.selfReferencingFile2.js
-+++ new.selfReferencingFile2.js
-@@= skipped -8, +8 lines =@@
-
- //// [selfReferencingFile2.js]
- ///
--var selfReferencingFile2 = /** @class */ (function () {
-- function selfReferencingFile2() {
-- }
-- return selfReferencingFile2;
--}());
-+class selfReferencingFile2 {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/selfReferencingFile3.js.diff b/testdata/baselines/reference/submodule/compiler/selfReferencingFile3.js.diff
deleted file mode 100644
index 49aaac8829..0000000000
--- a/testdata/baselines/reference/submodule/compiler/selfReferencingFile3.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.selfReferencingFile3.js
-+++ new.selfReferencingFile3.js
-@@= skipped -8, +8 lines =@@
-
- //// [selfReferencingFile3.js]
- ///
--var selfReferencingFile3 = /** @class */ (function () {
-- function selfReferencingFile3() {
-- }
-- return selfReferencingFile3;
--}());
-+class selfReferencingFile3 {
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/selfReferencingSpreadInLoop.js.diff b/testdata/baselines/reference/submodule/compiler/selfReferencingSpreadInLoop.js.diff
deleted file mode 100644
index 9dacade1fd..0000000000
--- a/testdata/baselines/reference/submodule/compiler/selfReferencingSpreadInLoop.js.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- old.selfReferencingSpreadInLoop.js
-+++ new.selfReferencingSpreadInLoop.js
-@@= skipped -7, +7 lines =@@
-
-
- //// [selfReferencingSpreadInLoop.js]
--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)) {
-- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
-- ar[i] = from[i];
-- }
-- }
-- return to.concat(ar || Array.prototype.slice.call(from));
--};
--var additional = [];
--for (var _i = 0, _a = [1, 2, 3]; _i < _a.length; _i++) {
-- var subcomponent = _a[_i];
-- additional = __spreadArray(__spreadArray([], additional, true), [subcomponent], false);
-+let additional = [];
-+for (const subcomponent of [1, 2, 3]) {
-+ additional = [...additional, subcomponent];
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/setterBeforeGetter.js.diff b/testdata/baselines/reference/submodule/compiler/setterBeforeGetter.js.diff
index 47e0435d73..56913ccfd2 100644
--- a/testdata/baselines/reference/submodule/compiler/setterBeforeGetter.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/setterBeforeGetter.js.diff
@@ -1,32 +1,10 @@
--- old.setterBeforeGetter.js
+++ new.setterBeforeGetter.js
-@@= skipped -14, +14 lines =@@
-
+@@= skipped -15, +15 lines =@@
//// [setterBeforeGetter.js]
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Object.defineProperty(Foo.prototype, "bar", {
-- get: function () {
-- return this._bar;
-- },
-- // should not be an error to order them this way
-- set: function (thing) {
-- this._bar = thing;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return Foo;
--}());
-+class Foo {
+ class Foo {
+ _bar;
-+ // should not be an error to order them this way
-+ set bar(thing) {
-+ this._bar = thing;
-+ }
-+ get bar() {
-+ return this._bar;
-+ }
-+}
\ No newline at end of file
+ // should not be an error to order them this way
+ set bar(thing) {
+ this._bar = thing;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/setterWithReturn.js.diff b/testdata/baselines/reference/submodule/compiler/setterWithReturn.js.diff
deleted file mode 100644
index 5281dedd46..0000000000
--- a/testdata/baselines/reference/submodule/compiler/setterWithReturn.js.diff
+++ /dev/null
@@ -1,32 +0,0 @@
---- old.setterWithReturn.js
-+++ new.setterWithReturn.js
-@@= skipped -12, +12 lines =@@
- }
-
- //// [setterWithReturn.js]
--var C234 = /** @class */ (function () {
-- function C234() {
-+class C234 {
-+ set p1(arg1) {
-+ if (true) {
-+ return arg1;
-+ }
-+ else {
-+ return 0;
-+ }
- }
-- Object.defineProperty(C234.prototype, "p1", {
-- set: function (arg1) {
-- if (true) {
-- return arg1;
-- }
-- else {
-- return 0;
-- }
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return C234;
--}());
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/shadowPrivateMembers.js.diff b/testdata/baselines/reference/submodule/compiler/shadowPrivateMembers.js.diff
deleted file mode 100644
index c21a787019..0000000000
--- a/testdata/baselines/reference/submodule/compiler/shadowPrivateMembers.js.diff
+++ /dev/null
@@ -1,41 +0,0 @@
---- old.shadowPrivateMembers.js
-+++ new.shadowPrivateMembers.js
-@@= skipped -5, +5 lines =@@
-
-
- //// [shadowPrivateMembers.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var base = /** @class */ (function () {
-- function base() {
-- }
-- base.prototype.n = function () { };
-- return base;
--}());
--var derived = /** @class */ (function (_super) {
-- __extends(derived, _super);
-- function derived() {
-- return _super !== null && _super.apply(this, arguments) || this;
-- }
-- derived.prototype.n = function () { };
-- return derived;
--}(base));
-+class base {
-+ n() { }
-+}
-+class derived extends base {
-+ n() { }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/shadowingViaLocalValue.js.diff b/testdata/baselines/reference/submodule/compiler/shadowingViaLocalValue.js.diff
deleted file mode 100644
index f492ebead2..0000000000
--- a/testdata/baselines/reference/submodule/compiler/shadowingViaLocalValue.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.shadowingViaLocalValue.js
-+++ new.shadowingViaLocalValue.js
-@@= skipped -18, +18 lines =@@
-
- //// [shadowingViaLocalValue.js]
- {
-- var x_1;
-+ let x;
- {
- var x = 1;
- }
- }
- {
-- var x1_1;
-+ let x1;
- {
- for (var x1 = 0;;)
- ;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/shadowingViaLocalValueOrBindingElement.js.diff b/testdata/baselines/reference/submodule/compiler/shadowingViaLocalValueOrBindingElement.js.diff
deleted file mode 100644
index 2247fbe400..0000000000
--- a/testdata/baselines/reference/submodule/compiler/shadowingViaLocalValueOrBindingElement.js.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- old.shadowingViaLocalValueOrBindingElement.js
-+++ new.shadowingViaLocalValueOrBindingElement.js
-@@= skipped -13, +13 lines =@@
-
- //// [shadowingViaLocalValueOrBindingElement.js]
- if (true) {
-- var x_1;
-+ let x;
- if (true) {
- var x = 0; // Error
-- var _a = { x: 0 }.x, x = _a === void 0 ? 0 : _a; // Error
-- var _b = { x: 0 }.x, x = _b === void 0 ? 0 : _b; // Error
-- var x = { x: 0 }.x; // Error
-- var x = { x: 0 }.x; // Error
-+ var { x = 0 } = { x: 0 }; // Error
-+ var { x: x = 0 } = { x: 0 }; // Error
-+ var { x } = { x: 0 }; // Error
-+ var { x: x } = { x: 0 }; // Error
- }
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/shorthand-property-es5-es6.js.diff b/testdata/baselines/reference/submodule/compiler/shorthand-property-es5-es6.js.diff
deleted file mode 100644
index 668519c922..0000000000
--- a/testdata/baselines/reference/submodule/compiler/shorthand-property-es5-es6.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.shorthand-property-es5-es6.js
-+++ new.shorthand-property-es5-es6.js
-@@= skipped -7, +7 lines =@@
-
- //// [test.js]
- import { foo } from './foo';
--var baz = 42;
--var bar = { foo: foo, baz: baz };
-+const baz = 42;
-+const bar = { foo, baz };
-
-
- //// [test.d.ts]
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/shorthandOfExportedEntity02_targetES5_CommonJS.js.diff b/testdata/baselines/reference/submodule/compiler/shorthandOfExportedEntity02_targetES5_CommonJS.js.diff
deleted file mode 100644
index 865ca8fb75..0000000000
--- a/testdata/baselines/reference/submodule/compiler/shorthandOfExportedEntity02_targetES5_CommonJS.js.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- old.shorthandOfExportedEntity02_targetES5_CommonJS.js
-+++ new.shorthandOfExportedEntity02_targetES5_CommonJS.js
-@@= skipped -14, +14 lines =@@
- exports.foo = foo;
- exports.test = "test";
- function foo() {
-- var x = { test: exports.test };
-+ const x = { test: exports.test };
- }
-
diff --git a/testdata/baselines/reference/submodule/compiler/shorthandPropertyAssignmentsInDestructuring.js.diff b/testdata/baselines/reference/submodule/compiler/shorthandPropertyAssignmentsInDestructuring.js.diff
deleted file mode 100644
index cf0cb0b954..0000000000
--- a/testdata/baselines/reference/submodule/compiler/shorthandPropertyAssignmentsInDestructuring.js.diff
+++ /dev/null
@@ -1,218 +0,0 @@
---- old.shorthandPropertyAssignmentsInDestructuring.js
-+++ new.shorthandPropertyAssignmentsInDestructuring.js
-@@= skipped -118, +118 lines =@@
-
- //// [shorthandPropertyAssignmentsInDestructuring.js]
- (function () {
-- var _a;
-- var s0;
-- for (var _i = 0, _b = [{ s0: 1 }]; _i < _b.length; _i++) {
-- _a = _b[_i].s0, s0 = _a === void 0 ? 5 : _a;
-- }
--});
--(function () {
-- var _a;
-- var s0;
-- for (var _i = 0, _b = [{ s0: 1 }]; _i < _b.length; _i++) {
-- _a = _b[_i].s0, s0 = _a === void 0 ? 5 : _a;
-- }
--});
--(function () {
-- var _a;
-- var s1;
-- for (var _i = 0, _b = [{}]; _i < _b.length; _i++) {
-- _a = _b[_i].s1, s1 = _a === void 0 ? 5 : _a;
-- }
--});
--(function () {
-- var _a;
-- var s1;
-- for (var _i = 0, _b = [{}]; _i < _b.length; _i++) {
-- _a = _b[_i].s1, s1 = _a === void 0 ? 5 : _a;
-- }
--});
--(function () {
-- var _a;
-- var s2;
-- for (var _i = 0, _b = [{ s2: "" }]; _i < _b.length; _i++) {
-- _a = _b[_i].s2, s2 = _a === void 0 ? 5 : _a;
-- }
--});
--(function () {
-- var _a;
-- var s2;
-- for (var _i = 0, _b = [{ s2: "" }]; _i < _b.length; _i++) {
-- _a = _b[_i].s2, s2 = _a === void 0 ? 5 : _a;
-- }
--});
--(function () {
-- var _a;
-- var s3;
-- for (var _i = 0, _b = [{ s3: "" }]; _i < _b.length; _i++) {
-- _a = _b[_i].s3, s3 = _a === void 0 ? 5 : _a;
-- }
--});
--(function () {
-- var _a;
-- var s3;
-- for (var _i = 0, _b = [{ s3: "" }]; _i < _b.length; _i++) {
-- _a = _b[_i].s3, s3 = _a === void 0 ? 5 : _a;
-- }
--});
--(function () {
-- var _a;
-- var y;
-- (_a = { y: 1 }.y, y = _a === void 0 ? 5 : _a);
--});
--(function () {
-- var _a;
-- var y;
-- (_a = { y: 1 }.y, y = _a === void 0 ? 5 : _a);
--});
--(function () {
-- var _a;
-- var y0;
-- (_a = { y0: 1 }.y0, y0 = _a === void 0 ? 5 : _a);
--});
--(function () {
-- var _a;
-- var y0;
-- (_a = { y0: 1 }.y0, y0 = _a === void 0 ? 5 : _a);
--});
--(function () {
-- var _a;
-- var y1;
-- (_a = {}.y1, y1 = _a === void 0 ? 5 : _a);
--});
--(function () {
-- var _a;
-- var y1;
-- (_a = {}.y1, y1 = _a === void 0 ? 5 : _a);
--});
--(function () {
-- var _a, _b, _c;
-- var y2, y3;
-- (_a = {}, _b = _a.y2, y2 = _b === void 0 ? 5 : _b, _c = _a.y3, y3 = _c === void 0 ? { x: 1 } : _c);
--});
--(function () {
-- var _a, _b, _c;
-- var y2, y3;
-- (_a = {}, _b = _a.y2, y2 = _b === void 0 ? 5 : _b, _c = _a.y3, y3 = _c === void 0 ? { x: 1 } : _c);
--});
--(function () {
-- var _a, _b, _c;
-- var y4, y5;
-- (_a = {}, _b = _a.y4, y4 = _b === void 0 ? 5 : _b, _c = _a.y5, y5 = _c === void 0 ? { x: 1 } : _c);
--});
--(function () {
-- var _a, _b, _c;
-- var y4, y5;
-- (_a = {}, _b = _a.y4, y4 = _b === void 0 ? 5 : _b, _c = _a.y5, y5 = _c === void 0 ? { x: 1 } : _c);
--});
--(function () {
-- var _a;
-- var z;
-- (_a = { z: { x: 1 } }.z, z = _a === void 0 ? { x: 5 } : _a);
--});
--(function () {
-- var _a;
-- var z;
-- (_a = { z: { x: 1 } }.z, z = _a === void 0 ? { x: 5 } : _a);
--});
--(function () {
-- var a = { s: s };
--});
--function foo(_a) {
-- var _b = _a.a, a = _b === void 0 ? 4 : _b, _c = _a.b, b = _c === void 0 ? { x: 5 } : _c;
-+ var s0;
-+ for ({ s0 = 5 } of [{ s0: 1 }]) {
-+ }
-+});
-+(function () {
-+ var s0;
-+ for ({ s0: s0 = 5 } of [{ s0: 1 }]) {
-+ }
-+});
-+(function () {
-+ var s1;
-+ for ({ s1 = 5 } of [{}]) {
-+ }
-+});
-+(function () {
-+ var s1;
-+ for ({ s1: s1 = 5 } of [{}]) {
-+ }
-+});
-+(function () {
-+ var s2;
-+ for ({ s2 = 5 } of [{ s2: "" }]) {
-+ }
-+});
-+(function () {
-+ var s2;
-+ for ({ s2: s2 = 5 } of [{ s2: "" }]) {
-+ }
-+});
-+(function () {
-+ var s3;
-+ for ({ s3 = 5 } of [{ s3: "" }]) {
-+ }
-+});
-+(function () {
-+ var s3;
-+ for ({ s3: s3 = 5 } of [{ s3: "" }]) {
-+ }
-+});
-+(function () {
-+ let y;
-+ ({ y = 5 } = { y: 1 });
-+});
-+(function () {
-+ let y;
-+ ({ y: y = 5 } = { y: 1 });
-+});
-+(function () {
-+ let y0;
-+ ({ y0 = 5 } = { y0: 1 });
-+});
-+(function () {
-+ let y0;
-+ ({ y0: y0 = 5 } = { y0: 1 });
-+});
-+(function () {
-+ let y1;
-+ ({ y1 = 5 } = {});
-+});
-+(function () {
-+ let y1;
-+ ({ y1: y1 = 5 } = {});
-+});
-+(function () {
-+ let y2, y3;
-+ ({ y2 = 5, y3 = { x: 1 } } = {});
-+});
-+(function () {
-+ let y2, y3;
-+ ({ y2: y2 = 5, y3: y3 = { x: 1 } } = {});
-+});
-+(function () {
-+ let y4, y5;
-+ ({ y4 = 5, y5 = { x: 1 } } = {});
-+});
-+(function () {
-+ let y4, y5;
-+ ({ y4: y4 = 5, y5: y5 = { x: 1 } } = {});
-+});
-+(function () {
-+ let z;
-+ ({ z = { x: 5 } } = { z: { x: 1 } });
-+});
-+(function () {
-+ let z;
-+ ({ z: z = { x: 5 } } = { z: { x: 1 } });
-+});
-+(function () {
-+ let a = { s = 5 };
-+});
-+function foo({ a = 4, b = { x: 5 } }) {
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/shorthandPropertyUndefined.js.diff b/testdata/baselines/reference/submodule/compiler/shorthandPropertyUndefined.js.diff
deleted file mode 100644
index 4b1bcc9680..0000000000
--- a/testdata/baselines/reference/submodule/compiler/shorthandPropertyUndefined.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.shorthandPropertyUndefined.js
-+++ new.shorthandPropertyUndefined.js
-@@= skipped -3, +3 lines =@@
- var a = { b };
-
- //// [shorthandPropertyUndefined.js]
--var a = { b: b };
-+var a = { b };
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/shouldNotPrintNullEscapesIntoOctalLiterals.js.diff b/testdata/baselines/reference/submodule/compiler/shouldNotPrintNullEscapesIntoOctalLiterals.js.diff
deleted file mode 100644
index 3ec3be3d7f..0000000000
--- a/testdata/baselines/reference/submodule/compiler/shouldNotPrintNullEscapesIntoOctalLiterals.js.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- old.shouldNotPrintNullEscapesIntoOctalLiterals.js
-+++ new.shouldNotPrintNullEscapesIntoOctalLiterals.js
-@@= skipped -9, +9 lines =@@
-
- //// [shouldNotPrintNullEscapesIntoOctalLiterals.js]
- "use strict";
--"\x001";
--"\x001";
--"\x001";
--"\x001";
--"\x001";
-+`\x001`;
-+`\u00001`;
-+`\u{00000000}1`;
-+`\u{000000}1`;
-+`\u{0}1`;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sigantureIsSubTypeIfTheyAreIdentical.js.diff b/testdata/baselines/reference/submodule/compiler/sigantureIsSubTypeIfTheyAreIdentical.js.diff
deleted file mode 100644
index 42bde4fdbd..0000000000
--- a/testdata/baselines/reference/submodule/compiler/sigantureIsSubTypeIfTheyAreIdentical.js.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- old.sigantureIsSubTypeIfTheyAreIdentical.js
-+++ new.sigantureIsSubTypeIfTheyAreIdentical.js
-@@= skipped -10, +10 lines =@@
- }
-
- //// [sigantureIsSubTypeIfTheyAreIdentical.js]
--var CacheService = /** @class */ (function () {
-- function CacheService() {
-- }
-- CacheService.prototype.get = function (key) {
-+class CacheService {
-+ get(key) {
- return undefined;
-- };
-- return CacheService;
--}());
-+ }
-+}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/signatureInstantiationWithRecursiveConstraints.js.diff b/testdata/baselines/reference/submodule/compiler/signatureInstantiationWithRecursiveConstraints.js.diff
index 6ddce57e11..c82bfc1b4a 100644
--- a/testdata/baselines/reference/submodule/compiler/signatureInstantiationWithRecursiveConstraints.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/signatureInstantiationWithRecursiveConstraints.js.diff
@@ -6,23 +6,5 @@
//// [signatureInstantiationWithRecursiveConstraints.js]
-"use strict";
// Repro from #17148
--var Foo = /** @class */ (function () {
-- function Foo() {
-- }
-- Foo.prototype.myFunc = function (arg) { };
-- return Foo;
--}());
--var Bar = /** @class */ (function () {
-- function Bar() {
-- }
-- Bar.prototype.myFunc = function (arg) { };
-- return Bar;
--}());
--var myVar = new Bar();
-+class Foo {
-+ myFunc(arg) { }
-+}
-+class Bar {
-+ myFunc(arg) { }
-+}
-+const myVar = new Bar();
\ No newline at end of file
+ class Foo {
+ myFunc(arg) { }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/signatureLengthMismatchCall.js.diff b/testdata/baselines/reference/submodule/compiler/signatureLengthMismatchCall.js.diff
deleted file mode 100644
index 419ed8d8cb..0000000000
--- a/testdata/baselines/reference/submodule/compiler/signatureLengthMismatchCall.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.signatureLengthMismatchCall.js
-+++ new.signatureLengthMismatchCall.js
-@@= skipped -11, +11 lines =@@
- function takesCallback(fn) {
- // ...
- }
--takesCallback(function (a, b) { });
-+takesCallback((a, b) => { });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/signatureLengthMismatchInOverload.js.diff b/testdata/baselines/reference/submodule/compiler/signatureLengthMismatchInOverload.js.diff
deleted file mode 100644
index 5e246c3c3d..0000000000
--- a/testdata/baselines/reference/submodule/compiler/signatureLengthMismatchInOverload.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.signatureLengthMismatchInOverload.js
-+++ new.signatureLengthMismatchInOverload.js
-@@= skipped -9, +9 lines =@@
-
- //// [signatureLengthMismatchInOverload.js]
- function f(callback) { }
--f(function (arg, arg2) { });
-+f((arg, arg2) => { });
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/silentNeverPropagation.js.diff b/testdata/baselines/reference/submodule/compiler/silentNeverPropagation.js.diff
index fcbba12149..f590dd5d8f 100644
--- a/testdata/baselines/reference/submodule/compiler/silentNeverPropagation.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/silentNeverPropagation.js.diff
@@ -6,11 +6,10 @@
//// [silentNeverPropagation.js]
-"use strict";
-// Repro from #45041
--var breaks = convert(createModule({ a: 12 }, { foo: function () { return true; } }));
-+const breaks = convert(createModule({ a: 12 }, { foo() { return true; } }));
+ const breaks = convert(createModule({ a: 12 }, { foo() { return true; } }));
breaks.state.a;
breaks.state.z;
- breaks.foo();
+@@= skipped -9, +7 lines =@@
//// [silentNeverPropagation.d.ts]
diff --git a/testdata/baselines/reference/submodule/compiler/simpleArrowFunctionParameterReferencedInObjectLiteral1.js.diff b/testdata/baselines/reference/submodule/compiler/simpleArrowFunctionParameterReferencedInObjectLiteral1.js.diff
deleted file mode 100644
index 36611ef616..0000000000
--- a/testdata/baselines/reference/submodule/compiler/simpleArrowFunctionParameterReferencedInObjectLiteral1.js.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- old.simpleArrowFunctionParameterReferencedInObjectLiteral1.js
-+++ new.simpleArrowFunctionParameterReferencedInObjectLiteral1.js
-@@= skipped -4, +4 lines =@@
-
-
- //// [simpleArrowFunctionParameterReferencedInObjectLiteral1.js]
--[].map(function () { return [].map(function (p) { return ({ X: p }); }); });
-+[].map(() => [].map(p => ({ X: p })));
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/simpleRecursionWithBaseCase1.js.diff b/testdata/baselines/reference/submodule/compiler/simpleRecursionWithBaseCase1.js.diff
index 92bc1113ab..cc52ced15c 100644
--- a/testdata/baselines/reference/submodule/compiler/simpleRecursionWithBaseCase1.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/simpleRecursionWithBaseCase1.js.diff
@@ -6,19 +6,5 @@
//// [simpleRecursionWithBaseCase1.js]
-"use strict";
function fn1(n) {
- if (n === 0) {
- return 3;
-@@= skipped -9, +8 lines =@@
- return fn1(n - 1);
- }
- }
--var num = fn1();
-+const num = fn1();
- function fn2(n) {
- return fn2(n);
- }
--var nev = fn2();
-+const nev = fn2();
- function fn3(n) {
if (n === 0) {
return 3;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/simplifyingConditionalWithInteriorConditionalIsRelated.js.diff b/testdata/baselines/reference/submodule/compiler/simplifyingConditionalWithInteriorConditionalIsRelated.js.diff
index ccd1891481..d576f0bc8a 100644
--- a/testdata/baselines/reference/submodule/compiler/simplifyingConditionalWithInteriorConditionalIsRelated.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/simplifyingConditionalWithInteriorConditionalIsRelated.js.diff
@@ -7,11 +7,4 @@
-"use strict";
function ConditionalOrUndefined() {
return 0;
- }
-@@= skipped -16, +15 lines =@@
- }
- // Simplified example:
- function f() {
-- var x = null;
-+ const x = null;
}
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/slightlyIndirectedDeepObjectLiteralElaborations.js.diff b/testdata/baselines/reference/submodule/compiler/slightlyIndirectedDeepObjectLiteralElaborations.js.diff
deleted file mode 100644
index f3b4a76bfc..0000000000
--- a/testdata/baselines/reference/submodule/compiler/slightlyIndirectedDeepObjectLiteralElaborations.js.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- old.slightlyIndirectedDeepObjectLiteralElaborations.js
-+++ new.slightlyIndirectedDeepObjectLiteralElaborations.js
-@@= skipped -23, +23 lines =@@
-
-
- //// [slightlyIndirectedDeepObjectLiteralElaborations.js]
--var q;
--var x = (void 0, {
-+let q;
-+const x = (void 0, {
- a: q = {
- b: ({
- c: {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMap-Comments.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMap-Comments.js.diff
index 6c79dc9415..db122e7e9e 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMap-Comments.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMap-Comments.js.diff
@@ -7,26 +7,5 @@
- var tools;
+ let tools;
(function (tools) {
-- var Test = /** @class */ (function () {
-- function Test() {
-- }
-- Test.prototype.doX = function () {
-- var f = 2;
-+ class Test {
-+ doX() {
-+ let f = 2;
- switch (f) {
- case 1:
- break;
-@@= skipped -18, +16 lines =@@
- //a comment
- break;
- }
-- };
-- return Test;
-- }());
-+ }
-+ }
- tools.Test = Test;
- })(tools = sas.tools || (sas.tools = {}));
- })(sas || (sas = {}));
\ No newline at end of file
+ class Test {
+ doX() {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMap-Comments.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMap-Comments.js.map.diff
index c222a74ace..8cbe43b627 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMap-Comments.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMap-Comments.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMap-Comments.js.map
@@= skipped -0, +0 lines =@@
//// [sourceMap-Comments.js.map]
--{"version":3,"file":"sourceMap-Comments.js","sourceRoot":"","sources":["sourceMap-Comments.ts"],"names":[],"mappings":"AAAA,IAAO,GAAG,CAkBT;AAlBD,WAAO,GAAG;IAAC,IAAA,KAAK,CAkBf;IAlBU,WAAA,KAAK;QACZ;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,EAlBU,KAAK,GAAL,SAAK,KAAL,SAAK,QAkBf;AAAD,CAAC,EAlBM,GAAG,KAAH,GAAG,QAkBT"}
--//// https://sokra.github.io/source-map-visualization#base64,dmFyIHNhczsNCihmdW5jdGlvbiAoc2FzKSB7DQogICAgdmFyIHRvb2xzOw0KICAgIChmdW5jdGlvbiAodG9vbHMpIHsNCiAgICAgICAgdmFyIFRlc3QgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICBmdW5jdGlvbiBUZXN0KCkgew0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgVGVzdC5wcm90b3R5cGUuZG9YID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgIHZhciBmID0gMjsNCiAgICAgICAgICAgICAgICBzd2l0Y2ggKGYpIHsNCiAgICAgICAgICAgICAgICAgICAgY2FzZSAxOg0KICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQogICAgICAgICAgICAgICAgICAgIGNhc2UgMjoNCiAgICAgICAgICAgICAgICAgICAgICAgIC8vbGluZSBjb21tZW50IDENCiAgICAgICAgICAgICAgICAgICAgICAgIC8vbGluZSBjb21tZW50IDINCiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrOw0KICAgICAgICAgICAgICAgICAgICBjYXNlIDM6DQogICAgICAgICAgICAgICAgICAgICAgICAvL2EgY29tbWVudA0KICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfTsNCiAgICAgICAgICAgIHJldHVybiBUZXN0Ow0KICAgICAgICB9KCkpOw0KICAgICAgICB0b29scy5UZXN0ID0gVGVzdDsNCiAgICB9KSh0b29scyA9IHNhcy50b29scyB8fCAoc2FzLnRvb2xzID0ge30pKTsNCn0pKHNhcyB8fCAoc2FzID0ge30pKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPX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IC8vbGluZSBjb21tZW50IDEKICAgICAgICAgICAgICAgICAgICAvL2xpbmUgY29tbWVudCAyCiAgICAgICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgICBjYXNlIDM6CiAgICAgICAgICAgICAgICAgICAgLy9hIGNvbW1lbnQKICAgICAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KCn0K
+-{"version":3,"file":"sourceMap-Comments.js","sourceRoot":"","sources":["sourceMap-Comments.ts"],"names":[],"mappings":"AAAA,IAAO,GAAG,CAkBT;AAlBD,WAAO,GAAG;IAAC,IAAA,KAAK,CAkBf;IAlBU,WAAA,KAAK;QACZ,MAAa,IAAI;YACN,GAAG;gBACN,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;SACJ;QAfY,UAAI,OAehB,CAAA;IAEL,CAAC,EAlBU,KAAK,GAAL,SAAK,KAAL,SAAK,QAkBf;AAAD,CAAC,EAlBM,GAAG,KAAH,GAAG,QAkBT"}
+-//// https://sokra.github.io/source-map-visualization#base64,dmFyIHNhczsNCihmdW5jdGlvbiAoc2FzKSB7DQogICAgdmFyIHRvb2xzOw0KICAgIChmdW5jdGlvbiAodG9vbHMpIHsNCiAgICAgICAgY2xhc3MgVGVzdCB7DQogICAgICAgICAgICBkb1goKSB7DQogICAgICAgICAgICAgICAgbGV0IGYgPSAyOw0KICAgICAgICAgICAgICAgIHN3aXRjaCAoZikgew0KICAgICAgICAgICAgICAgICAgICBjYXNlIDE6DQogICAgICAgICAgICAgICAgICAgICAgICBicmVhazsNCiAgICAgICAgICAgICAgICAgICAgY2FzZSAyOg0KICAgICAgICAgICAgICAgICAgICAgICAgLy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RUFsQlUsS0FBSyxHQUFMLFNBQUssS0FBTCxTQUFLLFFBa0JmO0FBQUQsQ0FBQyxFQWxCTSxHQUFHLEtBQUgsR0FBRyxRQWtCVCJ9,bW9kdWxlIHNhcy50b29scyB7CiAgICBleHBvcnQgY2xhc3MgVGVzdCB7CiAgICAgICAgcHVibGljIGRvWCgpOiB2b2lkIHsKICAgICAgICAgICAgbGV0IGY6IG51bWJlciA9IDI7CiAgICAgICAgICAgIHN3aXRjaCAoZikgewogICAgICAgICAgICAgICAgY2FzZSAxOgogICAgICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgICAgY2FzZSAyOgogICAgICAgICAgICAgICAgICAgIC8vbGluZSBjb21tZW50IDEKICAgICAgICAgICAgICAgICAgICAvL2xpbmUgY29tbWVudCAyCiAgICAgICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgICBjYXNlIDM6CiAgICAgICAgICAgICAgICAgICAgLy9hIGNvbW1lbnQKICAgICAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KCn0K
+{"version":3,"file":"sourceMap-Comments.js","sourceRoot":"","sources":["sourceMap-Comments.ts"],"names":[],"mappings":"AAAA,IAAO,GAkBN;AAlBD,WAAO,GAAG,EAAV;IAAW,IAAA,KAkBV;IAlBU,WAAA,KAAK,EAAC;QACb,MAAa,IAAI;YACN,GAAG,GAAS;gBACf,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;YAAA,CACJ;SACJ;QAfY,MAAA,IAAI,OAehB,CAAA;IAAA,CAEJ,EAlBU,KAAK,GAAL,IAAA,KAAK,KAAL,IAAA,KAAK,QAkBf;AAFI,CACL,AAjBA,EAAO,GAAG,KAAH,GAAG,QAkBT"}
+//// https://sokra.github.io/source-map-visualization#base64,dmFyIHNhczsNCihmdW5jdGlvbiAoc2FzKSB7DQogICAgbGV0IHRvb2xzOw0KICAgIChmdW5jdGlvbiAodG9vbHMpIHsNCiAgICAgICAgY2xhc3MgVGVzdCB7DQogICAgICAgICAgICBkb1goKSB7DQogICAgICAgICAgICAgICAgbGV0IGYgPSAyOw0KICAgICAgICAgICAgICAgIHN3aXRjaCAoZikgew0KICAgICAgICAgICAgICAgICAgICBjYXNlIDE6DQogICAgICAgICAgICAgICAgICAgICAgICBicmVhazsNCiAgICAgICAgICAgICAgICAgICAgY2FzZSAyOg0KICAgICAgICAgICAgICAgICAgICAgICAgLy9saW5lIGNvbW1lbnQgMQ0KICAgICAgICAgICAgICAgICAgICAgICAgLy9saW5lIGNvbW1lbnQgMg0KICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQogICAgICAgICAgICAgICAgICAgIGNhc2UgMzoNCiAgICAgICAgICAgICAgICAgICAgICAgIC8vYSBjb21tZW50DQogICAgICAgICAgICAgICAgICAgICAgICBicmVhazsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgIH0NCiAgICAgICAgdG9vbHMuVGVzdCA9IFRlc3Q7DQogICAgfSkodG9vbHMgPSBzYXMudG9vbHMgfHwgKHNhcy50b29scyA9IHt9KSk7DQp9KShzYXMgfHwgKHNhcyA9IHt9KSk7DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXAtQ29tbWVudHMuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLUNvbW1lbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwLUNvbW1lbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQU8sR0FrQk47QUFsQkQsV0FBTyxHQUFHLEVBQVY7SUFBVyxJQUFBLEtBa0JWO0lBbEJVLFdBQUEsS0FBSyxFQUFDO1FBQ2IsTUFBYSxJQUFJO1lBQ04sR0FBRyxHQUFTO2dCQUNmLElBQUksQ0FBQyxHQUFXLENBQUMsQ0FBQztnQkFDbEIsUUFBUSxDQUFDLEVBQUUsQ0FBQztvQkFDUixLQUFLLENBQUM7d0JBQ0YsTUFBTTtvQkFDVixLQUFLLENBQUM7d0JBQ0YsZ0JBQWdCO3dCQUNoQixnQkFBZ0I7d0JBQ2hCLE1BQU07b0JBQ1YsS0FBSyxDQUFDO3dCQUNGLFdBQVc7d0JBQ1gsTUFBTTtnQkFDZCxDQUFDO1lBQUEsQ0FDSjtTQUNKO1FBZlksTUFBQSxJQUFJLE9BZWhCLENBQUE7SUFBQSxDQUVKLEVBbEJVLEtBQUssR0FBTCxJQUFBLEtBQUssS0FBTCxJQUFBLEtBQUssUUFrQmY7QUFGSSxDQUNMLEFBakJBLEVBQU8sR0FBRyxLQUFILEdBQUcsUUFrQlQifQ==,bW9kdWxlIHNhcy50b29scyB7CiAgICBleHBvcnQgY2xhc3MgVGVzdCB7CiAgICAgICAgcHVibGljIGRvWCgpOiB2b2lkIHsKICAgICAgICAgICAgbGV0IGY6IG51bWJlciA9IDI7CiAgICAgICAgICAgIHN3aXRjaCAoZikgewogICAgICAgICAgICAgICAgY2FzZSAxOgogICAgICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgICAgY2FzZSAyOgogICAgICAgICAgICAgICAgICAgIC8vbGluZSBjb21tZW50IDEKICAgICAgICAgICAgICAgICAgICAvL2xpbmUgY29tbWVudCAyCiAgICAgICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgICBjYXNlIDM6CiAgICAgICAgICAgICAgICAgICAgLy9hIGNvbW1lbnQKICAgICAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KCn0K
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMap-Comments.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMap-Comments.sourcemap.txt.diff
index a73ef9c977..059779417d 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMap-Comments.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMap-Comments.sourcemap.txt.diff
@@ -131,7 +131,7 @@
1->^^^^
2 > ^^^^^^^^^^^
3 > ^^^^^
--4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-4 > ^->
+4 > ^^
1->
2 >
@@ -140,305 +140,63 @@
1->Emitted(4, 5) Source(1, 12) + SourceIndex(0)
2 >Emitted(4, 16) Source(1, 12) + SourceIndex(0)
3 >Emitted(4, 21) Source(1, 17) + SourceIndex(0)
-----
-->>> var Test = /** @class */ (function () {
--1->^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^->
+4 >Emitted(4, 23) Source(1, 18) + SourceIndex(0)
-+---
-+>>> class Test {
+ ---
+ >>> class Test {
+-1->^^^^^^^^
+1 >^^^^^^^^
-+2 > ^^^^^^
-+3 > ^^^^
-+4 > ^^->
+ 2 > ^^^^^^
+ 3 > ^^^^
+ 4 > ^^->
+-1-> {
+1 >{
-+ >
-+2 > export class
-+3 > Test
+ >
+ 2 > export class
+ 3 > Test
+-1->Emitted(5, 9) Source(2, 5) + SourceIndex(0)
+1 >Emitted(5, 9) Source(2, 5) + SourceIndex(0)
-+2 >Emitted(5, 15) Source(2, 18) + SourceIndex(0)
-+3 >Emitted(5, 19) Source(2, 22) + SourceIndex(0)
-+---
-+>>> doX() {
-+1->^^^^^^^^^^^^
-+2 > ^^^
+ 2 >Emitted(5, 15) Source(2, 18) + SourceIndex(0)
+ 3 >Emitted(5, 19) Source(2, 22) + SourceIndex(0)
+ ---
+ >>> doX() {
+ 1->^^^^^^^^^^^^
+ 2 > ^^^
+-3 > ^^^^^^^^^^^^->
+3 > ^^^
+4 > ^^^^^^^^^->
1-> {
-- >
--1->Emitted(5, 9) Source(2, 5) + SourceIndex(0)
-----
-->>> function Test() {
--1->^^^^^^^^^^^^
--2 > ^^->
--1->
--1->Emitted(6, 13) Source(2, 5) + SourceIndex(0)
-----
-->>> }
--1->^^^^^^^^^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1->export class Test {
-- > public doX(): void {
-- > let f: number = 2;
-- > switch (f) {
-- > case 1:
-- > break;
-- > case 2:
-- > //line comment 1
-- > //line comment 2
-- > break;
-- > case 3:
-- > //a comment
-- > break;
-- > }
-- > }
-- >
--2 > }
--1->Emitted(7, 13) Source(17, 5) + SourceIndex(0)
--2 >Emitted(7, 14) Source(17, 6) + SourceIndex(0)
-----
-->>> Test.prototype.doX = function () {
--1->^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^
--3 > ^^^
--1->
-+ > public
+ > public
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)
+3 > (): void
-+1->Emitted(6, 13) Source(3, 16) + SourceIndex(0)
-+2 >Emitted(6, 16) Source(3, 19) + SourceIndex(0)
+ 1->Emitted(6, 13) Source(3, 16) + SourceIndex(0)
+ 2 >Emitted(6, 16) Source(3, 19) + SourceIndex(0)
+3 >Emitted(6, 19) Source(3, 28) + SourceIndex(0)
---
-->>> var f = 2;
--1 >^^^^^^^^^^^^^^^^
-+>>> let f = 2;
-+1->^^^^^^^^^^^^^^^^
- 2 > ^^^^
- 3 > ^
- 4 > ^^^
+ >>> let f = 2;
+ 1->^^^^^^^^^^^^^^^^
+@@= skipped -117, +118 lines =@@
5 > ^
6 > ^
7 > ^^^->
--1 >public doX(): void {
+-1->(): void {
+1->{
>
2 > let
3 > f
- 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(7, 17) Source(4, 13) + SourceIndex(0)
-+2 >Emitted(7, 21) Source(4, 17) + SourceIndex(0)
-+3 >Emitted(7, 22) Source(4, 18) + SourceIndex(0)
-+4 >Emitted(7, 25) Source(4, 29) + SourceIndex(0)
-+5 >Emitted(7, 26) Source(4, 30) + SourceIndex(0)
-+6 >Emitted(7, 27) Source(4, 31) + SourceIndex(0)
- ---
- >>> switch (f) {
- 1->^^^^^^^^^^^^^^^^
-@@= skipped -168, +144 lines =@@
- 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(8, 17) Source(5, 13) + SourceIndex(0)
-+2 >Emitted(8, 25) Source(5, 21) + SourceIndex(0)
-+3 >Emitted(8, 26) Source(5, 22) + SourceIndex(0)
-+4 >Emitted(8, 28) Source(5, 24) + SourceIndex(0)
-+5 >Emitted(8, 29) Source(5, 25) + SourceIndex(0)
- ---
- >>> case 1:
- 1 >^^^^^^^^^^^^^^^^^^^^
-@@= skipped -15, +15 lines =@@
- >
- 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(9, 21) Source(6, 17) + SourceIndex(0)
-+2 >Emitted(9, 26) Source(6, 22) + SourceIndex(0)
-+3 >Emitted(9, 27) Source(6, 23) + SourceIndex(0)
- ---
- >>> break;
- 1->^^^^^^^^^^^^^^^^^^^^^^^^
-@@= skipped -10, +10 lines =@@
- 1->:
- >
- 2 > break;
--1->Emitted(12, 25) Source(7, 21) + SourceIndex(0)
--2 >Emitted(12, 31) Source(7, 27) + SourceIndex(0)
-+1->Emitted(10, 25) Source(7, 21) + SourceIndex(0)
-+2 >Emitted(10, 31) Source(7, 27) + SourceIndex(0)
- ---
- >>> case 2:
- 1 >^^^^^^^^^^^^^^^^^^^^
-@@= skipped -12, +12 lines =@@
- >
- 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(11, 21) Source(8, 17) + SourceIndex(0)
-+2 >Emitted(11, 26) Source(8, 22) + SourceIndex(0)
-+3 >Emitted(11, 27) Source(8, 23) + SourceIndex(0)
- ---
- >>> //line comment 1
- 1->^^^^^^^^^^^^^^^^^^^^^^^^
-@@= skipped -11, +11 lines =@@
- 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(12, 25) Source(9, 21) + SourceIndex(0)
-+2 >Emitted(12, 41) Source(9, 37) + SourceIndex(0)
- ---
- >>> //line comment 2
- 1->^^^^^^^^^^^^^^^^^^^^^^^^
-@@= skipped -9, +9 lines =@@
- 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(13, 25) Source(10, 21) + SourceIndex(0)
-+2 >Emitted(13, 41) Source(10, 37) + SourceIndex(0)
- ---
- >>> break;
- 1 >^^^^^^^^^^^^^^^^^^^^^^^^
-@@= skipped -9, +9 lines =@@
- 1 >
- >
- 2 > break;
--1 >Emitted(16, 25) Source(11, 21) + SourceIndex(0)
--2 >Emitted(16, 31) Source(11, 27) + SourceIndex(0)
-+1 >Emitted(14, 25) Source(11, 21) + SourceIndex(0)
-+2 >Emitted(14, 31) Source(11, 27) + SourceIndex(0)
- ---
- >>> case 3:
- 1 >^^^^^^^^^^^^^^^^^^^^
-@@= skipped -12, +12 lines =@@
- >
- 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(15, 21) Source(12, 17) + SourceIndex(0)
-+2 >Emitted(15, 26) Source(12, 22) + SourceIndex(0)
-+3 >Emitted(15, 27) Source(12, 23) + SourceIndex(0)
- ---
- >>> //a comment
- 1->^^^^^^^^^^^^^^^^^^^^^^^^
-@@= skipped -10, +10 lines =@@
- 1->:
- >
- 2 > //a comment
--1->Emitted(18, 25) Source(13, 21) + SourceIndex(0)
--2 >Emitted(18, 36) Source(13, 32) + SourceIndex(0)
-+1->Emitted(16, 25) Source(13, 21) + SourceIndex(0)
-+2 >Emitted(16, 36) Source(13, 32) + SourceIndex(0)
- ---
- >>> break;
- 1 >^^^^^^^^^^^^^^^^^^^^^^^^
-@@= skipped -9, +9 lines =@@
- 1 >
- >
- 2 > break;
--1 >Emitted(19, 25) Source(14, 21) + SourceIndex(0)
--2 >Emitted(19, 31) Source(14, 27) + SourceIndex(0)
-+1 >Emitted(17, 25) Source(14, 21) + SourceIndex(0)
-+2 >Emitted(17, 31) Source(14, 27) + SourceIndex(0)
- ---
- >>> }
- 1 >^^^^^^^^^^^^^^^^
-@@= skipped -9, +9 lines =@@
- 1 >
- >
- 2 > }
--1 >Emitted(20, 17) Source(15, 13) + SourceIndex(0)
--2 >Emitted(20, 18) Source(15, 14) + SourceIndex(0)
-+1 >Emitted(18, 17) Source(15, 13) + SourceIndex(0)
-+2 >Emitted(18, 18) Source(15, 14) + SourceIndex(0)
- ---
-->>> };
-+>>> }
+@@= skipped -139, +139 lines =@@
1 >^^^^^^^^^^^^
2 > ^
--3 > ^^^^^^^^^^^^->
--1 >
+ 1 >
- >
-2 > }
--1 >Emitted(21, 13) Source(16, 9) + SourceIndex(0)
--2 >Emitted(21, 14) Source(16, 10) + SourceIndex(0)
-----
-->>> return Test;
--1->^^^^^^^^^^^^
--2 > ^^^^^^^^^^^
--1->
-- >
--2 > }
--1->Emitted(22, 13) Source(17, 5) + SourceIndex(0)
--2 >Emitted(22, 24) Source(17, 6) + SourceIndex(0)
-----
-->>> }());
--1 >^^^^^^^^
--2 > ^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^->
--1 >
--2 > }
--3 >
--4 > export class Test {
-- > public doX(): void {
-- > let f: number = 2;
-- > switch (f) {
-- > case 1:
-- > break;
-- > case 2:
-- > //line comment 1
-- > //line comment 2
-- > break;
-- > case 3:
-- > //a comment
-- > break;
-- > }
-- > }
-- > }
--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 >
+-1 >Emitted(19, 13) Source(16, 9) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(19, 13) Source(15, 14) + SourceIndex(0)
-+2 >Emitted(19, 14) Source(16, 10) + SourceIndex(0)
-+---
-+>>> }
-+1 >^^^^^^^^^
-+2 > ^^^^^^^^^^^^^^^^^^->
-+1 >
-+ > }
-+1 >Emitted(20, 10) Source(17, 6) + SourceIndex(0)
+ 2 >Emitted(19, 14) Source(16, 10) + SourceIndex(0)
+ ---
+ >>> }
+@@= skipped -14, +14 lines =@@
---
>>> tools.Test = Test;
1->^^^^^^^^
@@ -460,17 +218,16 @@
> public doX(): void {
> let f: number = 2;
> switch (f) {
-@@= skipped -76, +45 lines =@@
+@@= skipped -22, +24 lines =@@
> }
> }
> }
-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)
+5 >
-+1->Emitted(21, 9) Source(2, 18) + SourceIndex(0)
+ 1->Emitted(21, 9) Source(2, 18) + SourceIndex(0)
+-2 >Emitted(21, 19) Source(2, 22) + SourceIndex(0)
+-3 >Emitted(21, 26) Source(17, 6) + SourceIndex(0)
+-4 >Emitted(21, 27) Source(17, 6) + SourceIndex(0)
+2 >Emitted(21, 15) Source(2, 18) + SourceIndex(0)
+3 >Emitted(21, 19) Source(2, 22) + SourceIndex(0)
+4 >Emitted(21, 26) Source(17, 6) + SourceIndex(0)
@@ -519,20 +276,16 @@
> }
>
> }
--1->Emitted(25, 5) Source(19, 1) + SourceIndex(0)
--2 >Emitted(25, 6) Source(19, 2) + SourceIndex(0)
--3 >Emitted(25, 8) Source(1, 12) + SourceIndex(0)
--4 >Emitted(25, 13) Source(1, 17) + SourceIndex(0)
--5 >Emitted(25, 16) Source(1, 12) + SourceIndex(0)
--6 >Emitted(25, 25) Source(1, 17) + SourceIndex(0)
--7 >Emitted(25, 30) Source(1, 12) + SourceIndex(0)
--8 >Emitted(25, 39) Source(1, 17) + SourceIndex(0)
--9 >Emitted(25, 47) Source(19, 2) + SourceIndex(0)
+-1->Emitted(22, 5) Source(19, 1) + SourceIndex(0)
+1->Emitted(22, 5) Source(17, 6) + SourceIndex(0)
-+2 >Emitted(22, 6) Source(19, 2) + SourceIndex(0)
-+3 >Emitted(22, 8) Source(1, 12) + SourceIndex(0)
-+4 >Emitted(22, 13) Source(1, 17) + SourceIndex(0)
-+5 >Emitted(22, 16) Source(1, 12) + SourceIndex(0)
+ 2 >Emitted(22, 6) Source(19, 2) + SourceIndex(0)
+ 3 >Emitted(22, 8) Source(1, 12) + SourceIndex(0)
+ 4 >Emitted(22, 13) Source(1, 17) + SourceIndex(0)
+ 5 >Emitted(22, 16) Source(1, 12) + SourceIndex(0)
+-6 >Emitted(22, 25) Source(1, 17) + SourceIndex(0)
+-7 >Emitted(22, 30) Source(1, 12) + SourceIndex(0)
+-8 >Emitted(22, 39) Source(1, 17) + SourceIndex(0)
+-9 >Emitted(22, 47) Source(19, 2) + SourceIndex(0)
+6 >Emitted(22, 20) Source(1, 12) + SourceIndex(0)
+7 >Emitted(22, 25) Source(1, 17) + SourceIndex(0)
+8 >Emitted(22, 30) Source(1, 12) + SourceIndex(0)
@@ -577,13 +330,13 @@
> }
>
> }
--1 >Emitted(26, 1) Source(19, 1) + SourceIndex(0)
--2 >Emitted(26, 2) Source(19, 2) + SourceIndex(0)
--3 >Emitted(26, 4) Source(1, 8) + SourceIndex(0)
--4 >Emitted(26, 7) Source(1, 11) + SourceIndex(0)
--5 >Emitted(26, 12) Source(1, 8) + SourceIndex(0)
--6 >Emitted(26, 15) Source(1, 11) + SourceIndex(0)
--7 >Emitted(26, 23) Source(19, 2) + SourceIndex(0)
+-1 >Emitted(23, 1) Source(19, 1) + SourceIndex(0)
+-2 >Emitted(23, 2) Source(19, 2) + SourceIndex(0)
+-3 >Emitted(23, 4) Source(1, 8) + SourceIndex(0)
+-4 >Emitted(23, 7) Source(1, 11) + SourceIndex(0)
+-5 >Emitted(23, 12) Source(1, 8) + SourceIndex(0)
+-6 >Emitted(23, 15) Source(1, 11) + SourceIndex(0)
+-7 >Emitted(23, 23) Source(19, 2) + SourceIndex(0)
+1 >Emitted(23, 1) Source(17, 6) + SourceIndex(0)
+2 >Emitted(23, 2) Source(18, 1) + SourceIndex(0)
+3 >Emitted(23, 2) Source(1, 1) + SourceIndex(0)
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMap-FileWithComments.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMap-FileWithComments.js.diff
index 729674991a..24f781281d 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMap-FileWithComments.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMap-FileWithComments.js.diff
@@ -4,23 +4,29 @@
var Shapes;
(function (Shapes) {
// Class
-- var Point = /** @class */ (function () {
+- let Point = (() => {
+- class Point {
+- // Constructor
+- constructor(x, y) {
+- this.x = x;
+- this.y = y;
+- }
+- // Instance member
+- getDist() { return Math.sqrt(this.x * this.x + this.y * this.y); }
+ class Point {
+ x;
+ y;
- // Constructor
-- function Point(x, y) {
++ // Constructor
+ constructor(x, y) {
- this.x = x;
- this.y = y;
++ this.x = x;
++ this.y = y;
}
- // Instance member
-- Point.prototype.getDist = function () { return Math.sqrt(this.x * this.x + this.y * this.y); };
++ // Instance member
+ getDist() { return Math.sqrt(this.x * this.x + this.y * this.y); }
// Static member
- Point.origin = new Point(0, 0);
- return Point;
-- }());
+- })();
+ static origin = new Point(0, 0);
+ }
Shapes.Point = Point;
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMap-FileWithComments.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMap-FileWithComments.js.map.diff
index 4db401eac2..7d2a9c50f0 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMap-FileWithComments.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMap-FileWithComments.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMap-FileWithComments.js.map
@@= skipped -0, +0 lines =@@
//// [sourceMap-FileWithComments.js.map]
--{"version":3,"file":"sourceMap-FileWithComments.js","sourceRoot":"","sources":["sourceMap-FileWithComments.ts"],"names":[],"mappings":"AAKA,SAAS;AACT,IAAO,MAAM,CAwBZ;AAxBD,WAAO,MAAM;IAET,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,EAxBM,MAAM,KAAN,MAAM,QAwBZ;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,Ly8gTW9kdWxlDQp2YXIgU2hhcGVzOw0KKGZ1bmN0aW9uIChTaGFwZXMpIHsNCiAgICAvLyBDbGFzcw0KICAgIHZhciBQb2ludCA9IC8qKiBAY2xhc3MgKi8gKGZ1bmN0aW9uICgpIHsNCiAgICAgICAgLy8gQ29uc3RydWN0b3INCiAgICAgICAgZnVuY3Rpb24gUG9pbnQoeCwgeSkgew0KICAgICAgICAgICAgdGhpcy54ID0geDsNCiAgICAgICAgICAgIHRoaXMueSA9IHk7DQogICAgICAgIH0NCiAgICAgICAgLy8gSW5zdGFuY2UgbWVtYmVyDQogICAgICAgIFBvaW50LnByb3RvdHlwZS5nZXREaXN0ID0gZnVuY3Rpb24gKCkgeyByZXR1cm4gTWF0aC5zcXJ0KHRoaXMueCAqIHRoaXMueCArIHRoaXMueSAqIHRoaXMueSk7IH07DQogICAgICAgIC8vIFN0YXRpYyBtZW1iZXINCiAgICAgICAgUG9pbnQub3JpZ2luID0gbmV3IFBvaW50KDAsIDApOw0KICAgICAgICByZXR1cm4gUG9pbnQ7DQogICAgfSgpKTsNCi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gIHN0YXRpYyBvcmlnaW4gPSBuZXcgUG9pbnQoMCwgMCk7CiAgICB9CgogICAgLy8gVmFyaWFibGUgY29tbWVudCBhZnRlciBjbGFzcwogICAgdmFyIGEgPSAxMDsKCiAgICBleHBvcnQgZnVuY3Rpb24gZm9vKCkgewogICAgfQoKICAgIC8qKiAgY29tbWVudCBhZnRlciBmdW5jdGlvbgogICAgKiB0aGlzIGlzIGFub3RoZXIgY29tbWVudCAKICAgICovCiAgICB2YXIgYiA9IDEwOwp9CgovKiogTG9jYWwgVmFyaWFibGUgKi8KdmFyIHA6IElQb2ludCA9IG5ldyBTaGFwZXMuUG9pbnQoMywgNCk7CnZhciBkaXN0ID0gcC5nZXREaXN0KCk7
+-{"version":3,"file":"sourceMap-FileWithComments.js","sourceRoot":"","sources":["sourceMap-FileWithComments.ts"],"names":[],"mappings":"AAKA,SAAS;AACT,IAAO,MAAM,CAwBZ;AAxBD,WAAO,MAAM;IAET,QAAQ;IACR;QAAA,MAAa,KAAK;YACd,cAAc;YACd,YAAmB,CAAS,EAAS,CAAS;gBAA3B,MAAC,GAAD,CAAC,CAAQ;gBAAS,MAAC,GAAD,CAAC,CAAQ;YAAI,CAAC;YAEnD,kBAAkB;YAClB,OAAO,KAAK,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;SAAA;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,EAxBM,MAAM,KAAN,MAAM,QAwBZ;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,Ly8gTW9kdWxlDQp2YXIgU2hhcGVzOw0KKGZ1bmN0aW9uIChTaGFwZXMpIHsNCiAgICAvLyBDbGFzcw0KICAgIGxldCBQb2ludCA9ICgoKSA9PiB7DQogICAgICAgIGNsYXNzIFBvaW50IHsNCiAgICAgICAgICAgIC8vIENvbnN0cnVjdG9yDQogICAgICAgICAgICBjb25zdHJ1Y3Rvcih4LCB5KSB7DQogICAgICAgICAgICAgICAgdGhpcy54ID0geDsNCiAgICAgICAgICAgICAgICB0aGlzLnkgPSB5Ow0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgLy8gSW5zdGFuY2UgbWVtYmVyDQogICAgICAgICAgICBnZXREaXN0KCkgeyByZXR1cm4gTWF0aC5zcXJ0KHRoaXMueCAqIHRoaXMueCArIHRoaXMueSAqIHRoaXMueSk7IH0NCiAgICAgICAgfQ0KICAgICAgICAvLyBTdGF0aWMgbWVtYmVyDQogICAgICAgIFBvaW50Lm9yaWdpbiA9IG5ldyBQb2ludCgwLCAwKTsNCiAgICAgICAgcmV0dXJuIFBvaW50Ow0KICAgIH0pKCk7DQogICAgU2hhcGVzLlBvaW50ID0gUG9pbnQ7DQogICAgLy8gVmFyaWFibGUgY29tbWVudCBhZnRlciBjbGFzcw0KICAgIHZhciBhID0gMTA7DQogICAgZnVuY3Rpb24gZm9vKCkgew0KICAgIH0NCiAgICBTaGFwZXMuZm9vID0gZm9vOw0KICAgIC8qKiAgY29tbWVudCBhZnRlciBmdW5jdGlvbg0KICAgICogdGhpcyBpcyBhbm90aGVyIGNvbW1lbnQNCiAgICAqLw0KICAgIHZhciBiID0gMTA7DQp9KShTaGFwZXMgfHwgKFNoYXBlcyA9IHt9KSk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5ldyBTaGFwZXMuUG9pbnQoMywgNCk7CnZhciBkaXN0ID0gcC5nZXREaXN0KCk7
+{"version":3,"file":"sourceMap-FileWithComments.js","sourceRoot":"","sources":["sourceMap-FileWithComments.ts"],"names":[],"mappings":"AAKA,SAAS;AACT,IAAO,MAwBN;AAxBD,WAAO,MAAM,EAAC;IAEV,QAAQ;IACR,MAAa,KAAK;QAEK,CAAC;QAAiB,CAAC;QADtC,cAAc;QACd,YAAmB,CAAS,EAAS,CAAS,EAAE;qBAA7B,CAAC;qBAAiB,CAAC;QAAW,CAAE;QAEnD,kBAAkB;QAClB,OAAO,GAAG,EAAE,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA,CAAE;QAElE,gBAAgB;QAChB,MAAM,CAAC,MAAM,GAAG,IAAI,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KACnC;IATY,OAAA,KAAK,QASjB,CAAA;IAED,+BAA+B;IAC/B,IAAI,CAAC,GAAG,EAAE,CAAC;IAEX,SAAgB,GAAG,GAAG;IAAC,CACtB;IADe,OAAA,GAAG,MAClB,CAAA;IAED;;MAEE;IACF,IAAI,CAAC,GAAG,EAAE,CAAC;AAAA,CACd,EAxBM,MAAM,KAAN,MAAM,QAwBZ;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,Ly8gTW9kdWxlDQp2YXIgU2hhcGVzOw0KKGZ1bmN0aW9uIChTaGFwZXMpIHsNCiAgICAvLyBDbGFzcw0KICAgIGNsYXNzIFBvaW50IHsNCiAgICAgICAgeDsNCiAgICAgICAgeTsNCiAgICAgICAgLy8gQ29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Qptb2R1bGUgU2hhcGVzIHsKCiAgICAvLyBDbGFzcwogICAgZXhwb3J0IGNsYXNzIFBvaW50IGltcGxlbWVudHMgSVBvaW50IHsKICAgICAgICAvLyBDb25zdHJ1Y3RvcgogICAgICAgIGNvbnN0cnVjdG9yKHB1YmxpYyB4OiBudW1iZXIsIHB1YmxpYyB5OiBudW1iZXIpIHsgfQoKICAgICAgICAvLyBJbnN0YW5jZSBtZW1iZXIKICAgICAgICBnZXREaXN0KCkgeyByZXR1cm4gTWF0aC5zcXJ0KHRoaXMueCAqIHRoaXMueCArIHRoaXMueSAqIHRoaXMueSk7IH0KCiAgICAgICAgLy8gU3RhdGljIG1lbWJlcgogICAgICAgIHN0YXRpYyBvcmlnaW4gPSBuZXcgUG9pbnQoMCwgMCk7CiAgICB9CgogICAgLy8gVmFyaWFibGUgY29tbWVudCBhZnRlciBjbGFzcwogICAgdmFyIGEgPSAxMDsKCiAgICBleHBvcnQgZnVuY3Rpb24gZm9vKCkgewogICAgfQoKICAgIC8qKiAgY29tbWVudCBhZnRlciBmdW5jdGlvbgogICAgKiB0aGlzIGlzIGFub3RoZXIgY29tbWVudCAKICAgICovCiAgICB2YXIgYiA9IDEwOwp9CgovKiogTG9jYWwgVmFyaWFibGUgKi8KdmFyIHA6IElQb2ludCA9IG5ldyBTaGFwZXMuUG9pbnQoMywgNCk7CnZhciBkaXN0ID0gcC5nZXREaXN0KCk7
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMap-FileWithComments.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMap-FileWithComments.sourcemap.txt.diff
index e41c3be9ab..5fe149b359 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMap-FileWithComments.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMap-FileWithComments.sourcemap.txt.diff
@@ -84,7 +84,7 @@
>>> // Class
1 >^^^^
2 > ^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-3 > ^^^^^^^^^^^^^->
-1 > {
+3 > ^^^^^^->
+1 >{
@@ -94,10 +94,10 @@
1 >Emitted(4, 5) Source(9, 5) + SourceIndex(0)
2 >Emitted(4, 13) Source(9, 13) + SourceIndex(0)
---
-->>> var Point = /** @class */ (function () {
+->>> let Point = (() => {
+>>> class Point {
1->^^^^
--2 > ^^^^^^^^^^^^^^^^^^^->
+-2 > ^^^^^^^^^^^^^^^^^^->
+2 > ^^^^^^
+3 > ^^^^^
1->
@@ -105,6 +105,54 @@
+2 > export class
+3 > Point
1->Emitted(5, 5) Source(10, 5) + SourceIndex(0)
+----
+->>> class Point {
+-1->^^^^^^^^
+-2 > ^^^^^^
+-3 > ^^^^^
+-4 > ^^^^^^^^->
+-1->
+-2 > export class
+-3 > Point
+-1->Emitted(6, 9) Source(10, 5) + SourceIndex(0)
+-2 >Emitted(6, 15) Source(10, 18) + SourceIndex(0)
+-3 >Emitted(6, 20) Source(10, 23) + SourceIndex(0)
+----
+->>> // Constructor
+-1->^^^^^^^^^^^^
+-2 > ^^^^^^^^^^^^^^
+-3 > ^^^^^^->
+-1-> implements IPoint {
+- >
+-2 > // Constructor
+-1->Emitted(7, 13) Source(11, 9) + SourceIndex(0)
+-2 >Emitted(7, 27) Source(11, 23) + SourceIndex(0)
+----
+->>> constructor(x, y) {
+-1->^^^^^^^^^^^^
+-2 > ^^^^^^^^^^^^
+-3 > ^
+-4 > ^^
+-5 > ^
+-1->
+- >
+-2 > constructor(public
+-3 > x: number
+-4 > , public
+-5 > y: number
+-1->Emitted(8, 13) Source(12, 9) + SourceIndex(0)
+-2 >Emitted(8, 25) Source(12, 28) + SourceIndex(0)
+-3 >Emitted(8, 26) Source(12, 37) + SourceIndex(0)
+-4 >Emitted(8, 28) Source(12, 46) + SourceIndex(0)
+-5 >Emitted(8, 29) Source(12, 55) + SourceIndex(0)
+----
+->>> this.x = x;
+-1 >^^^^^^^^^^^^^^^^
+-2 > ^^^^^^
+-3 > ^^^
+-4 > ^
+-5 > ^
+-6 > ^->
+2 >Emitted(5, 11) Source(10, 18) + SourceIndex(0)
+3 >Emitted(5, 16) Source(10, 23) + SourceIndex(0)
+---
@@ -127,44 +175,26 @@
+2 > y
+1->Emitted(7, 9) Source(12, 46) + SourceIndex(0)
+2 >Emitted(7, 10) Source(12, 47) + SourceIndex(0)
- ---
- >>> // Constructor
- 1->^^^^^^^^
- 2 > ^^^^^^^^^^^^^^
--3 > ^^^^^^^^^->
--1->export class Point implements IPoint {
-- >
++---
++>>> // Constructor
++1->^^^^^^^^
++2 > ^^^^^^^^^^^^^^
+3 > ^^^^^^->
+1->
- 2 > // Constructor
--1->Emitted(6, 9) Source(11, 9) + SourceIndex(0)
--2 >Emitted(6, 23) Source(11, 23) + SourceIndex(0)
++2 > // Constructor
+1->Emitted(8, 9) Source(11, 9) + SourceIndex(0)
+2 >Emitted(8, 23) Source(11, 23) + SourceIndex(0)
- ---
-->>> function Point(x, y) {
++---
+>>> constructor(x, y) {
- 1->^^^^^^^^
--2 > ^^^^^^^^^^^^^^^
--3 > ^
--4 > ^^
--5 > ^
++1->^^^^^^^^
+2 > ^^^^^^^^^^^^
+3 > ^
+4 > ^^
+5 > ^
+6 > ^^
- 1->
- >
- 2 > constructor(public
--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->
++ >
++2 > constructor(public
+3 > x: number
+4 > , public
+5 > y: number
@@ -175,47 +205,147 @@
+4 >Emitted(9, 24) Source(12, 46) + SourceIndex(0)
+5 >Emitted(9, 25) Source(12, 55) + SourceIndex(0)
+6 >Emitted(9, 27) Source(12, 57) + SourceIndex(0)
- ---
- >>> this.x = x;
--1 >^^^^^^^^^^^^
--2 > ^^^^^^
--3 > ^^^
--4 > ^
--5 > ^
--6 > ^->
++---
++>>> this.x = x;
+1 >^^^^^^^^^^^^^^^^^^^^^
+2 > ^
+3 > ^^->
1 >
--2 > x
--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)
+-2 > x
+-3 >
+-4 > x
+-5 > : number
+-1 >Emitted(9, 17) Source(12, 28) + SourceIndex(0)
+-2 >Emitted(9, 23) Source(12, 29) + SourceIndex(0)
+-3 >Emitted(9, 26) Source(12, 28) + SourceIndex(0)
+-4 >Emitted(9, 27) Source(12, 29) + SourceIndex(0)
+-5 >Emitted(9, 28) Source(12, 37) + SourceIndex(0)
+----
+->>> this.y = y;
+-1->^^^^^^^^^^^^^^^^
+-2 > ^^^^^^
+-3 > ^^^
+-4 > ^
+-5 > ^
+-1->, public
+-2 > y
+-3 >
+-4 > y
+-5 > : number
+-1->Emitted(10, 17) Source(12, 46) + SourceIndex(0)
+-2 >Emitted(10, 23) Source(12, 47) + SourceIndex(0)
+-3 >Emitted(10, 26) Source(12, 46) + SourceIndex(0)
+-4 >Emitted(10, 27) Source(12, 47) + SourceIndex(0)
+-5 >Emitted(10, 28) Source(12, 55) + SourceIndex(0)
+----
+->>> }
+-1 >^^^^^^^^^^^^
+-2 > ^
+-3 > ^^^^^^^^^^^^^^^^^^->
+-1 >) {
+-2 > }
+-1 >Emitted(11, 13) Source(12, 59) + SourceIndex(0)
+-2 >Emitted(11, 14) Source(12, 60) + SourceIndex(0)
+----
+->>> // Instance member
+-1->^^^^^^^^^^^^
+-2 > ^^^^^^^^^^^^^^^^^^
+-3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-1->
+- >
+- >
+-2 > // Instance member
+-1->Emitted(12, 13) Source(14, 9) + SourceIndex(0)
+-2 >Emitted(12, 31) Source(14, 27) + SourceIndex(0)
+----
+->>> getDist() { return Math.sqrt(this.x * this.x + this.y * this.y); }
+-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> ^
+-1->
+- >
+-2 > getDist
+-3 > () {
+-4 > return
+-5 > Math
+-6 > .
+-7 > sqrt
+-8 > (
+-9 > this
+-10> .
+-11> x
+-12> *
+-13> this
+-14> .
+-15> x
+-16> +
+-17> this
+-18> .
+-19> y
+-20> *
+-21> this
+-22> .
+-23> y
+-24> )
+-25> ;
+-26>
+-27> }
+-1->Emitted(13, 13) Source(15, 9) + SourceIndex(0)
+-2 >Emitted(13, 20) Source(15, 16) + SourceIndex(0)
+-3 >Emitted(13, 25) Source(15, 21) + SourceIndex(0)
+-4 >Emitted(13, 32) Source(15, 28) + SourceIndex(0)
+-5 >Emitted(13, 36) Source(15, 32) + SourceIndex(0)
+-6 >Emitted(13, 37) Source(15, 33) + SourceIndex(0)
+-7 >Emitted(13, 41) Source(15, 37) + SourceIndex(0)
+-8 >Emitted(13, 42) Source(15, 38) + SourceIndex(0)
+-9 >Emitted(13, 46) Source(15, 42) + SourceIndex(0)
+-10>Emitted(13, 47) Source(15, 43) + SourceIndex(0)
+-11>Emitted(13, 48) Source(15, 44) + SourceIndex(0)
+-12>Emitted(13, 51) Source(15, 47) + SourceIndex(0)
+-13>Emitted(13, 55) Source(15, 51) + SourceIndex(0)
+-14>Emitted(13, 56) Source(15, 52) + SourceIndex(0)
+-15>Emitted(13, 57) Source(15, 53) + SourceIndex(0)
+-16>Emitted(13, 60) Source(15, 56) + SourceIndex(0)
+-17>Emitted(13, 64) Source(15, 60) + SourceIndex(0)
+-18>Emitted(13, 65) Source(15, 61) + SourceIndex(0)
+-19>Emitted(13, 66) Source(15, 62) + SourceIndex(0)
+-20>Emitted(13, 69) Source(15, 65) + SourceIndex(0)
+-21>Emitted(13, 73) Source(15, 69) + SourceIndex(0)
+-22>Emitted(13, 74) Source(15, 70) + SourceIndex(0)
+-23>Emitted(13, 75) Source(15, 71) + SourceIndex(0)
+-24>Emitted(13, 76) Source(15, 72) + SourceIndex(0)
+-25>Emitted(13, 77) Source(15, 73) + SourceIndex(0)
+-26>Emitted(13, 78) Source(15, 74) + SourceIndex(0)
+-27>Emitted(13, 79) Source(15, 75) + SourceIndex(0)
+2 > x
+1 >Emitted(10, 22) Source(12, 28) + SourceIndex(0)
+2 >Emitted(10, 23) Source(12, 29) + SourceIndex(0)
- ---
- >>> this.y = y;
--1->^^^^^^^^^^^^
--2 > ^^^^^^
--3 > ^^^
--4 > ^
--5 > ^
--1->, public
--2 > y
--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)
++---
++>>> this.y = y;
+1->^^^^^^^^^^^^^^^^^^^^^
+2 > ^
+1->: number, public
@@ -224,62 +354,27 @@
+2 >Emitted(11, 23) Source(12, 47) + SourceIndex(0)
---
>>> }
- 1 >^^^^^^^^
- 2 > ^
- 3 > ^^^^^^^^^^^^^^^^^^->
--1 >) {
--2 > }
--1 >Emitted(10, 9) Source(12, 59) + SourceIndex(0)
--2 >Emitted(10, 10) Source(12, 60) + SourceIndex(0)
++1 >^^^^^^^^
++2 > ^
++3 > ^^^^^^^^^^^^^^^^^^->
+1 >: number) {
+2 > }
+1 >Emitted(12, 9) Source(12, 58) + SourceIndex(0)
+2 >Emitted(12, 10) Source(12, 60) + SourceIndex(0)
- ---
- >>> // Instance member
- 1->^^^^^^^^
- 2 > ^^^^^^^^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
++---
++>>> // Instance member
++1->^^^^^^^^
++2 > ^^^^^^^^^^^^^^^^^^
+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1->
- >
- >
- 2 > // Instance member
--1->Emitted(11, 9) Source(14, 9) + SourceIndex(0)
--2 >Emitted(11, 27) Source(14, 27) + SourceIndex(0)
++1->
++ >
++ >
++2 > // Instance member
+1->Emitted(13, 9) Source(14, 9) + SourceIndex(0)
+2 >Emitted(13, 27) Source(14, 27) + SourceIndex(0)
- ---
-->>> Point.prototype.getDist = function () { return Math.sqrt(this.x * this.x + this.y * this.y); };
++---
+>>> getDist() { return Math.sqrt(this.x * this.x + this.y * this.y); }
- 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> ^
++1->^^^^^^^^
+2 > ^^^^^^^
+3 > ^^^
+4 > ^^
@@ -307,63 +402,9 @@
+26> ^
+27> ^
+28> ^
- 1->
- >
- 2 > getDist
--3 >
--4 > getDist() {
--5 > return
--6 > Math
--7 > .
--8 > sqrt
--9 > (
--10> this
--11> .
--12> x
--13> *
--14> this
--15> .
--16> x
--17> +
--18> this
--19> .
--20> y
--21> *
--22> this
--23> .
--24> y
--25> )
--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->
++ >
++2 > getDist
+3 > ()
+4 > {
+5 > return
@@ -418,7 +459,7 @@
+26>Emitted(14, 73) Source(15, 73) + SourceIndex(0)
+27>Emitted(14, 74) Source(15, 73) + SourceIndex(0)
+28>Emitted(14, 75) Source(15, 75) + SourceIndex(0)
- ---
++---
>>> // Static member
1 >^^^^^^^^
2 > ^^^^^^^^^^^^^^^^
@@ -427,11 +468,9 @@
1 >
>
>
- 2 > // Static member
--1 >Emitted(13, 9) Source(17, 9) + SourceIndex(0)
--2 >Emitted(13, 25) Source(17, 25) + SourceIndex(0)
-+1 >Emitted(15, 9) Source(17, 9) + SourceIndex(0)
-+2 >Emitted(15, 25) Source(17, 25) + SourceIndex(0)
+@@= skipped -256, +255 lines =@@
+ 1 >Emitted(15, 9) Source(17, 9) + SourceIndex(0)
+ 2 >Emitted(15, 25) Source(17, 25) + SourceIndex(0)
---
->>> Point.origin = new Point(0, 0);
+>>> static origin = new Point(0, 0);
@@ -470,17 +509,17 @@
-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(16, 9) Source(18, 16) + SourceIndex(0)
+-2 >Emitted(16, 21) Source(18, 22) + SourceIndex(0)
+-3 >Emitted(16, 24) Source(18, 25) + SourceIndex(0)
+-4 >Emitted(16, 28) Source(18, 29) + SourceIndex(0)
+-5 >Emitted(16, 33) Source(18, 34) + SourceIndex(0)
+-6 >Emitted(16, 34) Source(18, 35) + SourceIndex(0)
+-7 >Emitted(16, 35) Source(18, 36) + SourceIndex(0)
+-8 >Emitted(16, 37) Source(18, 38) + SourceIndex(0)
+-9 >Emitted(16, 38) Source(18, 39) + SourceIndex(0)
+-10>Emitted(16, 39) Source(18, 40) + SourceIndex(0)
+-11>Emitted(16, 40) Source(18, 41) + SourceIndex(0)
----
->>> return Point;
-1 >^^^^^^^^
@@ -488,10 +527,14 @@
-1 >
- >
-2 > }
--1 >Emitted(15, 9) Source(19, 5) + SourceIndex(0)
--2 >Emitted(15, 21) Source(19, 6) + SourceIndex(0)
+-1 >Emitted(17, 9) Source(19, 5) + SourceIndex(0)
+-2 >Emitted(17, 21) Source(19, 6) + SourceIndex(0)
----
-->>> }());
+->>> })();
+-1 >^^^^^^^^^
+-2 > ^^^^^^^^^^^^^^^^^->
+-1 >
+-1 >Emitted(18, 10) Source(19, 6) + SourceIndex(0)
+ >
+2 > static
+3 >
@@ -520,26 +563,9 @@
+13>Emitted(16, 41) Source(18, 41) + SourceIndex(0)
+---
+>>> }
- 1 >^^^^^
--2 >
--3 > ^^^^
--4 > ^^^^^^^^^^^^^^^^^->
++1 >^^^^^
+2 > ^^^^^^^^^^^^^^^^^^^^^->
- 1 >
--2 >
--3 > export class Point implements IPoint {
-- > // Constructor
-- > constructor(public x: number, public y: number) { }
-- >
-- > // Instance member
-- > getDist() { return Math.sqrt(this.x * this.x + this.y * this.y); }
-- >
-- > // 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 >
+ > }
+1 >Emitted(17, 6) Source(19, 6) + SourceIndex(0)
---
@@ -563,15 +589,15 @@
> // Constructor
> constructor(public x: number, public y: number) { }
>
-@@= skipped -330, +324 lines =@@
+@@= skipped -69, +69 lines =@@
> // Static member
> 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(19, 5) Source(10, 18) + SourceIndex(0)
+-2 >Emitted(19, 17) Source(10, 23) + SourceIndex(0)
+-3 >Emitted(19, 25) Source(19, 6) + SourceIndex(0)
+-4 >Emitted(19, 26) Source(19, 6) + SourceIndex(0)
+5 >
+1->Emitted(18, 5) Source(10, 18) + SourceIndex(0)
+2 >Emitted(18, 12) Source(10, 18) + SourceIndex(0)
@@ -585,8 +611,8 @@
>
>
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(20, 5) Source(21, 5) + SourceIndex(0)
+-2 >Emitted(20, 36) Source(21, 36) + SourceIndex(0)
+1->Emitted(19, 5) Source(21, 5) + SourceIndex(0)
+2 >Emitted(19, 36) Source(21, 36) + SourceIndex(0)
---
@@ -596,12 +622,12 @@
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(21, 5) Source(22, 5) + SourceIndex(0)
+-2 >Emitted(21, 9) Source(22, 9) + SourceIndex(0)
+-3 >Emitted(21, 10) Source(22, 10) + SourceIndex(0)
+-4 >Emitted(21, 13) Source(22, 13) + SourceIndex(0)
+-5 >Emitted(21, 15) Source(22, 15) + SourceIndex(0)
+-6 >Emitted(21, 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)
@@ -619,9 +645,9 @@
>
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(22, 5) Source(24, 5) + SourceIndex(0)
+-2 >Emitted(22, 14) Source(24, 21) + SourceIndex(0)
+-3 >Emitted(22, 17) Source(24, 24) + SourceIndex(0)
+4 > ()
+1->Emitted(21, 5) Source(24, 5) + SourceIndex(0)
+2 >Emitted(21, 14) Source(24, 21) + SourceIndex(0)
@@ -635,8 +661,8 @@
-1 >() {
- >
-2 > }
--1 >Emitted(21, 5) Source(25, 5) + SourceIndex(0)
--2 >Emitted(21, 6) Source(25, 6) + SourceIndex(0)
+-1 >Emitted(23, 5) Source(25, 5) + SourceIndex(0)
+-2 >Emitted(23, 6) Source(25, 6) + SourceIndex(0)
+1 >{
+2 >
+ > }
@@ -662,10 +688,10 @@
+4 > () {
> }
-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(24, 5) Source(24, 21) + SourceIndex(0)
+-2 >Emitted(24, 15) Source(24, 24) + SourceIndex(0)
+-3 >Emitted(24, 21) Source(25, 6) + SourceIndex(0)
+-4 >Emitted(24, 22) Source(25, 6) + SourceIndex(0)
+5 >
+1->Emitted(23, 5) Source(24, 21) + SourceIndex(0)
+2 >Emitted(23, 12) Source(24, 21) + SourceIndex(0)
@@ -679,7 +705,7 @@
1->
>
>
--1->Emitted(23, 5) Source(27, 5) + SourceIndex(0)
+-1->Emitted(25, 5) Source(27, 5) + SourceIndex(0)
+1->Emitted(24, 5) Source(27, 5) + SourceIndex(0)
---
>>> * this is another comment
@@ -688,7 +714,7 @@
1->/** comment after function
> * this is another comment
> */
--1->Emitted(25, 7) Source(29, 7) + SourceIndex(0)
+-1->Emitted(27, 7) Source(29, 7) + SourceIndex(0)
+1->Emitted(26, 7) Source(29, 7) + SourceIndex(0)
---
>>> var b = 10;
@@ -697,12 +723,12 @@
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(28, 5) Source(30, 5) + SourceIndex(0)
+-2 >Emitted(28, 9) Source(30, 9) + SourceIndex(0)
+-3 >Emitted(28, 10) Source(30, 10) + SourceIndex(0)
+-4 >Emitted(28, 13) Source(30, 13) + SourceIndex(0)
+-5 >Emitted(28, 15) Source(30, 15) + SourceIndex(0)
+-6 >Emitted(28, 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)
@@ -727,13 +753,13 @@
> */
> 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, 8) + SourceIndex(0)
--4 >Emitted(27, 10) Source(7, 14) + SourceIndex(0)
--5 >Emitted(27, 15) Source(7, 8) + SourceIndex(0)
--6 >Emitted(27, 21) Source(7, 14) + SourceIndex(0)
--7 >Emitted(27, 29) Source(31, 2) + SourceIndex(0)
+-1->Emitted(29, 1) Source(31, 1) + SourceIndex(0)
+-2 >Emitted(29, 2) Source(31, 2) + SourceIndex(0)
+-3 >Emitted(29, 4) Source(7, 8) + SourceIndex(0)
+-4 >Emitted(29, 10) Source(7, 14) + SourceIndex(0)
+-5 >Emitted(29, 15) Source(7, 8) + SourceIndex(0)
+-6 >Emitted(29, 21) Source(7, 14) + SourceIndex(0)
+-7 >Emitted(29, 29) Source(31, 2) + SourceIndex(0)
+1->Emitted(28, 1) Source(30, 16) + SourceIndex(0)
+2 >Emitted(28, 2) Source(31, 2) + SourceIndex(0)
+3 >Emitted(28, 4) Source(7, 8) + SourceIndex(0)
@@ -748,8 +774,8 @@
>
>
2 >/** Local Variable */
--1 >Emitted(28, 1) Source(33, 1) + SourceIndex(0)
--2 >Emitted(28, 22) Source(33, 22) + SourceIndex(0)
+-1 >Emitted(30, 1) Source(33, 1) + SourceIndex(0)
+-2 >Emitted(30, 22) Source(33, 22) + SourceIndex(0)
+1 >Emitted(29, 1) Source(33, 1) + SourceIndex(0)
+2 >Emitted(29, 22) Source(33, 22) + SourceIndex(0)
---
@@ -759,20 +785,20 @@
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(31, 1) Source(34, 1) + SourceIndex(0)
+-2 >Emitted(31, 5) Source(34, 5) + SourceIndex(0)
+-3 >Emitted(31, 6) Source(34, 6) + SourceIndex(0)
+-4 >Emitted(31, 9) Source(34, 17) + SourceIndex(0)
+-5 >Emitted(31, 13) Source(34, 21) + SourceIndex(0)
+-6 >Emitted(31, 19) Source(34, 27) + SourceIndex(0)
+-7 >Emitted(31, 20) Source(34, 28) + SourceIndex(0)
+-8 >Emitted(31, 25) Source(34, 33) + SourceIndex(0)
+-9 >Emitted(31, 26) Source(34, 34) + SourceIndex(0)
+-10>Emitted(31, 27) Source(34, 35) + SourceIndex(0)
+-11>Emitted(31, 29) Source(34, 37) + SourceIndex(0)
+-12>Emitted(31, 30) Source(34, 38) + SourceIndex(0)
+-13>Emitted(31, 31) Source(34, 39) + SourceIndex(0)
+-14>Emitted(31, 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)
@@ -794,15 +820,15 @@
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(32, 1) Source(35, 1) + SourceIndex(0)
+-2 >Emitted(32, 5) Source(35, 5) + SourceIndex(0)
+-3 >Emitted(32, 9) Source(35, 9) + SourceIndex(0)
+-4 >Emitted(32, 12) Source(35, 12) + SourceIndex(0)
+-5 >Emitted(32, 13) Source(35, 13) + SourceIndex(0)
+-6 >Emitted(32, 14) Source(35, 14) + SourceIndex(0)
+-7 >Emitted(32, 21) Source(35, 21) + SourceIndex(0)
+-8 >Emitted(32, 23) Source(35, 23) + SourceIndex(0)
+-9 >Emitted(32, 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)
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapSample.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMapSample.js.diff
index 59e3cc0e2f..8398fddde3 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapSample.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapSample.js.diff
@@ -8,33 +8,9 @@
+ let Bar;
(function (Bar) {
"use strict";
-- var Greeter = /** @class */ (function () {
-- function Greeter(greeting) {
+ "use strict";
-+ class Greeter {
+ class Greeter {
+ greeting;
-+ constructor(greeting) {
+ constructor(greeting) {
this.greeting = greeting;
- }
-- Greeter.prototype.greet = function () {
-+ greet() {
- return "" + this.greeting + "
";
-- };
-- return Greeter;
-- }());
-+ }
-+ }
- function foo(greeting) {
- return new Greeter(greeting);
- }
- var greeter = new Greeter("Hello, world!");
- var str = greeter.greet();
-- function foo2(greeting) {
-- var restGreetings = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- restGreetings[_i - 1] = arguments[_i];
-- }
-+ function foo2(greeting, ...restGreetings) {
- var greeters = [];
- greeters[0] = new Greeter(greeting);
- for (var i = 0; i < restGreetings.length; i++) {
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapSample.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMapSample.js.map.diff
index 3d47094025..96b871a182 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapSample.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapSample.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMapSample.js.map
@@= skipped -0, +0 lines =@@
//// [sourceMapSample.js.map]
--{"version":3,"file":"sourceMapSample.js","sourceRoot":"","sources":["sourceMapSample.ts"],"names":[],"mappings":"AAAA,IAAO,GAAG,CAkCT;AAlCD,WAAO,GAAG;IAAC,IAAA,GAAG,CAkCb;IAlCU,WAAA,GAAG;QACV,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,uBAA0B;iBAA1B,UAA0B,EAA1B,qBAA0B,EAA1B,IAA0B;gBAA1B,sCAA0B;;YACtD,IAAI,QAAQ,GAAc,EAAE,CAAC;YAC7B,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,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,EAlCU,GAAG,GAAH,OAAG,KAAH,OAAG,QAkCb;AAAD,CAAC,EAlCM,GAAG,KAAH,GAAG,QAkCT"}
--//// https://sokra.github.io/source-map-visualization#base64,dmFyIEZvbzsNCihmdW5jdGlvbiAoRm9vKSB7DQogICAgdmFyIEJhcjsNCiAgICAoZnVuY3Rpb24gKEJhcikgew0KICAgICAgICAidXNlIHN0cmljdCI7DQogICAgICAgIHZhciBHcmVldGVyID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgZnVuY3Rpb24gR3JlZXRlcihncmVldGluZykgew0KICAgICAgICAgICAgICAgIHRoaXMuZ3JlZXRpbmcgPSBncmVldGluZzsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIEdyZWV0ZXIucHJvdG90eXBlLmdyZWV0ID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgIHJldHVybiAiPGgxPiIgKyB0aGlzLmdyZWV0aW5nICsgIjwvaDE+IjsNCiAgICAgICAgICAgIH07DQogICAgICAgICAgICByZXR1cm4gR3JlZXRlcjsNCiAgICAgICAgfSgpKTsNCiAgICAgICAgZnVuY3Rpb24gZm9vKGdyZWV0aW5nKSB7DQogICAgICAgICAgICByZXR1cm4gbmV3IEdyZWV0ZXIoZ3JlZXRpbmcpOw0KICAgICAgICB9DQogICAgICAgIHZhciBncmVldGVyID0gbmV3IEdyZWV0ZXIoIkhlbGxvLCB3b3JsZCEiKTsNCiAgICAgICAgdmFyIHN0ciA9IGdyZWV0ZXIuZ3JlZXQoKTsNCiAgICAgICAgZnVuY3Rpb24gZm9vMihncmVldGluZykgew0KICAgICAgICAgICAgdmFyIHJlc3RHcmVldGluZ3MgPS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C,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,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,EAlCU,GAAG,GAAH,OAAG,KAAH,OAAG,QAkCb;AAAD,CAAC,EAlCM,GAAG,KAAH,GAAG,QAkCT"}
+-//// https://sokra.github.io/source-map-visualization#base64,dmFyIEZvbzsNCihmdW5jdGlvbiAoRm9vKSB7DQogICAgdmFyIEJhcjsNCiAgICAoZnVuY3Rpb24gKEJhcikgew0KICAgICAgICAidXNlIHN0cmljdCI7DQogICAgICAgIGNsYXNzIEdyZWV0ZXIgew0KICAgICAgICAgICAgY29uc3RydWN0b3IoZ3JlZXRpbmcpIHsNCiAgICAgICAgICAgICAgICB0aGlzLmdyZWV0aW5nID0gZ3JlZXRpbmc7DQogICAgICAgICAgICB9DQogICAgICAgICAgICBncmVldCgpIHsNCiAgICAgICAgICAgICAgICByZXR1cm4gIjxoMT4iICsgdGhpcy5ncmVldGluZyArICI8L2gxPiI7DQogICAgICAgICAgICB9DQogICAgICAgIH0NCiAgICAgICAgZnVuY3Rpb24gZm9vKGdyZWV0aW5nKSB7DQogICAgICAgICAgICByZXR1cm4gbmV3IEdyZWV0ZXIoZ3JlZXRpbmcpOw0KICAgICAgICB9DQogICAgICAgIHZhciBncmVldGVyID0gbmV3IEdyZWV0ZXIoIkhlbGxvLCB3b3JsZCEiKTsNCiAgICAgICAgdmFyIHN0ciA9IGdyZWV0ZXIuZ3JlZXQoKTsNCiAgICAgICAgZnVuY3Rpb24gZm9vMihncmVldGluZywgLi4ucmVzdEdyZWV0aW5ncykgew0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AChC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC;QACjB,CAAC;IAAA,CACJ,EAlCU,GAAG,GAAH,IAAA,GAAG,KAAH,IAAA,GAAG,QAkCb;AADI,CACL,AAlCA,EAAO,GAAG,KAAH,GAAG,QAkCT"}
+//// https://sokra.github.io/source-map-visualization#base64,dmFyIEZvbzsNCihmdW5jdGlvbiAoRm9vKSB7DQogICAgbGV0IEJhcjsNCiAgICAoZnVuY3Rpb24gKEJhcikgew0KICAgICAgICAidXNlIHN0cmljdCI7DQogICAgICAgICJ1c2Ugc3RyaWN0IjsNCiAgICAgICAgY2xhc3MgR3JlZXRlciB7DQogICAgICAgICAgICBncmVldGluZzsNCiAgICAgICAgICAgIGNvbnN0cnVjdG9yKGdyZWV0aW5nKSB7DQogICAgICAgICAgICAgICAgdGhpcy5ncmVldGluZyA9IGdyZWV0aW5nOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZ3JlZXQoKSB7DQogICAgICAgICAgICAgICAgcmV0dXJuICI8aDE+IiArIHRoaXMuZ3JlZXRpbmcgKyAiPC9oMT4iOw0KICAgICAgICAgICAgfQ0KICAgICAgICB9DQogICAgICAgIGZ1bmN0aW9uIGZvbyhncmVldGluZykgew0KICAgICAgICAgICAgcmV0dXJuIG5ldyBHcmVldGVyKGdyZWV0aW5nKTsNCiAgICAgICAgfQ0KICAgICAgICB2YXIgZ3JlZXRlciA9IG5ldyBHcmVldGVyKCJIZWxsbywgd29ybGQhIik7DQogICAgICAgIHZhciBzdHIgPSBncmVldGVyLmdyZWV0KCk7DQogICAgICAgIGZ1bmN0aW9uIGZvbzIoZ3JlZXRpbmcsIC4uLnJlc3RHcmVldGluZ3MpIHsNCiAgICAgICAgICAgIHZhciBncmVldGVycyA9IFtdOw0KICAgICAgICAgICAgZ3JlZXRlcnNbMF0gPSBuZXcgR3JlZXRlcihncmVldGluZyk7DQogICAgICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IHJlc3RHcm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by5CYXIgewogICAgInVzZSBzdHJpY3QiOwoKICAgIGNsYXNzIEdyZWV0ZXIgewogICAgICAgIGNvbnN0cnVjdG9yKHB1YmxpYyBncmVldGluZzogc3RyaW5nKSB7CiAgICAgICAgfQoKICAgICAgICBncmVldCgpIHsKICAgICAgICAgICAgcmV0dXJuICI8aDE+IiArIHRoaXMuZ3JlZXRpbmcgKyAiPC9oMT4iOwogICAgICAgIH0KICAgIH0KCgogICAgZnVuY3Rpb24gZm9vKGdyZWV0aW5nOiBzdHJpbmcpOiBGb28uQmFyLkdyZWV0ZXIgewogICAgICAgIHJldHVybiBuZXcgR3JlZXRlcihncmVldGluZyk7CiAgICB9CgogICAgdmFyIGdyZWV0ZXIgPSBuZXcgR3JlZXRlcigiSGVsbG8sIHdvcmxkISIpOwogICAgdmFyIHN0ciA9IGdyZWV0ZXIuZ3JlZXQoKTsKCiAgICBmdW5jdGlvbiBmb28yKGdyZWV0aW5nOiBzdHJpbmcsIC4uLnJlc3RHcmVldGluZ3M6IHN0cmluZ1tdKSB7CiAgICAgICAgdmFyIGdyZWV0ZXJzOiBHcmVldGVyW10gPSBbXTsKICAgICAgICBncmVldGVyc1swXSA9IG5ldyBHcmVldGVyKGdyZWV0aW5nKTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IHJlc3RHcmVldGluZ3MubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgZ3JlZXRlcnMucHVzaChuZXcgR3JlZXRlcihyZXN0R3JlZXRpbmdzW2ldKSk7CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gZ3JlZXRlcnM7CiAgICB9CgogICAgdmFyIGIgPSBmb28yKCJIZWxsbyIsICJXb3JsZCIsICIhIik7CiAgICBmb3IgKHZhciBqID0gMDsgaiA8IGIubGVuZ3RoOyBqKyspIHsKICAgICAgICBiW2pdLmdyZWV0KCk7CiAgICB9Cn0=
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapSample.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMapSample.sourcemap.txt.diff
index afbdb91e79..d18d2c6205 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapSample.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapSample.sourcemap.txt.diff
@@ -208,7 +208,7 @@
1->^^^^^^^^
2 > ^^^^^^^^^^^^
3 > ^
--4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-4 > ^^^->
-1-> {
+4 > ^->
+1->{
@@ -219,9 +219,6 @@
2 >Emitted(5, 21) Source(2, 17) + SourceIndex(0)
3 >Emitted(5, 22) Source(2, 18) + SourceIndex(0)
---
-->>> var Greeter = /** @class */ (function () {
--1->^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+>>> "use strict";
+1->^^^^^^^^
+2 > ^^^^^^^^^^^^
@@ -234,25 +231,20 @@
+2 >Emitted(6, 21) Source(2, 17) + SourceIndex(0)
+3 >Emitted(6, 22) Source(2, 18) + SourceIndex(0)
+---
-+>>> class Greeter {
-+1->^^^^^^^^
-+2 > ^^^^^^
-+3 > ^^^^^^^
+ >>> class Greeter {
+ 1->^^^^^^^^
+ 2 > ^^^^^^
+ 3 > ^^^^^^^
+-4 > ^^^^^^^^^^^^^^^->
+4 > ^->
1->
>
>
+ 2 > class
+ 3 > Greeter
-1->Emitted(6, 9) Source(4, 5) + SourceIndex(0)
-----
-->>> function Greeter(greeting) {
--1->^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^
--3 > ^^^^^^^^
--4 > ^^^^^->
--1->class Greeter {
-- >
-+2 > class
-+3 > Greeter
+-2 >Emitted(6, 15) Source(4, 11) + SourceIndex(0)
+-3 >Emitted(6, 22) Source(4, 18) + SourceIndex(0)
+1->Emitted(7, 9) Source(4, 5) + SourceIndex(0)
+2 >Emitted(7, 15) Source(4, 11) + SourceIndex(0)
+3 >Emitted(7, 22) Source(4, 18) + SourceIndex(0)
@@ -266,20 +258,22 @@
+2 > greeting
+1->Emitted(8, 13) Source(5, 28) + SourceIndex(0)
+2 >Emitted(8, 21) Source(5, 36) + SourceIndex(0)
-+---
-+>>> constructor(greeting) {
-+1->^^^^^^^^^^^^
-+2 > ^^^^^^^^^^^^
-+3 > ^^^^^^^^
+ ---
+ >>> constructor(greeting) {
+ 1->^^^^^^^^^^^^
+ 2 > ^^^^^^^^^^^^
+ 3 > ^^^^^^^^
+-4 > ^^^^^^^^^^->
+-1-> {
+- >
+4 > ^^
+5 > ^^^^^^^^->
+1->
2 > constructor(public
--3 > greeting: string
+ 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)
-+3 > greeting: string
+-2 >Emitted(7, 25) Source(5, 28) + SourceIndex(0)
+-3 >Emitted(7, 33) Source(5, 44) + SourceIndex(0)
+4 > )
+1->Emitted(9, 13) Source(5, 9) + SourceIndex(0)
+2 >Emitted(9, 25) Source(5, 28) + SourceIndex(0)
@@ -311,36 +305,30 @@
>>> }
1 >^^^^^^^^^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 3 > ^^^^^^^^^->
-1 >) {
- >
-2 > }
-1 >Emitted(9, 13) Source(6, 9) + SourceIndex(0)
-2 >Emitted(9, 14) Source(6, 10) + SourceIndex(0)
-+3 > ^^^^^^^^^->
+1 >: string) {
+2 >
+ > }
+1 >Emitted(11, 13) Source(5, 47) + SourceIndex(0)
+2 >Emitted(11, 14) Source(6, 10) + SourceIndex(0)
---
-->>> Greeter.prototype.greet = function () {
-+>>> greet() {
+ >>> greet() {
1->^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^^^^^^^^^^->
-+2 > ^^^^^
+ 2 > ^^^^^
+-3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+3 > ^^^
+4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
>
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)
+-2 >Emitted(10, 18) Source(8, 14) + SourceIndex(0)
+3 > ()
+1->Emitted(12, 13) Source(8, 9) + SourceIndex(0)
+2 >Emitted(12, 18) Source(8, 14) + SourceIndex(0)
@@ -348,11 +336,11 @@
---
>>> return "" + this.greeting + "
";
1->^^^^^^^^^^^^^^^^
-@@= skipped -73, +94 lines =@@
+@@= skipped -76, +94 lines =@@
8 > ^^^
9 > ^^^^^^^
10> ^
--1->greet() {
+-1->() {
+1->{
>
2 > return
@@ -382,63 +370,30 @@
+9 >Emitted(13, 56) Source(9, 52) + SourceIndex(0)
+10>Emitted(13, 57) Source(9, 53) + SourceIndex(0)
---
-->>> };
-+>>> }
+ >>> }
1 >^^^^^^^^^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^->
--1 >
+ 1 >
- >
-2 > }
-1 >Emitted(12, 13) Source(10, 9) + SourceIndex(0)
-2 >Emitted(12, 14) Source(10, 10) + SourceIndex(0)
-----
-->>> return Greeter;
--1->^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^
--1->
-- >
--2 > }
--1->Emitted(13, 13) Source(11, 5) + SourceIndex(0)
--2 >Emitted(13, 27) Source(11, 6) + SourceIndex(0)
-----
-->>> }());
--1 >^^^^^^^^
--2 > ^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 > }
--3 >
--4 > class Greeter {
-- > constructor(public greeting: string) {
-- > }
-- >
-- > greet() {
-- > 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 >
+2 >
+ > }
+1 >Emitted(14, 13) Source(9, 53) + SourceIndex(0)
+2 >Emitted(14, 14) Source(10, 10) + SourceIndex(0)
-+---
-+>>> }
-+1 >^^^^^^^^^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ > }
+ ---
+ >>> }
+ 1 >^^^^^^^^^
+ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^->
+ 1 >
+ > }
+-1 >Emitted(13, 10) Source(11, 6) + SourceIndex(0)
+1 >Emitted(15, 10) Source(11, 6) + SourceIndex(0)
---
>>> function foo(greeting) {
1->^^^^^^^^
-@@= skipped -58, +33 lines =@@
+@@= skipped -33, +33 lines =@@
3 > ^^^
4 > ^
5 > ^^^^^^^^
@@ -452,11 +407,11 @@
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(14, 9) Source(14, 5) + SourceIndex(0)
+-2 >Emitted(14, 18) Source(14, 14) + SourceIndex(0)
+-3 >Emitted(14, 21) Source(14, 17) + SourceIndex(0)
+-4 >Emitted(14, 22) Source(14, 18) + SourceIndex(0)
+-5 >Emitted(14, 30) Source(14, 34) + SourceIndex(0)
+6 > ): Foo.Bar.Greeter
+1->Emitted(16, 9) Source(14, 5) + SourceIndex(0)
+2 >Emitted(16, 18) Source(14, 14) + SourceIndex(0)
@@ -480,14 +435,14 @@
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(15, 13) Source(15, 9) + SourceIndex(0)
+-2 >Emitted(15, 20) Source(15, 16) + SourceIndex(0)
+-3 >Emitted(15, 24) Source(15, 20) + SourceIndex(0)
+-4 >Emitted(15, 31) Source(15, 27) + SourceIndex(0)
+-5 >Emitted(15, 32) Source(15, 28) + SourceIndex(0)
+-6 >Emitted(15, 40) Source(15, 36) + SourceIndex(0)
+-7 >Emitted(15, 41) Source(15, 37) + SourceIndex(0)
+-8 >Emitted(15, 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)
@@ -504,8 +459,8 @@
1 >
- >
-2 > }
--1 >Emitted(17, 9) Source(16, 5) + SourceIndex(0)
--2 >Emitted(17, 10) Source(16, 6) + SourceIndex(0)
+-1 >Emitted(16, 9) Source(16, 5) + SourceIndex(0)
+-2 >Emitted(16, 10) Source(16, 6) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(18, 9) Source(15, 38) + SourceIndex(0)
@@ -517,16 +472,16 @@
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(17, 9) Source(18, 5) + SourceIndex(0)
+-2 >Emitted(17, 13) Source(18, 9) + SourceIndex(0)
+-3 >Emitted(17, 20) Source(18, 16) + SourceIndex(0)
+-4 >Emitted(17, 23) Source(18, 19) + SourceIndex(0)
+-5 >Emitted(17, 27) Source(18, 23) + SourceIndex(0)
+-6 >Emitted(17, 34) Source(18, 30) + SourceIndex(0)
+-7 >Emitted(17, 35) Source(18, 31) + SourceIndex(0)
+-8 >Emitted(17, 50) Source(18, 46) + SourceIndex(0)
+-9 >Emitted(17, 51) Source(18, 47) + SourceIndex(0)
+-10>Emitted(17, 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)
@@ -540,27 +495,19 @@
---
>>> var str = greeter.greet();
1 >^^^^^^^^
-@@= skipped -21, +21 lines =@@
- 7 > ^^^^^
- 8 > ^^
- 9 > ^
-+10> ^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 > var
-@@= skipped -10, +11 lines =@@
+@@= skipped -32, +32 lines =@@
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(18, 9) Source(19, 5) + SourceIndex(0)
+-2 >Emitted(18, 13) Source(19, 9) + SourceIndex(0)
+-3 >Emitted(18, 16) Source(19, 12) + SourceIndex(0)
+-4 >Emitted(18, 19) Source(19, 15) + SourceIndex(0)
+-5 >Emitted(18, 26) Source(19, 22) + SourceIndex(0)
+-6 >Emitted(18, 27) Source(19, 23) + SourceIndex(0)
+-7 >Emitted(18, 32) Source(19, 28) + SourceIndex(0)
+-8 >Emitted(18, 34) Source(19, 30) + SourceIndex(0)
+-9 >Emitted(18, 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)
@@ -571,74 +518,28 @@
+8 >Emitted(20, 34) Source(19, 30) + SourceIndex(0)
+9 >Emitted(20, 35) Source(19, 31) + SourceIndex(0)
---
-->>> function foo2(greeting) {
--1 >^^^^^^^^
-+>>> function foo2(greeting, ...restGreetings) {
-+1->^^^^^^^^
- 2 > ^^^^^^^^^
- 3 > ^^^^
- 4 > ^
- 5 > ^^^^^^^^
--6 > ^^^^^^->
--1 >
-+6 > ^^
-+7 > ^^^
-+8 > ^^^^^^^^^^^^^
+ >>> function foo2(greeting, ...restGreetings) {
+ 1->^^^^^^^^
+@@= skipped -19, +19 lines =@@
+ 6 > ^^
+ 7 > ^^^
+ 8 > ^^^^^^^^^^^^^
+9 > ^^
-+1->
+ 1->
>
>
- 2 > function
- 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)
-----
-->>> var restGreetings = [];
--1->^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^->
--1->,
--2 > ...restGreetings: string[]
--1->Emitted(21, 13) Source(21, 37) + SourceIndex(0)
--2 >Emitted(21, 36) Source(21, 63) + SourceIndex(0)
-----
-->>> for (var _i = 1; _i < arguments.length; _i++) {
--1->^^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^
--3 > ^^
--4 > ^^^^^^^^^^^^^^^^^^^^^
--5 > ^^
--6 > ^^^^
--1->
--2 > ...restGreetings: string[]
--3 >
--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)
-----
-->>> 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)
-----
-->>> }
-+6 > ,
-+7 > ...
-+8 > restGreetings: string[]
+@@= skipped -10, +11 lines =@@
+ 6 > ,
+ 7 > ...
+ 8 > restGreetings: string[]
+-1->Emitted(19, 9) Source(21, 5) + SourceIndex(0)
+-2 >Emitted(19, 18) Source(21, 14) + SourceIndex(0)
+-3 >Emitted(19, 22) Source(21, 18) + SourceIndex(0)
+-4 >Emitted(19, 23) Source(21, 19) + SourceIndex(0)
+-5 >Emitted(19, 31) Source(21, 35) + SourceIndex(0)
+-6 >Emitted(19, 33) Source(21, 37) + SourceIndex(0)
+-7 >Emitted(19, 36) Source(21, 40) + SourceIndex(0)
+-8 >Emitted(19, 49) Source(21, 63) + SourceIndex(0)
+9 > )
+1->Emitted(21, 9) Source(21, 5) + SourceIndex(0)
+2 >Emitted(21, 18) Source(21, 14) + SourceIndex(0)
@@ -649,11 +550,10 @@
+7 >Emitted(21, 36) Source(21, 40) + SourceIndex(0)
+8 >Emitted(21, 49) Source(21, 63) + SourceIndex(0)
+9 >Emitted(21, 51) Source(21, 65) + SourceIndex(0)
-+---
+ ---
>>> var greeters = [];
1 >^^^^^^^^^^^^
- 2 > ^^^^
-@@= skipped -76, +49 lines =@@
+@@= skipped -17, +19 lines =@@
5 > ^^
6 > ^
7 > ^^^^^^^^^^^^^^^^^^^->
@@ -665,12 +565,12 @@
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(20, 13) Source(22, 9) + SourceIndex(0)
+-2 >Emitted(20, 17) Source(22, 13) + SourceIndex(0)
+-3 >Emitted(20, 25) Source(22, 21) + SourceIndex(0)
+-4 >Emitted(20, 28) Source(22, 35) + SourceIndex(0)
+-5 >Emitted(20, 30) Source(22, 37) + SourceIndex(0)
+-6 >Emitted(20, 31) Source(22, 38) + SourceIndex(0)
+1 >Emitted(22, 13) Source(22, 9) + SourceIndex(0)
+2 >Emitted(22, 17) Source(22, 13) + SourceIndex(0)
+3 >Emitted(22, 25) Source(22, 21) + SourceIndex(0)
@@ -684,18 +584,18 @@
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(21, 13) Source(23, 9) + SourceIndex(0)
+-2 >Emitted(21, 21) Source(23, 17) + SourceIndex(0)
+-3 >Emitted(21, 22) Source(23, 18) + SourceIndex(0)
+-4 >Emitted(21, 23) Source(23, 19) + SourceIndex(0)
+-5 >Emitted(21, 24) Source(23, 20) + SourceIndex(0)
+-6 >Emitted(21, 27) Source(23, 23) + SourceIndex(0)
+-7 >Emitted(21, 31) Source(23, 27) + SourceIndex(0)
+-8 >Emitted(21, 38) Source(23, 34) + SourceIndex(0)
+-9 >Emitted(21, 39) Source(23, 35) + SourceIndex(0)
+-10>Emitted(21, 47) Source(23, 43) + SourceIndex(0)
+-11>Emitted(21, 48) Source(23, 44) + SourceIndex(0)
+-12>Emitted(21, 49) Source(23, 45) + SourceIndex(0)
+1->Emitted(23, 13) Source(23, 9) + SourceIndex(0)
+2 >Emitted(23, 21) Source(23, 17) + SourceIndex(0)
+3 >Emitted(23, 22) Source(23, 18) + SourceIndex(0)
@@ -715,23 +615,23 @@
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(22, 13) Source(24, 9) + SourceIndex(0)
+-2 >Emitted(22, 18) Source(24, 14) + SourceIndex(0)
+-3 >Emitted(22, 22) Source(24, 18) + SourceIndex(0)
+-4 >Emitted(22, 23) Source(24, 19) + SourceIndex(0)
+-5 >Emitted(22, 26) Source(24, 22) + SourceIndex(0)
+-6 >Emitted(22, 27) Source(24, 23) + SourceIndex(0)
+-7 >Emitted(22, 29) Source(24, 25) + SourceIndex(0)
+-8 >Emitted(22, 30) Source(24, 26) + SourceIndex(0)
+-9 >Emitted(22, 33) Source(24, 29) + SourceIndex(0)
+-10>Emitted(22, 46) Source(24, 42) + SourceIndex(0)
+-11>Emitted(22, 47) Source(24, 43) + SourceIndex(0)
+-12>Emitted(22, 53) Source(24, 49) + SourceIndex(0)
+-13>Emitted(22, 55) Source(24, 51) + SourceIndex(0)
+-14>Emitted(22, 56) Source(24, 52) + SourceIndex(0)
+-15>Emitted(22, 58) Source(24, 54) + SourceIndex(0)
+-16>Emitted(22, 60) Source(24, 56) + SourceIndex(0)
+-17>Emitted(22, 61) Source(24, 57) + SourceIndex(0)
+1->Emitted(24, 13) Source(24, 9) + SourceIndex(0)
+2 >Emitted(24, 18) Source(24, 14) + SourceIndex(0)
+3 >Emitted(24, 22) Source(24, 18) + SourceIndex(0)
@@ -756,21 +656,21 @@
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(23, 17) Source(25, 13) + SourceIndex(0)
+-2 >Emitted(23, 25) Source(25, 21) + SourceIndex(0)
+-3 >Emitted(23, 26) Source(25, 22) + SourceIndex(0)
+-4 >Emitted(23, 30) Source(25, 26) + SourceIndex(0)
+-5 >Emitted(23, 31) Source(25, 27) + SourceIndex(0)
+-6 >Emitted(23, 35) Source(25, 31) + SourceIndex(0)
+-7 >Emitted(23, 42) Source(25, 38) + SourceIndex(0)
+-8 >Emitted(23, 43) Source(25, 39) + SourceIndex(0)
+-9 >Emitted(23, 56) Source(25, 52) + SourceIndex(0)
+-10>Emitted(23, 57) Source(25, 53) + SourceIndex(0)
+-11>Emitted(23, 58) Source(25, 54) + SourceIndex(0)
+-12>Emitted(23, 59) Source(25, 55) + SourceIndex(0)
+-13>Emitted(23, 60) Source(25, 56) + SourceIndex(0)
+-14>Emitted(23, 61) Source(25, 57) + SourceIndex(0)
+-15>Emitted(23, 62) Source(25, 58) + SourceIndex(0)
+1->Emitted(25, 17) Source(25, 13) + SourceIndex(0)
+2 >Emitted(25, 25) Source(25, 21) + SourceIndex(0)
+3 >Emitted(25, 26) Source(25, 22) + SourceIndex(0)
@@ -793,8 +693,8 @@
1 >
>
2 > }
--1 >Emitted(29, 13) Source(26, 9) + SourceIndex(0)
--2 >Emitted(29, 14) Source(26, 10) + SourceIndex(0)
+-1 >Emitted(24, 13) Source(26, 9) + SourceIndex(0)
+-2 >Emitted(24, 14) Source(26, 10) + SourceIndex(0)
+1 >Emitted(26, 13) Source(26, 9) + SourceIndex(0)
+2 >Emitted(26, 14) Source(26, 10) + SourceIndex(0)
---
@@ -804,10 +704,10 @@
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(25, 13) Source(28, 9) + SourceIndex(0)
+-2 >Emitted(25, 20) Source(28, 16) + SourceIndex(0)
+-3 >Emitted(25, 28) Source(28, 24) + SourceIndex(0)
+-4 >Emitted(25, 29) Source(28, 25) + SourceIndex(0)
+1->Emitted(27, 13) Source(28, 9) + SourceIndex(0)
+2 >Emitted(27, 20) Source(28, 16) + SourceIndex(0)
+3 >Emitted(27, 28) Source(28, 24) + SourceIndex(0)
@@ -820,8 +720,8 @@
1 >
- >
-2 > }
--1 >Emitted(31, 9) Source(29, 5) + SourceIndex(0)
--2 >Emitted(31, 10) Source(29, 6) + SourceIndex(0)
+-1 >Emitted(26, 9) Source(29, 5) + SourceIndex(0)
+-2 >Emitted(26, 10) Source(29, 6) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(28, 9) Source(28, 25) + SourceIndex(0)
@@ -833,19 +733,19 @@
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(27, 9) Source(31, 5) + SourceIndex(0)
+-2 >Emitted(27, 13) Source(31, 9) + SourceIndex(0)
+-3 >Emitted(27, 14) Source(31, 10) + SourceIndex(0)
+-4 >Emitted(27, 17) Source(31, 13) + SourceIndex(0)
+-5 >Emitted(27, 21) Source(31, 17) + SourceIndex(0)
+-6 >Emitted(27, 22) Source(31, 18) + SourceIndex(0)
+-7 >Emitted(27, 29) Source(31, 25) + SourceIndex(0)
+-8 >Emitted(27, 31) Source(31, 27) + SourceIndex(0)
+-9 >Emitted(27, 38) Source(31, 34) + SourceIndex(0)
+-10>Emitted(27, 40) Source(31, 36) + SourceIndex(0)
+-11>Emitted(27, 43) Source(31, 39) + SourceIndex(0)
+-12>Emitted(27, 44) Source(31, 40) + SourceIndex(0)
+-13>Emitted(27, 45) Source(31, 41) + SourceIndex(0)
+1->Emitted(29, 9) Source(31, 5) + SourceIndex(0)
+2 >Emitted(29, 13) Source(31, 9) + SourceIndex(0)
+3 >Emitted(29, 14) Source(31, 10) + SourceIndex(0)
@@ -866,23 +766,23 @@
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(28, 9) Source(32, 5) + SourceIndex(0)
+-2 >Emitted(28, 14) Source(32, 10) + SourceIndex(0)
+-3 >Emitted(28, 18) Source(32, 14) + SourceIndex(0)
+-4 >Emitted(28, 19) Source(32, 15) + SourceIndex(0)
+-5 >Emitted(28, 22) Source(32, 18) + SourceIndex(0)
+-6 >Emitted(28, 23) Source(32, 19) + SourceIndex(0)
+-7 >Emitted(28, 25) Source(32, 21) + SourceIndex(0)
+-8 >Emitted(28, 26) Source(32, 22) + SourceIndex(0)
+-9 >Emitted(28, 29) Source(32, 25) + SourceIndex(0)
+-10>Emitted(28, 30) Source(32, 26) + SourceIndex(0)
+-11>Emitted(28, 31) Source(32, 27) + SourceIndex(0)
+-12>Emitted(28, 37) Source(32, 33) + SourceIndex(0)
+-13>Emitted(28, 39) Source(32, 35) + SourceIndex(0)
+-14>Emitted(28, 40) Source(32, 36) + SourceIndex(0)
+-15>Emitted(28, 42) Source(32, 38) + SourceIndex(0)
+-16>Emitted(28, 44) Source(32, 40) + SourceIndex(0)
+-17>Emitted(28, 45) Source(32, 41) + SourceIndex(0)
+1->Emitted(30, 9) Source(32, 5) + SourceIndex(0)
+2 >Emitted(30, 14) Source(32, 10) + SourceIndex(0)
+3 >Emitted(30, 18) Source(32, 14) + SourceIndex(0)
@@ -907,15 +807,15 @@
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(29, 13) Source(33, 9) + SourceIndex(0)
+-2 >Emitted(29, 14) Source(33, 10) + SourceIndex(0)
+-3 >Emitted(29, 15) Source(33, 11) + SourceIndex(0)
+-4 >Emitted(29, 16) Source(33, 12) + SourceIndex(0)
+-5 >Emitted(29, 17) Source(33, 13) + SourceIndex(0)
+-6 >Emitted(29, 18) Source(33, 14) + SourceIndex(0)
+-7 >Emitted(29, 23) Source(33, 19) + SourceIndex(0)
+-8 >Emitted(29, 25) Source(33, 21) + SourceIndex(0)
+-9 >Emitted(29, 26) Source(33, 22) + SourceIndex(0)
+1 >Emitted(31, 13) Source(33, 9) + SourceIndex(0)
+2 >Emitted(31, 14) Source(33, 10) + SourceIndex(0)
+3 >Emitted(31, 15) Source(33, 11) + SourceIndex(0)
@@ -932,8 +832,8 @@
1 >
>
2 > }
--1 >Emitted(35, 9) Source(34, 5) + SourceIndex(0)
--2 >Emitted(35, 10) Source(34, 6) + SourceIndex(0)
+-1 >Emitted(30, 9) Source(34, 5) + SourceIndex(0)
+-2 >Emitted(30, 10) Source(34, 6) + SourceIndex(0)
+1 >Emitted(32, 9) Source(34, 5) + SourceIndex(0)
+2 >Emitted(32, 10) Source(34, 6) + SourceIndex(0)
---
@@ -978,15 +878,15 @@
> 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, 12) + SourceIndex(0)
--4 >Emitted(36, 11) Source(1, 15) + SourceIndex(0)
--5 >Emitted(36, 14) Source(1, 12) + SourceIndex(0)
--6 >Emitted(36, 21) Source(1, 15) + SourceIndex(0)
--7 >Emitted(36, 26) Source(1, 12) + SourceIndex(0)
--8 >Emitted(36, 33) Source(1, 15) + SourceIndex(0)
--9 >Emitted(36, 41) Source(35, 2) + SourceIndex(0)
+-1->Emitted(31, 5) Source(35, 1) + SourceIndex(0)
+-2 >Emitted(31, 6) Source(35, 2) + SourceIndex(0)
+-3 >Emitted(31, 8) Source(1, 12) + SourceIndex(0)
+-4 >Emitted(31, 11) Source(1, 15) + SourceIndex(0)
+-5 >Emitted(31, 14) Source(1, 12) + SourceIndex(0)
+-6 >Emitted(31, 21) Source(1, 15) + SourceIndex(0)
+-7 >Emitted(31, 26) Source(1, 12) + SourceIndex(0)
+-8 >Emitted(31, 33) Source(1, 15) + SourceIndex(0)
+-9 >Emitted(31, 41) Source(35, 2) + SourceIndex(0)
+1->Emitted(33, 5) Source(34, 6) + SourceIndex(0)
+2 >Emitted(33, 6) Source(35, 2) + SourceIndex(0)
+3 >Emitted(33, 8) Source(1, 12) + SourceIndex(0)
@@ -1036,13 +936,13 @@
> 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, 8) + SourceIndex(0)
--4 >Emitted(37, 7) Source(1, 11) + SourceIndex(0)
--5 >Emitted(37, 12) Source(1, 8) + SourceIndex(0)
--6 >Emitted(37, 15) Source(1, 11) + SourceIndex(0)
--7 >Emitted(37, 23) Source(35, 2) + SourceIndex(0)
+-1 >Emitted(32, 1) Source(35, 1) + SourceIndex(0)
+-2 >Emitted(32, 2) Source(35, 2) + SourceIndex(0)
+-3 >Emitted(32, 4) Source(1, 8) + SourceIndex(0)
+-4 >Emitted(32, 7) Source(1, 11) + SourceIndex(0)
+-5 >Emitted(32, 12) Source(1, 8) + SourceIndex(0)
+-6 >Emitted(32, 15) Source(1, 11) + SourceIndex(0)
+-7 >Emitted(32, 23) Source(35, 2) + SourceIndex(0)
+1 >Emitted(34, 1) Source(34, 6) + SourceIndex(0)
+2 >Emitted(34, 2) Source(35, 1) + SourceIndex(0)
+3 >Emitted(34, 2) Source(1, 1) + SourceIndex(0)
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClass.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClass.js.diff
index 0e273e10f5..49c29ae5bd 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClass.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClass.js.diff
@@ -1,51 +1,19 @@
--- old.sourceMapValidationClass.js
+++ new.sourceMapValidationClass.js
-@@= skipped -20, +20 lines =@@
- }
+@@= skipped -21, +21 lines =@@
//// [sourceMapValidationClass.js]
--var Greeter = /** @class */ (function () {
-- function Greeter(greeting) {
-- var b = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- b[_i - 1] = arguments[_i];
-- }
-+class Greeter {
+ class Greeter {
+ greeting;
-+ constructor(greeting, ...b) {
+ constructor(greeting, ...b) {
this.greeting = greeting;
- this.x1 = 10;
}
-- Greeter.prototype.greet = function () {
-+ greet() {
+ greet() {
return "" + this.greeting + "
";
-- };
-- Greeter.prototype.fn = function () {
-- return this.greeting;
-- };
-- Object.defineProperty(Greeter.prototype, "greetings", {
-- get: function () {
-- return this.greeting;
-- },
-- set: function (greetings) {
-- this.greeting = greetings;
-- },
-- enumerable: false,
-- configurable: true
-- });
-- return Greeter;
--}());
-+ }
+ }
+ x;
+ x1 = 10;
-+ fn() {
-+ return this.greeting;
-+ }
-+ get greetings() {
-+ return this.greeting;
-+ }
-+ set greetings(greetings) {
-+ this.greeting = greetings;
-+ }
-+}
- //# sourceMappingURL=sourceMapValidationClass.js.map
\ No newline at end of file
+ fn() {
+ return this.greeting;
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClass.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClass.js.map.diff
index 3193eb3240..7091526fa6 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClass.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClass.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMapValidationClass.js.map
@@= skipped -0, +0 lines =@@
//// [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,dmFyIEdyZWV0ZXIgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gR3JlZXRlcihncmVldGluZykgew0KICAgICAgICB2YXIgYiA9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XRpbmdzOiBzdHJpbmcpIHsKICAgICAgICB0aGlzLmdyZWV0aW5nID0gZ3JlZXRpbmdzOwogICAgfQp9
+-{"version":3,"file":"sourceMapValidationClass.js","sourceRoot":"","sources":["sourceMapValidationClass.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO;IACT,YAAmB,QAAgB,EAAE,GAAG,CAAW;QAAhC,aAAQ,GAAR,QAAQ,CAAQ;QAM3B,OAAE,GAAW,EAAE,CAAC;IALxB,CAAC;IACD,KAAK;QACD,OAAO,MAAM,GAAG,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5C,CAAC;IAGO,EAAE;QACN,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IACD,IAAI,SAAS;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IACD,IAAI,SAAS,CAAC,SAAiB;QAC3B,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;IAC9B,CAAC;CACJ"}
+-//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgR3JlZXRlciB7DQogICAgY29uc3RydWN0b3IoZ3JlZXRpbmcsIC4uLmIpIHsNCiAgICAgICAgdGhpcy5ncmVldGluZyA9IGdyZWV0aW5nOw0KICAgICAgICB0aGlzLngxID0gMTA7DQogICAgfQ0KICAgIGdyZWV0KCkgew0KICAgICAgICByZXR1cm4gIjxoMT4iICsgdGhpcy5ncmVldGluZyArICI8L2gxPiI7DQogICAgfQ0KICAgIGZuKCkgew0KICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsNCiAgICB9DQogICAgZ2V0IGdyZWV0aW5ncygpIHsNCiAgICAgICAgcmV0dXJuIHRoaXMuZ3JlZXRpbmc7DQogICAgfQ0KICAgIHNldCBncmVldGluZ3MoZ3JlZXRpbmdzKSB7DQogICAgICAgIHRoaXMuZ3JlZXRpbmcgPSBncmVldGluZ3M7DQogICAgfQ0KfQ0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTW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R1cm4gdGhpcy5ncmVldGluZzsKICAgIH0KICAgIHNldCBncmVldGluZ3MoZ3JlZXRpbmdzOiBzdHJpbmcpIHsKICAgICAgICB0aGlzLmdyZWV0aW5nID0gZ3JlZXRpbmdzOwogICAgfQp9
+{"version":3,"file":"sourceMapValidationClass.js","sourceRoot":"","sources":["sourceMapValidationClass.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO;IACU,QAAQ;IAA3B,YAAmB,QAAgB,EAAE,GAAG,CAAW,EAAE;wBAAlC,QAAQ;IAA2B,CACrD;IACD,KAAK,GAAG;QACJ,OAAO,MAAM,GAAG,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAAA,CAC3C;IACO,CAAC,CAAS;IACV,EAAE,GAAW,EAAE,CAAC;IAChB,EAAE,GAAG;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;IAAA,CACxB;IACD,IAAI,SAAS,GAAG;QACZ,OAAO,IAAI,CAAC,QAAQ,CAAC;IAAA,CACxB;IACD,IAAI,SAAS,CAAC,SAAiB,EAAE;QAC7B,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;IAAA,CAC7B;CACJ"}
+//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgR3JlZXRlciB7DQogICAgZ3JlZXRpbmc7DQogICAgY29uc3RydWN0b3IoZ3JlZXRpbmcsIC4uLmIpIHsNCiAgICAgICAgdGhpcy5ncmVldGluZyA9IGdyZWV0aW5nOw0KICAgIH0NCiAgICBncmVldCgpIHsNCiAgICAgICAgcmV0dXJuICI8aDE+IiArIHRoaXMuZ3JlZXRpbmcgKyAiPC9oMT4iOw0KICAgIH0NCiAgICB4Ow0KICAgIHgxID0gMTA7DQogICAgZm4oKSB7DQogICAgICAgIHJldHVybiB0aGlzLmdyZWV0aW5nOw0KICAgIH0NCiAgICBnZXQgZ3JlZXRpbmdzKCkgew0KICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsNCiAgICB9DQogICAgc2V0IGdyZWV0aW5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HByaXZhdGUgeDogc3RyaW5nOwogICAgcHJpdmF0ZSB4MTogbnVtYmVyID0gMTA7CiAgICBwcml2YXRlIGZuKCkgewogICAgICAgIHJldHVybiB0aGlzLmdyZWV0aW5nOwogICAgfQogICAgZ2V0IGdyZWV0aW5ncygpIHsKICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsKICAgIH0KICAgIHNldCBncmVldGluZ3MoZ3JlZXRpbmdzOiBzdHJpbmcpIHsKICAgICAgICB0aGlzLmdyZWV0aW5nID0gZ3JlZXRpbmdzOwogICAgfQp9
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClass.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClass.sourcemap.txt.diff
index cb53603b89..1366f25c89 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClass.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClass.sourcemap.txt.diff
@@ -1,32 +1,18 @@
--- old.sourceMapValidationClass.sourcemap.txt
+++ new.sourceMapValidationClass.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:sourceMapValidationClass.js
- sourceFile:sourceMapValidationClass.ts
- -------------------------------------------------------------------
-->>>var Greeter = /** @class */ (function () {
--1 >
--2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-+>>>class Greeter {
-+1 >
-+2 >^^^^^^
-+3 > ^^^^^^^
+@@= skipped -11, +11 lines =@@
+ 1 >
+ 2 >^^^^^^
+ 3 > ^^^^^^^
+-4 > ^^^^^^^^^^^^^^^^^^^^^->
+4 > ^->
-+1 >
-+2 >class
-+3 > Greeter
- 1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
-----
-->>> function Greeter(greeting) {
--1->^^^^
--2 > ^^^^^^^^^^^^^^^^^
--3 > ^^^^^^^^
--1->class Greeter {
-- >
-+2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0)
-+3 >Emitted(1, 14) Source(1, 14) + SourceIndex(0)
-+---
+ 1 >
+ 2 >class
+ 3 > Greeter
+@@= skipped -8, +8 lines =@@
+ 2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0)
+ 3 >Emitted(1, 14) Source(1, 14) + SourceIndex(0)
+ ---
+>>> greeting;
+1->^^^^
+2 > ^^^^^^^^
@@ -37,64 +23,30 @@
+1->Emitted(2, 5) Source(2, 24) + SourceIndex(0)
+2 >Emitted(2, 13) Source(2, 32) + SourceIndex(0)
+---
-+>>> constructor(greeting, ...b) {
-+1->^^^^
-+2 > ^^^^^^^^^^^^
-+3 > ^^^^^^^^
-+4 > ^^
-+5 > ^^^
-+6 > ^
+ >>> constructor(greeting, ...b) {
+ 1->^^^^
+ 2 > ^^^^^^^^^^^^
+@@= skipped -7, +17 lines =@@
+ 4 > ^^
+ 5 > ^^^
+ 6 > ^
+-7 > ^^^^->
+-1-> {
+- >
+7 > ^^
+8 > ^^->
+1->
2 > constructor(public
--3 > greeting: string
+ 3 > greeting: string
+ 4 > ,
+ 5 > ...
+ 6 > b: 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)
-----
-->>> var b = [];
--1 >^^^^^^^^
--2 > ^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >,
--2 > ...b: string[]
--1 >Emitted(3, 9) Source(2, 42) + SourceIndex(0)
--2 >Emitted(3, 20) Source(2, 56) + SourceIndex(0)
-----
-->>> for (var _i = 1; _i < arguments.length; _i++) {
--1->^^^^^^^^^^^^^
--2 > ^^^^^^^^^^
--3 > ^^
--4 > ^^^^^^^^^^^^^^^^^^^^^
--5 > ^^
--6 > ^^^^
--1->
--2 > ...b: string[]
--3 >
--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)
-----
-->>> 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)
-----
-->>> }
-+3 > greeting: string
-+4 > ,
-+5 > ...
-+6 > b: string[]
+-2 >Emitted(2, 17) Source(2, 24) + SourceIndex(0)
+-3 >Emitted(2, 25) Source(2, 40) + SourceIndex(0)
+-4 >Emitted(2, 27) Source(2, 42) + SourceIndex(0)
+-5 >Emitted(2, 30) Source(2, 45) + SourceIndex(0)
+-6 >Emitted(2, 31) Source(2, 56) + SourceIndex(0)
+7 > )
+1->Emitted(3, 5) Source(2, 5) + SourceIndex(0)
+2 >Emitted(3, 17) Source(2, 24) + SourceIndex(0)
@@ -103,23 +55,25 @@
+5 >Emitted(3, 30) Source(2, 45) + SourceIndex(0)
+6 >Emitted(3, 31) Source(2, 56) + SourceIndex(0)
+7 >Emitted(3, 33) Source(2, 58) + SourceIndex(0)
-+---
+ ---
>>> this.greeting = greeting;
--1 >^^^^^^^^
+-1->^^^^^^^^
-2 > ^^^^^^^^^^^^^
-3 > ^^^
-4 > ^^^^^^^^
-5 > ^
--1 >
++1->^^^^^^^^^^^^^^^^^^^^^^^^
++2 > ^^^^^^^^
+ 1->
-2 > greeting
-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(3, 9) Source(2, 24) + SourceIndex(0)
+-2 >Emitted(3, 22) Source(2, 32) + SourceIndex(0)
+-3 >Emitted(3, 25) Source(2, 24) + SourceIndex(0)
+-4 >Emitted(3, 33) Source(2, 32) + SourceIndex(0)
+-5 >Emitted(3, 34) Source(2, 40) + SourceIndex(0)
----
->>> this.x1 = 10;
-1 >^^^^^^^^
@@ -138,14 +92,11 @@
-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->^^^^^^^^^^^^^^^^^^^^^^^^
-+2 > ^^^^^^^^
-+1->
+-1 >Emitted(4, 9) Source(8, 13) + SourceIndex(0)
+-2 >Emitted(4, 16) Source(8, 15) + SourceIndex(0)
+-3 >Emitted(4, 19) Source(8, 26) + SourceIndex(0)
+-4 >Emitted(4, 21) Source(8, 28) + SourceIndex(0)
+-5 >Emitted(4, 22) Source(8, 29) + SourceIndex(0)
+2 > greeting
+1->Emitted(4, 25) Source(2, 24) + SourceIndex(0)
+2 >Emitted(4, 33) Source(2, 32) + SourceIndex(0)
@@ -153,104 +104,56 @@
>>> }
1 >^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 3 > ^^^^^^^^^->
-1 >
-2 > }
--1 >Emitted(9, 5) Source(3, 5) + SourceIndex(0)
--2 >Emitted(9, 6) Source(3, 6) + SourceIndex(0)
-+3 > ^^^^^^^^^->
+-1 >Emitted(5, 5) Source(3, 5) + SourceIndex(0)
+1 >: string, ...b: string[]) {
+2 >
+ > }
+1 >Emitted(5, 5) Source(2, 59) + SourceIndex(0)
-+2 >Emitted(5, 6) Source(3, 6) + SourceIndex(0)
+ 2 >Emitted(5, 6) Source(3, 6) + SourceIndex(0)
---
-->>> Greeter.prototype.greet = function () {
-+>>> greet() {
+ >>> greet() {
1->^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^^^^^^^^^^->
-+2 > ^^^^^
+ 2 > ^^^^^
+-3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+3 > ^^^
+4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
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)
+3 > ()
-+1->Emitted(6, 5) Source(4, 5) + SourceIndex(0)
-+2 >Emitted(6, 10) Source(4, 10) + SourceIndex(0)
+ 1->Emitted(6, 5) Source(4, 5) + SourceIndex(0)
+ 2 >Emitted(6, 10) Source(4, 10) + SourceIndex(0)
+3 >Emitted(6, 13) Source(4, 13) + SourceIndex(0)
---
>>> return "" + this.greeting + "
";
1->^^^^^^^^
-@@= skipped -129, +88 lines =@@
+@@= skipped -85, +59 lines =@@
8 > ^^^
9 > ^^^^^^^
10> ^
--1->greet() {
+-1->() {
+1->{
>
2 > return
3 > ""
-@@= skipped -11, +11 lines =@@
- 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 >^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
+@@= skipped -25, +25 lines =@@
+ >>> }
+ 1 >^^^^
+ 2 > ^
+-3 > ^^^^^^->
++3 > ^^->
+ 1 >
- >
-2 > }
--1 >Emitted(12, 5) Source(6, 5) + SourceIndex(0)
--2 >Emitted(12, 6) Source(6, 6) + SourceIndex(0)
-----
-->>> Greeter.prototype.fn = function () {
--1->^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^->
--1->
-- > private x: string;
-- > private x1: number = 10;
-+1->Emitted(7, 9) Source(5, 9) + SourceIndex(0)
-+2 >Emitted(7, 16) Source(5, 16) + SourceIndex(0)
-+3 >Emitted(7, 22) Source(5, 22) + SourceIndex(0)
-+4 >Emitted(7, 25) Source(5, 25) + SourceIndex(0)
-+5 >Emitted(7, 29) Source(5, 29) + SourceIndex(0)
-+6 >Emitted(7, 30) Source(5, 30) + SourceIndex(0)
-+7 >Emitted(7, 38) Source(5, 38) + SourceIndex(0)
-+8 >Emitted(7, 41) Source(5, 41) + SourceIndex(0)
-+9 >Emitted(7, 48) Source(5, 48) + SourceIndex(0)
-+10>Emitted(7, 49) Source(5, 49) + SourceIndex(0)
-+---
-+>>> }
-+1 >^^^^
-+2 > ^
-+3 > ^^->
-+1 >
+-1 >Emitted(8, 5) Source(6, 5) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(8, 5) Source(5, 49) + SourceIndex(0)
-+2 >Emitted(8, 6) Source(6, 6) + SourceIndex(0)
-+---
+ 2 >Emitted(8, 6) Source(6, 6) + SourceIndex(0)
+ ---
+>>> x;
+1->^^^^
+2 > ^
@@ -282,18 +185,21 @@
+4 >Emitted(10, 12) Source(8, 28) + SourceIndex(0)
+5 >Emitted(10, 13) Source(8, 29) + SourceIndex(0)
+---
-+>>> fn() {
+ >>> fn() {
+-1->^^^^
+1 >^^^^
-+2 > ^^
+ 2 > ^^
+-3 > ^^^^^^^^^^^^^^^^^^^^^^^^->
+-1->
+- > private x: string;
+- > private x1: number = 10;
+3 > ^^^
+4 > ^^^^^^^^^^^^^^^^^^^^^->
+1 >
> 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(9, 5) Source(9, 13) + SourceIndex(0)
+-2 >Emitted(9, 7) Source(9, 15) + SourceIndex(0)
+3 > ()
+1 >Emitted(11, 5) Source(9, 13) + SourceIndex(0)
+2 >Emitted(11, 7) Source(9, 15) + SourceIndex(0)
@@ -301,11 +207,11 @@
---
>>> return this.greeting;
1->^^^^^^^^
-@@= skipped -43, +72 lines =@@
+@@= skipped -26, +58 lines =@@
4 > ^
5 > ^^^^^^^^
6 > ^
--1->private fn() {
+-1->() {
+1->{
>
2 > return
@@ -313,12 +219,12 @@
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(10, 9) Source(10, 9) + SourceIndex(0)
+-2 >Emitted(10, 16) Source(10, 16) + SourceIndex(0)
+-3 >Emitted(10, 20) Source(10, 20) + SourceIndex(0)
+-4 >Emitted(10, 21) Source(10, 21) + SourceIndex(0)
+-5 >Emitted(10, 29) Source(10, 29) + SourceIndex(0)
+-6 >Emitted(10, 30) Source(10, 30) + SourceIndex(0)
+1->Emitted(12, 9) Source(10, 9) + SourceIndex(0)
+2 >Emitted(12, 16) Source(10, 16) + SourceIndex(0)
+3 >Emitted(12, 20) Source(10, 20) + SourceIndex(0)
@@ -326,224 +232,101 @@
+5 >Emitted(12, 29) Source(10, 29) + SourceIndex(0)
+6 >Emitted(12, 30) Source(10, 30) + SourceIndex(0)
---
-->>> };
-+>>> }
+ >>> }
1 >^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^->
+ 3 > ^^^^^^^^^^^^^^^^^->
1 >
- >
-2 > }
--1 >Emitted(15, 5) Source(11, 5) + SourceIndex(0)
--2 >Emitted(15, 6) Source(11, 6) + SourceIndex(0)
+-1 >Emitted(11, 5) Source(11, 5) + SourceIndex(0)
+-2 >Emitted(11, 6) Source(11, 6) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(13, 5) Source(10, 30) + SourceIndex(0)
+2 >Emitted(13, 6) Source(11, 6) + SourceIndex(0)
---
-->>> Object.defineProperty(Greeter.prototype, "greetings", {
-+>>> get greetings() {
+ >>> get greetings() {
1->^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-+2 > ^^^^
-+3 > ^^^^^^^^^
+ 2 > ^^^^
+ 3 > ^^^^^^^^^
+-4 > ^^^^^^^^^^^^^->
+4 > ^^^
+5 > ^^^^^^^^^^->
1->
>
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)
-----
-->>> get: function () {
--1 >^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^->
--1 >
--1 >Emitted(17, 14) Source(12, 5) + SourceIndex(0)
-----
-->>> return this.greeting;
--1->^^^^^^^^^^^^
--2 > ^^^^^^^
--3 > ^^^^
--4 > ^
--5 > ^^^^^^^^
--6 > ^
--1->get greetings() {
-- >
--2 > return
--3 > this
--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 >^^^^^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 > }
--1 >Emitted(19, 9) Source(14, 5) + SourceIndex(0)
--2 >Emitted(19, 10) Source(14, 6) + SourceIndex(0)
-----
-->>> set: function (greetings) {
--1->^^^^^^^^^^^^^
--2 > ^^^^^^^^^^
--3 > ^^^^^^^^^
--4 > ^^^^^^^->
--1->
-- >
--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)
-----
-->>> this.greeting = greetings;
--1->^^^^^^^^^^^^
--2 > ^^^^
--3 > ^
--4 > ^^^^^^^^
--5 > ^^^
--6 > ^^^^^^^^^
--7 > ^
--1->) {
-- >
--2 > this
--3 > .
--4 > greeting
--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 >^^^^^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 > }
--1 >Emitted(22, 9) Source(17, 5) + SourceIndex(0)
--2 >Emitted(22, 10) Source(17, 6) + SourceIndex(0)
-----
-->>> enumerable: false,
-->>> configurable: true
-->>> });
--1->^^^^^^^
--2 > ^^^^^^^^^^^^^->
--1->
--1->Emitted(25, 8) Source(14, 6) + SourceIndex(0)
-----
-->>> return Greeter;
-+3 > greetings
+ 3 > greetings
+-1->Emitted(12, 5) Source(12, 5) + SourceIndex(0)
+-2 >Emitted(12, 9) Source(12, 9) + SourceIndex(0)
+-3 >Emitted(12, 18) Source(12, 18) + SourceIndex(0)
+4 > ()
+1->Emitted(14, 5) Source(12, 5) + SourceIndex(0)
+2 >Emitted(14, 9) Source(12, 9) + SourceIndex(0)
+3 >Emitted(14, 18) Source(12, 18) + SourceIndex(0)
+4 >Emitted(14, 21) Source(12, 21) + SourceIndex(0)
-+---
-+>>> return this.greeting;
-+1->^^^^^^^^
-+2 > ^^^^^^^
-+3 > ^^^^
-+4 > ^
-+5 > ^^^^^^^^
-+6 > ^
+ ---
+ >>> return this.greeting;
+ 1->^^^^^^^^
+@@= skipped -44, +47 lines =@@
+ 4 > ^
+ 5 > ^^^^^^^^
+ 6 > ^
+-1->() {
+1->{
-+ >
-+2 > return
-+3 > this
-+4 > .
-+5 > greeting
-+6 > ;
+ >
+ 2 > return
+ 3 > this
+ 4 > .
+ 5 > greeting
+ 6 > ;
+-1->Emitted(13, 9) Source(13, 9) + SourceIndex(0)
+-2 >Emitted(13, 16) Source(13, 16) + SourceIndex(0)
+-3 >Emitted(13, 20) Source(13, 20) + SourceIndex(0)
+-4 >Emitted(13, 21) Source(13, 21) + SourceIndex(0)
+-5 >Emitted(13, 29) Source(13, 29) + SourceIndex(0)
+-6 >Emitted(13, 30) Source(13, 30) + SourceIndex(0)
+1->Emitted(15, 9) Source(13, 9) + SourceIndex(0)
+2 >Emitted(15, 16) Source(13, 16) + SourceIndex(0)
+3 >Emitted(15, 20) Source(13, 20) + SourceIndex(0)
+4 >Emitted(15, 21) Source(13, 21) + SourceIndex(0)
+5 >Emitted(15, 29) Source(13, 29) + SourceIndex(0)
+6 >Emitted(15, 30) Source(13, 30) + SourceIndex(0)
-+---
-+>>> }
-+1 >^^^^
-+2 > ^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
+ ---
+ >>> }
+ 1 >^^^^
+ 2 > ^
+ 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 1 >
+- >
+-2 > }
+-1 >Emitted(14, 5) Source(14, 5) + SourceIndex(0)
+-2 >Emitted(14, 6) Source(14, 6) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(16, 5) Source(13, 30) + SourceIndex(0)
+2 >Emitted(16, 6) Source(14, 6) + SourceIndex(0)
-+---
-+>>> set greetings(greetings) {
+ ---
+ >>> set greetings(greetings) {
1->^^^^
--2 > ^^^^^^^^^^^^^^
-+2 > ^^^^
-+3 > ^^^^^^^^^
-+4 > ^
-+5 > ^^^^^^^^^
+@@= skipped -30, +30 lines =@@
+ 3 > ^^^^^^^^^
+ 4 > ^
+ 5 > ^^^^^^^^^
+-6 > ^^^^^^^^->
+6 > ^^
+7 > ^^^^^^->
1->
-- > set greetings(greetings: string) {
-- > this.greeting = greetings;
-- > }
-- >
--2 > }
--1->Emitted(26, 5) Source(18, 1) + SourceIndex(0)
--2 >Emitted(26, 19) Source(18, 2) + SourceIndex(0)
-----
-->>>}());
--1 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 >}
--3 >
--4 > class Greeter {
-- > constructor(public greeting: string, ...b: string[]) {
-- > }
-- > greet() {
-- > return "" + this.greeting + "
";
-- > }
-- > private x: string;
-- > private x1: number = 10;
-- > private fn() {
-- > return this.greeting;
-- > }
-- > get greetings() {
-- > return this.greeting;
-- > }
-- > set greetings(greetings: string) {
-- > 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)
-+ >
-+2 > set
-+3 > greetings
-+4 > (
-+5 > greetings: string
+ >
+ 2 > set
+ 3 > greetings
+ 4 > (
+ 5 > greetings: string
+-1->Emitted(15, 5) Source(15, 5) + SourceIndex(0)
+-2 >Emitted(15, 9) Source(15, 9) + SourceIndex(0)
+-3 >Emitted(15, 18) Source(15, 18) + SourceIndex(0)
+-4 >Emitted(15, 19) Source(15, 19) + SourceIndex(0)
+-5 >Emitted(15, 28) Source(15, 36) + SourceIndex(0)
+6 > )
+1->Emitted(17, 5) Source(15, 5) + SourceIndex(0)
+2 >Emitted(17, 9) Source(15, 9) + SourceIndex(0)
@@ -551,23 +334,29 @@
+4 >Emitted(17, 19) Source(15, 19) + SourceIndex(0)
+5 >Emitted(17, 28) Source(15, 36) + SourceIndex(0)
+6 >Emitted(17, 30) Source(15, 38) + SourceIndex(0)
-+---
-+>>> this.greeting = greetings;
-+1->^^^^^^^^
-+2 > ^^^^
-+3 > ^
-+4 > ^^^^^^^^
-+5 > ^^^
-+6 > ^^^^^^^^^
-+7 > ^
+ ---
+ >>> this.greeting = greetings;
+ 1->^^^^^^^^
+@@= skipped -21, +24 lines =@@
+ 5 > ^^^
+ 6 > ^^^^^^^^^
+ 7 > ^
+-1->) {
+1->{
-+ >
-+2 > this
-+3 > .
-+4 > greeting
-+5 > =
-+6 > greetings
-+7 > ;
+ >
+ 2 > this
+ 3 > .
+@@= skipped -8, +8 lines =@@
+ 5 > =
+ 6 > greetings
+ 7 > ;
+-1->Emitted(16, 9) Source(16, 9) + SourceIndex(0)
+-2 >Emitted(16, 13) Source(16, 13) + SourceIndex(0)
+-3 >Emitted(16, 14) Source(16, 14) + SourceIndex(0)
+-4 >Emitted(16, 22) Source(16, 22) + SourceIndex(0)
+-5 >Emitted(16, 25) Source(16, 25) + SourceIndex(0)
+-6 >Emitted(16, 34) Source(16, 34) + SourceIndex(0)
+-7 >Emitted(16, 35) Source(16, 35) + SourceIndex(0)
+1->Emitted(18, 9) Source(16, 9) + SourceIndex(0)
+2 >Emitted(18, 13) Source(16, 13) + SourceIndex(0)
+3 >Emitted(18, 14) Source(16, 14) + SourceIndex(0)
@@ -575,21 +364,26 @@
+5 >Emitted(18, 25) Source(16, 25) + SourceIndex(0)
+6 >Emitted(18, 34) Source(16, 34) + SourceIndex(0)
+7 >Emitted(18, 35) Source(16, 35) + SourceIndex(0)
-+---
-+>>> }
-+1 >^^^^
-+2 > ^
-+1 >
+ ---
+ >>> }
+ 1 >^^^^
+ 2 > ^
+ 1 >
+- >
+-2 > }
+-1 >Emitted(17, 5) Source(17, 5) + SourceIndex(0)
+-2 >Emitted(17, 6) Source(17, 6) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(19, 5) Source(16, 35) + SourceIndex(0)
+2 >Emitted(19, 6) Source(17, 6) + SourceIndex(0)
-+---
-+>>>}
-+1 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >}
+ ---
+ >>>}
+ 1 >^
+ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 1 >
+ >}
+-1 >Emitted(18, 2) Source(18, 2) + SourceIndex(0)
+1 >Emitted(20, 2) Source(18, 2) + SourceIndex(0)
---
>>>//# sourceMappingURL=sourceMapValidationClass.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructor.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructor.js.diff
index 7584357ab3..7120922ef9 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructor.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructor.js.diff
@@ -1,18 +1,14 @@
--- old.sourceMapValidationClassWithDefaultConstructor.js
+++ new.sourceMapValidationClassWithDefaultConstructor.js
-@@= skipped -6, +6 lines =@@
- }
+@@= skipped -7, +7 lines =@@
//// [sourceMapValidationClassWithDefaultConstructor.js]
--var Greeter = /** @class */ (function () {
-- function Greeter() {
+ class Greeter {
+- constructor() {
- this.a = 10;
- this.nameA = "Ten";
- }
-- return Greeter;
--}());
-+class Greeter {
+ a = 10;
+ nameA = "Ten";
-+}
+ }
//# sourceMappingURL=sourceMapValidationClassWithDefaultConstructor.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructor.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructor.js.map.diff
index 9e2959966e..2b23e51833 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructor.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructor.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMapValidationClassWithDefaultConstructor.js.map
@@= skipped -0, +0 lines =@@
//// [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,MAAM,OAAO;IAAb;QACW,MAAC,GAAG,EAAE,CAAC;QACP,UAAK,GAAG,KAAK,CAAC;IACzB,CAAC;CAAA"}
+-//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgR3JlZXRlciB7DQogICAgY29uc3RydWN0b3IoKSB7DQogICAgICAgIHRoaXMuYSA9IDEwOw0KICAgICAgICB0aGlzLm5hbWVBID0gIlRlbiI7DQogICAgfQ0KfQ0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3Rvci5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3Rvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25DbGFzc1dpdGhEZWZhdWx0Q29uc3RydWN0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPO0lBQWI7UUFDVyxNQUFDLEdBQUcsRUFBRSxDQUFDO1FBQ1AsVUFBSyxHQUFHLEtBQUssQ0FBQztJQUN6QixDQUFDO0NBQUEifQ==,Y2xhc3MgR3JlZXRlciB7CiAgICBwdWJsaWMgYSA9IDEwOwogICAgcHVibGljIG5hbWVBID0gIlRlbiI7Cn0=
+{"version":3,"file":"sourceMapValidationClassWithDefaultConstructor.js","sourceRoot":"","sources":["sourceMapValidationClassWithDefaultConstructor.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO;IACF,CAAC,GAAG,EAAE,CAAC;IACP,KAAK,GAAG,KAAK,CAAC;CACxB"}
+//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgR3JlZXRlciB7DQogICAgYSA9IDEwOw0KICAgIG5hbWVBID0gIlRlbiI7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uQ2xhc3NXaXRoRGVmYXVsdENvbnN0cnVjdG9yLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3Rvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25DbGFzc1dpdGhEZWZhdWx0Q29uc3RydWN0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPO0lBQ0YsQ0FBQyxHQUFHLEVBQUUsQ0FBQztJQUNQLEtBQUssR0FBRyxLQUFLLENBQUM7Q0FDeEIifQ==,Y2xhc3MgR3JlZXRlciB7CiAgICBwdWJsaWMgYSA9IDEwOwogICAgcHVibGljIG5hbWVBID0gIlRlbiI7Cn0=
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructor.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructor.sourcemap.txt.diff
index 46346a0a0c..6d6601e1a7 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructor.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructor.sourcemap.txt.diff
@@ -1,23 +1,18 @@
--- old.sourceMapValidationClassWithDefaultConstructor.sourcemap.txt
+++ new.sourceMapValidationClassWithDefaultConstructor.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:sourceMapValidationClassWithDefaultConstructor.js
- sourceFile:sourceMapValidationClassWithDefaultConstructor.ts
- -------------------------------------------------------------------
-->>>var Greeter = /** @class */ (function () {
--1 >
--2 >^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-+>>>class Greeter {
-+1 >
-+2 >^^^^^^
-+3 > ^^^^^^^
-+1 >
-+2 >class
-+3 > Greeter
- 1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
-----
-->>> function Greeter() {
+@@= skipped -11, +11 lines =@@
+ 1 >
+ 2 >^^^^^^
+ 3 > ^^^^^^^
+-4 > ^^^^^^^->
+ 1 >
+ 2 >class
+ 3 > Greeter
+@@= skipped -8, +7 lines =@@
+ 2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0)
+ 3 >Emitted(1, 14) Source(1, 14) + SourceIndex(0)
+ ---
+->>> constructor() {
-1->^^^^
-2 > ^^^^^^^^^^^^^^^^^->
-1->
@@ -61,13 +56,9 @@
-5 >Emitted(4, 28) Source(3, 26) + SourceIndex(0)
----
->>> }
-+2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0)
-+3 >Emitted(1, 14) Source(1, 14) + SourceIndex(0)
-+---
+>>> a = 10;
1 >^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^->
-1 >
- >
-2 > }
@@ -88,19 +79,14 @@
+3 >Emitted(2, 9) Source(2, 16) + SourceIndex(0)
+4 >Emitted(2, 11) Source(2, 18) + SourceIndex(0)
+5 >Emitted(2, 12) Source(2, 19) + SourceIndex(0)
- ---
-->>> return Greeter;
++---
+>>> nameA = "Ten";
- 1->^^^^
--2 > ^^^^^^^^^^^^^^
++1->^^^^
+2 > ^^^^^
+3 > ^^^
+4 > ^^^^^
+5 > ^
- 1->
--2 > }
--1->Emitted(6, 5) Source(4, 1) + SourceIndex(0)
--2 >Emitted(6, 19) Source(4, 2) + SourceIndex(0)
++1->
+ > public
+2 > nameA
+3 > =
@@ -112,27 +98,11 @@
+4 >Emitted(3, 18) Source(3, 25) + SourceIndex(0)
+5 >Emitted(3, 19) Source(3, 26) + SourceIndex(0)
---
-->>>}());
--1 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 >}
--3 >
--4 > class Greeter {
-- > 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 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
+ >>>}
+ 1 >^
+ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 1 >
+-1 >Emitted(6, 2) Source(4, 2) + SourceIndex(0)
+ >}
+1 >Emitted(4, 2) Source(4, 2) + SourceIndex(0)
---
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.diff
index 77e47aa5b1..412f3a09f1 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.diff
@@ -1,19 +1,14 @@
--- old.sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js
+++ new.sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js
-@@= skipped -6, +6 lines =@@
- }
+@@= skipped -7, +7 lines =@@
//// [sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js]
--var Greeter = /** @class */ (function () {
-- function Greeter() {
-- var _this = this;
+ class Greeter {
+- constructor() {
- this.a = 10;
-- this.returnA = function () { return _this.a; };
+- this.returnA = () => this.a;
- }
-- return Greeter;
--}());
-+class Greeter {
+ a = 10;
+ returnA = () => this.a;
-+}
+ }
//# sourceMappingURL=sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.map.diff
index ae6669eb9d..6894b490a7 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.map
@@= skipped -0, +0 lines =@@
//// [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,MAAM,OAAO;IAAb;QACW,MAAC,GAAG,EAAE,CAAC;QACP,YAAO,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;IAClC,CAAC;CAAA"}
+-//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgR3JlZXRlciB7DQogICAgY29uc3RydWN0b3IoKSB7DQogICAgICAgIHRoaXMuYSA9IDEwOw0KICAgICAgICB0aGlzLnJldHVybkEgPSAoKSA9PiB0aGlzLmE7DQogICAgfQ0KfQ0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3RvckFuZENhcHR1cmVkVGhpc1N0YXRlbWVudC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3RvckFuZENhcHR1cmVkVGhpc1N0YXRlbWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25DbGFzc1dpdGhEZWZhdWx0Q29uc3RydWN0b3JBbmRDYXB0dXJlZFRoaXNTdGF0ZW1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPO0lBQWI7UUFDVyxNQUFDLEdBQUcsRUFBRSxDQUFDO1FBQ1AsWUFBTyxHQUFHLEdBQUcsRUFBRSxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUM7SUFDbEMsQ0FBQztDQUFBIn0=,Y2xhc3MgR3JlZXRlciB7CiAgICBwdWJsaWMgYSA9IDEwOwogICAgcHVibGljIHJldHVybkEgPSAoKSA9PiB0aGlzLmE7Cn0=
+{"version":3,"file":"sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js","sourceRoot":"","sources":["sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO;IACF,CAAC,GAAG,EAAE,CAAC;IACP,OAAO,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;CACjC"}
+//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgR3JlZXRlciB7DQogICAgYSA9IDEwOw0KICAgIHJldHVybkEgPSAoKSA9PiB0aGlzLmE7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uQ2xhc3NXaXRoRGVmYXVsdENvbnN0cnVjdG9yQW5kQ2FwdHVyZWRUaGlzU3RhdGVtZW50LmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3RvckFuZENhcHR1cmVkVGhpc1N0YXRlbWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25DbGFzc1dpdGhEZWZhdWx0Q29uc3RydWN0b3JBbmRDYXB0dXJlZFRoaXNTdGF0ZW1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPO0lBQ0YsQ0FBQyxHQUFHLEVBQUUsQ0FBQztJQUNQLE9BQU8sR0FBRyxHQUFHLEVBQUUsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDO0NBQ2pDIn0=,Y2xhc3MgR3JlZXRlciB7CiAgICBwdWJsaWMgYSA9IDEwOwogICAgcHVibGljIHJldHVybkEgPSAoKSA9PiB0aGlzLmE7Cn0=
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.sourcemap.txt.diff
index 5078f8b5ea..c182a36be4 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.sourcemap.txt.diff
@@ -1,106 +1,84 @@
--- old.sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.sourcemap.txt
+++ new.sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js
- sourceFile:sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.ts
- -------------------------------------------------------------------
-->>>var Greeter = /** @class */ (function () {
--1 >
--2 >^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-+>>>class Greeter {
-+1 >
-+2 >^^^^^^
-+3 > ^^^^^^^
-+1 >
-+2 >class
-+3 > Greeter
- 1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
-----
-->>> function Greeter() {
+@@= skipped -11, +11 lines =@@
+ 1 >
+ 2 >^^^^^^
+ 3 > ^^^^^^^
+-4 > ^^^^^^^->
+ 1 >
+ 2 >class
+ 3 > Greeter
+@@= skipped -8, +7 lines =@@
+ 2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0)
+ 3 >Emitted(1, 14) Source(1, 14) + SourceIndex(0)
+ ---
+->>> constructor() {
-1->^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^->
+-2 > ^^^^^^^^^^^^^^^^^->
-1->
-1->Emitted(2, 5) Source(1, 1) + SourceIndex(0)
----
-->>> var _this = this;
--1->^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^
--1->
--2 > class Greeter {
-- > 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)
-----
->>> this.a = 10;
--1 >^^^^^^^^
+-1->^^^^^^^^
-2 > ^^^^^^
-3 > ^^^
-4 > ^^
-5 > ^
--6 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
+-6 > ^^^^^^^^^^^^^^^^^->
+-1->class Greeter {
+- > public
-2 > a
-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(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)
----
-->>> this.returnA = function () { return _this.a; };
+->>> this.returnA = () => this.a;
-1->^^^^^^^^
-2 > ^^^^^^^^^^^^
-3 > ^^^
--4 > ^^^^^^^^^^^^^^
--5 > ^^^^^^^
--6 > ^^^^^
--7 > ^
--8 > ^
--9 > ^^
--10> ^
--11> ^
+-4 > ^^^
+-5 > ^^
+-6 > ^
+-7 > ^^^^
+-8 > ^
+-9 > ^
+-10> ^
-1->
- > public
-2 > returnA
-3 > =
--4 > () =>
--5 >
--6 > this
--7 > .
--8 > a
--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)
+-4 > ()
+-5 > =>
+-6 >
+-7 > this
+-8 > .
+-9 > a
+-10> ;
+-1->Emitted(4, 9) Source(3, 12) + SourceIndex(0)
+-2 >Emitted(4, 21) Source(3, 19) + SourceIndex(0)
+-3 >Emitted(4, 24) Source(3, 22) + SourceIndex(0)
+-4 >Emitted(4, 27) Source(3, 25) + SourceIndex(0)
+-5 >Emitted(4, 29) Source(3, 27) + SourceIndex(0)
+-6 >Emitted(4, 30) Source(3, 28) + SourceIndex(0)
+-7 >Emitted(4, 34) Source(3, 32) + SourceIndex(0)
+-8 >Emitted(4, 35) Source(3, 33) + SourceIndex(0)
+-9 >Emitted(4, 36) Source(3, 34) + SourceIndex(0)
+-10>Emitted(4, 37) Source(3, 35) + SourceIndex(0)
----
->>> }
-+2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0)
-+3 >Emitted(1, 14) Source(1, 14) + SourceIndex(0)
-+---
+>>> a = 10;
1 >^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^->
-1 >
- >
-2 > }
--1 >Emitted(6, 5) Source(4, 1) + SourceIndex(0)
--2 >Emitted(6, 6) Source(4, 2) + SourceIndex(0)
+-1 >Emitted(5, 5) Source(4, 1) + SourceIndex(0)
+-2 >Emitted(5, 6) Source(4, 2) + SourceIndex(0)
+3 > ^^^
+4 > ^^
+5 > ^
@@ -116,11 +94,9 @@
+3 >Emitted(2, 9) Source(2, 16) + SourceIndex(0)
+4 >Emitted(2, 11) Source(2, 18) + SourceIndex(0)
+5 >Emitted(2, 12) Source(2, 19) + SourceIndex(0)
- ---
-->>> return Greeter;
++---
+>>> returnA = () => this.a;
- 1->^^^^
--2 > ^^^^^^^^^^^^^^
++1->^^^^
+2 > ^^^^^^^
+3 > ^^^
+4 > ^^^
@@ -130,10 +106,7 @@
+8 > ^
+9 > ^
+10> ^
- 1->
--2 > }
--1->Emitted(7, 5) Source(4, 1) + SourceIndex(0)
--2 >Emitted(7, 19) Source(4, 2) + SourceIndex(0)
++1->
+ > public
+2 > returnA
+3 > =
@@ -155,27 +128,11 @@
+9 >Emitted(3, 27) Source(3, 34) + SourceIndex(0)
+10>Emitted(3, 28) Source(3, 35) + SourceIndex(0)
---
-->>>}());
--1 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 >}
--3 >
--4 > class Greeter {
-- > 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 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
+ >>>}
+ 1 >^
+ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 1 >
+-1 >Emitted(6, 2) Source(4, 2) + SourceIndex(0)
+ >}
+1 >Emitted(4, 2) Source(4, 2) + SourceIndex(0)
---
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.diff
index c31927d166..2429b09383 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.diff
@@ -1,43 +1,15 @@
--- old.sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js
+++ new.sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js
-@@= skipped -9, +9 lines =@@
+@@= skipped -12, +12 lines =@@
+ class AbstractGreeter {
}
-
- //// [sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js]
--var __extends = (this && this.__extends) || (function () {
-- var extendStatics = function (d, b) {
-- extendStatics = Object.setPrototypeOf ||
-- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-- return extendStatics(d, b);
-- };
-- return function (d, b) {
-- if (typeof b !== "function" && b !== null)
-- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-- extendStatics(d, b);
-- function __() { this.constructor = d; }
-- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-- };
--})();
--var AbstractGreeter = /** @class */ (function () {
-- function AbstractGreeter() {
+ class Greeter extends AbstractGreeter {
+- constructor() {
+- super(...arguments);
+- this.a = 10;
+- this.nameA = "Ten";
- }
-- return AbstractGreeter;
--}());
--var Greeter = /** @class */ (function (_super) {
-- __extends(Greeter, _super);
-- function Greeter() {
-- var _this = _super !== null && _super.apply(this, arguments) || this;
-- _this.a = 10;
-- _this.nameA = "Ten";
-- return _this;
-- }
-- return Greeter;
--}(AbstractGreeter));
-+class AbstractGreeter {
-+}
-+class Greeter extends AbstractGreeter {
+ a = 10;
+ nameA = "Ten";
-+}
+ }
//# sourceMappingURL=sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.map.diff
index c075a30e20..60e1de32b6 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.map
@@= skipped -0, +0 lines =@@
//// [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,dmFyIF9fZXh0ZW5kcyA9ICh0aGlzICYmIHRoaXMuX19leHRlbmRzKSB8fCAoZnVuY3Rpb24gKCkgew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FDLEFBSEQsQ0FBc0IsZUFBZSxHQUdwQyJ9,Y2xhc3MgQWJzdHJhY3RHcmVldGVyIHsKfQoKY2xhc3MgR3JlZXRlciBleHRlbmRzIEFic3RyYWN0R3JlZXRlciB7CiAgICBwdWJsaWMgYSA9IDEwOwogICAgcHVibGljIG5hbWVBID0gIlRlbiI7Cn0=
+-{"version":3,"file":"sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js","sourceRoot":"","sources":["sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts"],"names":[],"mappings":"AAAA,MAAM,eAAe;CACpB;AAED,MAAM,OAAQ,SAAQ,eAAe;IAArC;;QACW,MAAC,GAAG,EAAE,CAAC;QACP,UAAK,GAAG,KAAK,CAAC;IACzB,CAAC;CAAA"}
+-//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgQWJzdHJhY3RHcmVldGVyIHsNCn0NCmNsYXNzIEdyZWV0ZXIgZXh0ZW5kcyBBYnN0cmFjdEdyZWV0ZXIgew0KICAgIGNvbnN0cnVjdG9yKCkgew0KICAgICAgICBzdXBlciguLi5hcmd1bWVudHMpOw0KICAgICAgICB0aGlzLmEgPSAxMDsNCiAgICAgICAgdGhpcy5uYW1lQSA9ICJUZW4iOw0KICAgIH0NCn0NCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25DbGFzc1dpdGhEZWZhdWx0Q29uc3RydWN0b3JBbmRFeHRlbmRzQ2xhdXNlLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3RvckFuZEV4dGVuZHNDbGF1c2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzb3VyY2VNYXBWYWxpZGF0aW9uQ2xhc3NXaXRoRGVmYXVsdENvbnN0cnVjdG9yQW5kRXh0ZW5kc0NsYXVzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLGVBQWU7Q0FDcEI7QUFFRCxNQUFNLE9BQVEsU0FBUSxlQUFlO0lBQXJDOztRQUNXLE1BQUMsR0FBRyxFQUFFLENBQUM7UUFDUCxVQUFLLEdBQUcsS0FBSyxDQUFDO0lBQ3pCLENBQUM7Q0FBQSJ9,Y2xhc3MgQWJzdHJhY3RHcmVldGVyIHsKfQoKY2xhc3MgR3JlZXRlciBleHRlbmRzIEFic3RyYWN0R3JlZXRlciB7CiAgICBwdWJsaWMgYSA9IDEwOwogICAgcHVibGljIG5hbWVBID0gIlRlbiI7Cn0=
+{"version":3,"file":"sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js","sourceRoot":"","sources":["sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts"],"names":[],"mappings":"AAAA,MAAM,eAAe;CACpB;AAED,MAAM,OAAQ,SAAQ,eAAe;IAC1B,CAAC,GAAG,EAAE,CAAC;IACP,KAAK,GAAG,KAAK,CAAC;CACxB"}
+//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgQWJzdHJhY3RHcmVldGVyIHsNCn0NCmNsYXNzIEdyZWV0ZXIgZXh0ZW5kcyBBYnN0cmFjdEdyZWV0ZXIgew0KICAgIGEgPSAxMDsNCiAgICBuYW1lQSA9ICJUZW4iOw0KfQ0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3RvckFuZEV4dGVuZHNDbGF1c2UuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3RvckFuZEV4dGVuZHNDbGF1c2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzb3VyY2VNYXBWYWxpZGF0aW9uQ2xhc3NXaXRoRGVmYXVsdENvbnN0cnVjdG9yQW5kRXh0ZW5kc0NsYXVzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLGVBQWU7Q0FDcEI7QUFFRCxNQUFNLE9BQVEsU0FBUSxlQUFlO0lBQzFCLENBQUMsR0FBRyxFQUFFLENBQUM7SUFDUCxLQUFLLEdBQUcsS0FBSyxDQUFDO0NBQ3hCIn0=,Y2xhc3MgQWJzdHJhY3RHcmVldGVyIHsKfQoKY2xhc3MgR3JlZXRlciBleHRlbmRzIEFic3RyYWN0R3JlZXRlciB7CiAgICBwdWJsaWMgYSA9IDEwOwogICAgcHVibGljIG5hbWVBID0gIlRlbiI7Cn0=
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.sourcemap.txt.diff
index 7bb83fa1f4..c265566327 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.sourcemap.txt.diff
@@ -1,213 +1,62 @@
--- old.sourceMapValidationClassWithDefaultConstructorAndExtendsClause.sourcemap.txt
+++ new.sourceMapValidationClassWithDefaultConstructorAndExtendsClause.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js
- sourceFile:sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts
- -------------------------------------------------------------------
-->>>var __extends = (this && this.__extends) || (function () {
-->>> var extendStatics = function (d, b) {
-->>> extendStatics = Object.setPrototypeOf ||
-->>> ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-->>> function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-->>> return extendStatics(d, b);
-->>> };
-->>> return function (d, b) {
-->>> if (typeof b !== "function" && b !== null)
-->>> throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-->>> extendStatics(d, b);
-->>> function __() { this.constructor = d; }
-->>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-->>> };
-->>>})();
-->>>var AbstractGreeter = /** @class */ (function () {
--1 >
--2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--1 >Emitted(16, 1) Source(1, 1) + SourceIndex(0)
-----
-->>> function AbstractGreeter() {
--1->^^^^
--2 > ^^->
--1->
--1->Emitted(17, 5) Source(1, 1) + SourceIndex(0)
-----
-->>> }
--1->^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^->
--1->class AbstractGreeter {
-- >
--2 > }
--1->Emitted(18, 5) Source(2, 1) + SourceIndex(0)
--2 >Emitted(18, 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 >
--2 >^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 >}
--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)
-----
-->>>var Greeter = /** @class */ (function (_super) {
--1->
--2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1->
-- >
-- >
--1->Emitted(21, 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)
-----
-->>> function Greeter() {
+@@= skipped -44, +44 lines =@@
+ 4 >Emitted(3, 23) Source(4, 23) + SourceIndex(0)
+ 5 >Emitted(3, 38) Source(4, 38) + SourceIndex(0)
+ ---
+->>> constructor() {
-1 >^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-2 > ^^^^^^^^^^^^^^^^^^^^^^^^^->
-1 >
--1 >Emitted(23, 5) Source(4, 1) + SourceIndex(0)
+-1 >Emitted(4, 5) Source(4, 1) + SourceIndex(0)
----
-->>> var _this = _super !== null && _super.apply(this, arguments) || this;
-->>> _this.a = 10;
+->>> super(...arguments);
+->>> this.a = 10;
-1->^^^^^^^^
--2 > ^^^^^^^
--3 > ^^^
--4 > ^^
--5 > ^
--6 > ^^^^^^^^->
+-2 > ^^^^^^
+-3 > ^^^
+-4 > ^^
+-5 > ^
+-6 > ^^^^^^^^->
-1->class Greeter extends AbstractGreeter {
- > public
-2 > a
--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)
+-3 > =
+-4 > 10
+-5 > ;
+-1->Emitted(6, 9) Source(5, 12) + SourceIndex(0)
+-2 >Emitted(6, 15) Source(5, 13) + SourceIndex(0)
+-3 >Emitted(6, 18) Source(5, 16) + SourceIndex(0)
+-4 >Emitted(6, 20) Source(5, 18) + SourceIndex(0)
+-5 >Emitted(6, 21) Source(5, 19) + SourceIndex(0)
----
-->>> _this.nameA = "Ten";
+->>> this.nameA = "Ten";
-1->^^^^^^^^
--2 > ^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^
--5 > ^
+-2 > ^^^^^^^^^^
+-3 > ^^^
+-4 > ^^^^^
+-5 > ^
-1->
- > public
-2 > nameA
--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)
+-3 > =
+-4 > "Ten"
+-5 > ;
+-1->Emitted(7, 9) Source(6, 12) + SourceIndex(0)
+-2 >Emitted(7, 19) Source(6, 17) + SourceIndex(0)
+-3 >Emitted(7, 22) Source(6, 20) + SourceIndex(0)
+-4 >Emitted(7, 27) Source(6, 25) + SourceIndex(0)
+-5 >Emitted(7, 28) Source(6, 26) + SourceIndex(0)
----
-->>> return _this;
->>> }
--1 >^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^^^->
++>>> a = 10;
+ 1 >^^^^
+ 2 > ^
-1 >
- >
-2 > }
--1 >Emitted(28, 5) Source(7, 1) + SourceIndex(0)
--2 >Emitted(28, 6) Source(7, 2) + SourceIndex(0)
-----
-->>> return Greeter;
--1->^^^^
--2 > ^^^^^^^^^^^^^^
--3 > ^^^->
--1->
--2 > }
--1->Emitted(29, 5) Source(7, 1) + SourceIndex(0)
--2 >Emitted(29, 19) Source(7, 2) + SourceIndex(0)
-----
-->>>}(AbstractGreeter));
--1->
--2 >^
--3 >
--4 > ^
--5 > ^^^^^^^^^^^^^^^
--6 > ^^^
--7 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1->
--2 >}
--3 >
--4 > class Greeter extends
--5 > AbstractGreeter
--6 > {
-- > 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)
-+>>>class AbstractGreeter {
-+1 >
-+2 >^^^^^^
-+3 > ^^^^^^^^^^^^^^^
-+1 >
-+2 >class
-+3 > AbstractGreeter
-+1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
-+2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0)
-+3 >Emitted(1, 22) Source(1, 22) + SourceIndex(0)
-+---
-+>>>}
-+1 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 > {
-+ >}
-+1 >Emitted(2, 2) Source(2, 2) + SourceIndex(0)
-+---
-+>>>class Greeter extends AbstractGreeter {
-+1->
-+2 >^^^^^^
-+3 > ^^^^^^^
-+4 > ^^^^^^^^^
-+5 > ^^^^^^^^^^^^^^^
-+1->
-+ >
-+ >
-+2 >class
-+3 > Greeter
-+4 > extends
-+5 > AbstractGreeter
-+1->Emitted(3, 1) Source(4, 1) + SourceIndex(0)
-+2 >Emitted(3, 7) Source(4, 7) + SourceIndex(0)
-+3 >Emitted(3, 14) Source(4, 15) + SourceIndex(0)
-+4 >Emitted(3, 23) Source(4, 23) + SourceIndex(0)
-+5 >Emitted(3, 38) Source(4, 38) + SourceIndex(0)
-+---
-+>>> a = 10;
-+1 >^^^^
-+2 > ^
+-1 >Emitted(8, 5) Source(7, 1) + SourceIndex(0)
+-2 >Emitted(8, 6) Source(7, 2) + SourceIndex(0)
+3 > ^^^
+4 > ^^
+5 > ^
@@ -241,11 +90,12 @@
+3 >Emitted(5, 13) Source(6, 20) + SourceIndex(0)
+4 >Emitted(5, 18) Source(6, 25) + SourceIndex(0)
+5 >Emitted(5, 19) Source(6, 26) + SourceIndex(0)
-+---
-+>>>}
-+1 >^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
+ ---
+ >>>}
+ 1 >^
+ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 1 >
+-1 >Emitted(9, 2) Source(7, 2) + SourceIndex(0)
+ >}
+1 >Emitted(6, 2) Source(7, 2) + SourceIndex(0)
---
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClasses.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClasses.js.diff
index 235005e764..948f4d26fa 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClasses.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClasses.js.diff
@@ -8,33 +8,9 @@
+ let Bar;
(function (Bar) {
"use strict";
-- var Greeter = /** @class */ (function () {
-- function Greeter(greeting) {
+ "use strict";
-+ class Greeter {
+ class Greeter {
+ greeting;
-+ constructor(greeting) {
+ constructor(greeting) {
this.greeting = greeting;
- }
-- Greeter.prototype.greet = function () {
-+ greet() {
- return "" + this.greeting + "
";
-- };
-- return Greeter;
-- }());
-+ }
-+ }
- function foo(greeting) {
- return new Greeter(greeting);
- }
- var greeter = new Greeter("Hello, world!");
- var str = greeter.greet();
-- function foo2(greeting) {
-- var restGreetings /* more greeting */ = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- restGreetings[_i - 1] = arguments[_i];
-- }
-+ function foo2(greeting, ...restGreetings /* more greeting */) {
- var greeters = []; /* inline block comment */
- greeters[0] = new Greeter(greeting);
- for (var i = 0; i < restGreetings.length; i++) {
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClasses.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClasses.js.map.diff
index 8aeb82a4ec..76f30ba0a3 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClasses.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClasses.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMapValidationClasses.js.map
@@= skipped -0, +0 lines =@@
//// [sourceMapValidationClasses.js.map]
--{"version":3,"file":"sourceMapValidationClasses.js","sourceRoot":"","sources":["sourceMapValidationClasses.ts"],"names":[],"mappings":"AAAA,IAAO,GAAG,CAmCT;AAnCD,WAAO,GAAG;IAAC,IAAA,GAAG,CAmCb;IAnCU,WAAA,GAAG;QACV,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,EAnCU,GAAG,GAAH,OAAG,KAAH,OAAG,QAmCb;AAAD,CAAC,EAnCM,GAAG,KAAH,GAAG,QAmCT"}
--//// https://sokra.github.io/source-map-visualization#base64,dmFyIEZvbzsNCihmdW5jdGlvbiAoRm9vKSB7DQogICAgdmFyIEJhcjsNCiAgICAoZnVuY3Rpb24gKEJhcikgew0KICAgICAgICAidXNlIHN0cmljdCI7DQogICAgICAgIHZhciBHcmVldGVyID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgZnVuY3Rpb24gR3JlZXRlcihncmVldGluZykgew0KICAgICAgICAgICAgICAgIHRoaXMuZ3JlZXRpbmcgPSBncmVldGluZzsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIEdyZWV0ZXIucHJvdG90eXBlLmdyZWV0ID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgIHJldHVybiAiPGgxPiIgKyB0aGlzLmdyZWV0aW5nICsgIjwvaDE+IjsNCiAgICAgICAgICAgIH07DQogICAgICAgICAgICByZXR1cm4gR3JlZXRlcjsNCiAgICAgICAgfSgpKTsNCiAgICAgICAgZnVuY3Rpb24gZm9vKGdyZWV0aW5nKSB7DQogICAgICAgICAgICByZXR1cm4gbmV3IEdyZWV0ZXIoZ3JlZXRpbmcpOw0KICAgICAgICB9DQogICAgICAgIHZhciBncmVldGVyID0gbmV3IEdyZWV0ZXIoIkhlbGxvLCB3b3JsZCEiKTsNCiAgICAgICAgdmFyIHN0ciA9IGdyZWV0ZXIuZ3JlZXQoKTsNCiAgICAgICAgZnVuY3Rpb24gZm9vMihncmVldGluZykgew0KICAgICAgICAgICAgdmFyIHJlc3RHcmVldGluZ3MgLyogbW9yZSBncmVldGluZyAqLyA9IFtdOw0KICAgICAgICAgICAgZm9yICh2YXIgX2kgPSAxOyBfaSA8IGFyZ3VtZW50cy5sZW5ndGg7IF9pKyspIHsNCiAgICAgICAgICAgICAgICByZXN0R3JlZXRpbmdzW19pIC0gMV0gPSBhcmd1bWVudHNbX2ldOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGdyZWV0ZXJzID0gW107IC8qIGlubGluZSBibG9jayBjb21tZW50ICovDQogICAgICAgICAgICBncmVldGVyc1swXSA9IG5ldyBHcmVldGVyKGdyZWV0aW5nKTsNCiAgICAgICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgcmVzdEdyZWV0aW5ncy5sZW5ndGg7IGkrKykgew0KICAgICAgICAgICAgICAgIGdyZWV0ZXJzLnB1c2gobmV3IEdyZWV0ZXIocmVzdEdyZWV0aW5nc1tpXSkpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgcmV0dXJuIGdyZWV0ZXJzOw0KICAgICAgICB9DQogICAgICAgIHZhciBiID0gZm9vMigiSGVsbG8iLCAiV29ybGQiLCAiISIpOw0KICAgICAgICAvLyBUaGlzIGlzIHNpbXBsZSBzaWdubGUgbGluZSBjb21tZW50DQogICAgICAgIGZvciAodmFyIGogPSAwOyBqIDwgYi5sZW5ndGg7IGorKykgew0KICAgICAgICAgICAgYltqXS5ncmVldCgpOw0KICAgICAgICB9DQogICAgfSkoQmFyID0gRm9vLkJhciB8fCAoRm9vLkJhciA9IHt9KSk7DQp9KShGb28gfHwgKEZvbyA9IHt9KSk7D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cpOiBHcmVldGVyIHsKICAgICAgICByZXR1cm4gbmV3IEdyZWV0ZXIoZ3JlZXRpbmcpOwogICAgfQoKICAgIHZhciBncmVldGVyID0gbmV3IEdyZWV0ZXIoIkhlbGxvLCB3b3JsZCEiKTsKICAgIHZhciBzdHIgPSBncmVldGVyLmdyZWV0KCk7CgogICAgZnVuY3Rpb24gZm9vMihncmVldGluZzogc3RyaW5nLCAuLi5yZXN0R3JlZXRpbmdzIC8qIG1vcmUgZ3JlZXRpbmcgKi86IHN0cmluZ1tdKSB7CiAgICAgICAgdmFyIGdyZWV0ZXJzOiBHcmVldGVyW10gPSBbXTsgLyogaW5saW5lIGJsb2NrIGNvbW1lbnQgKi8KICAgICAgICBncmVldGVyc1swXSA9IG5ldyBHcmVldGVyKGdyZWV0aW5nKTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IHJlc3RHcmVldGluZ3MubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgZ3JlZXRlcnMucHVzaChuZXcgR3JlZXRlcihyZXN0R3JlZXRpbmdzW2ldKSk7CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gZ3JlZXRlcnM7CiAgICB9CgogICAgdmFyIGIgPSBmb28yKCJIZWxsbyIsICJXb3JsZCIsICIhIik7CiAgICAvLyBUaGlzIGlzIHNpbXBsZSBzaWdubGUgbGluZSBjb21tZW50CiAgICBmb3IgKHZhciBqID0gMDsgaiA8IGIubGVuZ3RoOyBqKyspIHsKICAgICAgICBiW2pdLmdyZWV0KCk7CiAgICB9Cn0=
+-{"version":3,"file":"sourceMapValidationClasses.js","sourceRoot":"","sources":["sourceMapValidationClasses.ts"],"names":[],"mappings":"AAAA,IAAO,GAAG,CAmCT;AAnCD,WAAO,GAAG;IAAC,IAAA,GAAG,CAmCb;IAnCU,WAAA,GAAG;QACV,YAAY,CAAC;QAEb,MAAM,OAAO;YACT,YAAmB,QAAgB;gBAAhB,aAAQ,GAAR,QAAQ,CAAQ;YACnC,CAAC;YAED,K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0cmljdCI7DQogICAgICAgIGNsYXNzIEdyZWV0ZXIgew0KICAgICAgICAgICAgY29uc3RydWN0b3IoZ3JlZXRpbmcpIHsNCiAgICAgICAgICAgICAgICB0aGlzLmdyZWV0aW5nID0gZ3JlZXRpbmc7DQogICAgICAgICAgICB9DQogICAgICAgICAgICBncmVldCgpIHsNCiAgICAgICAgICAgICAgICByZXR1cm4gIjxoMT4iICsgdGhpcy5ncmVldGluZyArICI8L2gxPiI7DQogICAgICAgICAgICB9DQogICAgICAgIH0NCiAgICAgICAgZnVuY3Rpb24gZm9vKGdyZWV0aW5nKSB7DQogICAgICAgICAgICByZXR1cm4gbmV3IEdyZWV0ZXIoZ3JlZXRpbmcpOw0KICAgICAgICB9DQogICAgICAgIHZhciBncmVldGVyID0gbmV3IEdyZWV0ZXIoIkhlbGxvLCB3b3JsZCEiKTsNCiAgICAgICAgdmFyIHN0ciA9IGdyZWV0ZXIuZ3JlZXQoKTsNCiAgICAgICAgZnVuY3Rpb24gZm9vMihncmVldGluZywgLi4ucmVzdEdyZWV0aW5ncyAvKiBtb3JlIGdyZWV0aW5nICovKSB7DQogICAgICAgICAgICB2YXIgZ3JlZXRlcnMgPSBbXTsgLyogaW5saW5lIGJsb2NrIGNvbW1lbnQgKi8NCiAgICAgICAgICAgIGdyZWV0ZXJzWzBdID0gbmV3IEdyZWV0ZXIoZ3JlZXRpbmcpOw0KICAgICAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCByZXN0R3JlZXRpbmdzLmxlbmd0aDsgaSsrKSB7DQogICAgICAgICAgICAgICAgZ3JlZXRlcnMucHVzaChuZXcgR3JlZXRlcihyZXN0R3JlZXRpbmdzW2ldKSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICByZXR1cm4gZ3JlZXRlcnM7DQogICAgICAgIH0NCiAgICAgICAgdmFyIGIgPSBmb28yKCJIZWxsbyIsICJXb3JsZCIsICIhIik7DQogICAgICAgIC8vIFRoaXMgaXMgc2ltcGxlIHNpZ25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ZXRpbmcgKyAiPC9oMT4iOwogICAgICAgIH0KICAgIH0KCgogICAgZnVuY3Rpb24gZm9vKGdyZWV0aW5nOiBzdHJpbmcpOiBHcmVldGVyIHsKICAgICAgICByZXR1cm4gbmV3IEdyZWV0ZXIoZ3JlZXRpbmcpOwogICAgfQoKICAgIHZhciBncmVldGVyID0gbmV3IEdyZWV0ZXIoIkhlbGxvLCB3b3JsZCEiKTsKICAgIHZhciBzdHIgPSBncmVldGVyLmdyZWV0KCk7CgogICAgZnVuY3Rpb24gZm9vMihncmVldGluZzogc3RyaW5nLCAuLi5yZXN0R3JlZXRpbmdzIC8qIG1vcmUgZ3JlZXRpbmcgKi86IHN0cmluZ1tdKSB7CiAgICAgICAgdmFyIGdyZWV0ZXJzOiBHcmVldGVyW10gPSBbXTsgLyogaW5saW5lIGJsb2NrIGNvbW1lbnQgKi8KICAgICAgICBncmVldGVyc1swXSA9IG5ldyBHcmVldGVyKGdyZWV0aW5nKTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IHJlc3RHcmVldGluZ3MubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgZ3JlZXRlcnMucHVzaChuZXcgR3JlZXRlcihyZXN0R3JlZXRpbmdzW2ldKSk7CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gZ3JlZXRlcnM7CiAgICB9CgogICAgdmFyIGIgPSBmb28yKCJIZWxsbyIsICJXb3JsZCIsICIhIik7CiAgICAvLyBUaGlzIGlzIHNpbXBsZSBzaWdubGUgbGluZSBjb21tZW50CiAgICBmb3IgKHZhciBqID0gMDsgaiA8IGIubGVuZ3RoOyBqKyspIHsKICAgICAgICBiW2pdLmdyZWV0KCk7CiAgICB9Cn0=
+{"version":3,"file":"sourceMapValidationClasses.js","sourceRoot":"","sources":["sourceMapValidationClasses.ts"],"names":[],"mappings":"AAAA,IAAO,GAmCN;AAnCD,WAAO,GAAG,EAAV;IAAW,IAAA,GAmCV;IAnCU,WAAA,GAAG,EAAC;QACX,YAA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AG,QAmCT"}
+//// https://sokra.github.io/source-map-visualization#base64,dmFyIEZvbzsNCihmdW5jdGlvbiAoRm9vKSB7DQogICAgbGV0IEJhcjsNCiAgICAoZnVuY3Rpb24gKEJhcikgew0KICAgICAgICAidXNlIHN0cmljdCI7DQogICAgICAgICJ1c2Ugc3RyaWN0IjsNCiAgICAgICAgY2xhc3MgR3JlZXRlciB7DQogICAgICAgICAgICBncmVldGluZzsNCiAgICAgICAgICAgIGNvbnN0cnVjdG9yKGdyZWV0aW5nKSB7DQogICAgICAgICAgICAgICAgdGhpcy5ncmVldGluZyA9IGdyZWV0aW5nOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZ3JlZXQoKSB7DQogICAgICAgICAgICAgICAgcmV0dXJuICI8aDE+IiArIHRoaXMuZ3JlZXRpbmcgKyAiPC9oMT4iOw0KICAgICAgICAgICAgfQ0KICAgICAgICB9DQogICAgICAgIGZ1bmN0aW9uIGZvbyhncmVldGluZykgew0KICAgICAgICAgICAgcmV0dXJuIG5ldyBHcmVldGVyKGdyZWV0aW5nKTsNCiAgICAgICAgfQ0KICAgICAgICB2YXIgZ3JlZXRlciA9IG5ldyBHcmVldGVyKCJIZWxsbywgd29ybGQhIik7DQogICAgICAgIHZhciBzdHIgPSBncmVldGVyLmdyZWV0KCk7DQogICAgICAgIGZ1bmN0aW9uIGZvbzIoZ3JlZXRpbmcsIC4uLnJlc3RHcmVldGluZ3MgLyogbW9yZSBncmVldGluZyAqLykgew0KICAgICAgICAgICAgdmFyIGdyZWV0ZXJzID0gW107IC8qIGlubGluZSBibG9jayBjb21tZW50ICovDQogICAgICAgICAgICBncmVldGVyc1swXSA9IG5ldyBHcmVldGVyKGdyZWV0aW5nKTsNCiAgICAgICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgcmVzdEdyZWV0aW5ncy5sZW5ndGg7IGkrKykgew0KICAgICAgICAgICAgICAgIGdyZWV0ZXJzLnB1c2gobmV3IEdyZWV0ZXIocmVzdEdyZWV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tZW50CiAgICBmb3IgKHZhciBqID0gMDsgaiA8IGIubGVuZ3RoOyBqKyspIHsKICAgICAgICBiW2pdLmdyZWV0KCk7CiAgICB9Cn0=
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClasses.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClasses.sourcemap.txt.diff
index ef1528c7af..3405abef34 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationClasses.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationClasses.sourcemap.txt.diff
@@ -212,7 +212,7 @@
1->^^^^^^^^
2 > ^^^^^^^^^^^^
3 > ^
--4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-4 > ^^^->
-1-> {
+4 > ^->
+1->{
@@ -223,9 +223,6 @@
2 >Emitted(5, 21) Source(2, 17) + SourceIndex(0)
3 >Emitted(5, 22) Source(2, 18) + SourceIndex(0)
---
-->>> var Greeter = /** @class */ (function () {
--1->^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+>>> "use strict";
+1->^^^^^^^^
+2 > ^^^^^^^^^^^^
@@ -238,25 +235,20 @@
+2 >Emitted(6, 21) Source(2, 17) + SourceIndex(0)
+3 >Emitted(6, 22) Source(2, 18) + SourceIndex(0)
+---
-+>>> class Greeter {
-+1->^^^^^^^^
-+2 > ^^^^^^
-+3 > ^^^^^^^
+ >>> class Greeter {
+ 1->^^^^^^^^
+ 2 > ^^^^^^
+ 3 > ^^^^^^^
+-4 > ^^^^^^^^^^^^^^^->
+4 > ^->
1->
>
>
+ 2 > class
+ 3 > Greeter
-1->Emitted(6, 9) Source(4, 5) + SourceIndex(0)
-----
-->>> function Greeter(greeting) {
--1->^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^
--3 > ^^^^^^^^
--4 > ^^^^^->
--1->class Greeter {
-- >
-+2 > class
-+3 > Greeter
+-2 >Emitted(6, 15) Source(4, 11) + SourceIndex(0)
+-3 >Emitted(6, 22) Source(4, 18) + SourceIndex(0)
+1->Emitted(7, 9) Source(4, 5) + SourceIndex(0)
+2 >Emitted(7, 15) Source(4, 11) + SourceIndex(0)
+3 >Emitted(7, 22) Source(4, 18) + SourceIndex(0)
@@ -270,20 +262,22 @@
+2 > greeting
+1->Emitted(8, 13) Source(5, 28) + SourceIndex(0)
+2 >Emitted(8, 21) Source(5, 36) + SourceIndex(0)
-+---
-+>>> constructor(greeting) {
-+1->^^^^^^^^^^^^
-+2 > ^^^^^^^^^^^^
-+3 > ^^^^^^^^
+ ---
+ >>> constructor(greeting) {
+ 1->^^^^^^^^^^^^
+ 2 > ^^^^^^^^^^^^
+ 3 > ^^^^^^^^
+-4 > ^^^^^^^^^^->
+-1-> {
+- >
+4 > ^^
+5 > ^^^^^^^^->
+1->
2 > constructor(public
--3 > greeting: string
+ 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)
-+3 > greeting: string
+-2 >Emitted(7, 25) Source(5, 28) + SourceIndex(0)
+-3 >Emitted(7, 33) Source(5, 44) + SourceIndex(0)
+4 > )
+1->Emitted(9, 13) Source(5, 9) + SourceIndex(0)
+2 >Emitted(9, 25) Source(5, 28) + SourceIndex(0)
@@ -315,36 +309,30 @@
>>> }
1 >^^^^^^^^^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 3 > ^^^^^^^^^->
-1 >) {
- >
-2 > }
-1 >Emitted(9, 13) Source(6, 9) + SourceIndex(0)
-2 >Emitted(9, 14) Source(6, 10) + SourceIndex(0)
-+3 > ^^^^^^^^^->
+1 >: string) {
+2 >
+ > }
+1 >Emitted(11, 13) Source(5, 47) + SourceIndex(0)
+2 >Emitted(11, 14) Source(6, 10) + SourceIndex(0)
---
-->>> Greeter.prototype.greet = function () {
-+>>> greet() {
+ >>> greet() {
1->^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^^^^^^^^^^->
-+2 > ^^^^^
+ 2 > ^^^^^
+-3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+3 > ^^^
+4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
>
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)
+-2 >Emitted(10, 18) Source(8, 14) + SourceIndex(0)
+3 > ()
+1->Emitted(12, 13) Source(8, 9) + SourceIndex(0)
+2 >Emitted(12, 18) Source(8, 14) + SourceIndex(0)
@@ -352,11 +340,11 @@
---
>>> return "" + this.greeting + "
";
1->^^^^^^^^^^^^^^^^
-@@= skipped -73, +94 lines =@@
+@@= skipped -76, +94 lines =@@
8 > ^^^
9 > ^^^^^^^
10> ^
--1->greet() {
+-1->() {
+1->{
>
2 > return
@@ -386,63 +374,30 @@
+9 >Emitted(13, 56) Source(9, 52) + SourceIndex(0)
+10>Emitted(13, 57) Source(9, 53) + SourceIndex(0)
---
-->>> };
-+>>> }
+ >>> }
1 >^^^^^^^^^^^^
2 > ^
--3 > ^^^^^^^^^^^^^^^->
--1 >
+ 1 >
- >
-2 > }
-1 >Emitted(12, 13) Source(10, 9) + SourceIndex(0)
-2 >Emitted(12, 14) Source(10, 10) + SourceIndex(0)
-----
-->>> return Greeter;
--1->^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^
--1->
-- >
--2 > }
--1->Emitted(13, 13) Source(11, 5) + SourceIndex(0)
--2 >Emitted(13, 27) Source(11, 6) + SourceIndex(0)
-----
-->>> }());
--1 >^^^^^^^^
--2 > ^
--3 >
--4 > ^^^^
--5 > ^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 > }
--3 >
--4 > class Greeter {
-- > constructor(public greeting: string) {
-- > }
-- >
-- > greet() {
-- > 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 >
+2 >
+ > }
+1 >Emitted(14, 13) Source(9, 53) + SourceIndex(0)
+2 >Emitted(14, 14) Source(10, 10) + SourceIndex(0)
-+---
-+>>> }
-+1 >^^^^^^^^^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ > }
+ ---
+ >>> }
+ 1 >^^^^^^^^^
+ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^->
+ 1 >
+ > }
+-1 >Emitted(13, 10) Source(11, 6) + SourceIndex(0)
+1 >Emitted(15, 10) Source(11, 6) + SourceIndex(0)
---
>>> function foo(greeting) {
1->^^^^^^^^
-@@= skipped -58, +33 lines =@@
+@@= skipped -33, +33 lines =@@
3 > ^^^
4 > ^
5 > ^^^^^^^^
@@ -456,11 +411,11 @@
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(14, 9) Source(14, 5) + SourceIndex(0)
+-2 >Emitted(14, 18) Source(14, 14) + SourceIndex(0)
+-3 >Emitted(14, 21) Source(14, 17) + SourceIndex(0)
+-4 >Emitted(14, 22) Source(14, 18) + SourceIndex(0)
+-5 >Emitted(14, 30) Source(14, 34) + SourceIndex(0)
+6 > ): Greeter
+1->Emitted(16, 9) Source(14, 5) + SourceIndex(0)
+2 >Emitted(16, 18) Source(14, 14) + SourceIndex(0)
@@ -484,14 +439,14 @@
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(15, 13) Source(15, 9) + SourceIndex(0)
+-2 >Emitted(15, 20) Source(15, 16) + SourceIndex(0)
+-3 >Emitted(15, 24) Source(15, 20) + SourceIndex(0)
+-4 >Emitted(15, 31) Source(15, 27) + SourceIndex(0)
+-5 >Emitted(15, 32) Source(15, 28) + SourceIndex(0)
+-6 >Emitted(15, 40) Source(15, 36) + SourceIndex(0)
+-7 >Emitted(15, 41) Source(15, 37) + SourceIndex(0)
+-8 >Emitted(15, 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)
@@ -508,8 +463,8 @@
1 >
- >
-2 > }
--1 >Emitted(17, 9) Source(16, 5) + SourceIndex(0)
--2 >Emitted(17, 10) Source(16, 6) + SourceIndex(0)
+-1 >Emitted(16, 9) Source(16, 5) + SourceIndex(0)
+-2 >Emitted(16, 10) Source(16, 6) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(18, 9) Source(15, 38) + SourceIndex(0)
@@ -521,16 +476,16 @@
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(17, 9) Source(18, 5) + SourceIndex(0)
+-2 >Emitted(17, 13) Source(18, 9) + SourceIndex(0)
+-3 >Emitted(17, 20) Source(18, 16) + SourceIndex(0)
+-4 >Emitted(17, 23) Source(18, 19) + SourceIndex(0)
+-5 >Emitted(17, 27) Source(18, 23) + SourceIndex(0)
+-6 >Emitted(17, 34) Source(18, 30) + SourceIndex(0)
+-7 >Emitted(17, 35) Source(18, 31) + SourceIndex(0)
+-8 >Emitted(17, 50) Source(18, 46) + SourceIndex(0)
+-9 >Emitted(17, 51) Source(18, 47) + SourceIndex(0)
+-10>Emitted(17, 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)
@@ -544,27 +499,19 @@
---
>>> var str = greeter.greet();
1 >^^^^^^^^
-@@= skipped -21, +21 lines =@@
- 7 > ^^^^^
- 8 > ^^
- 9 > ^
-+10> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 > var
-@@= skipped -10, +11 lines =@@
+@@= skipped -32, +32 lines =@@
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(18, 9) Source(19, 5) + SourceIndex(0)
+-2 >Emitted(18, 13) Source(19, 9) + SourceIndex(0)
+-3 >Emitted(18, 16) Source(19, 12) + SourceIndex(0)
+-4 >Emitted(18, 19) Source(19, 15) + SourceIndex(0)
+-5 >Emitted(18, 26) Source(19, 22) + SourceIndex(0)
+-6 >Emitted(18, 27) Source(19, 23) + SourceIndex(0)
+-7 >Emitted(18, 32) Source(19, 28) + SourceIndex(0)
+-8 >Emitted(18, 34) Source(19, 30) + SourceIndex(0)
+-9 >Emitted(18, 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)
@@ -575,81 +522,36 @@
+8 >Emitted(20, 34) Source(19, 30) + SourceIndex(0)
+9 >Emitted(20, 35) Source(19, 31) + SourceIndex(0)
---
-->>> function foo2(greeting) {
--1 >^^^^^^^^
-+>>> function foo2(greeting, ...restGreetings /* more greeting */) {
-+1->^^^^^^^^
- 2 > ^^^^^^^^^
- 3 > ^^^^
- 4 > ^
+ >>> function foo2(greeting, ...restGreetings /* more greeting */) {
+ 1->^^^^^^^^
+@@= skipped -18, +18 lines =@@
5 > ^^^^^^^^
--6 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-+6 > ^^
-+7 > ^^^
+ 6 > ^^
+ 7 > ^^^
+-8 > ^^^^^^^^^^^^^^
+-9 > ^^^^^^^^^^^^^^^^^^^
+8 > ^^^^^^^^^^^^^
+9 > ^
+10> ^^^^^^^^^^^^^^^^^^^
+11> ^^
-+1->
+ 1->
>
>
- 2 > function
- 3 > foo2
- 4 > (
+@@= skipped -11, +13 lines =@@
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)
-----
-->>> var restGreetings /* more greeting */ = [];
--1->^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^
--4 > ^^^^^^
--5 > ^^^^^->
--1->,
--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)
-----
-->>> for (var _i = 1; _i < arguments.length; _i++) {
--1->^^^^^^^^^^^^^^^^^
--2 > ^^^^^^^^^^
--3 > ^^
--4 > ^^^^^^^^^^^^^^^^^^^^^
--5 > ^^
--6 > ^^^^
--1->
--2 > ...restGreetings /* more greeting */: string[]
--3 >
--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)
-----
-->>> 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)
-----
-->>> }
-+6 > ,
-+7 > ...
+ 6 > ,
+ 7 > ...
+-8 > restGreetings
+-9 > /* more greeting */: string[]
+-1->Emitted(19, 9) Source(21, 5) + SourceIndex(0)
+-2 >Emitted(19, 18) Source(21, 14) + SourceIndex(0)
+-3 >Emitted(19, 22) Source(21, 18) + SourceIndex(0)
+-4 >Emitted(19, 23) Source(21, 19) + SourceIndex(0)
+-5 >Emitted(19, 31) Source(21, 35) + SourceIndex(0)
+-6 >Emitted(19, 33) Source(21, 37) + SourceIndex(0)
+-7 >Emitted(19, 36) Source(21, 40) + SourceIndex(0)
+-8 >Emitted(19, 50) Source(21, 54) + SourceIndex(0)
+-9 >Emitted(19, 69) Source(21, 83) + SourceIndex(0)
+8 > restGreetings
+9 >
+10> /* more greeting */: string[]
@@ -665,11 +567,10 @@
+9 >Emitted(21, 50) Source(21, 54) + SourceIndex(0)
+10>Emitted(21, 69) Source(21, 83) + SourceIndex(0)
+11>Emitted(21, 71) Source(21, 85) + SourceIndex(0)
-+---
+ ---
>>> var greeters = []; /* inline block comment */
1 >^^^^^^^^^^^^
- 2 > ^^^^
-@@= skipped -83, +56 lines =@@
+@@= skipped -21, +25 lines =@@
6 > ^
7 > ^
8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -682,14 +583,14 @@
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(20, 13) Source(22, 9) + SourceIndex(0)
+-2 >Emitted(20, 17) Source(22, 13) + SourceIndex(0)
+-3 >Emitted(20, 25) Source(22, 21) + SourceIndex(0)
+-4 >Emitted(20, 28) Source(22, 35) + SourceIndex(0)
+-5 >Emitted(20, 30) Source(22, 37) + SourceIndex(0)
+-6 >Emitted(20, 31) Source(22, 38) + SourceIndex(0)
+-7 >Emitted(20, 32) Source(22, 39) + SourceIndex(0)
+-8 >Emitted(20, 58) Source(22, 65) + SourceIndex(0)
+1 >Emitted(22, 13) Source(22, 9) + SourceIndex(0)
+2 >Emitted(22, 17) Source(22, 13) + SourceIndex(0)
+3 >Emitted(22, 25) Source(22, 21) + SourceIndex(0)
@@ -705,18 +606,18 @@
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(21, 13) Source(23, 9) + SourceIndex(0)
+-2 >Emitted(21, 21) Source(23, 17) + SourceIndex(0)
+-3 >Emitted(21, 22) Source(23, 18) + SourceIndex(0)
+-4 >Emitted(21, 23) Source(23, 19) + SourceIndex(0)
+-5 >Emitted(21, 24) Source(23, 20) + SourceIndex(0)
+-6 >Emitted(21, 27) Source(23, 23) + SourceIndex(0)
+-7 >Emitted(21, 31) Source(23, 27) + SourceIndex(0)
+-8 >Emitted(21, 38) Source(23, 34) + SourceIndex(0)
+-9 >Emitted(21, 39) Source(23, 35) + SourceIndex(0)
+-10>Emitted(21, 47) Source(23, 43) + SourceIndex(0)
+-11>Emitted(21, 48) Source(23, 44) + SourceIndex(0)
+-12>Emitted(21, 49) Source(23, 45) + SourceIndex(0)
+1 >Emitted(23, 13) Source(23, 9) + SourceIndex(0)
+2 >Emitted(23, 21) Source(23, 17) + SourceIndex(0)
+3 >Emitted(23, 22) Source(23, 18) + SourceIndex(0)
@@ -736,23 +637,23 @@
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(22, 13) Source(24, 9) + SourceIndex(0)
+-2 >Emitted(22, 18) Source(24, 14) + SourceIndex(0)
+-3 >Emitted(22, 22) Source(24, 18) + SourceIndex(0)
+-4 >Emitted(22, 23) Source(24, 19) + SourceIndex(0)
+-5 >Emitted(22, 26) Source(24, 22) + SourceIndex(0)
+-6 >Emitted(22, 27) Source(24, 23) + SourceIndex(0)
+-7 >Emitted(22, 29) Source(24, 25) + SourceIndex(0)
+-8 >Emitted(22, 30) Source(24, 26) + SourceIndex(0)
+-9 >Emitted(22, 33) Source(24, 29) + SourceIndex(0)
+-10>Emitted(22, 46) Source(24, 42) + SourceIndex(0)
+-11>Emitted(22, 47) Source(24, 43) + SourceIndex(0)
+-12>Emitted(22, 53) Source(24, 49) + SourceIndex(0)
+-13>Emitted(22, 55) Source(24, 51) + SourceIndex(0)
+-14>Emitted(22, 56) Source(24, 52) + SourceIndex(0)
+-15>Emitted(22, 58) Source(24, 54) + SourceIndex(0)
+-16>Emitted(22, 60) Source(24, 56) + SourceIndex(0)
+-17>Emitted(22, 61) Source(24, 57) + SourceIndex(0)
+1->Emitted(24, 13) Source(24, 9) + SourceIndex(0)
+2 >Emitted(24, 18) Source(24, 14) + SourceIndex(0)
+3 >Emitted(24, 22) Source(24, 18) + SourceIndex(0)
@@ -777,21 +678,21 @@
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(23, 17) Source(25, 13) + SourceIndex(0)
+-2 >Emitted(23, 25) Source(25, 21) + SourceIndex(0)
+-3 >Emitted(23, 26) Source(25, 22) + SourceIndex(0)
+-4 >Emitted(23, 30) Source(25, 26) + SourceIndex(0)
+-5 >Emitted(23, 31) Source(25, 27) + SourceIndex(0)
+-6 >Emitted(23, 35) Source(25, 31) + SourceIndex(0)
+-7 >Emitted(23, 42) Source(25, 38) + SourceIndex(0)
+-8 >Emitted(23, 43) Source(25, 39) + SourceIndex(0)
+-9 >Emitted(23, 56) Source(25, 52) + SourceIndex(0)
+-10>Emitted(23, 57) Source(25, 53) + SourceIndex(0)
+-11>Emitted(23, 58) Source(25, 54) + SourceIndex(0)
+-12>Emitted(23, 59) Source(25, 55) + SourceIndex(0)
+-13>Emitted(23, 60) Source(25, 56) + SourceIndex(0)
+-14>Emitted(23, 61) Source(25, 57) + SourceIndex(0)
+-15>Emitted(23, 62) Source(25, 58) + SourceIndex(0)
+1->Emitted(25, 17) Source(25, 13) + SourceIndex(0)
+2 >Emitted(25, 25) Source(25, 21) + SourceIndex(0)
+3 >Emitted(25, 26) Source(25, 22) + SourceIndex(0)
@@ -814,8 +715,8 @@
1 >
>
2 > }
--1 >Emitted(29, 13) Source(26, 9) + SourceIndex(0)
--2 >Emitted(29, 14) Source(26, 10) + SourceIndex(0)
+-1 >Emitted(24, 13) Source(26, 9) + SourceIndex(0)
+-2 >Emitted(24, 14) Source(26, 10) + SourceIndex(0)
+1 >Emitted(26, 13) Source(26, 9) + SourceIndex(0)
+2 >Emitted(26, 14) Source(26, 10) + SourceIndex(0)
---
@@ -825,10 +726,10 @@
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(25, 13) Source(28, 9) + SourceIndex(0)
+-2 >Emitted(25, 20) Source(28, 16) + SourceIndex(0)
+-3 >Emitted(25, 28) Source(28, 24) + SourceIndex(0)
+-4 >Emitted(25, 29) Source(28, 25) + SourceIndex(0)
+1->Emitted(27, 13) Source(28, 9) + SourceIndex(0)
+2 >Emitted(27, 20) Source(28, 16) + SourceIndex(0)
+3 >Emitted(27, 28) Source(28, 24) + SourceIndex(0)
@@ -841,8 +742,8 @@
1 >
- >
-2 > }
--1 >Emitted(31, 9) Source(29, 5) + SourceIndex(0)
--2 >Emitted(31, 10) Source(29, 6) + SourceIndex(0)
+-1 >Emitted(26, 9) Source(29, 5) + SourceIndex(0)
+-2 >Emitted(26, 10) Source(29, 6) + SourceIndex(0)
+2 >
+ > }
+1 >Emitted(28, 9) Source(28, 25) + SourceIndex(0)
@@ -854,19 +755,19 @@
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(27, 9) Source(31, 5) + SourceIndex(0)
+-2 >Emitted(27, 13) Source(31, 9) + SourceIndex(0)
+-3 >Emitted(27, 14) Source(31, 10) + SourceIndex(0)
+-4 >Emitted(27, 17) Source(31, 13) + SourceIndex(0)
+-5 >Emitted(27, 21) Source(31, 17) + SourceIndex(0)
+-6 >Emitted(27, 22) Source(31, 18) + SourceIndex(0)
+-7 >Emitted(27, 29) Source(31, 25) + SourceIndex(0)
+-8 >Emitted(27, 31) Source(31, 27) + SourceIndex(0)
+-9 >Emitted(27, 38) Source(31, 34) + SourceIndex(0)
+-10>Emitted(27, 40) Source(31, 36) + SourceIndex(0)
+-11>Emitted(27, 43) Source(31, 39) + SourceIndex(0)
+-12>Emitted(27, 44) Source(31, 40) + SourceIndex(0)
+-13>Emitted(27, 45) Source(31, 41) + SourceIndex(0)
+1->Emitted(29, 9) Source(31, 5) + SourceIndex(0)
+2 >Emitted(29, 13) Source(31, 9) + SourceIndex(0)
+3 >Emitted(29, 14) Source(31, 10) + SourceIndex(0)
@@ -887,8 +788,8 @@
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(28, 9) Source(32, 5) + SourceIndex(0)
+-2 >Emitted(28, 46) Source(32, 42) + SourceIndex(0)
+1->Emitted(30, 9) Source(32, 5) + SourceIndex(0)
+2 >Emitted(30, 46) Source(32, 42) + SourceIndex(0)
---
@@ -898,23 +799,23 @@
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(29, 9) Source(33, 5) + SourceIndex(0)
+-2 >Emitted(29, 14) Source(33, 10) + SourceIndex(0)
+-3 >Emitted(29, 18) Source(33, 14) + SourceIndex(0)
+-4 >Emitted(29, 19) Source(33, 15) + SourceIndex(0)
+-5 >Emitted(29, 22) Source(33, 18) + SourceIndex(0)
+-6 >Emitted(29, 23) Source(33, 19) + SourceIndex(0)
+-7 >Emitted(29, 25) Source(33, 21) + SourceIndex(0)
+-8 >Emitted(29, 26) Source(33, 22) + SourceIndex(0)
+-9 >Emitted(29, 29) Source(33, 25) + SourceIndex(0)
+-10>Emitted(29, 30) Source(33, 26) + SourceIndex(0)
+-11>Emitted(29, 31) Source(33, 27) + SourceIndex(0)
+-12>Emitted(29, 37) Source(33, 33) + SourceIndex(0)
+-13>Emitted(29, 39) Source(33, 35) + SourceIndex(0)
+-14>Emitted(29, 40) Source(33, 36) + SourceIndex(0)
+-15>Emitted(29, 42) Source(33, 38) + SourceIndex(0)
+-16>Emitted(29, 44) Source(33, 40) + SourceIndex(0)
+-17>Emitted(29, 45) Source(33, 41) + SourceIndex(0)
+1 >Emitted(31, 9) Source(33, 5) + SourceIndex(0)
+2 >Emitted(31, 14) Source(33, 10) + SourceIndex(0)
+3 >Emitted(31, 18) Source(33, 14) + SourceIndex(0)
@@ -939,15 +840,15 @@
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(30, 13) Source(34, 9) + SourceIndex(0)
+-2 >Emitted(30, 14) Source(34, 10) + SourceIndex(0)
+-3 >Emitted(30, 15) Source(34, 11) + SourceIndex(0)
+-4 >Emitted(30, 16) Source(34, 12) + SourceIndex(0)
+-5 >Emitted(30, 17) Source(34, 13) + SourceIndex(0)
+-6 >Emitted(30, 18) Source(34, 14) + SourceIndex(0)
+-7 >Emitted(30, 23) Source(34, 19) + SourceIndex(0)
+-8 >Emitted(30, 25) Source(34, 21) + SourceIndex(0)
+-9 >Emitted(30, 26) Source(34, 22) + SourceIndex(0)
+1 >Emitted(32, 13) Source(34, 9) + SourceIndex(0)
+2 >Emitted(32, 14) Source(34, 10) + SourceIndex(0)
+3 >Emitted(32, 15) Source(34, 11) + SourceIndex(0)
@@ -964,8 +865,8 @@
1 >
>
2 > }
--1 >Emitted(36, 9) Source(35, 5) + SourceIndex(0)
--2 >Emitted(36, 10) Source(35, 6) + SourceIndex(0)
+-1 >Emitted(31, 9) Source(35, 5) + SourceIndex(0)
+-2 >Emitted(31, 10) Source(35, 6) + SourceIndex(0)
+1 >Emitted(33, 9) Source(35, 5) + SourceIndex(0)
+2 >Emitted(33, 10) Source(35, 6) + SourceIndex(0)
---
@@ -1010,15 +911,15 @@
> 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, 12) + SourceIndex(0)
--4 >Emitted(37, 11) Source(1, 15) + SourceIndex(0)
--5 >Emitted(37, 14) Source(1, 12) + SourceIndex(0)
--6 >Emitted(37, 21) Source(1, 15) + SourceIndex(0)
--7 >Emitted(37, 26) Source(1, 12) + SourceIndex(0)
--8 >Emitted(37, 33) Source(1, 15) + SourceIndex(0)
--9 >Emitted(37, 41) Source(36, 2) + SourceIndex(0)
+-1->Emitted(32, 5) Source(36, 1) + SourceIndex(0)
+-2 >Emitted(32, 6) Source(36, 2) + SourceIndex(0)
+-3 >Emitted(32, 8) Source(1, 12) + SourceIndex(0)
+-4 >Emitted(32, 11) Source(1, 15) + SourceIndex(0)
+-5 >Emitted(32, 14) Source(1, 12) + SourceIndex(0)
+-6 >Emitted(32, 21) Source(1, 15) + SourceIndex(0)
+-7 >Emitted(32, 26) Source(1, 12) + SourceIndex(0)
+-8 >Emitted(32, 33) Source(1, 15) + SourceIndex(0)
+-9 >Emitted(32, 41) Source(36, 2) + SourceIndex(0)
+1->Emitted(34, 5) Source(35, 6) + SourceIndex(0)
+2 >Emitted(34, 6) Source(36, 2) + SourceIndex(0)
+3 >Emitted(34, 8) Source(1, 12) + SourceIndex(0)
@@ -1068,13 +969,13 @@
> 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, 8) + SourceIndex(0)
--4 >Emitted(38, 7) Source(1, 11) + SourceIndex(0)
--5 >Emitted(38, 12) Source(1, 8) + SourceIndex(0)
--6 >Emitted(38, 15) Source(1, 11) + SourceIndex(0)
--7 >Emitted(38, 23) Source(36, 2) + SourceIndex(0)
+-1 >Emitted(33, 1) Source(36, 1) + SourceIndex(0)
+-2 >Emitted(33, 2) Source(36, 2) + SourceIndex(0)
+-3 >Emitted(33, 4) Source(1, 8) + SourceIndex(0)
+-4 >Emitted(33, 7) Source(1, 11) + SourceIndex(0)
+-5 >Emitted(33, 12) Source(1, 8) + SourceIndex(0)
+-6 >Emitted(33, 15) Source(1, 11) + SourceIndex(0)
+-7 >Emitted(33, 23) Source(36, 2) + SourceIndex(0)
+1 >Emitted(35, 1) Source(35, 6) + SourceIndex(0)
+2 >Emitted(35, 2) Source(36, 1) + SourceIndex(0)
+3 >Emitted(35, 2) Source(1, 1) + SourceIndex(0)
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDecorators.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDecorators.js.diff
index 5f87cbce49..ae140db2a3 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDecorators.js.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDecorators.js.diff
@@ -13,38 +13,24 @@
-var __param = (this && this.__param) || function (paramIndex, decorator) {
- return function (target, key) { decorator(target, key, paramIndex); }
-};
--var Greeter = /** @class */ (function () {
-- function Greeter(greeting) {
-- var b = [];
-- for (var _i = 1; _i < arguments.length; _i++) {
-- b[_i - 1] = arguments[_i];
+-let Greeter = (() => {
+- let Greeter = class Greeter {
+- constructor(greeting, ...b) {
+- this.greeting = greeting;
- }
-+@ClassDecorator1
-+@ClassDecorator2(10)
-+class Greeter {
-+ greeting;
-+ constructor(greeting, ...b) {
- this.greeting = greeting;
- }
-- Greeter.prototype.greet = function () {
-+ @PropertyDecorator1
-+ @PropertyDecorator2(40)
-+ greet() {
- return "" + this.greeting + "
";
-- };
-- Greeter.prototype.fn = function (x) {
-- return this.greeting;
-- };
-- Object.defineProperty(Greeter.prototype, "greetings", {
-- get: function () {
+- greet() {
+- return "" + this.greeting + "
";
+- }
+- fn(x) {
+- return this.greeting;
+- }
+- get greetings() {
- return this.greeting;
-- },
-- set: function (greetings) {
+- }
+- set greetings(greetings) {
- this.greeting = greetings;
-- },
-- enumerable: false,
-- configurable: true
-- });
+- }
+- };
- Greeter.x1 = 10;
- __decorate([
- PropertyDecorator1,
@@ -77,7 +63,18 @@
- __param(1, ParameterDecorator2(30))
- ], Greeter);
- return Greeter;
--}());
+-})();
++@ClassDecorator1
++@ClassDecorator2(10)
++class Greeter {
++ greeting;
++ constructor(greeting, ...b) {
++ this.greeting = greeting;
++ }
++ @PropertyDecorator1
++ @PropertyDecorator2(40)
++ greet() {
++ return "" + this.greeting + "
";
+ }
+ @PropertyDecorator1
+ @PropertyDecorator2(50)
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDecorators.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDecorators.js.map.diff
index d8f359b7e4..ad46039109 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDecorators.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDecorators.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMapValidationDecorators.js.map
@@= skipped -0, +0 lines =@@
//// [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,kBAAkB,CAAC,EAAE,CAAC;wCAGtB;IAIO;QAFP,kBAAkB;QAClB,kBAAkB,CAAC,EAAE,CAAC;sCACL;IAMV;QACL,WAAA,mBAAmB,CAAA;QACnB,WAAA,mBAAmB,CAAC,EAAE,CAAC,CAAA;qCAGzB;IAID;QAFC,kBAAkB;QAClB,kBAAkB,C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gICAgICAgICB0aGlzLmdyZWV0aW5nID0gZ3JlZXRpbmdzOw0KICAgICAgICB9LA0KICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwNCiAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlDQogICAgfSk7DQogICAgR3JlZXRlci54MSA9IDEwOw0KICAgIF9fZGVjb3JhdGUoWw0KICAgICAgICBQcm9wZXJ0eURlY29yYXRvcjEsDQogICAgICAgIFByb3BlcnR5RGVjb3JhdG9yMig0MCkNCiAgICBdLCBHcmVldGVyLnByb3RvdHlwZSwgImdyZWV0IiwgbnVsbCk7DQogICAgX19kZWNvcmF0ZShbDQogICAgICAgIFByb3BlcnR5RGVjb3JhdG9yMSwNCiAgICAgICAgUHJvcGVydHlEZWNvcmF0b3IyKDUwKQ0KICAgIF0sIEdyZWV0ZXIucHJvdG90eXBlLCAieCIsIHZvaWQgMCk7DQogICAgX19kZWNvcmF0ZShbDQogICAgICAgIF9fcGFyYW0oMCwgUGFyYW1ldGVyRGVjb3JhdG9yMSksDQogICAgICAgIF9fcGFyYW0oMCwgUGFyYW1ldGVyRGVjb3JhdG9yMig3MCkpDQogICAgXSwgR3JlZXRlci5wcm90b3R5cGUsICJmbiIsIG51bGwpOw0KICAgIF9fZGVjb3JhdGUoWw0KICAgICAgICBQcm9wZXJ0eURlY29yYXRvcjEsDQogICAgICAgIFByb3BlcnR5RGVjb3JhdG9yMig4MCksDQogICAgICAgIF9fcGFyYW0oMCwgUGFyYW1ldGVyRGVjb3JhdG9yMSksDQogICAgICAgIF9fcGFyYW0oMCwgUGFyYW1ldGVyRGVjb3JhdG9yMig5MCkpDQogICAgXSwgR3JlZXRlci5wcm90b3R5cGUsICJncmVldGluZ3MiLCBudWxsKTsNCiAgICBfX2RlY29yYXRlKFsNCiAgICAgICAgUHJvcGVydHlEZWNvcmF0b3IxLA0KICAgICAgICBQcm9wZXJ0eURlY29yYXRvcjIoNjApDQogICAgXSwgR3JlZXRlciwgIngxIiwgdm9pZCAwKT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b3IyKDQwKQogICAgZ3JlZXQoKSB7CiAgICAgICAgcmV0dXJuICI8aDE+IiArIHRoaXMuZ3JlZXRpbmcgKyAiPC9oMT4iOwogICAgfQoKICAgIEBQcm9wZXJ0eURlY29yYXRvcjEKICAgIEBQcm9wZXJ0eURlY29yYXRvcjIoNTApCiAgICBwcml2YXRlIHg6IHN0cmluZzsKCiAgICBAUHJvcGVydHlEZWNvcmF0b3IxCiAgICBAUHJvcGVydHlEZWNvcmF0b3IyKDYwKQogICAgcHJpdmF0ZSBzdGF0aWMgeDE6IG51bWJlciA9IDEwOwogICAgCiAgICBwcml2YXRlIGZuKAogICAgICBAUGFyYW1ldGVyRGVjb3JhdG9yMSAKICAgICAgQFBhcmFtZXRlckRlY29yYXRvcjIoNzApIAogICAgICB4OiBudW1iZXIpIHsKICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsKICAgIH0KCiAgICBAUHJvcGVydHlEZWNvcmF0b3IxCiAgICBAUHJvcGVydHlEZWNvcmF0b3IyKDgwKQogICAgZ2V0IGdyZWV0aW5ncygpIHsKICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsKICAgIH0KCiAgICBzZXQgZ3JlZXRpbmdzKAogICAgICBAUGFyYW1ldGVyRGVjb3JhdG9yMSAKICAgICAgQFBhcmFtZXRlckRlY29yYXRvcjIoOTApIAogICAgICBncmVldGluZ3M6IHN0cmluZykgewogICAgICAgIHRoaXMuZ3JlZXRpbmcgPSBncmVldGluZ3M7CiAgICB9ICAgIAp9
+-{"version":3,"file":"sourceMapValidationDecorators.js","sourceRoot":"","sources":["sourceMapValidationDecorators.ts"],"names":[],"mappings":";;;;;;;;;AASA;IAAA,IAAM,OAAO,GAAb,MAAM,OAAO;QACT,YAGS,QAAgB,EAIvB,GAAG,CAAW;YAJP,aAAQ,GAAR,QAAQ,CAAQ;QAKzB,CAAC;QAID,KAAK;YACD,OAAO,MAAM,GAAG,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QAC5C,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QogICAgICAgIGdldCBncmVldGluZ3MoKSB7DQogICAgICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsNCiAgICAgICAgfQ0KICAgICAgICBzZXQgZ3JlZXRpbmdzKGdyZWV0aW5ncykgew0KICAgICAgICAgICAgdGhpcy5ncmVldGluZyA9IGdyZWV0aW5nczsNCiAgICAgICAgfQ0KICAgIH07DQogICAgR3JlZXRlci54MSA9IDEwOw0KICAgIF9fZGVjb3JhdGUoWw0KICAgICAgICBQcm9wZXJ0eURlY29yYXRvcjEsDQogICAgICAgIFByb3BlcnR5RGVjb3JhdG9yMig0MCkNCiAgICBdLCBHcmVldGVyLnByb3RvdHlwZSwgImdyZWV0IiwgbnVsbCk7DQogICAgX19kZWNvcmF0ZShbDQogICAgICAgIFByb3BlcnR5RGVjb3JhdG9yMSwNCiAgICAgICAgUHJvcGVydHlEZWNvcmF0b3IyKDUwKQ0KICAgIF0sIEdyZWV0ZXIucHJvdG90eXBlLCAieCIsIHZvaWQgMCk7DQogICAgX19kZWNvcmF0ZShbDQogICAgICAgIF9fcGFyYW0oMCwgUGFyYW1ldGVyRGVjb3JhdG9yMSksDQogICAgICAgIF9fcGFyYW0oMCwgUGFyYW1ldGVyRGVjb3JhdG9yMig3MCkpDQogICAgXSwgR3JlZXRlci5wcm90b3R5cGUsICJmbiIsIG51bGwpOw0KICAgIF9fZGVjb3JhdGUoWw0KICAgICAgICBQcm9wZXJ0eURlY29yYXRvcjEsDQogICAgICAgIFByb3BlcnR5RGVjb3JhdG9yMig4MCksDQogICAgICAgIF9fcGFyYW0oMCwgUGFyYW1ldGVyRGVjb3JhdG9yMSksDQogICAgICAgIF9fcGFyYW0oMCwgUGFyYW1ldGVyRGVjb3JhdG9yMig5MCkpDQogICAgXSwgR3JlZXRlci5wcm90b3R5cGUsICJncmVldGluZ3MiLCBudWxsKTsNCiAgICBfX2RlY29yYXRlKFsNCiAgICAgICAgUHJvcGVydHlEZWNvcmF0b3IxLA0KICAgICAgICBQcm9w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HlEZWNvcmF0b3IyKDQwKQogICAgZ3JlZXQoKSB7CiAgICAgICAgcmV0dXJuICI8aDE+IiArIHRoaXMuZ3JlZXRpbmcgKyAiPC9oMT4iOwogICAgfQoKICAgIEBQcm9wZXJ0eURlY29yYXRvcjEKICAgIEBQcm9wZXJ0eURlY29yYXRvcjIoNTApCiAgICBwcml2YXRlIHg6IHN0cmluZzsKCiAgICBAUHJvcGVydHlEZWNvcmF0b3IxCiAgICBAUHJvcGVydHlEZWNvcmF0b3IyKDYwKQogICAgcHJpdmF0ZSBzdGF0aWMgeDE6IG51bWJlciA9IDEwOwogICAgCiAgICBwcml2YXRlIGZuKAogICAgICBAUGFyYW1ldGVyRGVjb3JhdG9yMSAKICAgICAgQFBhcmFtZXRlckRlY29yYXRvcjIoNzApIAogICAgICB4OiBudW1iZXIpIHsKICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsKICAgIH0KCiAgICBAUHJvcGVydHlEZWNvcmF0b3IxCiAgICBAUHJvcGVydHlEZWNvcmF0b3IyKDgwKQogICAgZ2V0IGdyZWV0aW5ncygpIHsKICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsKICAgIH0KCiAgICBzZXQgZ3JlZXRpbmdzKAogICAgICBAUGFyYW1ldGVyRGVjb3JhdG9yMSAKICAgICAgQFBhcmFtZXRlckRlY29yYXRvcjIoOTApIAogICAgICBncmVldGluZ3M6IHN0cmluZykgewogICAgICAgIHRoaXMuZ3JlZXRpbmcgPSBncmVldGluZ3M7CiAgICB9ICAgIAp9
+{"version":3,"file":"sourceMapValidationDecorators.js","sourceRoot":"","sources":["sourceMapValidationDecorators.ts"],"names":[],"mappings":"AAOA,CAAC,eAAe;CACf,eAAe,CAAC,EAAE,CAAC;MACd,OAAO;IAIA,QAAQ;IAHjB,YAGS,QAAgB,EAIvB,GAAG,CAAW,EAAE;wBAJT,QAAQ;IAIE,CAClB;IAED,CAAC,kBAAkB;KAClB,kBAAkB,CAAC,EAAE,CAAC;IACvB,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cy5ncmVldGluZzsKICAgIH0KCiAgICBzZXQgZ3JlZXRpbmdzKAogICAgICBAUGFyYW1ldGVyRGVjb3JhdG9yMSAKICAgICAgQFBhcmFtZXRlckRlY29yYXRvcjIoOTApIAogICAgICBncmVldGluZ3M6IHN0cmluZykgewogICAgICAgIHRoaXMuZ3JlZXRpbmcgPSBncmVldGluZ3M7CiAgICB9ICAgIAp9
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDecorators.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDecorators.sourcemap.txt.diff
index 4718e482c5..35ab7db93b 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDecorators.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDecorators.sourcemap.txt.diff
@@ -13,10 +13,10 @@
->>>var __param = (this && this.__param) || function (paramIndex, decorator) {
->>> return function (target, key) { decorator(target, key, paramIndex); }
->>>};
-->>>var Greeter = /** @class */ (function () {
+->>>let Greeter = (() => {
+>>>@ClassDecorator1
1 >
--2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+2 >^
+3 > ^^^^^^^^^^^^^^^
+4 > ^^^^^->
@@ -29,282 +29,152 @@
>
- >@ClassDecorator1
- >@ClassDecorator2(10)
- >
+- >
-1 >Emitted(10, 1) Source(10, 1) + SourceIndex(0)
----
-->>> function Greeter(greeting) {
+->>> let Greeter = class Greeter {
-1->^^^^
--2 > ^^^^^^^^^^^^^^^^^
--3 > ^^^^^^^^
--1->class Greeter {
-- >
-+2 >@
-+3 > ClassDecorator1
-+1 >Emitted(1, 1) Source(8, 1) + SourceIndex(0)
-+2 >Emitted(1, 2) Source(8, 2) + SourceIndex(0)
-+3 >Emitted(1, 17) Source(8, 17) + SourceIndex(0)
-+---
-+>>>@ClassDecorator2(10)
-+1->^
-+2 > ^^^^^^^^^^^^^^^
-+3 > ^
-+4 > ^^
-+5 > ^
-+1->
-+ >@
-+2 > ClassDecorator2
-+3 > (
-+4 > 10
-+5 > )
-+1->Emitted(2, 2) Source(9, 2) + SourceIndex(0)
-+2 >Emitted(2, 17) Source(9, 17) + SourceIndex(0)
-+3 >Emitted(2, 18) Source(9, 18) + SourceIndex(0)
-+4 >Emitted(2, 20) Source(9, 20) + SourceIndex(0)
-+5 >Emitted(2, 21) Source(9, 21) + SourceIndex(0)
-+---
-+>>>class Greeter {
-+1 >^^^^^^
-+2 > ^^^^^^^
-+3 > ^->
-+1 >
-+ >class
-+2 > Greeter
-+1 >Emitted(3, 7) Source(10, 7) + SourceIndex(0)
-+2 >Emitted(3, 14) Source(10, 14) + SourceIndex(0)
-+---
-+>>> greeting;
-+1->^^^^
-+2 > ^^^^^^^^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^->
-+1-> {
-+ > constructor(
-+ > @ParameterDecorator1
-+ > @ParameterDecorator2(20)
-+ > public
-+2 > greeting
-+1->Emitted(4, 5) Source(14, 14) + SourceIndex(0)
-+2 >Emitted(4, 13) Source(14, 22) + SourceIndex(0)
-+---
-+>>> constructor(greeting, ...b) {
-+1->^^^^
-+2 > ^^^^^^^^^^^^
-+3 > ^^^^^^^^
-+4 > ^^
-+5 > ^^^
-+6 > ^
-+7 > ^^
-+8 > ^^->
-+1->
- 2 > constructor(
- > @ParameterDecorator1
- > @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)
+-2 > ^^^^
+-3 > ^^^^^^^
+-4 > ^^^
+-5 > ^^^^^^
+-6 > ^^^^^^^
+-7 > ^^^^^^^->
+-1->
+-2 > class
+-3 > Greeter
+-4 >
+-5 > class
+-6 > Greeter
+-1->Emitted(11, 5) Source(10, 1) + SourceIndex(0)
+-2 >Emitted(11, 9) Source(10, 7) + SourceIndex(0)
+-3 >Emitted(11, 16) Source(10, 14) + SourceIndex(0)
+-4 >Emitted(11, 19) Source(10, 1) + SourceIndex(0)
+-5 >Emitted(11, 25) Source(10, 7) + SourceIndex(0)
+-6 >Emitted(11, 32) Source(10, 14) + SourceIndex(0)
----
-->>> var b = [];
--1 >^^^^^^^^
--2 > ^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >,
-- >
-- > @ParameterDecorator1
-- > @ParameterDecorator2(30)
-- >
--2 > ...b: string[]
--1 >Emitted(12, 9) Source(18, 7) + SourceIndex(0)
--2 >Emitted(12, 20) Source(18, 21) + SourceIndex(0)
+->>> constructor(greeting, ...b) {
+-1->^^^^^^^^
+-2 > ^^^^^^^^^^^^
+-3 > ^^^^^^^^
+-4 > ^^
+-5 > ^^^
+-6 > ^
+-7 > ^^^^->
+-1-> {
+- >
+-2 > constructor(
+- > @ParameterDecorator1
+- > @ParameterDecorator2(20)
+- > public
+-3 > greeting: string
+-4 > ,
+- >
+- > @ParameterDecorator1
+- > @ParameterDecorator2(30)
+- >
+-5 > ...
+-6 > b: string[]
+-1->Emitted(12, 9) Source(11, 5) + SourceIndex(0)
+-2 >Emitted(12, 21) Source(14, 14) + SourceIndex(0)
+-3 >Emitted(12, 29) Source(14, 30) + SourceIndex(0)
+-4 >Emitted(12, 31) Source(18, 7) + SourceIndex(0)
+-5 >Emitted(12, 34) Source(18, 10) + SourceIndex(0)
+-6 >Emitted(12, 35) Source(18, 21) + SourceIndex(0)
----
-->>> for (var _i = 1; _i < arguments.length; _i++) {
--1->^^^^^^^^^^^^^
--2 > ^^^^^^^^^^
--3 > ^^
--4 > ^^^^^^^^^^^^^^^^^^^^^
--5 > ^^
--6 > ^^^^
+->>> this.greeting = greeting;
+-1->^^^^^^^^^^^^
+-2 > ^^^^^^^^^^^^^
+-3 > ^^^
+-4 > ^^^^^^^^
+-5 > ^
-1->
--2 > ...b: string[]
--3 >
--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)
-----
-->>> 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)
+-2 > greeting
+-3 >
+-4 > greeting
+-5 > : string
+-1->Emitted(13, 13) Source(14, 14) + SourceIndex(0)
+-2 >Emitted(13, 26) Source(14, 22) + SourceIndex(0)
+-3 >Emitted(13, 29) Source(14, 14) + SourceIndex(0)
+-4 >Emitted(13, 37) Source(14, 22) + SourceIndex(0)
+-5 >Emitted(13, 38) Source(14, 30) + SourceIndex(0)
----
->>> }
-+3 > greeting: string
-+4 > ,
-+ >
-+ > @ParameterDecorator1
-+ > @ParameterDecorator2(30)
-+ >
-+5 > ...
-+6 > b: string[]
-+7 > )
-+1->Emitted(5, 5) Source(11, 5) + SourceIndex(0)
-+2 >Emitted(5, 17) Source(14, 14) + SourceIndex(0)
-+3 >Emitted(5, 25) Source(14, 30) + SourceIndex(0)
-+4 >Emitted(5, 27) Source(18, 7) + SourceIndex(0)
-+5 >Emitted(5, 30) Source(18, 10) + SourceIndex(0)
-+6 >Emitted(5, 31) Source(18, 21) + SourceIndex(0)
-+7 >Emitted(5, 33) Source(18, 23) + SourceIndex(0)
-+---
- >>> this.greeting = greeting;
-1 >^^^^^^^^
--2 > ^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^
--5 > ^
--1 >
--2 > greeting
--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->^^^^^^^^^^^^^^^^^^^^^^^^
-+2 > ^^^^^^^^
-+1->
-+2 > greeting
-+1->Emitted(6, 25) Source(14, 14) + SourceIndex(0)
-+2 >Emitted(6, 33) Source(14, 22) + SourceIndex(0)
- ---
- >>> }
- 1 >^^^^
- 2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-2 > ^
+-3 > ^^^^^^^^^->
-1 >,
-+3 > ^^^^^^^^^^^^^^^^^^^->
-+1 >: string,
- >
- > @ParameterDecorator1
- > @ParameterDecorator2(30)
- > ...b: string[]) {
+- >
+- > @ParameterDecorator1
+- > @ParameterDecorator2(30)
+- > ...b: string[]) {
- >
--2 > }
--1 >Emitted(17, 5) Source(19, 5) + SourceIndex(0)
--2 >Emitted(17, 6) Source(19, 6) + SourceIndex(0)
-+2 >
-+ > }
-+1 >Emitted(7, 5) Source(18, 24) + SourceIndex(0)
-+2 >Emitted(7, 6) Source(19, 6) + SourceIndex(0)
- ---
-->>> Greeter.prototype.greet = function () {
-+>>> @PropertyDecorator1
- 1->^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^^^^^^^^^^->
+-2 > }
+-1 >Emitted(14, 9) Source(19, 5) + SourceIndex(0)
+-2 >Emitted(14, 10) Source(19, 6) + SourceIndex(0)
+----
+->>> greet() {
+-1->^^^^^^^^
+-2 > ^^^^^
+-3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-1->
- >
- > @PropertyDecorator1
- > @PropertyDecorator2(40)
-+2 > ^
-+3 > ^^^^^^^^^^^^^^^^^^
-+4 > ^^^^^->
-+1->
-+ >
-+ >
-+2 > @
-+3 > PropertyDecorator1
-+1->Emitted(8, 5) Source(21, 5) + SourceIndex(0)
-+2 >Emitted(8, 6) Source(21, 6) + SourceIndex(0)
-+3 >Emitted(8, 24) Source(21, 24) + SourceIndex(0)
-+---
-+>>> @PropertyDecorator2(40)
-+1->^^^^^
-+2 > ^^^^^^^^^^^^^^^^^^
-+3 > ^
-+4 > ^^
-+5 > ^
-+1->
-+ > @
-+2 > PropertyDecorator2
-+3 > (
-+4 > 40
-+5 > )
-+1->Emitted(9, 6) Source(22, 6) + SourceIndex(0)
-+2 >Emitted(9, 24) Source(22, 24) + SourceIndex(0)
-+3 >Emitted(9, 25) Source(22, 25) + SourceIndex(0)
-+4 >Emitted(9, 27) Source(22, 27) + SourceIndex(0)
-+5 >Emitted(9, 28) Source(22, 28) + SourceIndex(0)
-+---
-+>>> greet() {
-+1 >^^^^
-+2 > ^^^^^
-+3 > ^^^
-+4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
- >
- 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)
-+3 > ()
-+1 >Emitted(10, 5) Source(23, 5) + SourceIndex(0)
-+2 >Emitted(10, 10) Source(23, 10) + SourceIndex(0)
-+3 >Emitted(10, 13) Source(23, 13) + SourceIndex(0)
- ---
- >>> return "" + this.greeting + "
";
- 1->^^^^^^^^
-@@= skipped -120, +157 lines =@@
- 8 > ^^^
- 9 > ^^^^^^^
- 10> ^
--1->greet() {
-+1->{
- >
- 2 > return
- 3 > ""
-@@= skipped -11, +11 lines =@@
- 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)
+- >
+-2 > greet
+-1->Emitted(15, 9) Source(23, 5) + SourceIndex(0)
+-2 >Emitted(15, 14) Source(23, 10) + SourceIndex(0)
----
-->>> };
--1 >^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+->>> return "" + this.greeting + "
";
+-1->^^^^^^^^^^^^
+-2 > ^^^^^^^
+-3 > ^^^^^^
+-4 > ^^^
+-5 > ^^^^
+-6 > ^
+-7 > ^^^^^^^^
+-8 > ^^^
+-9 > ^^^^^^^
+-10> ^
+-1->() {
+- >
+-2 > return
+-3 > ""
+-4 > +
+-5 > this
+-6 > .
+-7 > greeting
+-8 > +
+-9 > "
"
+-10> ;
+-1->Emitted(16, 13) Source(24, 9) + SourceIndex(0)
+-2 >Emitted(16, 20) Source(24, 16) + SourceIndex(0)
+-3 >Emitted(16, 26) Source(24, 22) + SourceIndex(0)
+-4 >Emitted(16, 29) Source(24, 25) + SourceIndex(0)
+-5 >Emitted(16, 33) Source(24, 29) + SourceIndex(0)
+-6 >Emitted(16, 34) Source(24, 30) + SourceIndex(0)
+-7 >Emitted(16, 42) Source(24, 38) + SourceIndex(0)
+-8 >Emitted(16, 45) Source(24, 41) + SourceIndex(0)
+-9 >Emitted(16, 52) Source(24, 48) + SourceIndex(0)
+-10>Emitted(16, 53) Source(24, 49) + SourceIndex(0)
+----
+->>> }
+-1 >^^^^^^^^
+-2 > ^
+-3 > ^^^^^^^->
-1 >
- >
--2 > }
--1 >Emitted(20, 5) Source(25, 5) + SourceIndex(0)
--2 >Emitted(20, 6) Source(25, 6) + SourceIndex(0)
+-2 > }
+-1 >Emitted(17, 9) Source(25, 5) + SourceIndex(0)
+-2 >Emitted(17, 10) Source(25, 6) + SourceIndex(0)
----
-->>> Greeter.prototype.fn = function (x) {
--1->^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^
--3 > ^^^
--4 > ^^^^^^^^^^
--5 > ^
+->>> fn(x) {
+-1->^^^^^^^^
+-2 > ^^
+-3 > ^
+-4 > ^
+-5 > ^^^^^^^^^^^^^^^^^^^^^^->
-1->
- >
- > @PropertyDecorator1
@@ -314,215 +184,65 @@
- > @PropertyDecorator1
- > @PropertyDecorator2(60)
- > private static x1: number = 10;
-+1->Emitted(11, 9) Source(24, 9) + SourceIndex(0)
-+2 >Emitted(11, 16) Source(24, 16) + SourceIndex(0)
-+3 >Emitted(11, 22) Source(24, 22) + SourceIndex(0)
-+4 >Emitted(11, 25) Source(24, 25) + SourceIndex(0)
-+5 >Emitted(11, 29) Source(24, 29) + SourceIndex(0)
-+6 >Emitted(11, 30) Source(24, 30) + SourceIndex(0)
-+7 >Emitted(11, 38) Source(24, 38) + SourceIndex(0)
-+8 >Emitted(11, 41) Source(24, 41) + SourceIndex(0)
-+9 >Emitted(11, 48) Source(24, 48) + SourceIndex(0)
-+10>Emitted(11, 49) Source(24, 49) + SourceIndex(0)
-+---
-+>>> }
-+1 >^^^^
-+2 > ^
-+3 > ^^^^^^^^^^^^^^^^^^^->
-+1 >
-+2 >
-+ > }
-+1 >Emitted(12, 5) Source(24, 49) + SourceIndex(0)
-+2 >Emitted(12, 6) Source(25, 6) + SourceIndex(0)
-+---
-+>>> @PropertyDecorator1
-+1->^^^^
-+2 > ^
-+3 > ^^^^^^^^^^^^^^^^^^
-+4 > ^^^^^->
-+1->
-+ >
-+ >
-+2 > @
-+3 > PropertyDecorator1
-+1->Emitted(13, 5) Source(27, 5) + SourceIndex(0)
-+2 >Emitted(13, 6) Source(27, 6) + SourceIndex(0)
-+3 >Emitted(13, 24) Source(27, 24) + SourceIndex(0)
-+---
-+>>> @PropertyDecorator2(50)
-+1->^^^^^
-+2 > ^^^^^^^^^^^^^^^^^^
-+3 > ^
-+4 > ^^
-+5 > ^
-+1->
-+ > @
-+2 > PropertyDecorator2
-+3 > (
-+4 > 50
-+5 > )
-+1->Emitted(14, 6) Source(28, 6) + SourceIndex(0)
-+2 >Emitted(14, 24) Source(28, 24) + SourceIndex(0)
-+3 >Emitted(14, 25) Source(28, 25) + SourceIndex(0)
-+4 >Emitted(14, 27) Source(28, 27) + SourceIndex(0)
-+5 >Emitted(14, 28) Source(28, 28) + SourceIndex(0)
-+---
-+>>> x;
-+1 >^^^^
-+2 > ^
-+3 > ^
-+4 > ^^^^^^^^^^^^^^^^^^->
-+1 >
-+ > private
-+2 > x
-+3 > : string;
-+1 >Emitted(15, 5) Source(29, 13) + SourceIndex(0)
-+2 >Emitted(15, 6) Source(29, 14) + SourceIndex(0)
-+3 >Emitted(15, 7) Source(29, 23) + SourceIndex(0)
-+---
-+>>> @PropertyDecorator1
-+1->^^^^
-+2 > ^
-+3 > ^^^^^^^^^^^^^^^^^^
-+4 > ^^^^^->
-+1->
-+ >
-+ >
-+2 > @
-+3 > PropertyDecorator1
-+1->Emitted(16, 5) Source(31, 5) + SourceIndex(0)
-+2 >Emitted(16, 6) Source(31, 6) + SourceIndex(0)
-+3 >Emitted(16, 24) Source(31, 24) + SourceIndex(0)
-+---
-+>>> @PropertyDecorator2(60)
-+1->^^^^^
-+2 > ^^^^^^^^^^^^^^^^^^
-+3 > ^
-+4 > ^^
-+5 > ^
-+1->
-+ > @
-+2 > PropertyDecorator2
-+3 > (
-+4 > 60
-+5 > )
-+1->Emitted(17, 6) Source(32, 6) + SourceIndex(0)
-+2 >Emitted(17, 24) Source(32, 24) + SourceIndex(0)
-+3 >Emitted(17, 25) Source(32, 25) + SourceIndex(0)
-+4 >Emitted(17, 27) Source(32, 27) + SourceIndex(0)
-+5 >Emitted(17, 28) Source(32, 28) + SourceIndex(0)
-+---
-+>>> static x1 = 10;
-+1 >^^^^
-+2 > ^^^^^^
-+3 > ^
-+4 > ^^
-+5 > ^^^
-+6 > ^^
-+7 > ^
-+1 >
-+ > private
-+2 > static
-+3 >
-+4 > x1
-+5 > : number =
-+6 > 10
-+7 > ;
-+1 >Emitted(18, 5) Source(33, 13) + SourceIndex(0)
-+2 >Emitted(18, 11) Source(33, 19) + SourceIndex(0)
-+3 >Emitted(18, 12) Source(33, 20) + SourceIndex(0)
-+4 >Emitted(18, 14) Source(33, 22) + SourceIndex(0)
-+5 >Emitted(18, 17) Source(33, 33) + SourceIndex(0)
-+6 >Emitted(18, 19) Source(33, 35) + SourceIndex(0)
-+7 >Emitted(18, 20) Source(33, 36) + SourceIndex(0)
-+---
-+>>> fn(x) {
-+1 >^^^^
-+2 > ^^
-+3 > ^
-+4 > ^
-+5 > ^^
-+6 > ^^^^^^^^^^^^^^^^^^^^->
-+1 >
- >
- > private
- 2 > fn
--3 >
--4 > fn(
-- > @ParameterDecorator1
-- > @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)
-+3 > (
-+ > @ParameterDecorator1
-+ > @ParameterDecorator2(70)
-+ >
-+4 > x: number
-+5 > )
-+1 >Emitted(19, 5) Source(35, 13) + SourceIndex(0)
-+2 >Emitted(19, 7) Source(35, 15) + SourceIndex(0)
-+3 >Emitted(19, 8) Source(38, 7) + SourceIndex(0)
-+4 >Emitted(19, 9) Source(38, 16) + SourceIndex(0)
-+5 >Emitted(19, 11) Source(38, 18) + SourceIndex(0)
- ---
- >>> return this.greeting;
--1 >^^^^^^^^
-+1->^^^^^^^^
- 2 > ^^^^^^^
- 3 > ^^^^
- 4 > ^
- 5 > ^^^^^^^^
- 6 > ^
--1 >) {
-+1->{
- >
- 2 > return
- 3 > this
- 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)
+- >
+- > private
+-2 > fn
+-3 > (
+- > @ParameterDecorator1
+- > @ParameterDecorator2(70)
+- >
+-4 > x: number
+-1->Emitted(18, 9) Source(35, 13) + SourceIndex(0)
+-2 >Emitted(18, 11) Source(35, 15) + SourceIndex(0)
+-3 >Emitted(18, 12) Source(38, 7) + SourceIndex(0)
+-4 >Emitted(18, 13) Source(38, 16) + SourceIndex(0)
----
-->>> };
--1 >^^^^
--2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+->>> return this.greeting;
+-1->^^^^^^^^^^^^
+-2 > ^^^^^^^
+-3 > ^^^^
+-4 > ^
+-5 > ^^^^^^^^
+-6 > ^
+-1->) {
+- >
+-2 > return
+-3 > this
+-4 > .
+-5 > greeting
+-6 > ;
+-1->Emitted(19, 13) Source(39, 9) + SourceIndex(0)
+-2 >Emitted(19, 20) Source(39, 16) + SourceIndex(0)
+-3 >Emitted(19, 24) Source(39, 20) + SourceIndex(0)
+-4 >Emitted(19, 25) Source(39, 21) + SourceIndex(0)
+-5 >Emitted(19, 33) Source(39, 29) + SourceIndex(0)
+-6 >Emitted(19, 34) Source(39, 30) + SourceIndex(0)
+----
+->>> }
+-1 >^^^^^^^^
+-2 > ^
+-3 > ^^^^^^^^^^^^^^^^^->
-1 >
- >
--2 > }
--1 >Emitted(23, 5) Source(40, 5) + SourceIndex(0)
--2 >Emitted(23, 6) Source(40, 6) + SourceIndex(0)
+-2 > }
+-1 >Emitted(20, 9) Source(40, 5) + SourceIndex(0)
+-2 >Emitted(20, 10) Source(40, 6) + SourceIndex(0)
----
-->>> Object.defineProperty(Greeter.prototype, "greetings", {
--1->^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+->>> get greetings() {
+-1->^^^^^^^^
+-2 > ^^^^
+-3 > ^^^^^^^^^
+-4 > ^^^^^^^^^^^^^->
-1->
- >
- > @PropertyDecorator1
- > @PropertyDecorator2(80)
- >
--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)
-----
-->>> get: function () {
--1 >^^^^^^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^->
--1 >
--1 >Emitted(25, 14) Source(44, 5) + SourceIndex(0)
+-2 > get
+-3 > greetings
+-1->Emitted(21, 9) Source(44, 5) + SourceIndex(0)
+-2 >Emitted(21, 13) Source(44, 9) + SourceIndex(0)
+-3 >Emitted(21, 22) Source(44, 18) + SourceIndex(0)
----
->>> return this.greeting;
-1->^^^^^^^^^^^^
@@ -531,51 +251,67 @@
-4 > ^
-5 > ^^^^^^^^
-6 > ^
--1->get greetings() {
+-1->() {
- >
-2 > return
-3 > this
-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(22, 13) Source(45, 9) + SourceIndex(0)
+-2 >Emitted(22, 20) Source(45, 16) + SourceIndex(0)
+-3 >Emitted(22, 24) Source(45, 20) + SourceIndex(0)
+-4 >Emitted(22, 25) Source(45, 21) + SourceIndex(0)
+-5 >Emitted(22, 33) Source(45, 29) + SourceIndex(0)
+-6 >Emitted(22, 34) Source(45, 30) + SourceIndex(0)
----
-->>> },
+->>> }
-1 >^^^^^^^^
-2 > ^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+-3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
-1 >
- >
-2 > }
--1 >Emitted(27, 9) Source(46, 5) + SourceIndex(0)
--2 >Emitted(27, 10) Source(46, 6) + SourceIndex(0)
+-1 >Emitted(23, 9) Source(46, 5) + SourceIndex(0)
+-2 >Emitted(23, 10) Source(46, 6) + SourceIndex(0)
----
-->>> set: function (greetings) {
--1->^^^^^^^^^^^^^
--2 > ^^^^^^^^^^
--3 > ^^^^^^^^^
--4 > ^^^^^^^->
+->>> set greetings(greetings) {
+-1->^^^^^^^^
+-2 > ^^^^
+-3 > ^^^^^^^^^
+-4 > ^
+-5 > ^^^^^^^^^
+-6 > ^^^^^^^^->
-1->
- >
- >
--2 > set greetings(
-- > @ParameterDecorator1
-- > @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)
+-2 > set
+-3 > greetings
+-4 > (
+- > @ParameterDecorator1
+- > @ParameterDecorator2(90)
+- >
+-5 > greetings: string
+-1->Emitted(24, 9) Source(48, 5) + SourceIndex(0)
+-2 >Emitted(24, 13) Source(48, 9) + SourceIndex(0)
+-3 >Emitted(24, 22) Source(48, 18) + SourceIndex(0)
+-4 >Emitted(24, 23) Source(51, 7) + SourceIndex(0)
+-5 >Emitted(24, 32) Source(51, 24) + SourceIndex(0)
----
->>> this.greeting = greetings;
-1->^^^^^^^^^^^^
-2 > ^^^^
--3 > ^
++ >
++2 >@
++3 > ClassDecorator1
++1 >Emitted(1, 1) Source(8, 1) + SourceIndex(0)
++2 >Emitted(1, 2) Source(8, 2) + SourceIndex(0)
++3 >Emitted(1, 17) Source(8, 17) + SourceIndex(0)
++---
++>>>@ClassDecorator2(10)
++1->^
++2 > ^^^^^^^^^^^^^^^
+ 3 > ^
-4 > ^^^^^^^^
-5 > ^^^
-6 > ^^^^^^^^^
@@ -588,57 +324,49 @@
-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(25, 13) Source(52, 9) + SourceIndex(0)
+-2 >Emitted(25, 17) Source(52, 13) + SourceIndex(0)
+-3 >Emitted(25, 18) Source(52, 14) + SourceIndex(0)
+-4 >Emitted(25, 26) Source(52, 22) + SourceIndex(0)
+-5 >Emitted(25, 29) Source(52, 25) + SourceIndex(0)
+-6 >Emitted(25, 38) Source(52, 34) + SourceIndex(0)
+-7 >Emitted(25, 39) Source(52, 35) + SourceIndex(0)
----
-->>> },
+->>> }
-1 >^^^^^^^^
-2 > ^
--3 > ^^^^^^^^^^^^^^^^^^->
-1 >
- >
-2 > }
--1 >Emitted(30, 9) Source(53, 5) + SourceIndex(0)
--2 >Emitted(30, 10) Source(53, 6) + SourceIndex(0)
-----
-->>> enumerable: false,
-->>> configurable: true
-->>> });
--1->^^^^^^^
--2 > ^^^^^^^^^^^^^^->
--1->
--1->Emitted(33, 8) Source(46, 6) + SourceIndex(0)
+-1 >Emitted(26, 9) Source(53, 5) + SourceIndex(0)
+-2 >Emitted(26, 10) Source(53, 6) + SourceIndex(0)
----
+->>> };
->>> Greeter.x1 = 10;
--1->^^^^
+-1 >^^^^
-2 > ^^^^^^^^^^
-3 > ^^^
--4 > ^^
+ 4 > ^^
-5 >
-6 > ^
--1->
+-1 >
-2 > x1
-3 > : number =
-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(28, 5) Source(33, 20) + SourceIndex(0)
+-2 >Emitted(28, 15) Source(33, 22) + SourceIndex(0)
+-3 >Emitted(28, 18) Source(33, 33) + SourceIndex(0)
+-4 >Emitted(28, 20) Source(33, 35) + SourceIndex(0)
+-5 >Emitted(28, 20) Source(33, 22) + SourceIndex(0)
+-6 >Emitted(28, 21) Source(33, 36) + SourceIndex(0)
----
->>> __decorate([
-1 >^^^^
-2 > ^^^^^^^^^^^^^^^^^^^^^^^^->
-1 >
--1 >Emitted(35, 5) Source(23, 5) + SourceIndex(0)
+-1 >Emitted(29, 5) Source(23, 5) + SourceIndex(0)
----
->>> PropertyDecorator1,
-1->^^^^^^^^
@@ -646,8 +374,8 @@
-3 > ^^^^^->
-1->
-2 > PropertyDecorator1
--1->Emitted(36, 9) Source(21, 6) + SourceIndex(0)
--2 >Emitted(36, 27) Source(21, 24) + SourceIndex(0)
+-1->Emitted(30, 9) Source(21, 6) + SourceIndex(0)
+-2 >Emitted(30, 27) Source(21, 24) + SourceIndex(0)
----
->>> PropertyDecorator2(40)
-1->^^^^^^^^
@@ -662,11 +390,11 @@
-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(31, 9) Source(22, 6) + SourceIndex(0)
+-2 >Emitted(31, 27) Source(22, 24) + SourceIndex(0)
+-3 >Emitted(31, 28) Source(22, 25) + SourceIndex(0)
+-4 >Emitted(31, 30) Source(22, 27) + SourceIndex(0)
+-5 >Emitted(31, 31) Source(22, 28) + SourceIndex(0)
----
->>> ], Greeter.prototype, "greet", null);
-1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -674,7 +402,7 @@
- > greet() {
- > return "" + this.greeting + "
";
- > }
--1->Emitted(38, 41) Source(25, 6) + SourceIndex(0)
+-1->Emitted(32, 41) Source(25, 6) + SourceIndex(0)
----
->>> __decorate([
-1 >^^^^
@@ -684,7 +412,7 @@
- > @PropertyDecorator1
- > @PropertyDecorator2(50)
- > private
--1 >Emitted(39, 5) Source(29, 13) + SourceIndex(0)
+-1 >Emitted(33, 5) Source(29, 13) + SourceIndex(0)
----
->>> PropertyDecorator1,
-1->^^^^^^^^
@@ -692,8 +420,8 @@
-3 > ^^^^^->
-1->
-2 > PropertyDecorator1
--1->Emitted(40, 9) Source(27, 6) + SourceIndex(0)
--2 >Emitted(40, 27) Source(27, 24) + SourceIndex(0)
+-1->Emitted(34, 9) Source(27, 6) + SourceIndex(0)
+-2 >Emitted(34, 27) Source(27, 24) + SourceIndex(0)
----
->>> PropertyDecorator2(50)
-1->^^^^^^^^
@@ -708,17 +436,17 @@
-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(35, 9) Source(28, 6) + SourceIndex(0)
+-2 >Emitted(35, 27) Source(28, 24) + SourceIndex(0)
+-3 >Emitted(35, 28) Source(28, 25) + SourceIndex(0)
+-4 >Emitted(35, 30) Source(28, 27) + SourceIndex(0)
+-5 >Emitted(35, 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(36, 39) Source(29, 23) + SourceIndex(0)
----
->>> __decorate([
-1 >^^^^
@@ -730,7 +458,7 @@
- > private static x1: number = 10;
- >
- > private
--1 >Emitted(43, 5) Source(35, 13) + SourceIndex(0)
+-1 >Emitted(37, 5) Source(35, 13) + SourceIndex(0)
----
->>> __param(0, ParameterDecorator1),
-1->^^^^^^^^
@@ -743,10 +471,10 @@
-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(38, 9) Source(36, 8) + SourceIndex(0)
+-2 >Emitted(38, 20) Source(36, 8) + SourceIndex(0)
+-3 >Emitted(38, 39) Source(36, 27) + SourceIndex(0)
+-4 >Emitted(38, 40) Source(36, 27) + SourceIndex(0)
----
->>> __param(0, ParameterDecorator2(70))
-1->^^^^^^^^
@@ -764,13 +492,13 @@
-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(39, 9) Source(37, 8) + SourceIndex(0)
+-2 >Emitted(39, 20) Source(37, 8) + SourceIndex(0)
+-3 >Emitted(39, 39) Source(37, 27) + SourceIndex(0)
+-4 >Emitted(39, 40) Source(37, 28) + SourceIndex(0)
+-5 >Emitted(39, 42) Source(37, 30) + SourceIndex(0)
+-6 >Emitted(39, 43) Source(37, 31) + SourceIndex(0)
+-7 >Emitted(39, 44) Source(37, 31) + SourceIndex(0)
----
->>> ], Greeter.prototype, "fn", null);
-1 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -778,7 +506,7 @@
- > x: number) {
- > return this.greeting;
- > }
--1 >Emitted(46, 38) Source(40, 6) + SourceIndex(0)
+-1 >Emitted(40, 38) Source(40, 6) + SourceIndex(0)
----
->>> __decorate([
-1 >^^^^
@@ -788,7 +516,7 @@
- > @PropertyDecorator1
- > @PropertyDecorator2(80)
- >
--1 >Emitted(47, 5) Source(44, 5) + SourceIndex(0)
+-1 >Emitted(41, 5) Source(44, 5) + SourceIndex(0)
----
->>> PropertyDecorator1,
-1->^^^^^^^^
@@ -796,8 +524,8 @@
-3 > ^^^^^^->
-1->
-2 > PropertyDecorator1
--1->Emitted(48, 9) Source(42, 6) + SourceIndex(0)
--2 >Emitted(48, 27) Source(42, 24) + SourceIndex(0)
+-1->Emitted(42, 9) Source(42, 6) + SourceIndex(0)
+-2 >Emitted(42, 27) Source(42, 24) + SourceIndex(0)
----
->>> PropertyDecorator2(80),
-1->^^^^^^^^
@@ -812,11 +540,11 @@
-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(43, 9) Source(43, 6) + SourceIndex(0)
+-2 >Emitted(43, 27) Source(43, 24) + SourceIndex(0)
+-3 >Emitted(43, 28) Source(43, 25) + SourceIndex(0)
+-4 >Emitted(43, 30) Source(43, 27) + SourceIndex(0)
+-5 >Emitted(43, 31) Source(43, 28) + SourceIndex(0)
----
->>> __param(0, ParameterDecorator1),
-1->^^^^^^^^
@@ -824,22 +552,266 @@
-3 > ^^^^^^^^^^^^^^^^^^^
-4 > ^
-5 > ^^^^^->
--1->
-- > get greetings() {
-- > return this.greeting;
-- > }
-- >
-- > set greetings(
+-1->
+- > get greetings() {
+- > return this.greeting;
+- > }
+- >
+- > set greetings(
+- > @
+-2 >
+-3 > ParameterDecorator1
+-4 >
+-1->Emitted(44, 9) Source(49, 8) + SourceIndex(0)
+-2 >Emitted(44, 20) Source(49, 8) + SourceIndex(0)
+-3 >Emitted(44, 39) Source(49, 27) + SourceIndex(0)
+-4 >Emitted(44, 40) Source(49, 27) + SourceIndex(0)
+----
+->>> __param(0, ParameterDecorator2(90))
+-1->^^^^^^^^
+-2 > ^^^^^^^^^^^
+-3 > ^^^^^^^^^^^^^^^^^^^
+-4 > ^
+-5 > ^^
+-6 > ^
+-7 > ^
+-8 > ^^^->
+-1->
+- > @
+-2 >
+-3 > ParameterDecorator2
+-4 > (
+-5 > 90
+-6 > )
+-7 >
+-1->Emitted(45, 9) Source(50, 8) + SourceIndex(0)
+-2 >Emitted(45, 20) Source(50, 8) + SourceIndex(0)
+-3 >Emitted(45, 39) Source(50, 27) + SourceIndex(0)
+-4 >Emitted(45, 40) Source(50, 28) + SourceIndex(0)
+-5 >Emitted(45, 42) Source(50, 30) + SourceIndex(0)
+-6 >Emitted(45, 43) Source(50, 31) + SourceIndex(0)
+-7 >Emitted(45, 44) Source(50, 31) + SourceIndex(0)
+----
+->>> ], Greeter.prototype, "greetings", null);
+-1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+-1->
+-1->Emitted(46, 45) Source(46, 6) + SourceIndex(0)
+----
+->>> __decorate([
+-1 >^^^^
+-2 > ^^^^^^^^^^^^^^^^^^^^^^^^->
+-1 >
+-1 >Emitted(47, 5) Source(33, 20) + SourceIndex(0)
+----
+->>> PropertyDecorator1,
+-1->^^^^^^^^
+-2 > ^^^^^^^^^^^^^^^^^^
+-3 > ^^^^^->
+-1->
+-2 > PropertyDecorator1
+-1->Emitted(48, 9) Source(31, 6) + SourceIndex(0)
+-2 >Emitted(48, 27) Source(31, 24) + SourceIndex(0)
+----
+->>> PropertyDecorator2(60)
+-1->^^^^^^^^
+-2 > ^^^^^^^^^^^^^^^^^^
+-3 > ^
+-4 > ^^
+-5 > ^
+-6 > ^->
+-1->
+- > @
+-2 > PropertyDecorator2
+-3 > (
+-4 > 60
+-5 > )
+-1->Emitted(49, 9) Source(32, 6) + SourceIndex(0)
+-2 >Emitted(49, 27) Source(32, 24) + SourceIndex(0)
+-3 >Emitted(49, 28) Source(32, 25) + SourceIndex(0)
+-4 >Emitted(49, 30) Source(32, 27) + SourceIndex(0)
+-5 >Emitted(49, 31) Source(32, 28) + SourceIndex(0)
+----
+->>> ], Greeter, "x1", void 0);
+-1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+-1->
+- > private static x1: number = 10;
+-1->Emitted(50, 30) Source(33, 36) + SourceIndex(0)
+----
+->>> Greeter = __decorate([
+-1 >^^^^
+-2 > ^^^^^^^
+-3 > ^^^^^^^^^^^^^^->
+-1 >
+-2 > Greeter
+-1 >Emitted(51, 5) Source(10, 7) + SourceIndex(0)
+-2 >Emitted(51, 12) Source(10, 14) + SourceIndex(0)
+----
+->>> ClassDecorator1,
+-1->^^^^^^^^
+-2 > ^^^^^^^^^^^^^^^
+-3 > ^^^^^^->
+-1->
+-2 > ClassDecorator1
+-1->Emitted(52, 9) Source(8, 2) + SourceIndex(0)
+-2 >Emitted(52, 24) Source(8, 17) + SourceIndex(0)
+----
+->>> ClassDecorator2(10),
+-1->^^^^^^^^
+-2 > ^^^^^^^^^^^^^^^
+-3 > ^
+-4 > ^^
+-5 > ^
+-6 > ^^^^^^^^^^^^^^->
++5 > ^
+ 1->
+ >@
+-2 > ClassDecorator2
+-3 > (
+-4 > 10
+-5 > )
+-1->Emitted(53, 9) Source(9, 2) + SourceIndex(0)
+-2 >Emitted(53, 24) Source(9, 17) + SourceIndex(0)
+-3 >Emitted(53, 25) Source(9, 18) + SourceIndex(0)
+-4 >Emitted(53, 27) Source(9, 20) + SourceIndex(0)
+-5 >Emitted(53, 28) Source(9, 21) + SourceIndex(0)
+----
+->>> __param(0, ParameterDecorator1),
+-1->^^^^^^^^
+-2 > ^^^^^^^^^^^
+-3 > ^^^^^^^^^^^^^^^^^^^
+-4 > ^
+-5 > ^^^^^^->
+-1->
+- >class Greeter {
++2 > ClassDecorator2
++3 > (
++4 > 10
++5 > )
++1->Emitted(2, 2) Source(9, 2) + SourceIndex(0)
++2 >Emitted(2, 17) Source(9, 17) + SourceIndex(0)
++3 >Emitted(2, 18) Source(9, 18) + SourceIndex(0)
++4 >Emitted(2, 20) Source(9, 20) + SourceIndex(0)
++5 >Emitted(2, 21) Source(9, 21) + SourceIndex(0)
++---
++>>>class Greeter {
++1 >^^^^^^
++2 > ^^^^^^^
++3 > ^->
++1 >
++ >class
++2 > Greeter
++1 >Emitted(3, 7) Source(10, 7) + SourceIndex(0)
++2 >Emitted(3, 14) Source(10, 14) + SourceIndex(0)
++---
++>>> greeting;
++1->^^^^
++2 > ^^^^^^^^
++3 > ^^^^^^^^^^^^^^^^^^^^^^->
++1-> {
+ > constructor(
+- > @
+-2 >
+-3 > ParameterDecorator1
+-4 >
+-1->Emitted(54, 9) Source(12, 8) + SourceIndex(0)
+-2 >Emitted(54, 20) Source(12, 8) + SourceIndex(0)
+-3 >Emitted(54, 39) Source(12, 27) + SourceIndex(0)
+-4 >Emitted(54, 40) Source(12, 27) + SourceIndex(0)
+----
+->>> __param(0, ParameterDecorator2(20)),
+-1->^^^^^^^^
+-2 > ^^^^^^^^^^^
+-3 > ^^^^^^^^^^^^^^^^^^^
+-4 > ^
+-5 > ^^
+-6 > ^
+-7 > ^
+-1->
+- > @
+-2 >
+-3 > ParameterDecorator2
+-4 > (
+-5 > 20
+-6 > )
+-7 >
+-1->Emitted(55, 9) Source(13, 8) + SourceIndex(0)
+-2 >Emitted(55, 20) Source(13, 8) + SourceIndex(0)
+-3 >Emitted(55, 39) Source(13, 27) + SourceIndex(0)
+-4 >Emitted(55, 40) Source(13, 28) + SourceIndex(0)
+-5 >Emitted(55, 42) Source(13, 30) + SourceIndex(0)
+-6 >Emitted(55, 43) Source(13, 31) + SourceIndex(0)
+-7 >Emitted(55, 44) Source(13, 31) + SourceIndex(0)
+----
+->>> __param(1, ParameterDecorator1),
+-1 >^^^^^^^^
+-2 > ^^^^^^^^^^^
+-3 > ^^^^^^^^^^^^^^^^^^^
+-4 > ^
+-5 > ^^^^^->
+-1 >
+- > public greeting: string,
++ > @ParameterDecorator1
++ > @ParameterDecorator2(20)
++ > public
++2 > greeting
++1->Emitted(4, 5) Source(14, 14) + SourceIndex(0)
++2 >Emitted(4, 13) Source(14, 22) + SourceIndex(0)
++---
++>>> constructor(greeting, ...b) {
++1->^^^^
++2 > ^^^^^^^^^^^^
++3 > ^^^^^^^^
++4 > ^^
++5 > ^^^
++6 > ^
++7 > ^^
++8 > ^^->
++1->
++2 > constructor(
++ > @ParameterDecorator1
++ > @ParameterDecorator2(20)
++ > public
++3 > greeting: string
++4 > ,
++ >
++ > @ParameterDecorator1
++ > @ParameterDecorator2(30)
++ >
++5 > ...
++6 > b: string[]
++7 > )
++1->Emitted(5, 5) Source(11, 5) + SourceIndex(0)
++2 >Emitted(5, 17) Source(14, 14) + SourceIndex(0)
++3 >Emitted(5, 25) Source(14, 30) + SourceIndex(0)
++4 >Emitted(5, 27) Source(18, 7) + SourceIndex(0)
++5 >Emitted(5, 30) Source(18, 10) + SourceIndex(0)
++6 >Emitted(5, 31) Source(18, 21) + SourceIndex(0)
++7 >Emitted(5, 33) Source(18, 23) + SourceIndex(0)
++---
++>>> this.greeting = greeting;
++1->^^^^^^^^^^^^^^^^^^^^^^^^
++2 > ^^^^^^^^
++1->
++2 > greeting
++1->Emitted(6, 25) Source(14, 14) + SourceIndex(0)
++2 >Emitted(6, 33) Source(14, 22) + SourceIndex(0)
++---
++>>> }
++1 >^^^^
++2 > ^
++3 > ^^^^^^^^^^^^^^^^^^^->
++1 >: string,
+ >
- > @
-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(56, 9) Source(16, 8) + SourceIndex(0)
+-2 >Emitted(56, 20) Source(16, 8) + SourceIndex(0)
+-3 >Emitted(56, 39) Source(16, 27) + SourceIndex(0)
+-4 >Emitted(56, 40) Source(16, 27) + SourceIndex(0)
----
-->>> __param(0, ParameterDecorator2(90))
+->>> __param(1, ParameterDecorator2(30))
-1->^^^^^^^^
-2 > ^^^^^^^^^^^
-3 > ^^^^^^^^^^^^^^^^^^^
@@ -847,89 +819,325 @@
-5 > ^^
-6 > ^
-7 > ^
--8 > ^^^->
-1->
- > @
-2 >
-3 > ParameterDecorator2
-4 > (
--5 > 90
+-5 > 30
-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)
-----
-->>> ], Greeter.prototype, "greetings", null);
--1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--1->
--1->Emitted(52, 45) Source(46, 6) + SourceIndex(0)
+-1->Emitted(57, 9) Source(17, 8) + SourceIndex(0)
+-2 >Emitted(57, 20) Source(17, 8) + SourceIndex(0)
+-3 >Emitted(57, 39) Source(17, 27) + SourceIndex(0)
+-4 >Emitted(57, 40) Source(17, 28) + SourceIndex(0)
+-5 >Emitted(57, 42) Source(17, 30) + SourceIndex(0)
+-6 >Emitted(57, 43) Source(17, 31) + SourceIndex(0)
+-7 >Emitted(57, 44) Source(17, 31) + SourceIndex(0)
----
-->>> __decorate([
--1 >^^^^
--2 > ^^^^^^^^^^^^^^^^^^^^^^^^->
+->>> ], Greeter);
+-1 >^^^^^^^
+-2 > ^^^^^^^
+-3 > ^
+-4 > ^^^^^->
-1 >
--1 >Emitted(53, 5) Source(33, 20) + SourceIndex(0)
-----
-->>> PropertyDecorator1,
--1->^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^
--3 > ^^^^^->
--1->
--2 > PropertyDecorator1
--1->Emitted(54, 9) Source(31, 6) + SourceIndex(0)
--2 >Emitted(54, 27) Source(31, 24) + SourceIndex(0)
-----
-->>> PropertyDecorator2(60)
--1->^^^^^^^^
--2 > ^^^^^^^^^^^^^^^^^^
--3 > ^
--4 > ^^
--5 > ^
--6 > ^->
--1->
-- > @
--2 > PropertyDecorator2
--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)
+-2 > Greeter
+-3 > {
+- > constructor(
+- > @ParameterDecorator1
+- > @ParameterDecorator2(20)
+- > public greeting: string,
+- >
+- > @ParameterDecorator1
+- > @ParameterDecorator2(30)
+- > ...b: string[]) {
+- > }
+- >
+- > @PropertyDecorator1
+- > @PropertyDecorator2(40)
+- > greet() {
+- > return "" + this.greeting + "
";
+- > }
+- >
+- > @PropertyDecorator1
+- > @PropertyDecorator2(50)
+- > private x: string;
+- >
+- > @PropertyDecorator1
+- > @PropertyDecorator2(60)
+- > private static x1: number = 10;
+- >
+- > private fn(
+- > @ParameterDecorator1
+- > @ParameterDecorator2(70)
+- > x: number) {
+- > return this.greeting;
+- > }
+- >
+- > @PropertyDecorator1
+- > @PropertyDecorator2(80)
+- > get greetings() {
+- > return this.greeting;
+- > }
+- >
+- > set greetings(
+- > @ParameterDecorator1
+- > @ParameterDecorator2(90)
+- > greetings: string) {
+- > this.greeting = greetings;
+- > }
+- > }
+-1 >Emitted(58, 8) Source(10, 7) + SourceIndex(0)
+-2 >Emitted(58, 15) Source(10, 14) + SourceIndex(0)
+-3 >Emitted(58, 16) Source(54, 2) + SourceIndex(0)
----
-->>> ], Greeter, "x1", void 0);
--1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+->>> return Greeter;
+-1->^^^^
+-2 > ^^^^^^^^^^^^^^
-1->
-- > private static x1: number = 10;
--1->Emitted(56, 30) Source(33, 36) + SourceIndex(0)
+-2 > }
+-1->Emitted(59, 5) Source(54, 1) + SourceIndex(0)
+-2 >Emitted(59, 19) Source(54, 2) + SourceIndex(0)
----
-->>> Greeter = __decorate([
--1 >^^^^
--2 > ^^^^^^^
--3 > ^^^^^^^^^^^^^^->
+->>>})();
+-1 >^^^^^
+-2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-1 >
--2 > Greeter
--1 >Emitted(57, 5) Source(10, 7) + SourceIndex(0)
--2 >Emitted(57, 12) Source(10, 14) + SourceIndex(0)
-----
-->>> ClassDecorator1,
--1->^^^^^^^^
--2 > ^^^^^^^^^^^^^^^
--3 > ^^^^^^->
--1->
--2 > ClassDecorator1
--1->Emitted(58, 9) Source(8, 2) + SourceIndex(0)
--2 >Emitted(58, 24) Source(8, 17) + SourceIndex(0)
-----
-->>> ClassDecorator2(10),
--1->^^^^^^^^
--2 > ^^^^^^^^^^^^^^^
+-1 >Emitted(60, 6) Source(54, 2) + SourceIndex(0)
++ > @ParameterDecorator1
++ > @ParameterDecorator2(30)
++ > ...b: string[]) {
++2 >
++ > }
++1 >Emitted(7, 5) Source(18, 24) + SourceIndex(0)
++2 >Emitted(7, 6) Source(19, 6) + SourceIndex(0)
++---
++>>> @PropertyDecorator1
++1->^^^^
++2 > ^
++3 > ^^^^^^^^^^^^^^^^^^
++4 > ^^^^^->
++1->
++ >
++ >
++2 > @
++3 > PropertyDecorator1
++1->Emitted(8, 5) Source(21, 5) + SourceIndex(0)
++2 >Emitted(8, 6) Source(21, 6) + SourceIndex(0)
++3 >Emitted(8, 24) Source(21, 24) + SourceIndex(0)
++---
++>>> @PropertyDecorator2(40)
++1->^^^^^
++2 > ^^^^^^^^^^^^^^^^^^
++3 > ^
++4 > ^^
++5 > ^
++1->
++ > @
++2 > PropertyDecorator2
++3 > (
++4 > 40
++5 > )
++1->Emitted(9, 6) Source(22, 6) + SourceIndex(0)
++2 >Emitted(9, 24) Source(22, 24) + SourceIndex(0)
++3 >Emitted(9, 25) Source(22, 25) + SourceIndex(0)
++4 >Emitted(9, 27) Source(22, 27) + SourceIndex(0)
++5 >Emitted(9, 28) Source(22, 28) + SourceIndex(0)
++---
++>>> greet() {
++1 >^^^^
++2 > ^^^^^
++3 > ^^^
++4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
++1 >
++ >
++2 > greet
++3 > ()
++1 >Emitted(10, 5) Source(23, 5) + SourceIndex(0)
++2 >Emitted(10, 10) Source(23, 10) + SourceIndex(0)
++3 >Emitted(10, 13) Source(23, 13) + SourceIndex(0)
++---
++>>> return "" + this.greeting + "
";
++1->^^^^^^^^
++2 > ^^^^^^^
++3 > ^^^^^^
++4 > ^^^
++5 > ^^^^
++6 > ^
++7 > ^^^^^^^^
++8 > ^^^
++9 > ^^^^^^^
++10> ^
++1->{
++ >
++2 > return
++3 > ""
++4 > +
++5 > this
++6 > .
++7 > greeting
++8 > +
++9 > "
"
++10> ;
++1->Emitted(11, 9) Source(24, 9) + SourceIndex(0)
++2 >Emitted(11, 16) Source(24, 16) + SourceIndex(0)
++3 >Emitted(11, 22) Source(24, 22) + SourceIndex(0)
++4 >Emitted(11, 25) Source(24, 25) + SourceIndex(0)
++5 >Emitted(11, 29) Source(24, 29) + SourceIndex(0)
++6 >Emitted(11, 30) Source(24, 30) + SourceIndex(0)
++7 >Emitted(11, 38) Source(24, 38) + SourceIndex(0)
++8 >Emitted(11, 41) Source(24, 41) + SourceIndex(0)
++9 >Emitted(11, 48) Source(24, 48) + SourceIndex(0)
++10>Emitted(11, 49) Source(24, 49) + SourceIndex(0)
++---
++>>> }
++1 >^^^^
++2 > ^
++3 > ^^^^^^^^^^^^^^^^^^^->
++1 >
++2 >
++ > }
++1 >Emitted(12, 5) Source(24, 49) + SourceIndex(0)
++2 >Emitted(12, 6) Source(25, 6) + SourceIndex(0)
++---
++>>> @PropertyDecorator1
++1->^^^^
++2 > ^
++3 > ^^^^^^^^^^^^^^^^^^
++4 > ^^^^^->
++1->
++ >
++ >
++2 > @
++3 > PropertyDecorator1
++1->Emitted(13, 5) Source(27, 5) + SourceIndex(0)
++2 >Emitted(13, 6) Source(27, 6) + SourceIndex(0)
++3 >Emitted(13, 24) Source(27, 24) + SourceIndex(0)
++---
++>>> @PropertyDecorator2(50)
++1->^^^^^
++2 > ^^^^^^^^^^^^^^^^^^
++3 > ^
++4 > ^^
++5 > ^
++1->
++ > @
++2 > PropertyDecorator2
++3 > (
++4 > 50
++5 > )
++1->Emitted(14, 6) Source(28, 6) + SourceIndex(0)
++2 >Emitted(14, 24) Source(28, 24) + SourceIndex(0)
++3 >Emitted(14, 25) Source(28, 25) + SourceIndex(0)
++4 >Emitted(14, 27) Source(28, 27) + SourceIndex(0)
++5 >Emitted(14, 28) Source(28, 28) + SourceIndex(0)
++---
++>>> x;
++1 >^^^^
++2 > ^
++3 > ^
++4 > ^^^^^^^^^^^^^^^^^^->
++1 >
++ > private
++2 > x
++3 > : string;
++1 >Emitted(15, 5) Source(29, 13) + SourceIndex(0)
++2 >Emitted(15, 6) Source(29, 14) + SourceIndex(0)
++3 >Emitted(15, 7) Source(29, 23) + SourceIndex(0)
++---
++>>> @PropertyDecorator1
++1->^^^^
++2 > ^
++3 > ^^^^^^^^^^^^^^^^^^
++4 > ^^^^^->
++1->
++ >
++ >
++2 > @
++3 > PropertyDecorator1
++1->Emitted(16, 5) Source(31, 5) + SourceIndex(0)
++2 >Emitted(16, 6) Source(31, 6) + SourceIndex(0)
++3 >Emitted(16, 24) Source(31, 24) + SourceIndex(0)
++---
++>>> @PropertyDecorator2(60)
++1->^^^^^
++2 > ^^^^^^^^^^^^^^^^^^
++3 > ^
++4 > ^^
++5 > ^
++1->
++ > @
++2 > PropertyDecorator2
++3 > (
++4 > 60
++5 > )
++1->Emitted(17, 6) Source(32, 6) + SourceIndex(0)
++2 >Emitted(17, 24) Source(32, 24) + SourceIndex(0)
++3 >Emitted(17, 25) Source(32, 25) + SourceIndex(0)
++4 >Emitted(17, 27) Source(32, 27) + SourceIndex(0)
++5 >Emitted(17, 28) Source(32, 28) + SourceIndex(0)
++---
++>>> static x1 = 10;
++1 >^^^^
++2 > ^^^^^^
++3 > ^
++4 > ^^
++5 > ^^^
++6 > ^^
++7 > ^
++1 >
++ > private
++2 > static
++3 >
++4 > x1
++5 > : number =
++6 > 10
++7 > ;
++1 >Emitted(18, 5) Source(33, 13) + SourceIndex(0)
++2 >Emitted(18, 11) Source(33, 19) + SourceIndex(0)
++3 >Emitted(18, 12) Source(33, 20) + SourceIndex(0)
++4 >Emitted(18, 14) Source(33, 22) + SourceIndex(0)
++5 >Emitted(18, 17) Source(33, 33) + SourceIndex(0)
++6 >Emitted(18, 19) Source(33, 35) + SourceIndex(0)
++7 >Emitted(18, 20) Source(33, 36) + SourceIndex(0)
++---
++>>> fn(x) {
++1 >^^^^
++2 > ^^
++3 > ^
++4 > ^
++5 > ^^
++6 > ^^^^^^^^^^^^^^^^^^^^->
++1 >
++ >
++ > private
++2 > fn
++3 > (
++ > @ParameterDecorator1
++ > @ParameterDecorator2(70)
++ >
++4 > x: number
++5 > )
++1 >Emitted(19, 5) Source(35, 13) + SourceIndex(0)
++2 >Emitted(19, 7) Source(35, 15) + SourceIndex(0)
++3 >Emitted(19, 8) Source(38, 7) + SourceIndex(0)
++4 >Emitted(19, 9) Source(38, 16) + SourceIndex(0)
++5 >Emitted(19, 11) Source(38, 18) + SourceIndex(0)
++---
++>>> return this.greeting;
++1->^^^^^^^^
++2 > ^^^^^^^
++3 > ^^^^
++4 > ^
++5 > ^^^^^^^^
++6 > ^
++1->{
++ >
++2 > return
++3 > this
++4 > .
++5 > greeting
++6 > ;
+1->Emitted(20, 9) Source(39, 9) + SourceIndex(0)
+2 >Emitted(20, 16) Source(39, 16) + SourceIndex(0)
+3 >Emitted(20, 20) Source(39, 20) + SourceIndex(0)
@@ -964,68 +1172,15 @@
+>>> @PropertyDecorator2(80)
+1->^^^^^
+2 > ^^^^^^^^^^^^^^^^^^
- 3 > ^
- 4 > ^^
- 5 > ^
--6 > ^^^^^^^^^^^^^^->
- 1->
-- >@
--2 > ClassDecorator2
++3 > ^
++4 > ^^
++5 > ^
++1->
+ > @
+2 > PropertyDecorator2
- 3 > (
--4 > 10
++3 > (
+4 > 80
- 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)
-----
-->>> __param(0, ParameterDecorator1),
--1->^^^^^^^^
--2 > ^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^
--4 > ^
--5 > ^^^^^^->
--1->
-- >class Greeter {
-- > constructor(
-- > @
--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)
-----
-->>> __param(0, ParameterDecorator2(20)),
--1->^^^^^^^^
--2 > ^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^
--4 > ^
--5 > ^^
--6 > ^
--7 > ^
--1->
-- > @
--2 >
--3 > ParameterDecorator2
--4 > (
--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)
-----
-->>> __param(1, ParameterDecorator1),
++5 > )
+1->Emitted(23, 6) Source(43, 6) + SourceIndex(0)
+2 >Emitted(23, 24) Source(43, 24) + SourceIndex(0)
+3 >Emitted(23, 25) Source(43, 25) + SourceIndex(0)
@@ -1033,22 +1188,7 @@
+5 >Emitted(23, 28) Source(43, 28) + SourceIndex(0)
+---
+>>> get greetings() {
- 1 >^^^^^^^^
--2 > ^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^
--4 > ^
--5 > ^^^^^->
--1 >
-- > public greeting: string,
-- >
-- > @
--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 >^^^^^^^^
+2 > ^^^^^^^^^
+3 > ^^^
+4 > ^^^^^^^^^^->
@@ -1059,31 +1199,9 @@
+1 >Emitted(24, 9) Source(44, 9) + SourceIndex(0)
+2 >Emitted(24, 18) Source(44, 18) + SourceIndex(0)
+3 >Emitted(24, 21) Source(44, 21) + SourceIndex(0)
- ---
-->>> __param(1, ParameterDecorator2(30))
++---
+>>> return this.greeting;
- 1->^^^^^^^^
--2 > ^^^^^^^^^^^
--3 > ^^^^^^^^^^^^^^^^^^^
--4 > ^
--5 > ^^
--6 > ^
--7 > ^
--1->
-- > @
--2 >
--3 > ParameterDecorator2
--4 > (
--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->^^^^^^^^
+2 > ^^^^^^^
+3 > ^^^^
+4 > ^
@@ -1102,87 +1220,26 @@
+4 >Emitted(25, 21) Source(45, 21) + SourceIndex(0)
+5 >Emitted(25, 29) Source(45, 29) + SourceIndex(0)
+6 >Emitted(25, 30) Source(45, 30) + SourceIndex(0)
- ---
-->>> ], Greeter);
--1 >^^^^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^^^->
++---
+>>> }
+1 >^^^^
+2 > ^
+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
--2 > Greeter
--3 > {
-- > constructor(
-- > @ParameterDecorator1
-- > @ParameterDecorator2(20)
-- > public greeting: string,
-- >
-- > @ParameterDecorator1
-- > @ParameterDecorator2(30)
-- > ...b: string[]) {
-- > }
-- >
-- > @PropertyDecorator1
-- > @PropertyDecorator2(40)
-- > greet() {
-- > return "" + this.greeting + "
";
-- > }
-- >
-- > @PropertyDecorator1
-- > @PropertyDecorator2(50)
-- > private x: string;
-- >
-- > @PropertyDecorator1
-- > @PropertyDecorator2(60)
-- > private static x1: number = 10;
-- >
-- > private fn(
-- > @ParameterDecorator1
-- > @ParameterDecorator2(70)
-- > x: number) {
-- > return this.greeting;
-- > }
-- >
-- > @PropertyDecorator1
-- > @PropertyDecorator2(80)
-- > get greetings() {
-- > return this.greeting;
-- > }
-- >
-- > set greetings(
-- > @ParameterDecorator1
-- > @ParameterDecorator2(90)
-- > greetings: string) {
-- > 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 >
+2 >
+ > }
+1 >Emitted(26, 5) Source(45, 30) + SourceIndex(0)
+2 >Emitted(26, 6) Source(46, 6) + SourceIndex(0)
- ---
-->>> return Greeter;
++---
+>>> set greetings(greetings) {
- 1->^^^^
--2 > ^^^^^^^^^^^^^^
++1->^^^^
+2 > ^^^^
+3 > ^^^^^^^^^
+4 > ^
+5 > ^^^^^^^^^
+6 > ^^
+7 > ^^^^^^->
- 1->
--2 > }
--1->Emitted(65, 5) Source(54, 1) + SourceIndex(0)
--2 >Emitted(65, 19) Source(54, 2) + SourceIndex(0)
-----
-->>>}());
++1->
+ >
+ >
+2 > set
@@ -1234,60 +1291,7 @@
+2 >Emitted(29, 6) Source(53, 6) + SourceIndex(0)
+---
+>>>}
- 1 >^
--2 >
--3 > ^^^^
--4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
--2 >
--3 > class Greeter {
-- > constructor(
-- > @ParameterDecorator1
-- > @ParameterDecorator2(20)
-- > public greeting: string,
-- >
-- > @ParameterDecorator1
-- > @ParameterDecorator2(30)
-- > ...b: string[]) {
-- > }
-- >
-- > @PropertyDecorator1
-- > @PropertyDecorator2(40)
-- > greet() {
-- > return "" + this.greeting + "
";
-- > }
-- >
-- > @PropertyDecorator1
-- > @PropertyDecorator2(50)
-- > private x: string;
-- >
-- > @PropertyDecorator1
-- > @PropertyDecorator2(60)
-- > private static x1: number = 10;
-- >
-- > private fn(
-- > @ParameterDecorator1
-- > @ParameterDecorator2(70)
-- > x: number) {
-- > return this.greeting;
-- > }
-- >
-- > @PropertyDecorator1
-- > @PropertyDecorator2(80)
-- > get greetings() {
-- > return this.greeting;
-- > }
-- >
-- > set greetings(
-- > @ParameterDecorator1
-- > @ParameterDecorator2(90)
-- > greetings: string) {
-- > 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 >^
+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+1 >
+ >}
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern.js.diff
deleted file mode 100644
index 16ad67ad75..0000000000
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern.js.diff
+++ /dev/null
@@ -1,161 +0,0 @@
---- old.sourceMapValidationDestructuringForArrayBindingPattern.js
-+++ new.sourceMapValidationDestructuringForArrayBindingPattern.js
-@@= skipped -94, +94 lines =@@
- }
-
- //// [sourceMapValidationDestructuringForArrayBindingPattern.js]
--var robotA = [1, "mower", "mowing"];
-+let robotA = [1, "mower", "mowing"];
- function getRobot() {
- return robotA;
- }
--var multiRobotA = ["mower", ["mowing", ""]];
--var multiRobotB = ["trimmer", ["trimming", "edging"]];
-+let multiRobotA = ["mower", ["mowing", ""]];
-+let multiRobotB = ["trimmer", ["trimming", "edging"]];
- function getMultiRobot() {
- return multiRobotA;
- }
--for (var nameA = robotA[1], i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (var _a = getRobot(), nameA = _a[1], i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (var _b = [2, "trimmer", "trimming"], nameA = _b[1], i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (var _c = multiRobotA[1], primarySkillA = _c[0], secondarySkillA = _c[1], i = 0; i < 1; i++) {
-- console.log(primarySkillA);
--}
--for (var _d = getMultiRobot(), _e = _d[1], primarySkillA = _e[0], secondarySkillA = _e[1], i = 0; i < 1; i++) {
-- console.log(primarySkillA);
--}
--for (var _f = ["trimmer", ["trimming", "edging"]], _g = _f[1], primarySkillA = _g[0], secondarySkillA = _g[1], i = 0; i < 1; i++) {
-- console.log(primarySkillA);
--}
--for (var numberB = robotA[0], i = 0; i < 1; i++) {
-- console.log(numberB);
--}
--for (var numberB = getRobot()[0], i = 0; i < 1; i++) {
-- console.log(numberB);
--}
--for (var numberB = [2, "trimmer", "trimming"][0], i = 0; i < 1; i++) {
-- console.log(numberB);
--}
--for (var nameB = multiRobotA[0], i = 0; i < 1; i++) {
-- console.log(nameB);
--}
--for (var nameB = getMultiRobot()[0], i = 0; i < 1; i++) {
-- console.log(nameB);
--}
--for (var nameB = ["trimmer", ["trimming", "edging"]][0], i = 0; i < 1; i++) {
-- console.log(nameB);
--}
--for (var numberA2 = robotA[0], nameA2 = robotA[1], skillA2 = robotA[2], i = 0; i < 1; i++) {
-- console.log(nameA2);
--}
--for (var _h = getRobot(), numberA2 = _h[0], nameA2 = _h[1], skillA2 = _h[2], i = 0; i < 1; i++) {
-- console.log(nameA2);
--}
--for (var _j = [2, "trimmer", "trimming"], numberA2 = _j[0], nameA2 = _j[1], skillA2 = _j[2], i = 0; i < 1; i++) {
-- console.log(nameA2);
--}
--for (var nameMA = multiRobotA[0], _k = multiRobotA[1], primarySkillA = _k[0], secondarySkillA = _k[1], i = 0; i < 1; i++) {
-- console.log(nameMA);
--}
--for (var _l = getMultiRobot(), nameMA = _l[0], _m = _l[1], primarySkillA = _m[0], secondarySkillA = _m[1], i = 0; i < 1; i++) {
-- console.log(nameMA);
--}
--for (var _o = ["trimmer", ["trimming", "edging"]], nameMA = _o[0], _p = _o[1], primarySkillA = _p[0], secondarySkillA = _p[1], i = 0; i < 1; i++) {
-- console.log(nameMA);
--}
--for (var numberA3 = robotA[0], robotAInfo = robotA.slice(1), i = 0; i < 1; i++) {
-- console.log(numberA3);
--}
--for (var _q = getRobot(), numberA3 = _q[0], robotAInfo = _q.slice(1), i = 0; i < 1; i++) {
-- console.log(numberA3);
--}
--for (var _r = [2, "trimmer", "trimming"], numberA3 = _r[0], robotAInfo = _r.slice(1), i = 0; i < 1; i++) {
-- console.log(numberA3);
--}
--for (var multiRobotAInfo = multiRobotA.slice(0), i = 0; i < 1; i++) {
-- console.log(multiRobotAInfo);
--}
--for (var multiRobotAInfo = getMultiRobot().slice(0), i = 0; i < 1; i++) {
-- console.log(multiRobotAInfo);
--}
--for (var multiRobotAInfo = ["trimmer", ["trimming", "edging"]].slice(0), i = 0; i < 1; i++) {
-+for (let [, nameA] = robotA, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for (let [, nameA] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for (let [, nameA] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for (let [, [primarySkillA, secondarySkillA]] = multiRobotA, i = 0; i < 1; i++) {
-+ console.log(primarySkillA);
-+}
-+for (let [, [primarySkillA, secondarySkillA]] = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(primarySkillA);
-+}
-+for (let [, [primarySkillA, secondarySkillA]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+ console.log(primarySkillA);
-+}
-+for (let [numberB] = robotA, i = 0; i < 1; i++) {
-+ console.log(numberB);
-+}
-+for (let [numberB] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(numberB);
-+}
-+for (let [numberB] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+ console.log(numberB);
-+}
-+for (let [nameB] = multiRobotA, i = 0; i < 1; i++) {
-+ console.log(nameB);
-+}
-+for (let [nameB] = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(nameB);
-+}
-+for (let [nameB] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+ console.log(nameB);
-+}
-+for (let [numberA2, nameA2, skillA2] = robotA, i = 0; i < 1; i++) {
-+ console.log(nameA2);
-+}
-+for (let [numberA2, nameA2, skillA2] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(nameA2);
-+}
-+for (let [numberA2, nameA2, skillA2] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+ console.log(nameA2);
-+}
-+for (let [nameMA, [primarySkillA, secondarySkillA]] = multiRobotA, i = 0; i < 1; i++) {
-+ console.log(nameMA);
-+}
-+for (let [nameMA, [primarySkillA, secondarySkillA]] = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(nameMA);
-+}
-+for (let [nameMA, [primarySkillA, secondarySkillA]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+ console.log(nameMA);
-+}
-+for (let [numberA3, ...robotAInfo] = robotA, i = 0; i < 1; i++) {
-+ console.log(numberA3);
-+}
-+for (let [numberA3, ...robotAInfo] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(numberA3);
-+}
-+for (let [numberA3, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+ console.log(numberA3);
-+}
-+for (let [...multiRobotAInfo] = multiRobotA, i = 0; i < 1; i++) {
-+ console.log(multiRobotAInfo);
-+}
-+for (let [...multiRobotAInfo] = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(multiRobotAInfo);
-+}
-+for (let [...multiRobotAInfo] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
- console.log(multiRobotAInfo);
- }
- //# sourceMappingURL=sourceMapValidationDestructuringForArrayBindingPattern.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern.js.map.diff
index 903d0e2137..2531c7e45c 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMapValidationDestructuringForArrayBindingPattern.js.map
@@= skipped -0, +0 lines =@@
//// [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,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,KAAS,IAAA,KAAY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ewogICAgY29uc29sZS5sb2cobmFtZU1BKTsKfQoKZm9yIChsZXQgW251bWJlckEzLCAuLi5yb2JvdEFJbmZvXSA9IHJvYm90QSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMsIC4uLnJvYm90QUluZm9dID0gZ2V0Um9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMsIC4uLnJvYm90QUluZm9dID0gWzIsICJ0cmltbWVyIiwgInRyaW1taW5nIl0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChsZXQgWy4uLm11bHRpUm9ib3RBSW5mb10gPSBtdWx0aVJvYm90QSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG11bHRpUm9ib3RBSW5mbyk7Cn0KZm9yIChsZXQgWy4uLm11bHRpUm9ib3RBSW5mb10gPSBnZXRNdWx0aVJvYm90KCksIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhtdWx0aVJvYm90QUluZm8pOwp9CmZvciAobGV0IFsuLi5tdWx0aVJvYm90QUluZm9dID0gWyJ0cmltbWVyIiwgWyJ0cmltbWluZyIsICJlZGdpbmciXV0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhtdWx0aVJvYm90QUluZm8pOwp9
+-{"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;A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KTsKfQoKZm9yIChsZXQgW251bWJlckEzLCAuLi5yb2JvdEFJbmZvXSA9IHJvYm90QSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMsIC4uLnJvYm90QUluZm9dID0gZ2V0Um9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMsIC4uLnJvYm90QUluZm9dID0gWzIsICJ0cmltbWVyIiwgInRyaW1taW5nIl0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChsZXQgWy4uLm11bHRpUm9ib3RBSW5mb10gPSBtdWx0aVJvYm90QSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG11bHRpUm9ib3RBSW5mbyk7Cn0KZm9yIChsZXQgWy4uLm11bHRpUm9ib3RBSW5mb10gPSBnZXRNdWx0aVJvYm90KCksIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhtdWx0aVJvYm90QUluZm8pOwp9CmZvciAobGV0IFsuLi5tdWx0aVJvYm90QUluZm9dID0gWyJ0cmltbWVyIiwgWyJ0cmltbWluZyIsICJlZGdpbmciXV0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhtdWx0aVJvYm90QUluZm8pOwp9
+{"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,GAAG;IAChB,OAAO,MAAM,CAAC;AAAA,CACjB;AAED,IAAI,WAA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Zm9yIChsZXQgW251bWJlckEzLCAuLi5yb2JvdEFJbmZvXSA9IHJvYm90QSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMsIC4uLnJvYm90QUluZm9dID0gZ2V0Um9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMsIC4uLnJvYm90QUluZm9dID0gWzIsICJ0cmltbWVyIiwgInRyaW1taW5nIl0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChsZXQgWy4uLm11bHRpUm9ib3RBSW5mb10gPSBtdWx0aVJvYm90QSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG11bHRpUm9ib3RBSW5mbyk7Cn0KZm9yIChsZXQgWy4uLm11bHRpUm9ib3RBSW5mb10gPSBnZXRNdWx0aVJvYm90KCksIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhtdWx0aVJvYm90QUluZm8pOwp9CmZvciAobGV0IFsuLi5tdWx0aVJvYm90QUluZm9dID0gWyJ0cmltbWVyIiwgWyJ0cmltbWluZyIsICJlZGdpbmciXV0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhtdWx0aVJvYm90QUluZm8pOwp9
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern.sourcemap.txt.diff
index 62cf2c0744..50df76d103 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern.sourcemap.txt.diff
@@ -1,15 +1,6 @@
--- old.sourceMapValidationDestructuringForArrayBindingPattern.sourcemap.txt
+++ new.sourceMapValidationDestructuringForArrayBindingPattern.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:sourceMapValidationDestructuringForArrayBindingPattern.js
- sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts
- -------------------------------------------------------------------
-->>>var robotA = [1, "mower", "mowing"];
-+>>>let robotA = [1, "mower", "mowing"];
- 1 >
- 2 >^^^^
- 3 > ^^^^^^
-@@= skipped -48, +48 lines =@@
+@@= skipped -55, +55 lines =@@
1 >
2 >^^^^^^^^^
3 > ^^^^^^^^
@@ -54,21 +45,8 @@
+1 >Emitted(4, 1) Source(9, 19) + SourceIndex(0)
2 >Emitted(4, 2) Source(10, 2) + SourceIndex(0)
---
-->>>var multiRobotA = ["mower", ["mowing", ""]];
-+>>>let multiRobotA = ["mower", ["mowing", ""]];
- 1->
- 2 >^^^^
- 3 > ^^^^^^^^^^^
-@@= skipped -52, +52 lines =@@
- 13>Emitted(5, 44) Source(12, 63) + SourceIndex(0)
- 14>Emitted(5, 45) Source(12, 64) + SourceIndex(0)
- ---
-->>>var multiRobotB = ["trimmer", ["trimming", "edging"]];
-+>>>let multiRobotB = ["trimmer", ["trimming", "edging"]];
- 1->
- 2 >^^^^
- 3 > ^^^^^^^^^^^
-@@= skipped -49, +49 lines =@@
+ >>>let multiRobotA = ["mower", ["mowing", ""]];
+@@= skipped -101, +101 lines =@@
1 >
2 >^^^^^^^^^
3 > ^^^^^^^^^^^^^
@@ -101,12 +79,9 @@
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)
-@@= skipped -27, +29 lines =@@
- >>>}
- 1 >
+@@= skipped -29, +31 lines =@@
2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
- >
-2 >}
@@ -116,4062 +91,4 @@
+1 >Emitted(9, 1) Source(15, 24) + SourceIndex(0)
2 >Emitted(9, 2) Source(16, 2) + SourceIndex(0)
---
-->>>for (var nameA = robotA[1], i = 0; i < 1; i++) {
-+>>>for (let [, nameA] = robotA, i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
- 3 > ^^^^
--4 > ^^^^^
--5 > ^^^
--6 > ^^^^^^
--7 > ^^^
--8 > ^^
--9 > ^
--10> ^^^
--11> ^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^
--19> ^^
--20> ^
-+4 > ^
-+5 > ^^
-+6 > ^^^^^
-+7 > ^
-+8 > ^^^
-+9 > ^^^^^^
-+10> ^^
-+11> ^
-+12> ^^^
-+13> ^
-+14> ^^
-+15> ^
-+16> ^^^
-+17> ^
-+18> ^^
-+19> ^
-+20> ^^
-+21> ^^
-+22> ^
- 1->
- >
- >
--2 >for (let [,
--3 >
--4 > nameA
--5 > ] =
--6 > robotA
--7 >
--8 > ] = robotA,
--9 > i
--10> =
--11> 0
--12> ;
--13> i
--14> <
--15> 1
--16> ;
--17> i
--18> ++
--19> )
--20> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > ,
-+6 > nameA
-+7 > ]
-+8 > =
-+9 > robotA
-+10> ,
-+11> i
-+12> =
-+13> 0
-+14> ;
-+15> i
-+16> <
-+17> 1
-+18> ;
-+19> i
-+20> ++
-+21> )
-+22> {
- 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)
-+2 >Emitted(10, 6) Source(18, 6) + SourceIndex(0)
-+3 >Emitted(10, 10) Source(18, 10) + SourceIndex(0)
-+4 >Emitted(10, 11) Source(18, 11) + SourceIndex(0)
-+5 >Emitted(10, 13) Source(18, 13) + SourceIndex(0)
-+6 >Emitted(10, 18) Source(18, 18) + SourceIndex(0)
-+7 >Emitted(10, 19) Source(18, 19) + SourceIndex(0)
-+8 >Emitted(10, 22) Source(18, 22) + SourceIndex(0)
-+9 >Emitted(10, 28) Source(18, 28) + SourceIndex(0)
-+10>Emitted(10, 30) Source(18, 30) + SourceIndex(0)
-+11>Emitted(10, 31) Source(18, 31) + SourceIndex(0)
-+12>Emitted(10, 34) Source(18, 34) + SourceIndex(0)
-+13>Emitted(10, 35) Source(18, 35) + SourceIndex(0)
-+14>Emitted(10, 37) Source(18, 37) + SourceIndex(0)
-+15>Emitted(10, 38) Source(18, 38) + SourceIndex(0)
-+16>Emitted(10, 41) Source(18, 41) + SourceIndex(0)
-+17>Emitted(10, 42) Source(18, 42) + SourceIndex(0)
-+18>Emitted(10, 44) Source(18, 44) + SourceIndex(0)
-+19>Emitted(10, 45) Source(18, 45) + SourceIndex(0)
-+20>Emitted(10, 47) Source(18, 47) + SourceIndex(0)
-+21>Emitted(10, 49) Source(18, 49) + SourceIndex(0)
-+22>Emitted(10, 50) Source(18, 50) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -101, +107 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(12, 1) Source(20, 1) + SourceIndex(0)
- 2 >Emitted(12, 2) Source(20, 2) + SourceIndex(0)
- ---
-->>>for (var _a = getRobot(), nameA = _a[1], i = 0; i < 1; i++) {
-+>>>for (let [, nameA] = getRobot(), i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
- 3 > ^^^^
--4 > ^^^^^
--5 > ^^^^^^^^
--6 > ^^
--7 > ^^
--8 > ^^^^^
--9 > ^^^^^^^^
--10> ^^
--11> ^
--12> ^^^
--13> ^
--14> ^^
--15> ^
--16> ^^^
--17> ^
--18> ^^
--19> ^
--20> ^^
--21> ^^
--22> ^
-+4 > ^
-+5 > ^^
-+6 > ^^^^^
-+7 > ^
-+8 > ^^^
-+9 > ^^^^^^^^
-+10> ^^
-+11> ^^
-+12> ^
-+13> ^^^
-+14> ^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
-+19> ^^
-+20> ^
-+21> ^^
-+22> ^^
-+23> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [, nameA] =
--5 > getRobot
--6 > ()
--7 >
--8 > nameA
--9 >
--10> ] = getRobot(),
--11> i
--12> =
--13> 0
--14> ;
--15> i
--16> <
--17> 1
--18> ;
--19> i
--20> ++
--21> )
--22> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > ,
-+6 > nameA
-+7 > ]
-+8 > =
-+9 > getRobot
-+10> ()
-+11> ,
-+12> i
-+13> =
-+14> 0
-+15> ;
-+16> i
-+17> <
-+18> 1
-+19> ;
-+20> i
-+21> ++
-+22> )
-+23> {
- 1->Emitted(13, 1) Source(21, 1) + SourceIndex(0)
--2 >Emitted(13, 6) Source(21, 10) + SourceIndex(0)
-+2 >Emitted(13, 6) Source(21, 6) + 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)
-+4 >Emitted(13, 11) Source(21, 11) + SourceIndex(0)
-+5 >Emitted(13, 13) Source(21, 13) + SourceIndex(0)
-+6 >Emitted(13, 18) Source(21, 18) + SourceIndex(0)
-+7 >Emitted(13, 19) Source(21, 19) + SourceIndex(0)
-+8 >Emitted(13, 22) Source(21, 22) + SourceIndex(0)
-+9 >Emitted(13, 30) Source(21, 30) + SourceIndex(0)
-+10>Emitted(13, 32) Source(21, 32) + SourceIndex(0)
-+11>Emitted(13, 34) Source(21, 34) + SourceIndex(0)
-+12>Emitted(13, 35) Source(21, 35) + SourceIndex(0)
-+13>Emitted(13, 38) Source(21, 38) + SourceIndex(0)
-+14>Emitted(13, 39) Source(21, 39) + SourceIndex(0)
-+15>Emitted(13, 41) Source(21, 41) + SourceIndex(0)
-+16>Emitted(13, 42) Source(21, 42) + SourceIndex(0)
-+17>Emitted(13, 45) Source(21, 45) + SourceIndex(0)
-+18>Emitted(13, 46) Source(21, 46) + SourceIndex(0)
-+19>Emitted(13, 48) Source(21, 48) + SourceIndex(0)
-+20>Emitted(13, 49) Source(21, 49) + SourceIndex(0)
-+21>Emitted(13, 51) Source(21, 51) + SourceIndex(0)
-+22>Emitted(13, 53) Source(21, 53) + SourceIndex(0)
-+23>Emitted(13, 54) Source(21, 54) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -106, +109 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(15, 1) Source(23, 1) + SourceIndex(0)
- 2 >Emitted(15, 2) Source(23, 2) + SourceIndex(0)
- ---
-->>>for (var _b = [2, "trimmer", "trimming"], nameA = _b[1], i = 0; i < 1; i++) {
-+>>>for (let [, nameA] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [, nameA] =
--5 > [
--6 > 2
--7 > ,
--8 > "trimmer"
--9 > ,
--10> "trimming"
--11> ]
--12>
--13> nameA
--14>
--15> ] = [2, "trimmer", "trimming"],
--16> i
--17> =
--18> 0
--19> ;
--20> i
--21> <
--22> 1
--23> ;
--24> i
--25> ++
--26> )
--27> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > ,
-+6 > nameA
-+7 > ]
-+8 > =
-+9 > [
-+10> 2
-+11> ,
-+12> "trimmer"
-+13> ,
-+14> "trimming"
-+15> ]
-+16> ,
-+17> i
-+18> =
-+19> 0
-+20> ;
-+21> i
-+22> <
-+23> 1
-+24> ;
-+25> i
-+26> ++
-+27> )
-+28> {
- 1->Emitted(16, 1) Source(24, 1) + SourceIndex(0)
--2 >Emitted(16, 6) Source(24, 10) + SourceIndex(0)
-+2 >Emitted(16, 6) Source(24, 6) + 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)
-+4 >Emitted(16, 11) Source(24, 11) + SourceIndex(0)
-+5 >Emitted(16, 13) Source(24, 13) + SourceIndex(0)
-+6 >Emitted(16, 18) Source(24, 18) + SourceIndex(0)
-+7 >Emitted(16, 19) Source(24, 19) + SourceIndex(0)
-+8 >Emitted(16, 22) Source(24, 22) + SourceIndex(0)
-+9 >Emitted(16, 23) Source(24, 23) + SourceIndex(0)
-+10>Emitted(16, 24) Source(24, 24) + SourceIndex(0)
-+11>Emitted(16, 26) Source(24, 26) + SourceIndex(0)
-+12>Emitted(16, 35) Source(24, 35) + SourceIndex(0)
-+13>Emitted(16, 37) Source(24, 37) + SourceIndex(0)
-+14>Emitted(16, 47) Source(24, 47) + SourceIndex(0)
-+15>Emitted(16, 48) Source(24, 48) + SourceIndex(0)
-+16>Emitted(16, 50) Source(24, 50) + SourceIndex(0)
-+17>Emitted(16, 51) Source(24, 51) + SourceIndex(0)
-+18>Emitted(16, 54) Source(24, 54) + SourceIndex(0)
-+19>Emitted(16, 55) Source(24, 55) + SourceIndex(0)
-+20>Emitted(16, 57) Source(24, 57) + SourceIndex(0)
-+21>Emitted(16, 58) Source(24, 58) + SourceIndex(0)
-+22>Emitted(16, 61) Source(24, 61) + SourceIndex(0)
-+23>Emitted(16, 62) Source(24, 62) + SourceIndex(0)
-+24>Emitted(16, 64) Source(24, 64) + SourceIndex(0)
-+25>Emitted(16, 65) Source(24, 65) + SourceIndex(0)
-+26>Emitted(16, 67) Source(24, 67) + SourceIndex(0)
-+27>Emitted(16, 69) Source(24, 69) + SourceIndex(0)
-+28>Emitted(16, 70) Source(24, 70) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -121, +124 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(18, 1) Source(26, 1) + SourceIndex(0)
- 2 >Emitted(18, 2) Source(26, 2) + SourceIndex(0)
- ---
-->>>for (var _c = multiRobotA[1], primarySkillA = _c[0], secondarySkillA = _c[1], i = 0; i < 1; i++) {
-+>>>for (let [, [primarySkillA, secondarySkillA]] = multiRobotA, i = 0; i < 1; i++) {
- 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> ^
-+4 > ^
-+5 > ^^
-+6 > ^
-+7 > ^^^^^^^^^^^^^
-+8 > ^^
-+9 > ^^^^^^^^^^^^^^^
-+10> ^
-+11> ^
-+12> ^^^
-+13> ^^^^^^^^^^^
-+14> ^^
-+15> ^
-+16> ^^^
-+17> ^
-+18> ^^
-+19> ^
-+20> ^^^
-+21> ^
-+22> ^^
-+23> ^
-+24> ^^
-+25> ^^
-+26> ^
- 1->
- >
--2 >for (let [,
--3 >
--4 > [primarySkillA, secondarySkillA]] =
--5 > multiRobotA
--6 >
--7 >
--8 > primarySkillA
--9 >
--10> ,
--11> secondarySkillA
--12>
--13> ]] = multiRobotA,
--14> i
--15> =
--16> 0
--17> ;
--18> i
--19> <
--20> 1
--21> ;
--22> i
--23> ++
--24> )
--25> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > ,
-+6 > [
-+7 > primarySkillA
-+8 > ,
-+9 > secondarySkillA
-+10> ]
-+11> ]
-+12> =
-+13> multiRobotA
-+14> ,
-+15> i
-+16> =
-+17> 0
-+18> ;
-+19> i
-+20> <
-+21> 1
-+22> ;
-+23> i
-+24> ++
-+25> )
-+26> {
- 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)
-+2 >Emitted(19, 6) Source(27, 6) + SourceIndex(0)
-+3 >Emitted(19, 10) Source(27, 10) + SourceIndex(0)
-+4 >Emitted(19, 11) Source(27, 11) + SourceIndex(0)
-+5 >Emitted(19, 13) Source(27, 13) + SourceIndex(0)
-+6 >Emitted(19, 14) Source(27, 14) + SourceIndex(0)
-+7 >Emitted(19, 27) Source(27, 27) + SourceIndex(0)
-+8 >Emitted(19, 29) Source(27, 29) + SourceIndex(0)
-+9 >Emitted(19, 44) Source(27, 44) + SourceIndex(0)
-+10>Emitted(19, 45) Source(27, 45) + SourceIndex(0)
-+11>Emitted(19, 46) Source(27, 46) + SourceIndex(0)
-+12>Emitted(19, 49) Source(27, 49) + SourceIndex(0)
-+13>Emitted(19, 60) Source(27, 60) + SourceIndex(0)
-+14>Emitted(19, 62) Source(27, 62) + SourceIndex(0)
-+15>Emitted(19, 63) Source(27, 63) + SourceIndex(0)
-+16>Emitted(19, 66) Source(27, 66) + SourceIndex(0)
-+17>Emitted(19, 67) Source(27, 67) + SourceIndex(0)
-+18>Emitted(19, 69) Source(27, 69) + SourceIndex(0)
-+19>Emitted(19, 70) Source(27, 70) + SourceIndex(0)
-+20>Emitted(19, 73) Source(27, 73) + SourceIndex(0)
-+21>Emitted(19, 74) Source(27, 74) + SourceIndex(0)
-+22>Emitted(19, 76) Source(27, 76) + SourceIndex(0)
-+23>Emitted(19, 77) Source(27, 77) + SourceIndex(0)
-+24>Emitted(19, 79) Source(27, 79) + SourceIndex(0)
-+25>Emitted(19, 81) Source(27, 81) + SourceIndex(0)
-+26>Emitted(19, 82) Source(27, 82) + SourceIndex(0)
- ---
- >>> console.log(primarySkillA);
- 1 >^^^^
-@@= skipped -115, +118 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(21, 1) Source(29, 1) + SourceIndex(0)
- 2 >Emitted(21, 2) Source(29, 2) + SourceIndex(0)
- ---
-->>>for (var _d = getMultiRobot(), _e = _d[1], primarySkillA = _e[0], secondarySkillA = _e[1], i = 0; i < 1; i++) {
-+>>>for (let [, [primarySkillA, secondarySkillA]] = getMultiRobot(), i = 0; i < 1; i++) {
- 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> ^
-+4 > ^
-+5 > ^^
-+6 > ^
-+7 > ^^^^^^^^^^^^^
-+8 > ^^
-+9 > ^^^^^^^^^^^^^^^
-+10> ^
-+11> ^
-+12> ^^^
-+13> ^^^^^^^^^^^^^
-+14> ^^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
-+19> ^^
-+20> ^
-+21> ^^^
-+22> ^
-+23> ^^
-+24> ^
-+25> ^^
-+26> ^^
-+27> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [, [primarySkillA, secondarySkillA]] =
--5 > getMultiRobot
--6 > ()
--7 >
--8 > [primarySkillA, secondarySkillA]
--9 >
--10> primarySkillA
--11>
--12> ,
--13> secondarySkillA
--14>
--15> ]] = getMultiRobot(),
--16> i
--17> =
--18> 0
--19> ;
--20> i
--21> <
--22> 1
--23> ;
--24> i
--25> ++
--26> )
--27> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > ,
-+6 > [
-+7 > primarySkillA
-+8 > ,
-+9 > secondarySkillA
-+10> ]
-+11> ]
-+12> =
-+13> getMultiRobot
-+14> ()
-+15> ,
-+16> i
-+17> =
-+18> 0
-+19> ;
-+20> i
-+21> <
-+22> 1
-+23> ;
-+24> i
-+25> ++
-+26> )
-+27> {
- 1->Emitted(22, 1) Source(30, 1) + SourceIndex(0)
--2 >Emitted(22, 6) Source(30, 10) + SourceIndex(0)
-+2 >Emitted(22, 6) Source(30, 6) + 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)
-+4 >Emitted(22, 11) Source(30, 11) + SourceIndex(0)
-+5 >Emitted(22, 13) Source(30, 13) + SourceIndex(0)
-+6 >Emitted(22, 14) Source(30, 14) + SourceIndex(0)
-+7 >Emitted(22, 27) Source(30, 27) + SourceIndex(0)
-+8 >Emitted(22, 29) Source(30, 29) + SourceIndex(0)
-+9 >Emitted(22, 44) Source(30, 44) + SourceIndex(0)
-+10>Emitted(22, 45) Source(30, 45) + SourceIndex(0)
-+11>Emitted(22, 46) Source(30, 46) + SourceIndex(0)
-+12>Emitted(22, 49) Source(30, 49) + SourceIndex(0)
-+13>Emitted(22, 62) Source(30, 62) + SourceIndex(0)
-+14>Emitted(22, 64) Source(30, 64) + SourceIndex(0)
-+15>Emitted(22, 66) Source(30, 66) + SourceIndex(0)
-+16>Emitted(22, 67) Source(30, 67) + SourceIndex(0)
-+17>Emitted(22, 70) Source(30, 70) + SourceIndex(0)
-+18>Emitted(22, 71) Source(30, 71) + SourceIndex(0)
-+19>Emitted(22, 73) Source(30, 73) + SourceIndex(0)
-+20>Emitted(22, 74) Source(30, 74) + SourceIndex(0)
-+21>Emitted(22, 77) Source(30, 77) + SourceIndex(0)
-+22>Emitted(22, 78) Source(30, 78) + SourceIndex(0)
-+23>Emitted(22, 80) Source(30, 80) + SourceIndex(0)
-+24>Emitted(22, 81) Source(30, 81) + SourceIndex(0)
-+25>Emitted(22, 83) Source(30, 83) + SourceIndex(0)
-+26>Emitted(22, 85) Source(30, 85) + SourceIndex(0)
-+27>Emitted(22, 86) Source(30, 86) + SourceIndex(0)
- ---
- >>> console.log(primarySkillA);
- 1 >^^^^
-@@= skipped -121, +121 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(24, 1) Source(32, 1) + SourceIndex(0)
- 2 >Emitted(24, 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++) {
-+>>>for (let [, [primarySkillA, secondarySkillA]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
- 3 > ^^^^
--4 > ^^^^^
--5 > ^
--6 > ^^^^^^^^^
--7 > ^^
--8 > ^
--9 > ^^^^^^^^^^
--10> ^^
--11> ^^^^^^^^
--12> ^
-+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> ^
-+14> ^^^^^^^^^
-+15> ^^
-+16> ^
-+17> ^^^^^^^^^^
-+18> ^^
-+19> ^^^^^^^^
-+20> ^
-+21> ^
-+22> ^^
-+23> ^
-+24> ^^^
-+25> ^
-+26> ^^
-+27> ^
-+28> ^^^
-+29> ^
-+30> ^^
-+31> ^
-+32> ^^
-+33> ^^
-+34> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [, [primarySkillA, secondarySkillA]] =
--5 > [
--6 > "trimmer"
--7 > ,
--8 > [
--9 > "trimming"
--10> ,
--11> "edging"
--12> ]
--13> ]
--14>
--15> [primarySkillA, secondarySkillA]
--16>
--17> primarySkillA
--18>
--19> ,
--20> secondarySkillA
--21>
--22> ]] = ["trimmer", ["trimming", "edging"]],
--23> i
--24> =
--25> 0
--26> ;
--27> i
--28> <
--29> 1
--30> ;
--31> i
--32> ++
--33> )
--34> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > ,
-+6 > [
-+7 > primarySkillA
-+8 > ,
-+9 > secondarySkillA
-+10> ]
-+11> ]
-+12> =
-+13> [
-+14> "trimmer"
-+15> ,
-+16> [
-+17> "trimming"
-+18> ,
-+19> "edging"
-+20> ]
-+21> ]
-+22> ,
-+23> i
-+24> =
-+25> 0
-+26> ;
-+27> i
-+28> <
-+29> 1
-+30> ;
-+31> i
-+32> ++
-+33> )
-+34> {
- 1->Emitted(25, 1) Source(33, 1) + SourceIndex(0)
--2 >Emitted(25, 6) Source(33, 10) + SourceIndex(0)
-+2 >Emitted(25, 6) Source(33, 6) + 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)
-+4 >Emitted(25, 11) Source(33, 11) + SourceIndex(0)
-+5 >Emitted(25, 13) Source(33, 13) + SourceIndex(0)
-+6 >Emitted(25, 14) Source(33, 14) + SourceIndex(0)
-+7 >Emitted(25, 27) Source(33, 27) + SourceIndex(0)
-+8 >Emitted(25, 29) Source(33, 29) + SourceIndex(0)
-+9 >Emitted(25, 44) Source(33, 44) + SourceIndex(0)
-+10>Emitted(25, 45) Source(33, 45) + SourceIndex(0)
-+11>Emitted(25, 46) Source(33, 46) + SourceIndex(0)
-+12>Emitted(25, 49) Source(33, 49) + SourceIndex(0)
-+13>Emitted(25, 50) Source(33, 50) + SourceIndex(0)
-+14>Emitted(25, 59) Source(33, 59) + SourceIndex(0)
-+15>Emitted(25, 61) Source(33, 61) + SourceIndex(0)
-+16>Emitted(25, 62) Source(33, 62) + SourceIndex(0)
-+17>Emitted(25, 72) Source(33, 72) + SourceIndex(0)
-+18>Emitted(25, 74) Source(33, 74) + SourceIndex(0)
-+19>Emitted(25, 82) Source(33, 82) + SourceIndex(0)
-+20>Emitted(25, 83) Source(33, 83) + SourceIndex(0)
-+21>Emitted(25, 84) Source(33, 84) + SourceIndex(0)
-+22>Emitted(25, 86) Source(33, 86) + SourceIndex(0)
-+23>Emitted(25, 87) Source(33, 87) + SourceIndex(0)
-+24>Emitted(25, 90) Source(33, 90) + SourceIndex(0)
-+25>Emitted(25, 91) Source(33, 91) + SourceIndex(0)
-+26>Emitted(25, 93) Source(33, 93) + SourceIndex(0)
-+27>Emitted(25, 94) Source(33, 94) + SourceIndex(0)
-+28>Emitted(25, 97) Source(33, 97) + SourceIndex(0)
-+29>Emitted(25, 98) Source(33, 98) + SourceIndex(0)
-+30>Emitted(25, 100) Source(33, 100) + SourceIndex(0)
-+31>Emitted(25, 101) Source(33, 101) + SourceIndex(0)
-+32>Emitted(25, 103) Source(33, 103) + SourceIndex(0)
-+33>Emitted(25, 105) Source(33, 105) + SourceIndex(0)
-+34>Emitted(25, 106) Source(33, 106) + SourceIndex(0)
- ---
- >>> console.log(primarySkillA);
- 1 >^^^^
-@@= skipped -142, +142 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(27, 1) Source(35, 1) + SourceIndex(0)
- 2 >Emitted(27, 2) Source(35, 2) + SourceIndex(0)
- ---
-->>>for (var numberB = robotA[0], i = 0; i < 1; i++) {
-+>>>for (let [numberB] = robotA, i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
- 3 > ^^^^
--4 > ^^^^^^^
--5 > ^^^
--6 > ^^^^^^
--7 > ^^^
--8 > ^^
--9 > ^
--10> ^^^
--11> ^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^
--19> ^^
--20> ^
-+4 > ^
-+5 > ^^^^^^^
-+6 > ^
-+7 > ^^^
-+8 > ^^^^^^
-+9 > ^^
-+10> ^
-+11> ^^^
-+12> ^
-+13> ^^
-+14> ^
-+15> ^^^
-+16> ^
-+17> ^^
-+18> ^
-+19> ^^
-+20> ^^
-+21> ^
- 1->
- >
- >
--2 >for (let [
--3 >
--4 > numberB
--5 > ] =
--6 > robotA
--7 >
--8 > ] = robotA,
--9 > i
--10> =
--11> 0
--12> ;
--13> i
--14> <
--15> 1
--16> ;
--17> i
--18> ++
--19> )
--20> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberB
-+6 > ]
-+7 > =
-+8 > robotA
-+9 > ,
-+10> i
-+11> =
-+12> 0
-+13> ;
-+14> i
-+15> <
-+16> 1
-+17> ;
-+18> i
-+19> ++
-+20> )
-+21> {
- 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)
-+2 >Emitted(28, 6) Source(37, 6) + SourceIndex(0)
-+3 >Emitted(28, 10) Source(37, 10) + SourceIndex(0)
-+4 >Emitted(28, 11) Source(37, 11) + SourceIndex(0)
-+5 >Emitted(28, 18) Source(37, 18) + SourceIndex(0)
-+6 >Emitted(28, 19) Source(37, 19) + SourceIndex(0)
-+7 >Emitted(28, 22) Source(37, 22) + SourceIndex(0)
-+8 >Emitted(28, 28) Source(37, 28) + SourceIndex(0)
-+9 >Emitted(28, 30) Source(37, 30) + SourceIndex(0)
-+10>Emitted(28, 31) Source(37, 31) + SourceIndex(0)
-+11>Emitted(28, 34) Source(37, 34) + SourceIndex(0)
-+12>Emitted(28, 35) Source(37, 35) + SourceIndex(0)
-+13>Emitted(28, 37) Source(37, 37) + SourceIndex(0)
-+14>Emitted(28, 38) Source(37, 38) + SourceIndex(0)
-+15>Emitted(28, 41) Source(37, 41) + SourceIndex(0)
-+16>Emitted(28, 42) Source(37, 42) + SourceIndex(0)
-+17>Emitted(28, 44) Source(37, 44) + SourceIndex(0)
-+18>Emitted(28, 45) Source(37, 45) + SourceIndex(0)
-+19>Emitted(28, 47) Source(37, 47) + SourceIndex(0)
-+20>Emitted(28, 49) Source(37, 49) + SourceIndex(0)
-+21>Emitted(28, 50) Source(37, 50) + SourceIndex(0)
- ---
- >>> console.log(numberB);
- 1 >^^^^
-@@= skipped -101, +104 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(30, 1) Source(39, 1) + SourceIndex(0)
- 2 >Emitted(30, 2) Source(39, 2) + SourceIndex(0)
- ---
-->>>for (var numberB = getRobot()[0], i = 0; i < 1; i++) {
-+>>>for (let [numberB] = getRobot(), i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
- 3 > ^^^^
--4 > ^^^^^^^
--5 > ^^^
--6 > ^^^^^^^^
--7 > ^^
--8 > ^^^
--9 > ^^
--10> ^
--11> ^^^
--12> ^
--13> ^^
--14> ^
--15> ^^^
--16> ^
--17> ^^
--18> ^
--19> ^^
--20> ^^
--21> ^
-+4 > ^
-+5 > ^^^^^^^
-+6 > ^
-+7 > ^^^
-+8 > ^^^^^^^^
-+9 > ^^
-+10> ^^
-+11> ^
-+12> ^^^
-+13> ^
-+14> ^^
-+15> ^
-+16> ^^^
-+17> ^
-+18> ^^
-+19> ^
-+20> ^^
-+21> ^^
-+22> ^
- 1->
- >
--2 >for (let [
--3 >
--4 > numberB
--5 > ] =
--6 > getRobot
--7 > ()
--8 >
--9 > ] = getRobot(),
--10> i
--11> =
--12> 0
--13> ;
--14> i
--15> <
--16> 1
--17> ;
--18> i
--19> ++
--20> )
--21> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberB
-+6 > ]
-+7 > =
-+8 > getRobot
-+9 > ()
-+10> ,
-+11> i
-+12> =
-+13> 0
-+14> ;
-+15> i
-+16> <
-+17> 1
-+18> ;
-+19> i
-+20> ++
-+21> )
-+22> {
- 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)
-+2 >Emitted(31, 6) Source(40, 6) + SourceIndex(0)
-+3 >Emitted(31, 10) Source(40, 10) + SourceIndex(0)
-+4 >Emitted(31, 11) Source(40, 11) + SourceIndex(0)
-+5 >Emitted(31, 18) Source(40, 18) + SourceIndex(0)
-+6 >Emitted(31, 19) Source(40, 19) + SourceIndex(0)
-+7 >Emitted(31, 22) Source(40, 22) + SourceIndex(0)
-+8 >Emitted(31, 30) Source(40, 30) + SourceIndex(0)
-+9 >Emitted(31, 32) Source(40, 32) + SourceIndex(0)
-+10>Emitted(31, 34) Source(40, 34) + SourceIndex(0)
-+11>Emitted(31, 35) Source(40, 35) + SourceIndex(0)
-+12>Emitted(31, 38) Source(40, 38) + SourceIndex(0)
-+13>Emitted(31, 39) Source(40, 39) + SourceIndex(0)
-+14>Emitted(31, 41) Source(40, 41) + SourceIndex(0)
-+15>Emitted(31, 42) Source(40, 42) + SourceIndex(0)
-+16>Emitted(31, 45) Source(40, 45) + SourceIndex(0)
-+17>Emitted(31, 46) Source(40, 46) + SourceIndex(0)
-+18>Emitted(31, 48) Source(40, 48) + SourceIndex(0)
-+19>Emitted(31, 49) Source(40, 49) + SourceIndex(0)
-+20>Emitted(31, 51) Source(40, 51) + SourceIndex(0)
-+21>Emitted(31, 53) Source(40, 53) + SourceIndex(0)
-+22>Emitted(31, 54) Source(40, 54) + SourceIndex(0)
- ---
- >>> console.log(numberB);
- 1 >^^^^
-@@= skipped -103, +106 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(33, 1) Source(42, 1) + SourceIndex(0)
- 2 >Emitted(33, 2) Source(42, 2) + SourceIndex(0)
- ---
-->>>for (var numberB = [2, "trimmer", "trimming"][0], i = 0; i < 1; i++) {
-+>>>for (let [numberB] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
- 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> ^
-+4 > ^
-+5 > ^^^^^^^
-+6 > ^
-+7 > ^^^
-+8 > ^
-+9 > ^
-+10> ^^
-+11> ^^^^^^^^^
-+12> ^^
-+13> ^^^^^^^^^^
-+14> ^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
-+19> ^^
-+20> ^
-+21> ^^^
-+22> ^
-+23> ^^
-+24> ^
-+25> ^^
-+26> ^^
-+27> ^
- 1->
- >
--2 >for (let [
--3 >
--4 > numberB
--5 > ] =
--6 > [
--7 > 2
--8 > ,
--9 > "trimmer"
--10> ,
--11> "trimming"
--12> ]
--13>
--14> ] = [2, "trimmer", "trimming"],
--15> i
--16> =
--17> 0
--18> ;
--19> i
--20> <
--21> 1
--22> ;
--23> i
--24> ++
--25> )
--26> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberB
-+6 > ]
-+7 > =
-+8 > [
-+9 > 2
-+10> ,
-+11> "trimmer"
-+12> ,
-+13> "trimming"
-+14> ]
-+15> ,
-+16> i
-+17> =
-+18> 0
-+19> ;
-+20> i
-+21> <
-+22> 1
-+23> ;
-+24> i
-+25> ++
-+26> )
-+27> {
- 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)
-+2 >Emitted(34, 6) Source(43, 6) + SourceIndex(0)
-+3 >Emitted(34, 10) Source(43, 10) + SourceIndex(0)
-+4 >Emitted(34, 11) Source(43, 11) + SourceIndex(0)
-+5 >Emitted(34, 18) Source(43, 18) + SourceIndex(0)
-+6 >Emitted(34, 19) Source(43, 19) + SourceIndex(0)
-+7 >Emitted(34, 22) Source(43, 22) + SourceIndex(0)
-+8 >Emitted(34, 23) Source(43, 23) + SourceIndex(0)
-+9 >Emitted(34, 24) Source(43, 24) + SourceIndex(0)
-+10>Emitted(34, 26) Source(43, 26) + SourceIndex(0)
-+11>Emitted(34, 35) Source(43, 35) + SourceIndex(0)
-+12>Emitted(34, 37) Source(43, 37) + SourceIndex(0)
-+13>Emitted(34, 47) Source(43, 47) + SourceIndex(0)
-+14>Emitted(34, 48) Source(43, 48) + SourceIndex(0)
-+15>Emitted(34, 50) Source(43, 50) + SourceIndex(0)
-+16>Emitted(34, 51) Source(43, 51) + SourceIndex(0)
-+17>Emitted(34, 54) Source(43, 54) + SourceIndex(0)
-+18>Emitted(34, 55) Source(43, 55) + SourceIndex(0)
-+19>Emitted(34, 57) Source(43, 57) + SourceIndex(0)
-+20>Emitted(34, 58) Source(43, 58) + SourceIndex(0)
-+21>Emitted(34, 61) Source(43, 61) + SourceIndex(0)
-+22>Emitted(34, 62) Source(43, 62) + SourceIndex(0)
-+23>Emitted(34, 64) Source(43, 64) + SourceIndex(0)
-+24>Emitted(34, 65) Source(43, 65) + SourceIndex(0)
-+25>Emitted(34, 67) Source(43, 67) + SourceIndex(0)
-+26>Emitted(34, 69) Source(43, 69) + SourceIndex(0)
-+27>Emitted(34, 70) Source(43, 70) + SourceIndex(0)
- ---
- >>> console.log(numberB);
- 1 >^^^^
-@@= skipped -118, +121 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(36, 1) Source(45, 1) + SourceIndex(0)
- 2 >Emitted(36, 2) Source(45, 2) + SourceIndex(0)
- ---
-->>>for (var nameB = multiRobotA[0], i = 0; i < 1; i++) {
-+>>>for (let [nameB] = multiRobotA, i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
- 3 > ^^^^
--4 > ^^^^^
--5 > ^^^
--6 > ^^^^^^^^^^^
--7 > ^^^
--8 > ^^
--9 > ^
--10> ^^^
--11> ^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^
--19> ^^
--20> ^
-+4 > ^
-+5 > ^^^^^
-+6 > ^
-+7 > ^^^
-+8 > ^^^^^^^^^^^
-+9 > ^^
-+10> ^
-+11> ^^^
-+12> ^
-+13> ^^
-+14> ^
-+15> ^^^
-+16> ^
-+17> ^^
-+18> ^
-+19> ^^
-+20> ^^
-+21> ^
- 1->
- >
--2 >for (let [
--3 >
--4 > nameB
--5 > ] =
--6 > multiRobotA
--7 >
--8 > ] = multiRobotA,
--9 > i
--10> =
--11> 0
--12> ;
--13> i
--14> <
--15> 1
--16> ;
--17> i
--18> ++
--19> )
--20> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > nameB
-+6 > ]
-+7 > =
-+8 > multiRobotA
-+9 > ,
-+10> i
-+11> =
-+12> 0
-+13> ;
-+14> i
-+15> <
-+16> 1
-+17> ;
-+18> i
-+19> ++
-+20> )
-+21> {
- 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)
-+2 >Emitted(37, 6) Source(46, 6) + SourceIndex(0)
-+3 >Emitted(37, 10) Source(46, 10) + SourceIndex(0)
-+4 >Emitted(37, 11) Source(46, 11) + SourceIndex(0)
-+5 >Emitted(37, 16) Source(46, 16) + SourceIndex(0)
-+6 >Emitted(37, 17) Source(46, 17) + SourceIndex(0)
-+7 >Emitted(37, 20) Source(46, 20) + SourceIndex(0)
-+8 >Emitted(37, 31) Source(46, 31) + SourceIndex(0)
-+9 >Emitted(37, 33) Source(46, 33) + SourceIndex(0)
-+10>Emitted(37, 34) Source(46, 34) + SourceIndex(0)
-+11>Emitted(37, 37) Source(46, 37) + SourceIndex(0)
-+12>Emitted(37, 38) Source(46, 38) + SourceIndex(0)
-+13>Emitted(37, 40) Source(46, 40) + SourceIndex(0)
-+14>Emitted(37, 41) Source(46, 41) + SourceIndex(0)
-+15>Emitted(37, 44) Source(46, 44) + SourceIndex(0)
-+16>Emitted(37, 45) Source(46, 45) + SourceIndex(0)
-+17>Emitted(37, 47) Source(46, 47) + SourceIndex(0)
-+18>Emitted(37, 48) Source(46, 48) + SourceIndex(0)
-+19>Emitted(37, 50) Source(46, 50) + SourceIndex(0)
-+20>Emitted(37, 52) Source(46, 52) + SourceIndex(0)
-+21>Emitted(37, 53) Source(46, 53) + SourceIndex(0)
- ---
- >>> console.log(nameB);
- 1 >^^^^
-@@= skipped -100, +103 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(39, 1) Source(48, 1) + SourceIndex(0)
- 2 >Emitted(39, 2) Source(48, 2) + SourceIndex(0)
- ---
-->>>for (var nameB = getMultiRobot()[0], i = 0; i < 1; i++) {
-+>>>for (let [nameB] = getMultiRobot(), i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
- 3 > ^^^^
--4 > ^^^^^
--5 > ^^^
--6 > ^^^^^^^^^^^^^
--7 > ^^
--8 > ^^^
--9 > ^^
--10> ^
--11> ^^^
--12> ^
--13> ^^
--14> ^
--15> ^^^
--16> ^
--17> ^^
--18> ^
--19> ^^
--20> ^^
--21> ^
-+4 > ^
-+5 > ^^^^^
-+6 > ^
-+7 > ^^^
-+8 > ^^^^^^^^^^^^^
-+9 > ^^
-+10> ^^
-+11> ^
-+12> ^^^
-+13> ^
-+14> ^^
-+15> ^
-+16> ^^^
-+17> ^
-+18> ^^
-+19> ^
-+20> ^^
-+21> ^^
-+22> ^
- 1->
- >
--2 >for (let [
--3 >
--4 > nameB
--5 > ] =
--6 > getMultiRobot
--7 > ()
--8 >
--9 > ] = getMultiRobot(),
--10> i
--11> =
--12> 0
--13> ;
--14> i
--15> <
--16> 1
--17> ;
--18> i
--19> ++
--20> )
--21> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > nameB
-+6 > ]
-+7 > =
-+8 > getMultiRobot
-+9 > ()
-+10> ,
-+11> i
-+12> =
-+13> 0
-+14> ;
-+15> i
-+16> <
-+17> 1
-+18> ;
-+19> i
-+20> ++
-+21> )
-+22> {
- 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)
-+2 >Emitted(40, 6) Source(49, 6) + SourceIndex(0)
-+3 >Emitted(40, 10) Source(49, 10) + SourceIndex(0)
-+4 >Emitted(40, 11) Source(49, 11) + SourceIndex(0)
-+5 >Emitted(40, 16) Source(49, 16) + SourceIndex(0)
-+6 >Emitted(40, 17) Source(49, 17) + SourceIndex(0)
-+7 >Emitted(40, 20) Source(49, 20) + SourceIndex(0)
-+8 >Emitted(40, 33) Source(49, 33) + SourceIndex(0)
-+9 >Emitted(40, 35) Source(49, 35) + SourceIndex(0)
-+10>Emitted(40, 37) Source(49, 37) + SourceIndex(0)
-+11>Emitted(40, 38) Source(49, 38) + SourceIndex(0)
-+12>Emitted(40, 41) Source(49, 41) + SourceIndex(0)
-+13>Emitted(40, 42) Source(49, 42) + SourceIndex(0)
-+14>Emitted(40, 44) Source(49, 44) + SourceIndex(0)
-+15>Emitted(40, 45) Source(49, 45) + SourceIndex(0)
-+16>Emitted(40, 48) Source(49, 48) + SourceIndex(0)
-+17>Emitted(40, 49) Source(49, 49) + SourceIndex(0)
-+18>Emitted(40, 51) Source(49, 51) + SourceIndex(0)
-+19>Emitted(40, 52) Source(49, 52) + SourceIndex(0)
-+20>Emitted(40, 54) Source(49, 54) + SourceIndex(0)
-+21>Emitted(40, 56) Source(49, 56) + SourceIndex(0)
-+22>Emitted(40, 57) Source(49, 57) + SourceIndex(0)
- ---
- >>> console.log(nameB);
- 1 >^^^^
-@@= skipped -103, +106 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(42, 1) Source(51, 1) + SourceIndex(0)
- 2 >Emitted(42, 2) Source(51, 2) + SourceIndex(0)
- ---
-->>>for (var nameB = ["trimmer", ["trimming", "edging"]][0], i = 0; i < 1; i++) {
-+>>>for (let [nameB] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let [
--3 >
--4 > nameB
--5 > ] =
--6 > [
--7 > "trimmer"
--8 > ,
--9 > [
--10> "trimming"
--11> ,
--12> "edging"
--13> ]
--14> ]
--15>
--16> ] = ["trimmer", ["trimming", "edging"]],
--17> i
--18> =
--19> 0
--20> ;
--21> i
--22> <
--23> 1
--24> ;
--25> i
--26> ++
--27> )
--28> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > nameB
-+6 > ]
-+7 > =
-+8 > [
-+9 > "trimmer"
-+10> ,
-+11> [
-+12> "trimming"
-+13> ,
-+14> "edging"
-+15> ]
-+16> ]
-+17> ,
-+18> i
-+19> =
-+20> 0
-+21> ;
-+22> i
-+23> <
-+24> 1
-+25> ;
-+26> i
-+27> ++
-+28> )
-+29> {
- 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)
-+2 >Emitted(43, 6) Source(52, 6) + SourceIndex(0)
-+3 >Emitted(43, 10) Source(52, 10) + SourceIndex(0)
-+4 >Emitted(43, 11) Source(52, 11) + SourceIndex(0)
-+5 >Emitted(43, 16) Source(52, 16) + SourceIndex(0)
-+6 >Emitted(43, 17) Source(52, 17) + SourceIndex(0)
-+7 >Emitted(43, 20) Source(52, 20) + SourceIndex(0)
-+8 >Emitted(43, 21) Source(52, 21) + SourceIndex(0)
-+9 >Emitted(43, 30) Source(52, 30) + SourceIndex(0)
-+10>Emitted(43, 32) Source(52, 32) + SourceIndex(0)
-+11>Emitted(43, 33) Source(52, 33) + SourceIndex(0)
-+12>Emitted(43, 43) Source(52, 43) + SourceIndex(0)
-+13>Emitted(43, 45) Source(52, 45) + SourceIndex(0)
-+14>Emitted(43, 53) Source(52, 53) + SourceIndex(0)
-+15>Emitted(43, 54) Source(52, 54) + SourceIndex(0)
-+16>Emitted(43, 55) Source(52, 55) + SourceIndex(0)
-+17>Emitted(43, 57) Source(52, 57) + SourceIndex(0)
-+18>Emitted(43, 58) Source(52, 58) + SourceIndex(0)
-+19>Emitted(43, 61) Source(52, 61) + SourceIndex(0)
-+20>Emitted(43, 62) Source(52, 62) + SourceIndex(0)
-+21>Emitted(43, 64) Source(52, 64) + SourceIndex(0)
-+22>Emitted(43, 65) Source(52, 65) + SourceIndex(0)
-+23>Emitted(43, 68) Source(52, 68) + SourceIndex(0)
-+24>Emitted(43, 69) Source(52, 69) + SourceIndex(0)
-+25>Emitted(43, 71) Source(52, 71) + SourceIndex(0)
-+26>Emitted(43, 72) Source(52, 72) + SourceIndex(0)
-+27>Emitted(43, 74) Source(52, 74) + SourceIndex(0)
-+28>Emitted(43, 76) Source(52, 76) + SourceIndex(0)
-+29>Emitted(43, 77) Source(52, 77) + SourceIndex(0)
- ---
- >>> console.log(nameB);
- 1 >^^^^
-@@= skipped -124, +127 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(45, 1) Source(54, 1) + SourceIndex(0)
- 2 >Emitted(45, 2) Source(54, 2) + SourceIndex(0)
- ---
-->>>for (var numberA2 = robotA[0], nameA2 = robotA[1], skillA2 = robotA[2], i = 0; i < 1; i++) {
-+>>>for (let [numberA2, nameA2, skillA2] = robotA, i = 0; i < 1; i++) {
- 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> ^
-+4 > ^
-+5 > ^^^^^^^^
-+6 > ^^
-+7 > ^^^^^^
-+8 > ^^
-+9 > ^^^^^^^
-+10> ^
-+11> ^^^
-+12> ^^^^^^
-+13> ^^
-+14> ^
-+15> ^^^
-+16> ^
-+17> ^^
-+18> ^
-+19> ^^^
-+20> ^
-+21> ^^
-+22> ^
-+23> ^^
-+24> ^^
-+25> ^
- 1->
- >
- >
--2 >for (let [
--3 >
--4 > numberA2
--5 > , nameA2, skillA2] =
--6 > robotA
--7 >
--8 > ,
--9 > nameA2
--10> , skillA2] =
--11> robotA
--12>
--13> ,
--14> skillA2
--15> ] =
--16> robotA
--17>
--18> ] = robotA,
--19> i
--20> =
--21> 0
--22> ;
--23> i
--24> <
--25> 1
--26> ;
--27> i
--28> ++
--29> )
--30> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberA2
-+6 > ,
-+7 > nameA2
-+8 > ,
-+9 > skillA2
-+10> ]
-+11> =
-+12> robotA
-+13> ,
-+14> i
-+15> =
-+16> 0
-+17> ;
-+18> i
-+19> <
-+20> 1
-+21> ;
-+22> i
-+23> ++
-+24> )
-+25> {
- 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)
-+2 >Emitted(46, 6) Source(56, 6) + SourceIndex(0)
-+3 >Emitted(46, 10) Source(56, 10) + SourceIndex(0)
-+4 >Emitted(46, 11) Source(56, 11) + SourceIndex(0)
-+5 >Emitted(46, 19) Source(56, 19) + SourceIndex(0)
-+6 >Emitted(46, 21) Source(56, 21) + SourceIndex(0)
-+7 >Emitted(46, 27) Source(56, 27) + SourceIndex(0)
-+8 >Emitted(46, 29) Source(56, 29) + SourceIndex(0)
-+9 >Emitted(46, 36) Source(56, 36) + SourceIndex(0)
-+10>Emitted(46, 37) Source(56, 37) + SourceIndex(0)
-+11>Emitted(46, 40) Source(56, 40) + SourceIndex(0)
-+12>Emitted(46, 46) Source(56, 46) + SourceIndex(0)
-+13>Emitted(46, 48) Source(56, 48) + SourceIndex(0)
-+14>Emitted(46, 49) Source(56, 49) + SourceIndex(0)
-+15>Emitted(46, 52) Source(56, 52) + SourceIndex(0)
-+16>Emitted(46, 53) Source(56, 53) + SourceIndex(0)
-+17>Emitted(46, 55) Source(56, 55) + SourceIndex(0)
-+18>Emitted(46, 56) Source(56, 56) + SourceIndex(0)
-+19>Emitted(46, 59) Source(56, 59) + SourceIndex(0)
-+20>Emitted(46, 60) Source(56, 60) + SourceIndex(0)
-+21>Emitted(46, 62) Source(56, 62) + SourceIndex(0)
-+22>Emitted(46, 63) Source(56, 63) + SourceIndex(0)
-+23>Emitted(46, 65) Source(56, 65) + SourceIndex(0)
-+24>Emitted(46, 67) Source(56, 67) + SourceIndex(0)
-+25>Emitted(46, 68) Source(56, 68) + SourceIndex(0)
- ---
- >>> console.log(nameA2);
- 1 >^^^^
-@@= skipped -131, +116 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(48, 1) Source(58, 1) + SourceIndex(0)
- 2 >Emitted(48, 2) Source(58, 2) + SourceIndex(0)
- ---
-->>>for (var _h = getRobot(), numberA2 = _h[0], nameA2 = _h[1], skillA2 = _h[2], i = 0; i < 1; i++) {
-+>>>for (let [numberA2, nameA2, skillA2] = getRobot(), i = 0; i < 1; i++) {
- 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> ^
-+4 > ^
-+5 > ^^^^^^^^
-+6 > ^^
-+7 > ^^^^^^
-+8 > ^^
-+9 > ^^^^^^^
-+10> ^
-+11> ^^^
-+12> ^^^^^^^^
-+13> ^^
-+14> ^^
-+15> ^
-+16> ^^^
-+17> ^
-+18> ^^
-+19> ^
-+20> ^^^
-+21> ^
-+22> ^^
-+23> ^
-+24> ^^
-+25> ^^
-+26> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [numberA2, nameA2, skillA2] =
--5 > getRobot
--6 > ()
--7 >
--8 > numberA2
--9 >
--10> ,
--11> nameA2
--12>
--13> ,
--14> skillA2
--15>
--16> ] = getRobot(),
--17> i
--18> =
--19> 0
--20> ;
--21> i
--22> <
--23> 1
--24> ;
--25> i
--26> ++
--27> )
--28> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberA2
-+6 > ,
-+7 > nameA2
-+8 > ,
-+9 > skillA2
-+10> ]
-+11> =
-+12> getRobot
-+13> ()
-+14> ,
-+15> i
-+16> =
-+17> 0
-+18> ;
-+19> i
-+20> <
-+21> 1
-+22> ;
-+23> i
-+24> ++
-+25> )
-+26> {
- 1->Emitted(49, 1) Source(59, 1) + SourceIndex(0)
--2 >Emitted(49, 6) Source(59, 10) + SourceIndex(0)
-+2 >Emitted(49, 6) Source(59, 6) + 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)
-+4 >Emitted(49, 11) Source(59, 11) + SourceIndex(0)
-+5 >Emitted(49, 19) Source(59, 19) + SourceIndex(0)
-+6 >Emitted(49, 21) Source(59, 21) + SourceIndex(0)
-+7 >Emitted(49, 27) Source(59, 27) + SourceIndex(0)
-+8 >Emitted(49, 29) Source(59, 29) + SourceIndex(0)
-+9 >Emitted(49, 36) Source(59, 36) + SourceIndex(0)
-+10>Emitted(49, 37) Source(59, 37) + SourceIndex(0)
-+11>Emitted(49, 40) Source(59, 40) + SourceIndex(0)
-+12>Emitted(49, 48) Source(59, 48) + SourceIndex(0)
-+13>Emitted(49, 50) Source(59, 50) + SourceIndex(0)
-+14>Emitted(49, 52) Source(59, 52) + SourceIndex(0)
-+15>Emitted(49, 53) Source(59, 53) + SourceIndex(0)
-+16>Emitted(49, 56) Source(59, 56) + SourceIndex(0)
-+17>Emitted(49, 57) Source(59, 57) + SourceIndex(0)
-+18>Emitted(49, 59) Source(59, 59) + SourceIndex(0)
-+19>Emitted(49, 60) Source(59, 60) + SourceIndex(0)
-+20>Emitted(49, 63) Source(59, 63) + SourceIndex(0)
-+21>Emitted(49, 64) Source(59, 64) + SourceIndex(0)
-+22>Emitted(49, 66) Source(59, 66) + SourceIndex(0)
-+23>Emitted(49, 67) Source(59, 67) + SourceIndex(0)
-+24>Emitted(49, 69) Source(59, 69) + SourceIndex(0)
-+25>Emitted(49, 71) Source(59, 71) + SourceIndex(0)
-+26>Emitted(49, 72) Source(59, 72) + SourceIndex(0)
- ---
- >>> console.log(nameA2);
- 1 >^^^^
-@@= skipped -124, +118 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(51, 1) Source(61, 1) + SourceIndex(0)
- 2 >Emitted(51, 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++) {
-+>>>for (let [numberA2, nameA2, skillA2] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [numberA2, nameA2, skillA2] =
--5 > [
--6 > 2
--7 > ,
--8 > "trimmer"
--9 > ,
--10> "trimming"
--11> ]
--12>
--13> numberA2
--14>
--15> ,
--16> nameA2
--17>
--18> ,
--19> skillA2
--20>
--21> ] = [2, "trimmer", "trimming"],
--22> i
--23> =
--24> 0
--25> ;
--26> i
--27> <
--28> 1
--29> ;
--30> i
--31> ++
--32> )
--33> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberA2
-+6 > ,
-+7 > nameA2
-+8 > ,
-+9 > skillA2
-+10> ]
-+11> =
-+12> [
-+13> 2
-+14> ,
-+15> "trimmer"
-+16> ,
-+17> "trimming"
-+18> ]
-+19> ,
-+20> i
-+21> =
-+22> 0
-+23> ;
-+24> i
-+25> <
-+26> 1
-+27> ;
-+28> i
-+29> ++
-+30> )
-+31> {
- 1->Emitted(52, 1) Source(62, 1) + SourceIndex(0)
--2 >Emitted(52, 6) Source(62, 10) + SourceIndex(0)
-+2 >Emitted(52, 6) Source(62, 6) + 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)
-+4 >Emitted(52, 11) Source(62, 11) + SourceIndex(0)
-+5 >Emitted(52, 19) Source(62, 19) + SourceIndex(0)
-+6 >Emitted(52, 21) Source(62, 21) + SourceIndex(0)
-+7 >Emitted(52, 27) Source(62, 27) + SourceIndex(0)
-+8 >Emitted(52, 29) Source(62, 29) + SourceIndex(0)
-+9 >Emitted(52, 36) Source(62, 36) + SourceIndex(0)
-+10>Emitted(52, 37) Source(62, 37) + SourceIndex(0)
-+11>Emitted(52, 40) Source(62, 40) + SourceIndex(0)
-+12>Emitted(52, 41) Source(62, 41) + SourceIndex(0)
-+13>Emitted(52, 42) Source(62, 42) + SourceIndex(0)
-+14>Emitted(52, 44) Source(62, 44) + SourceIndex(0)
-+15>Emitted(52, 53) Source(62, 53) + SourceIndex(0)
-+16>Emitted(52, 55) Source(62, 55) + SourceIndex(0)
-+17>Emitted(52, 65) Source(62, 65) + SourceIndex(0)
-+18>Emitted(52, 66) Source(62, 66) + SourceIndex(0)
-+19>Emitted(52, 68) Source(62, 68) + SourceIndex(0)
-+20>Emitted(52, 69) Source(62, 69) + SourceIndex(0)
-+21>Emitted(52, 72) Source(62, 72) + SourceIndex(0)
-+22>Emitted(52, 73) Source(62, 73) + SourceIndex(0)
-+23>Emitted(52, 75) Source(62, 75) + SourceIndex(0)
-+24>Emitted(52, 76) Source(62, 76) + SourceIndex(0)
-+25>Emitted(52, 79) Source(62, 79) + SourceIndex(0)
-+26>Emitted(52, 80) Source(62, 80) + SourceIndex(0)
-+27>Emitted(52, 82) Source(62, 82) + SourceIndex(0)
-+28>Emitted(52, 83) Source(62, 83) + SourceIndex(0)
-+29>Emitted(52, 85) Source(62, 85) + SourceIndex(0)
-+30>Emitted(52, 87) Source(62, 87) + SourceIndex(0)
-+31>Emitted(52, 88) Source(62, 88) + SourceIndex(0)
- ---
- >>> console.log(nameA2);
- 1 >^^^^
-@@= skipped -139, +133 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(54, 1) Source(64, 1) + SourceIndex(0)
- 2 >Emitted(54, 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++) {
-+>>>for (let [nameMA, [primarySkillA, secondarySkillA]] = multiRobotA, i = 0; i < 1; i++) {
- 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> ^
-+4 > ^
-+5 > ^^^^^^
-+6 > ^^
-+7 > ^
-+8 > ^^^^^^^^^^^^^
-+9 > ^^
-+10> ^^^^^^^^^^^^^^^
-+11> ^
-+12> ^
-+13> ^^^
-+14> ^^^^^^^^^^^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
-+19> ^^
-+20> ^
-+21> ^^^
-+22> ^
-+23> ^^
-+24> ^
-+25> ^^
-+26> ^^
-+27> ^
- 1->
- >
--2 >for (let [
--3 >
--4 > nameMA
--5 > , [primarySkillA, secondarySkillA]] =
--6 > multiRobotA
--7 >
--8 > ,
--9 > [primarySkillA, secondarySkillA]] =
--10> multiRobotA
--11>
--12>
--13> primarySkillA
--14>
--15> ,
--16> secondarySkillA
--17>
--18> ]] = multiRobotA,
--19> i
--20> =
--21> 0
--22> ;
--23> i
--24> <
--25> 1
--26> ;
--27> i
--28> ++
--29> )
--30> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > nameMA
-+6 > ,
-+7 > [
-+8 > primarySkillA
-+9 > ,
-+10> secondarySkillA
-+11> ]
-+12> ]
-+13> =
-+14> multiRobotA
-+15> ,
-+16> i
-+17> =
-+18> 0
-+19> ;
-+20> i
-+21> <
-+22> 1
-+23> ;
-+24> i
-+25> ++
-+26> )
-+27> {
- 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)
-+2 >Emitted(55, 6) Source(65, 6) + SourceIndex(0)
-+3 >Emitted(55, 10) Source(65, 10) + SourceIndex(0)
-+4 >Emitted(55, 11) Source(65, 11) + SourceIndex(0)
-+5 >Emitted(55, 17) Source(65, 17) + SourceIndex(0)
-+6 >Emitted(55, 19) Source(65, 19) + SourceIndex(0)
-+7 >Emitted(55, 20) Source(65, 20) + SourceIndex(0)
-+8 >Emitted(55, 33) Source(65, 33) + SourceIndex(0)
-+9 >Emitted(55, 35) Source(65, 35) + SourceIndex(0)
-+10>Emitted(55, 50) Source(65, 50) + SourceIndex(0)
-+11>Emitted(55, 51) Source(65, 51) + SourceIndex(0)
-+12>Emitted(55, 52) Source(65, 52) + SourceIndex(0)
-+13>Emitted(55, 55) Source(65, 55) + SourceIndex(0)
-+14>Emitted(55, 66) Source(65, 66) + SourceIndex(0)
-+15>Emitted(55, 68) Source(65, 68) + SourceIndex(0)
-+16>Emitted(55, 69) Source(65, 69) + SourceIndex(0)
-+17>Emitted(55, 72) Source(65, 72) + SourceIndex(0)
-+18>Emitted(55, 73) Source(65, 73) + SourceIndex(0)
-+19>Emitted(55, 75) Source(65, 75) + SourceIndex(0)
-+20>Emitted(55, 76) Source(65, 76) + SourceIndex(0)
-+21>Emitted(55, 79) Source(65, 79) + SourceIndex(0)
-+22>Emitted(55, 80) Source(65, 80) + SourceIndex(0)
-+23>Emitted(55, 82) Source(65, 82) + SourceIndex(0)
-+24>Emitted(55, 83) Source(65, 83) + SourceIndex(0)
-+25>Emitted(55, 85) Source(65, 85) + SourceIndex(0)
-+26>Emitted(55, 87) Source(65, 87) + SourceIndex(0)
-+27>Emitted(55, 88) Source(65, 88) + SourceIndex(0)
- ---
- >>> console.log(nameMA);
- 1 >^^^^
-@@= skipped -130, +121 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(57, 1) Source(67, 1) + SourceIndex(0)
- 2 >Emitted(57, 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++) {
-+>>>for (let [nameMA, [primarySkillA, secondarySkillA]] = getMultiRobot(), i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [nameMA, [primarySkillA, secondarySkillA]] =
--5 > getMultiRobot
--6 > ()
--7 >
--8 > nameMA
--9 >
--10> ,
--11> [primarySkillA, secondarySkillA]
--12>
--13> primarySkillA
--14>
--15> ,
--16> secondarySkillA
--17>
--18> ]] = getMultiRobot(),
--19> i
--20> =
--21> 0
--22> ;
--23> i
--24> <
--25> 1
--26> ;
--27> i
--28> ++
--29> )
--30> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > nameMA
-+6 > ,
-+7 > [
-+8 > primarySkillA
-+9 > ,
-+10> secondarySkillA
-+11> ]
-+12> ]
-+13> =
-+14> getMultiRobot
-+15> ()
-+16> ,
-+17> i
-+18> =
-+19> 0
-+20> ;
-+21> i
-+22> <
-+23> 1
-+24> ;
-+25> i
-+26> ++
-+27> )
-+28> {
- 1->Emitted(58, 1) Source(68, 1) + SourceIndex(0)
--2 >Emitted(58, 6) Source(68, 10) + SourceIndex(0)
-+2 >Emitted(58, 6) Source(68, 6) + 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)
-+4 >Emitted(58, 11) Source(68, 11) + SourceIndex(0)
-+5 >Emitted(58, 17) Source(68, 17) + SourceIndex(0)
-+6 >Emitted(58, 19) Source(68, 19) + SourceIndex(0)
-+7 >Emitted(58, 20) Source(68, 20) + SourceIndex(0)
-+8 >Emitted(58, 33) Source(68, 33) + SourceIndex(0)
-+9 >Emitted(58, 35) Source(68, 35) + SourceIndex(0)
-+10>Emitted(58, 50) Source(68, 50) + SourceIndex(0)
-+11>Emitted(58, 51) Source(68, 51) + SourceIndex(0)
-+12>Emitted(58, 52) Source(68, 52) + SourceIndex(0)
-+13>Emitted(58, 55) Source(68, 55) + SourceIndex(0)
-+14>Emitted(58, 68) Source(68, 68) + SourceIndex(0)
-+15>Emitted(58, 70) Source(68, 70) + SourceIndex(0)
-+16>Emitted(58, 72) Source(68, 72) + SourceIndex(0)
-+17>Emitted(58, 73) Source(68, 73) + SourceIndex(0)
-+18>Emitted(58, 76) Source(68, 76) + SourceIndex(0)
-+19>Emitted(58, 77) Source(68, 77) + SourceIndex(0)
-+20>Emitted(58, 79) Source(68, 79) + SourceIndex(0)
-+21>Emitted(58, 80) Source(68, 80) + SourceIndex(0)
-+22>Emitted(58, 83) Source(68, 83) + SourceIndex(0)
-+23>Emitted(58, 84) Source(68, 84) + SourceIndex(0)
-+24>Emitted(58, 86) Source(68, 86) + SourceIndex(0)
-+25>Emitted(58, 87) Source(68, 87) + SourceIndex(0)
-+26>Emitted(58, 89) Source(68, 89) + SourceIndex(0)
-+27>Emitted(58, 91) Source(68, 91) + SourceIndex(0)
-+28>Emitted(58, 92) Source(68, 92) + SourceIndex(0)
- ---
- >>> console.log(nameMA);
- 1 >^^^^
-@@= skipped -130, +124 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(60, 1) Source(70, 1) + SourceIndex(0)
- 2 >Emitted(60, 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++) {
-+>>>for (let [nameMA, [primarySkillA, secondarySkillA]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
- 3 > ^^^^
--4 > ^^^^^
--5 > ^
--6 > ^^^^^^^^^
--7 > ^^
--8 > ^
--9 > ^^^^^^^^^^
--10> ^^
--11> ^^^^^^^^
--12> ^
--13> ^
--14> ^^
--15> ^^^^^^
--16> ^^^^^^^^
--17> ^^
-+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> ^
-+20> ^^^^^^^^
-+21> ^
-+22> ^
-+23> ^^
-+24> ^
-+25> ^^^
-+26> ^
-+27> ^^
-+28> ^
-+29> ^^^
-+30> ^
-+31> ^^
-+32> ^
-+33> ^^
-+34> ^^
-+35> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [nameMA, [primarySkillA, secondarySkillA]] =
--5 > [
--6 > "trimmer"
--7 > ,
--8 > [
--9 > "trimming"
--10> ,
--11> "edging"
--12> ]
--13> ]
--14>
--15> nameMA
--16>
--17> ,
--18> [primarySkillA, secondarySkillA]
--19>
--20> primarySkillA
--21>
--22> ,
--23> secondarySkillA
--24>
--25> ]] = ["trimmer", ["trimming", "edging"]],
--26> i
--27> =
--28> 0
--29> ;
--30> i
--31> <
--32> 1
--33> ;
--34> i
--35> ++
--36> )
--37> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > nameMA
-+6 > ,
-+7 > [
-+8 > primarySkillA
-+9 > ,
-+10> secondarySkillA
-+11> ]
-+12> ]
-+13> =
-+14> [
-+15> "trimmer"
-+16> ,
-+17> [
-+18> "trimming"
-+19> ,
-+20> "edging"
-+21> ]
-+22> ]
-+23> ,
-+24> i
-+25> =
-+26> 0
-+27> ;
-+28> i
-+29> <
-+30> 1
-+31> ;
-+32> i
-+33> ++
-+34> )
-+35> {
- 1->Emitted(61, 1) Source(71, 1) + SourceIndex(0)
--2 >Emitted(61, 6) Source(71, 10) + SourceIndex(0)
-+2 >Emitted(61, 6) Source(71, 6) + 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)
-+4 >Emitted(61, 11) Source(71, 11) + SourceIndex(0)
-+5 >Emitted(61, 17) Source(71, 17) + SourceIndex(0)
-+6 >Emitted(61, 19) Source(71, 19) + SourceIndex(0)
-+7 >Emitted(61, 20) Source(71, 20) + SourceIndex(0)
-+8 >Emitted(61, 33) Source(71, 33) + SourceIndex(0)
-+9 >Emitted(61, 35) Source(71, 35) + SourceIndex(0)
-+10>Emitted(61, 50) Source(71, 50) + SourceIndex(0)
-+11>Emitted(61, 51) Source(71, 51) + SourceIndex(0)
-+12>Emitted(61, 52) Source(71, 52) + SourceIndex(0)
-+13>Emitted(61, 55) Source(71, 55) + SourceIndex(0)
-+14>Emitted(61, 56) Source(71, 56) + SourceIndex(0)
-+15>Emitted(61, 65) Source(71, 65) + SourceIndex(0)
-+16>Emitted(61, 67) Source(71, 67) + SourceIndex(0)
-+17>Emitted(61, 68) Source(71, 68) + SourceIndex(0)
-+18>Emitted(61, 78) Source(71, 78) + SourceIndex(0)
-+19>Emitted(61, 80) Source(71, 80) + SourceIndex(0)
-+20>Emitted(61, 88) Source(71, 88) + SourceIndex(0)
-+21>Emitted(61, 89) Source(71, 89) + SourceIndex(0)
-+22>Emitted(61, 90) Source(71, 90) + SourceIndex(0)
-+23>Emitted(61, 92) Source(71, 92) + SourceIndex(0)
-+24>Emitted(61, 93) Source(71, 93) + SourceIndex(0)
-+25>Emitted(61, 96) Source(71, 96) + SourceIndex(0)
-+26>Emitted(61, 97) Source(71, 97) + SourceIndex(0)
-+27>Emitted(61, 99) Source(71, 99) + SourceIndex(0)
-+28>Emitted(61, 100) Source(71, 100) + SourceIndex(0)
-+29>Emitted(61, 103) Source(71, 103) + SourceIndex(0)
-+30>Emitted(61, 104) Source(71, 104) + SourceIndex(0)
-+31>Emitted(61, 106) Source(71, 106) + SourceIndex(0)
-+32>Emitted(61, 107) Source(71, 107) + SourceIndex(0)
-+33>Emitted(61, 109) Source(71, 109) + SourceIndex(0)
-+34>Emitted(61, 111) Source(71, 111) + SourceIndex(0)
-+35>Emitted(61, 112) Source(71, 112) + SourceIndex(0)
- ---
- >>> console.log(nameMA);
- 1 >^^^^
-@@= skipped -151, +145 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(63, 1) Source(73, 1) + SourceIndex(0)
- 2 >Emitted(63, 2) Source(73, 2) + SourceIndex(0)
- ---
-->>>for (var numberA3 = robotA[0], robotAInfo = robotA.slice(1), i = 0; i < 1; i++) {
-+>>>for (let [numberA3, ...robotAInfo] = robotA, i = 0; i < 1; i++) {
- 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> ^
-+4 > ^
-+5 > ^^^^^^^^
-+6 > ^^
-+7 > ^^^
-+8 > ^^^^^^^^^^
-+9 > ^
-+10> ^^^
-+11> ^^^^^^
-+12> ^^
-+13> ^
-+14> ^^^
-+15> ^
-+16> ^^
-+17> ^
-+18> ^^^
-+19> ^
-+20> ^^
-+21> ^
-+22> ^^
-+23> ^^
-+24> ^
- 1->
- >
- >
--2 >for (let [
--3 >
--4 > numberA3
--5 > , ...robotAInfo] =
--6 > robotA
--7 >
--8 > , ...
--9 > robotAInfo
--10> ] =
--11> robotA
--12>
--13> ] = robotA,
--14> i
--15> =
--16> 0
--17> ;
--18> i
--19> <
--20> 1
--21> ;
--22> i
--23> ++
--24> )
--25> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberA3
-+6 > ,
-+7 > ...
-+8 > robotAInfo
-+9 > ]
-+10> =
-+11> robotA
-+12> ,
-+13> i
-+14> =
-+15> 0
-+16> ;
-+17> i
-+18> <
-+19> 1
-+20> ;
-+21> i
-+22> ++
-+23> )
-+24> {
- 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)
-+2 >Emitted(64, 6) Source(75, 6) + SourceIndex(0)
-+3 >Emitted(64, 10) Source(75, 10) + SourceIndex(0)
-+4 >Emitted(64, 11) Source(75, 11) + SourceIndex(0)
-+5 >Emitted(64, 19) Source(75, 19) + SourceIndex(0)
-+6 >Emitted(64, 21) Source(75, 21) + SourceIndex(0)
-+7 >Emitted(64, 24) Source(75, 24) + SourceIndex(0)
-+8 >Emitted(64, 34) Source(75, 34) + SourceIndex(0)
-+9 >Emitted(64, 35) Source(75, 35) + SourceIndex(0)
-+10>Emitted(64, 38) Source(75, 38) + SourceIndex(0)
-+11>Emitted(64, 44) Source(75, 44) + SourceIndex(0)
-+12>Emitted(64, 46) Source(75, 46) + SourceIndex(0)
-+13>Emitted(64, 47) Source(75, 47) + SourceIndex(0)
-+14>Emitted(64, 50) Source(75, 50) + SourceIndex(0)
-+15>Emitted(64, 51) Source(75, 51) + SourceIndex(0)
-+16>Emitted(64, 53) Source(75, 53) + SourceIndex(0)
-+17>Emitted(64, 54) Source(75, 54) + SourceIndex(0)
-+18>Emitted(64, 57) Source(75, 57) + SourceIndex(0)
-+19>Emitted(64, 58) Source(75, 58) + SourceIndex(0)
-+20>Emitted(64, 60) Source(75, 60) + SourceIndex(0)
-+21>Emitted(64, 61) Source(75, 61) + SourceIndex(0)
-+22>Emitted(64, 63) Source(75, 63) + SourceIndex(0)
-+23>Emitted(64, 65) Source(75, 65) + SourceIndex(0)
-+24>Emitted(64, 66) Source(75, 66) + SourceIndex(0)
- ---
- >>> console.log(numberA3);
- 1 >^^^^
-@@= skipped -116, +113 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(66, 1) Source(77, 1) + SourceIndex(0)
- 2 >Emitted(66, 2) Source(77, 2) + SourceIndex(0)
- ---
-->>>for (var _q = getRobot(), numberA3 = _q[0], robotAInfo = _q.slice(1), i = 0; i < 1; i++) {
-+>>>for (let [numberA3, ...robotAInfo] = getRobot(), i = 0; i < 1; i++) {
- 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> ^
-+4 > ^
-+5 > ^^^^^^^^
-+6 > ^^
-+7 > ^^^
-+8 > ^^^^^^^^^^
-+9 > ^
-+10> ^^^
-+11> ^^^^^^^^
-+12> ^^
-+13> ^^
-+14> ^
-+15> ^^^
-+16> ^
-+17> ^^
-+18> ^
-+19> ^^^
-+20> ^
-+21> ^^
-+22> ^
-+23> ^^
-+24> ^^
-+25> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [numberA3, ...robotAInfo] =
--5 > getRobot
--6 > ()
--7 >
--8 > numberA3
--9 >
--10> , ...
--11> robotAInfo
--12>
--13> ] = getRobot(),
--14> i
--15> =
--16> 0
--17> ;
--18> i
--19> <
--20> 1
--21> ;
--22> i
--23> ++
--24> )
--25> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberA3
-+6 > ,
-+7 > ...
-+8 > robotAInfo
-+9 > ]
-+10> =
-+11> getRobot
-+12> ()
-+13> ,
-+14> i
-+15> =
-+16> 0
-+17> ;
-+18> i
-+19> <
-+20> 1
-+21> ;
-+22> i
-+23> ++
-+24> )
-+25> {
- 1->Emitted(67, 1) Source(78, 1) + SourceIndex(0)
--2 >Emitted(67, 6) Source(78, 10) + SourceIndex(0)
-+2 >Emitted(67, 6) Source(78, 6) + 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)
-+4 >Emitted(67, 11) Source(78, 11) + SourceIndex(0)
-+5 >Emitted(67, 19) Source(78, 19) + SourceIndex(0)
-+6 >Emitted(67, 21) Source(78, 21) + SourceIndex(0)
-+7 >Emitted(67, 24) Source(78, 24) + SourceIndex(0)
-+8 >Emitted(67, 34) Source(78, 34) + SourceIndex(0)
-+9 >Emitted(67, 35) Source(78, 35) + SourceIndex(0)
-+10>Emitted(67, 38) Source(78, 38) + SourceIndex(0)
-+11>Emitted(67, 46) Source(78, 46) + SourceIndex(0)
-+12>Emitted(67, 48) Source(78, 48) + SourceIndex(0)
-+13>Emitted(67, 50) Source(78, 50) + SourceIndex(0)
-+14>Emitted(67, 51) Source(78, 51) + SourceIndex(0)
-+15>Emitted(67, 54) Source(78, 54) + SourceIndex(0)
-+16>Emitted(67, 55) Source(78, 55) + SourceIndex(0)
-+17>Emitted(67, 57) Source(78, 57) + SourceIndex(0)
-+18>Emitted(67, 58) Source(78, 58) + SourceIndex(0)
-+19>Emitted(67, 61) Source(78, 61) + SourceIndex(0)
-+20>Emitted(67, 62) Source(78, 62) + SourceIndex(0)
-+21>Emitted(67, 64) Source(78, 64) + SourceIndex(0)
-+22>Emitted(67, 65) Source(78, 65) + SourceIndex(0)
-+23>Emitted(67, 67) Source(78, 67) + SourceIndex(0)
-+24>Emitted(67, 69) Source(78, 69) + SourceIndex(0)
-+25>Emitted(67, 70) Source(78, 70) + SourceIndex(0)
- ---
- >>> console.log(numberA3);
- 1 >^^^^
-@@= skipped -115, +115 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(69, 1) Source(80, 1) + SourceIndex(0)
- 2 >Emitted(69, 2) Source(80, 2) + SourceIndex(0)
- ---
-->>>for (var _r = [2, "trimmer", "trimming"], numberA3 = _r[0], robotAInfo = _r.slice(1), i = 0; i < 1; i++) {
-+>>>for (let [numberA3, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [numberA3, ...robotAInfo] =
--5 > [
--6 > 2
--7 > ,
--8 > "trimmer"
--9 > ,
--10> "trimming"
--11> ]
--12>
--13> numberA3
--14>
--15> , ...
--16> robotAInfo
--17>
--18> ] = [2, "trimmer", "trimming"],
--19> i
--20> =
--21> 0
--22> ;
--23> i
--24> <
--25> 1
--26> ;
--27> i
--28> ++
--29> )
--30> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberA3
-+6 > ,
-+7 > ...
-+8 > robotAInfo
-+9 > ]
-+10> =
-+11> [
-+12> 2
-+13> ,
-+14> "trimmer"
-+15> ,
-+16> "trimming"
-+17> ]
-+18> ,
-+19> i
-+20> =
-+21> 0
-+22> ;
-+23> i
-+24> <
-+25> 1
-+26> ;
-+27> i
-+28> ++
-+29> )
-+30> {
- 1->Emitted(70, 1) Source(81, 1) + SourceIndex(0)
--2 >Emitted(70, 6) Source(81, 10) + SourceIndex(0)
-+2 >Emitted(70, 6) Source(81, 6) + 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)
-+4 >Emitted(70, 11) Source(81, 11) + SourceIndex(0)
-+5 >Emitted(70, 19) Source(81, 19) + SourceIndex(0)
-+6 >Emitted(70, 21) Source(81, 21) + SourceIndex(0)
-+7 >Emitted(70, 24) Source(81, 24) + SourceIndex(0)
-+8 >Emitted(70, 34) Source(81, 34) + SourceIndex(0)
-+9 >Emitted(70, 35) Source(81, 35) + SourceIndex(0)
-+10>Emitted(70, 38) Source(81, 38) + SourceIndex(0)
-+11>Emitted(70, 39) Source(81, 39) + SourceIndex(0)
-+12>Emitted(70, 40) Source(81, 40) + SourceIndex(0)
-+13>Emitted(70, 42) Source(81, 42) + SourceIndex(0)
-+14>Emitted(70, 51) Source(81, 51) + SourceIndex(0)
-+15>Emitted(70, 53) Source(81, 53) + SourceIndex(0)
-+16>Emitted(70, 63) Source(81, 63) + SourceIndex(0)
-+17>Emitted(70, 64) Source(81, 64) + SourceIndex(0)
-+18>Emitted(70, 66) Source(81, 66) + SourceIndex(0)
-+19>Emitted(70, 67) Source(81, 67) + SourceIndex(0)
-+20>Emitted(70, 70) Source(81, 70) + SourceIndex(0)
-+21>Emitted(70, 71) Source(81, 71) + SourceIndex(0)
-+22>Emitted(70, 73) Source(81, 73) + SourceIndex(0)
-+23>Emitted(70, 74) Source(81, 74) + SourceIndex(0)
-+24>Emitted(70, 77) Source(81, 77) + SourceIndex(0)
-+25>Emitted(70, 78) Source(81, 78) + SourceIndex(0)
-+26>Emitted(70, 80) Source(81, 80) + SourceIndex(0)
-+27>Emitted(70, 81) Source(81, 81) + SourceIndex(0)
-+28>Emitted(70, 83) Source(81, 83) + SourceIndex(0)
-+29>Emitted(70, 85) Source(81, 85) + SourceIndex(0)
-+30>Emitted(70, 86) Source(81, 86) + SourceIndex(0)
- ---
- >>> console.log(numberA3);
- 1 >^^^^
-@@= skipped -130, +130 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(72, 1) Source(83, 1) + SourceIndex(0)
- 2 >Emitted(72, 2) Source(83, 2) + SourceIndex(0)
- ---
-->>>for (var multiRobotAInfo = multiRobotA.slice(0), i = 0; i < 1; i++) {
-+>>>for (let [...multiRobotAInfo] = multiRobotA, i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
- 3 > ^^^^
--4 > ^^^^^^^^^^^^^^^
--5 > ^^^
--6 > ^^^^^^^^^^^
--7 > ^^^^^^^^^
--8 > ^^
--9 > ^
--10> ^^^
--11> ^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^
--19> ^^
--20> ^
-+4 > ^
-+5 > ^^^
-+6 > ^^^^^^^^^^^^^^^
-+7 > ^
-+8 > ^^^
-+9 > ^^^^^^^^^^^
-+10> ^^
-+11> ^
-+12> ^^^
-+13> ^
-+14> ^^
-+15> ^
-+16> ^^^
-+17> ^
-+18> ^^
-+19> ^
-+20> ^^
-+21> ^^
-+22> ^
- 1->
- >
--2 >for (let [
--3 > ...
--4 > multiRobotAInfo
--5 > ] =
--6 > multiRobotA
--7 >
--8 > ] = multiRobotA,
--9 > i
--10> =
--11> 0
--12> ;
--13> i
--14> <
--15> 1
--16> ;
--17> i
--18> ++
--19> )
--20> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > ...
-+6 > multiRobotAInfo
-+7 > ]
-+8 > =
-+9 > multiRobotA
-+10> ,
-+11> i
-+12> =
-+13> 0
-+14> ;
-+15> i
-+16> <
-+17> 1
-+18> ;
-+19> i
-+20> ++
-+21> )
-+22> {
- 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)
-+2 >Emitted(73, 6) Source(84, 6) + SourceIndex(0)
-+3 >Emitted(73, 10) Source(84, 10) + SourceIndex(0)
-+4 >Emitted(73, 11) Source(84, 11) + SourceIndex(0)
-+5 >Emitted(73, 14) Source(84, 14) + SourceIndex(0)
-+6 >Emitted(73, 29) Source(84, 29) + SourceIndex(0)
-+7 >Emitted(73, 30) Source(84, 30) + SourceIndex(0)
-+8 >Emitted(73, 33) Source(84, 33) + SourceIndex(0)
-+9 >Emitted(73, 44) Source(84, 44) + SourceIndex(0)
-+10>Emitted(73, 46) Source(84, 46) + SourceIndex(0)
-+11>Emitted(73, 47) Source(84, 47) + SourceIndex(0)
-+12>Emitted(73, 50) Source(84, 50) + SourceIndex(0)
-+13>Emitted(73, 51) Source(84, 51) + SourceIndex(0)
-+14>Emitted(73, 53) Source(84, 53) + SourceIndex(0)
-+15>Emitted(73, 54) Source(84, 54) + SourceIndex(0)
-+16>Emitted(73, 57) Source(84, 57) + SourceIndex(0)
-+17>Emitted(73, 58) Source(84, 58) + SourceIndex(0)
-+18>Emitted(73, 60) Source(84, 60) + SourceIndex(0)
-+19>Emitted(73, 61) Source(84, 61) + SourceIndex(0)
-+20>Emitted(73, 63) Source(84, 63) + SourceIndex(0)
-+21>Emitted(73, 65) Source(84, 65) + SourceIndex(0)
-+22>Emitted(73, 66) Source(84, 66) + SourceIndex(0)
- ---
- >>> console.log(multiRobotAInfo);
- 1 >^^^^
-@@= skipped -100, +106 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(75, 1) Source(86, 1) + SourceIndex(0)
- 2 >Emitted(75, 2) Source(86, 2) + SourceIndex(0)
- ---
-->>>for (var multiRobotAInfo = getMultiRobot().slice(0), i = 0; i < 1; i++) {
-+>>>for (let [...multiRobotAInfo] = getMultiRobot(), i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
- 3 > ^^^^
--4 > ^^^^^^^^^^^^^^^
--5 > ^^^
--6 > ^^^^^^^^^^^^^
--7 > ^^
--8 > ^^^^^^^^^
--9 > ^^
--10> ^
--11> ^^^
--12> ^
--13> ^^
--14> ^
--15> ^^^
--16> ^
--17> ^^
--18> ^
--19> ^^
--20> ^^
--21> ^
-+4 > ^
-+5 > ^^^
-+6 > ^^^^^^^^^^^^^^^
-+7 > ^
-+8 > ^^^
-+9 > ^^^^^^^^^^^^^
-+10> ^^
-+11> ^^
-+12> ^
-+13> ^^^
-+14> ^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
-+19> ^^
-+20> ^
-+21> ^^
-+22> ^^
-+23> ^
- 1->
- >
--2 >for (let [
--3 > ...
--4 > multiRobotAInfo
--5 > ] =
--6 > getMultiRobot
--7 > ()
--8 >
--9 > ] = getMultiRobot(),
--10> i
--11> =
--12> 0
--13> ;
--14> i
--15> <
--16> 1
--17> ;
--18> i
--19> ++
--20> )
--21> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > ...
-+6 > multiRobotAInfo
-+7 > ]
-+8 > =
-+9 > getMultiRobot
-+10> ()
-+11> ,
-+12> i
-+13> =
-+14> 0
-+15> ;
-+16> i
-+17> <
-+18> 1
-+19> ;
-+20> i
-+21> ++
-+22> )
-+23> {
- 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)
-+2 >Emitted(76, 6) Source(87, 6) + SourceIndex(0)
-+3 >Emitted(76, 10) Source(87, 10) + SourceIndex(0)
-+4 >Emitted(76, 11) Source(87, 11) + SourceIndex(0)
-+5 >Emitted(76, 14) Source(87, 14) + SourceIndex(0)
-+6 >Emitted(76, 29) Source(87, 29) + SourceIndex(0)
-+7 >Emitted(76, 30) Source(87, 30) + SourceIndex(0)
-+8 >Emitted(76, 33) Source(87, 33) + SourceIndex(0)
-+9 >Emitted(76, 46) Source(87, 46) + SourceIndex(0)
-+10>Emitted(76, 48) Source(87, 48) + SourceIndex(0)
-+11>Emitted(76, 50) Source(87, 50) + SourceIndex(0)
-+12>Emitted(76, 51) Source(87, 51) + SourceIndex(0)
-+13>Emitted(76, 54) Source(87, 54) + SourceIndex(0)
-+14>Emitted(76, 55) Source(87, 55) + SourceIndex(0)
-+15>Emitted(76, 57) Source(87, 57) + SourceIndex(0)
-+16>Emitted(76, 58) Source(87, 58) + SourceIndex(0)
-+17>Emitted(76, 61) Source(87, 61) + SourceIndex(0)
-+18>Emitted(76, 62) Source(87, 62) + SourceIndex(0)
-+19>Emitted(76, 64) Source(87, 64) + SourceIndex(0)
-+20>Emitted(76, 65) Source(87, 65) + SourceIndex(0)
-+21>Emitted(76, 67) Source(87, 67) + SourceIndex(0)
-+22>Emitted(76, 69) Source(87, 69) + SourceIndex(0)
-+23>Emitted(76, 70) Source(87, 70) + SourceIndex(0)
- ---
- >>> console.log(multiRobotAInfo);
- 1 >^^^^
-@@= skipped -103, +109 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(78, 1) Source(89, 1) + SourceIndex(0)
- 2 >Emitted(78, 2) Source(89, 2) + SourceIndex(0)
- ---
-->>>for (var multiRobotAInfo = ["trimmer", ["trimming", "edging"]].slice(0), i = 0; i < 1; i++) {
-+>>>for (let [...multiRobotAInfo] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let [
--3 > ...
--4 > multiRobotAInfo
--5 > ] =
--6 > [
--7 > "trimmer"
--8 > ,
--9 > [
--10> "trimming"
--11> ,
--12> "edging"
--13> ]
--14> ]
--15>
--16> ] = ["trimmer", ["trimming", "edging"]],
--17> i
--18> =
--19> 0
--20> ;
--21> i
--22> <
--23> 1
--24> ;
--25> i
--26> ++
--27> )
--28> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > ...
-+6 > multiRobotAInfo
-+7 > ]
-+8 > =
-+9 > [
-+10> "trimmer"
-+11> ,
-+12> [
-+13> "trimming"
-+14> ,
-+15> "edging"
-+16> ]
-+17> ]
-+18> ,
-+19> i
-+20> =
-+21> 0
-+22> ;
-+23> i
-+24> <
-+25> 1
-+26> ;
-+27> i
-+28> ++
-+29> )
-+30> {
- 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)
-+2 >Emitted(79, 6) Source(90, 6) + SourceIndex(0)
-+3 >Emitted(79, 10) Source(90, 10) + SourceIndex(0)
-+4 >Emitted(79, 11) Source(90, 11) + SourceIndex(0)
-+5 >Emitted(79, 14) Source(90, 14) + SourceIndex(0)
-+6 >Emitted(79, 29) Source(90, 29) + SourceIndex(0)
-+7 >Emitted(79, 30) Source(90, 30) + SourceIndex(0)
-+8 >Emitted(79, 33) Source(90, 33) + SourceIndex(0)
-+9 >Emitted(79, 34) Source(90, 34) + SourceIndex(0)
-+10>Emitted(79, 43) Source(90, 43) + SourceIndex(0)
-+11>Emitted(79, 45) Source(90, 45) + SourceIndex(0)
-+12>Emitted(79, 46) Source(90, 46) + SourceIndex(0)
-+13>Emitted(79, 56) Source(90, 56) + SourceIndex(0)
-+14>Emitted(79, 58) Source(90, 58) + SourceIndex(0)
-+15>Emitted(79, 66) Source(90, 66) + SourceIndex(0)
-+16>Emitted(79, 67) Source(90, 67) + SourceIndex(0)
-+17>Emitted(79, 68) Source(90, 68) + SourceIndex(0)
-+18>Emitted(79, 70) Source(90, 70) + SourceIndex(0)
-+19>Emitted(79, 71) Source(90, 71) + SourceIndex(0)
-+20>Emitted(79, 74) Source(90, 74) + SourceIndex(0)
-+21>Emitted(79, 75) Source(90, 75) + SourceIndex(0)
-+22>Emitted(79, 77) Source(90, 77) + SourceIndex(0)
-+23>Emitted(79, 78) Source(90, 78) + SourceIndex(0)
-+24>Emitted(79, 81) Source(90, 81) + SourceIndex(0)
-+25>Emitted(79, 82) Source(90, 82) + SourceIndex(0)
-+26>Emitted(79, 84) Source(90, 84) + SourceIndex(0)
-+27>Emitted(79, 85) Source(90, 85) + SourceIndex(0)
-+28>Emitted(79, 87) Source(90, 87) + SourceIndex(0)
-+29>Emitted(79, 89) Source(90, 89) + SourceIndex(0)
-+30>Emitted(79, 90) Source(90, 90) + SourceIndex(0)
- ---
- >>> console.log(multiRobotAInfo);
- 1 >^^^^
\ No newline at end of file
+ >>>for (let [, nameA] = robotA, i = 0; i < 1; i++) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.js.diff
deleted file mode 100644
index a21dd29e8a..0000000000
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.js.diff
+++ /dev/null
@@ -1,172 +0,0 @@
---- old.sourceMapValidationDestructuringForArrayBindingPattern2.js
-+++ new.sourceMapValidationDestructuringForArrayBindingPattern2.js
-@@= skipped -100, +100 lines =@@
- }
-
- //// [sourceMapValidationDestructuringForArrayBindingPattern2.js]
--var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
--var robotA = [1, "mower", "mowing"];
-+let robotA = [1, "mower", "mowing"];
- function getRobot() {
- return robotA;
- }
--var multiRobotA = ["mower", ["mowing", ""]];
--var multiRobotB = ["trimmer", ["trimming", "edging"]];
-+let multiRobotA = ["mower", ["mowing", ""]];
-+let multiRobotB = ["trimmer", ["trimming", "edging"]];
- function getMultiRobot() {
- return multiRobotA;
- }
--var nameA, primarySkillA, secondarySkillA;
--var numberB, nameB;
--var numberA2, nameA2, skillA2, nameMA;
--var numberA3, robotAInfo, multiRobotAInfo;
--var i;
--for (nameA = robotA[1], i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (_a = getRobot(), nameA = _a[1], i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (_b = [2, "trimmer", "trimming"], nameA = _b[1], i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (_c = multiRobotA[1], primarySkillA = _c[0], secondarySkillA = _c[1], i = 0; i < 1; i++) {
-- console.log(primarySkillA);
--}
--for (_d = getMultiRobot(), _e = _d[1], primarySkillA = _e[0], secondarySkillA = _e[1], i = 0; i < 1; i++) {
-- console.log(primarySkillA);
--}
--for (_f = ["trimmer", ["trimming", "edging"]], _g = _f[1], primarySkillA = _g[0], secondarySkillA = _g[1], i = 0; i < 1; i++) {
-- console.log(primarySkillA);
--}
--for (numberB = robotA[0], i = 0; i < 1; i++) {
-- console.log(numberB);
--}
--for (numberB = getRobot()[0], i = 0; i < 1; i++) {
-- console.log(numberB);
--}
--for (numberB = [2, "trimmer", "trimming"][0], i = 0; i < 1; i++) {
-- console.log(numberB);
--}
--for (nameB = multiRobotA[0], i = 0; i < 1; i++) {
-- console.log(nameB);
--}
--for (nameB = getMultiRobot()[0], i = 0; i < 1; i++) {
-- console.log(nameB);
--}
--for (nameB = ["trimmer", ["trimming", "edging"]][0], i = 0; i < 1; i++) {
-- console.log(nameB);
--}
--for (numberA2 = robotA[0], nameA2 = robotA[1], skillA2 = robotA[2], i = 0; i < 1; i++) {
-- console.log(nameA2);
--}
--for (_h = getRobot(), numberA2 = _h[0], nameA2 = _h[1], skillA2 = _h[2], i = 0; i < 1; i++) {
-- console.log(nameA2);
--}
--for (_j = [2, "trimmer", "trimming"], numberA2 = _j[0], nameA2 = _j[1], skillA2 = _j[2], i = 0; i < 1; i++) {
-- console.log(nameA2);
--}
--for (nameMA = multiRobotA[0], _k = multiRobotA[1], primarySkillA = _k[0], secondarySkillA = _k[1], i = 0; i < 1; i++) {
-- console.log(nameMA);
--}
--for (_l = getMultiRobot(), nameMA = _l[0], _m = _l[1], primarySkillA = _m[0], secondarySkillA = _m[1], i = 0; i < 1; i++) {
-- console.log(nameMA);
--}
--for (_o = ["trimmer", ["trimming", "edging"]], nameMA = _o[0], _p = _o[1], primarySkillA = _p[0], secondarySkillA = _p[1], i = 0; i < 1; i++) {
-- console.log(nameMA);
--}
--for (numberA3 = robotA[0], robotAInfo = robotA.slice(1), i = 0; i < 1; i++) {
-- console.log(numberA3);
--}
--for (_q = getRobot(), numberA3 = _q[0], robotAInfo = _q.slice(1), i = 0; i < 1; i++) {
-- console.log(numberA3);
--}
--for (_r = [2, "trimmer", "trimming"], numberA3 = _r[0], robotAInfo = _r.slice(1), i = 0; i < 1; i++) {
-- console.log(numberA3);
--}
--for (multiRobotAInfo = multiRobotA.slice(0), i = 0; i < 1; i++) {
-- console.log(multiRobotAInfo);
--}
--for (multiRobotAInfo = getMultiRobot().slice(0), i = 0; i < 1; i++) {
-- console.log(multiRobotAInfo);
--}
--for (multiRobotAInfo = ["trimmer", ["trimming", "edging"]].slice(0), i = 0; i < 1; i++) {
-+let nameA, primarySkillA, secondarySkillA;
-+let numberB, nameB;
-+let numberA2, nameA2, skillA2, nameMA;
-+let numberA3, robotAInfo, multiRobotAInfo;
-+let i;
-+for ([, nameA] = robotA, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ([, nameA] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ([, nameA] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ([, [primarySkillA, secondarySkillA]] = multiRobotA, i = 0; i < 1; i++) {
-+ console.log(primarySkillA);
-+}
-+for ([, [primarySkillA, secondarySkillA]] = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(primarySkillA);
-+}
-+for ([, [primarySkillA, secondarySkillA]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+ console.log(primarySkillA);
-+}
-+for ([numberB] = robotA, i = 0; i < 1; i++) {
-+ console.log(numberB);
-+}
-+for ([numberB] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(numberB);
-+}
-+for ([numberB] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+ console.log(numberB);
-+}
-+for ([nameB] = multiRobotA, i = 0; i < 1; i++) {
-+ console.log(nameB);
-+}
-+for ([nameB] = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(nameB);
-+}
-+for ([nameB] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+ console.log(nameB);
-+}
-+for ([numberA2, nameA2, skillA2] = robotA, i = 0; i < 1; i++) {
-+ console.log(nameA2);
-+}
-+for ([numberA2, nameA2, skillA2] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(nameA2);
-+}
-+for ([numberA2, nameA2, skillA2] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+ console.log(nameA2);
-+}
-+for ([nameMA, [primarySkillA, secondarySkillA]] = multiRobotA, i = 0; i < 1; i++) {
-+ console.log(nameMA);
-+}
-+for ([nameMA, [primarySkillA, secondarySkillA]] = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(nameMA);
-+}
-+for ([nameMA, [primarySkillA, secondarySkillA]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+ console.log(nameMA);
-+}
-+for ([numberA3, ...robotAInfo] = robotA, i = 0; i < 1; i++) {
-+ console.log(numberA3);
-+}
-+for ([numberA3, ...robotAInfo] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(numberA3);
-+}
-+for ([numberA3, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+ console.log(numberA3);
-+}
-+for ([...multiRobotAInfo] = multiRobotA, i = 0; i < 1; i++) {
-+ console.log(multiRobotAInfo);
-+}
-+for ([...multiRobotAInfo] = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(multiRobotAInfo);
-+}
-+for ([...multiRobotAInfo] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
- console.log(multiRobotAInfo);
- }
- //# sourceMappingURL=sourceMapValidationDestructuringForArrayBindingPattern2.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.js.map.diff
index 8fcb9f791d..4ae76eda93 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMapValidationDestructuringForArrayBindingPattern2.js.map
@@= skipped -0, +0 lines =@@
//// [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,KA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lLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChbLi4ubXVsdGlSb2JvdEFJbmZvXSA9IG11bHRpUm9ib3RBLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQpmb3IgKFsuLi5tdWx0aVJvYm90QUluZm9dID0gZ2V0TXVsdGlSb2JvdCgpLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQpmb3IgKFsuLi5tdWx0aVJvYm90QUluZm9dID0gPE11bHRpU2tpbGxlZFJvYm90PlsidHJpbW1lciIsIFsidHJpbW1pbmciLCAiZWRnaW5nIl1dLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQ==
+-{"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,K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9CmZvciAoW25hbWVNQSwgW3ByaW1hcnlTa2lsbEEsIHNlY29uZGFyeVNraWxsQV1dID0gWyJ0cmltbWVyIiwgWyJ0cmltbWluZyIsICJlZGdpbmciXV0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhuYW1lTUEpOwp9Cgpmb3IgKFtudW1iZXJBMywgLi4ucm9ib3RBSW5mb10gPSByb2JvdEEsIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChbbnVtYmVyQTMsIC4uLnJvYm90QUluZm9dID0gZ2V0Um9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKFtudW1iZXJBMywgLi4ucm9ib3RBSW5mb10gPSA8Um9ib3Q+WzIsICJ0cmltbWVyIiwgInRyaW1taW5nIl0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChbLi4ubXVsdGlSb2JvdEFJbmZvXSA9IG11bHRpUm9ib3RBLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQpmb3IgKFsuLi5tdWx0aVJvYm90QUluZm9dID0gZ2V0TXVsdGlSb2JvdCgpLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQpmb3IgKFsuLi5tdWx0aVJvYm90QUluZm9dID0gPE11bHRpU2tpbGxlZFJvYm90PlsidHJpbW1lciIsIFsidHJpbW1pbmciLCAiZWRnaW5nIl1dLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQ==
+{"version":3,"file":"sourceMapValidationDestructuringForArrayBindingPattern2.js","sourceRoot":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0cmltbWVyIiwgInRyaW1taW5nIl0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChbLi4ubXVsdGlSb2JvdEFJbmZvXSA9IG11bHRpUm9ib3RBLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQpmb3IgKFsuLi5tdWx0aVJvYm90QUluZm9dID0gZ2V0TXVsdGlSb2JvdCgpLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQpmb3IgKFsuLi5tdWx0aVJvYm90QUluZm9dID0gPE11bHRpU2tpbGxlZFJvYm90PlsidHJpbW1lciIsIFsidHJpbW1pbmciLCAiZWRnaW5nIl1dLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQ==
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.sourcemap.txt.diff
index d27a7e211e..979eef32d1 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.sourcemap.txt.diff
@@ -1,45 +1,6 @@
--- old.sourceMapValidationDestructuringForArrayBindingPattern2.sourcemap.txt
+++ new.sourceMapValidationDestructuringForArrayBindingPattern2.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:sourceMapValidationDestructuringForArrayBindingPattern2.js
- sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts
- -------------------------------------------------------------------
-->>>var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
-->>>var robotA = [1, "mower", "mowing"];
-+>>>let robotA = [1, "mower", "mowing"];
- 1 >
- 2 >^^^^
- 3 > ^^^^^^
-@@= skipped -32, +31 lines =@@
- 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(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)
- ---
- >>>function getRobot() {
+@@= skipped -55, +55 lines =@@
1 >
2 >^^^^^^^^^
3 > ^^^^^^^^
@@ -49,13 +10,10 @@
>
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)
+4 > ()
-+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(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)
+4 >Emitted(2, 21) Source(8, 21) + SourceIndex(0)
---
>>> return robotA;
@@ -70,106 +28,25 @@
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(3, 5) Source(9, 5) + SourceIndex(0)
+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 >
+ 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)
+@@= skipped -29, +31 lines =@@
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
- >
-2 >}
--1 >Emitted(5, 1) Source(10, 1) + SourceIndex(0)
--2 >Emitted(5, 2) Source(10, 2) + SourceIndex(0)
+-1 >Emitted(4, 1) Source(10, 1) + SourceIndex(0)
+2 >
+ >}
+1 >Emitted(4, 1) Source(9, 19) + SourceIndex(0)
-+2 >Emitted(4, 2) Source(10, 2) + SourceIndex(0)
- ---
-->>>var multiRobotA = ["mower", ["mowing", ""]];
-+>>>let multiRobotA = ["mower", ["mowing", ""]];
- 1->
- 2 >^^^^
- 3 > ^^^^^^^^^^^
-@@= skipped -83, +85 lines =@@
- 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(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)
+ 2 >Emitted(4, 2) Source(10, 2) + SourceIndex(0)
---
-->>>var multiRobotB = ["trimmer", ["trimming", "edging"]];
-+>>>let multiRobotB = ["trimmer", ["trimming", "edging"]];
- 1->
- 2 >^^^^
- 3 > ^^^^^^^^^^^
-@@= skipped -45, +45 lines =@@
- 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(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)
- ---
- >>>function getMultiRobot() {
+ >>>let multiRobotA = ["mower", ["mowing", ""]];
+@@= skipped -101, +101 lines =@@
1 >
2 >^^^^^^^^^
3 > ^^^^^^^^^^^^^
@@ -179,13 +56,10 @@
>
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)
+4 > ()
-+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(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)
+4 >Emitted(7, 26) Source(14, 26) + SourceIndex(0)
---
>>> return multiRobotA;
@@ -200,5573 +74,21 @@
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(8, 5) Source(15, 5) + SourceIndex(0)
+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 >
+ 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)
+@@= skipped -29, +31 lines =@@
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
- >
-2 >}
--1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0)
--2 >Emitted(10, 2) Source(16, 2) + SourceIndex(0)
+-1 >Emitted(9, 1) Source(16, 1) + SourceIndex(0)
+2 >
+ >}
+1 >Emitted(9, 1) Source(15, 24) + SourceIndex(0)
-+2 >Emitted(9, 2) Source(16, 2) + SourceIndex(0)
- ---
-->>>var nameA, primarySkillA, secondarySkillA;
-+>>>let nameA, primarySkillA, secondarySkillA;
- 1->
- 2 >^^^^
- 3 > ^^^^^
-@@= skipped -72, +74 lines =@@
- 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(10, 1) Source(18, 1) + SourceIndex(0)
-+2 >Emitted(10, 5) Source(18, 5) + SourceIndex(0)
-+3 >Emitted(10, 10) Source(18, 18) + SourceIndex(0)
-+4 >Emitted(10, 12) Source(18, 20) + SourceIndex(0)
-+5 >Emitted(10, 25) Source(18, 41) + SourceIndex(0)
-+6 >Emitted(10, 27) Source(18, 43) + SourceIndex(0)
-+7 >Emitted(10, 42) Source(18, 66) + SourceIndex(0)
-+8 >Emitted(10, 43) Source(18, 67) + SourceIndex(0)
- ---
-->>>var numberB, nameB;
-+>>>let numberB, nameB;
- 1 >
- 2 >^^^^
- 3 > ^^^^^^^
-@@= skipped -24, +24 lines =@@
- 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(11, 1) Source(19, 1) + SourceIndex(0)
-+2 >Emitted(11, 5) Source(19, 5) + SourceIndex(0)
-+3 >Emitted(11, 12) Source(19, 20) + SourceIndex(0)
-+4 >Emitted(11, 14) Source(19, 22) + SourceIndex(0)
-+5 >Emitted(11, 19) Source(19, 35) + SourceIndex(0)
-+6 >Emitted(11, 20) Source(19, 36) + SourceIndex(0)
- ---
-->>>var numberA2, nameA2, skillA2, nameMA;
-+>>>let numberA2, nameA2, skillA2, nameMA;
- 1->
- 2 >^^^^
- 3 > ^^^^^^^^
-@@= skipped -30, +30 lines =@@
- 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(12, 1) Source(20, 1) + SourceIndex(0)
-+2 >Emitted(12, 5) Source(20, 5) + SourceIndex(0)
-+3 >Emitted(12, 13) Source(20, 21) + SourceIndex(0)
-+4 >Emitted(12, 15) Source(20, 23) + SourceIndex(0)
-+5 >Emitted(12, 21) Source(20, 37) + SourceIndex(0)
-+6 >Emitted(12, 23) Source(20, 39) + SourceIndex(0)
-+7 >Emitted(12, 30) Source(20, 54) + SourceIndex(0)
-+8 >Emitted(12, 32) Source(20, 56) + SourceIndex(0)
-+9 >Emitted(12, 38) Source(20, 70) + SourceIndex(0)
-+10>Emitted(12, 39) Source(20, 71) + SourceIndex(0)
- ---
-->>>var numberA3, robotAInfo, multiRobotAInfo;
-+>>>let numberA3, robotAInfo, multiRobotAInfo;
- 1->
- 2 >^^^^
- 3 > ^^^^^^^^
-@@= skipped -29, +29 lines =@@
- 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(13, 1) Source(21, 1) + SourceIndex(0)
-+2 >Emitted(13, 5) Source(21, 5) + SourceIndex(0)
-+3 >Emitted(13, 13) Source(21, 21) + SourceIndex(0)
-+4 >Emitted(13, 15) Source(21, 23) + SourceIndex(0)
-+5 >Emitted(13, 25) Source(21, 54) + SourceIndex(0)
-+6 >Emitted(13, 27) Source(21, 56) + SourceIndex(0)
-+7 >Emitted(13, 42) Source(21, 102) + SourceIndex(0)
-+8 >Emitted(13, 43) Source(21, 103) + SourceIndex(0)
- ---
-->>>var i;
-+>>>let i;
- 1 >
- 2 >^^^^
- 3 > ^
- 4 > ^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 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)
-----
-->>>for (nameA = robotA[1], i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^^
--5 > ^^^^^^
--6 > ^^^
--7 > ^^
--8 > ^
--9 > ^^^
--10> ^
--11> ^^
--12> ^
--13> ^^^
--14> ^
--15> ^^
--16> ^
--17> ^^
-+1 >Emitted(14, 1) Source(22, 1) + SourceIndex(0)
-+2 >Emitted(14, 5) Source(22, 5) + SourceIndex(0)
-+3 >Emitted(14, 6) Source(22, 14) + SourceIndex(0)
-+4 >Emitted(14, 7) Source(22, 15) + SourceIndex(0)
-+---
-+>>>for ([, nameA] = robotA, i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^
-+5 > ^^^^^
-+6 > ^
-+7 > ^^^
-+8 > ^^^^^^
-+9 > ^^
-+10> ^
-+11> ^^^
-+12> ^
-+13> ^^
-+14> ^
-+15> ^^^
-+16> ^
-+17> ^^
-+18> ^
-+19> ^^
-+20> ^^
-+21> ^
-+1->
-+ >
-+ >
-+2 >for (
-+3 > [
-+4 > ,
-+5 > nameA
-+6 > ]
-+7 > =
-+8 > robotA
-+9 > ,
-+10> i
-+11> =
-+12> 0
-+13> ;
-+14> i
-+15> <
-+16> 1
-+17> ;
-+18> i
-+19> ++
-+20> )
-+21> {
-+1->Emitted(15, 1) Source(24, 1) + SourceIndex(0)
-+2 >Emitted(15, 6) Source(24, 6) + SourceIndex(0)
-+3 >Emitted(15, 7) Source(24, 7) + SourceIndex(0)
-+4 >Emitted(15, 9) Source(24, 9) + SourceIndex(0)
-+5 >Emitted(15, 14) Source(24, 14) + SourceIndex(0)
-+6 >Emitted(15, 15) Source(24, 15) + SourceIndex(0)
-+7 >Emitted(15, 18) Source(24, 18) + SourceIndex(0)
-+8 >Emitted(15, 24) Source(24, 24) + SourceIndex(0)
-+9 >Emitted(15, 26) Source(24, 26) + SourceIndex(0)
-+10>Emitted(15, 27) Source(24, 27) + SourceIndex(0)
-+11>Emitted(15, 30) Source(24, 30) + SourceIndex(0)
-+12>Emitted(15, 31) Source(24, 31) + SourceIndex(0)
-+13>Emitted(15, 33) Source(24, 33) + SourceIndex(0)
-+14>Emitted(15, 34) Source(24, 34) + SourceIndex(0)
-+15>Emitted(15, 37) Source(24, 37) + SourceIndex(0)
-+16>Emitted(15, 38) Source(24, 38) + SourceIndex(0)
-+17>Emitted(15, 40) Source(24, 40) + SourceIndex(0)
-+18>Emitted(15, 41) Source(24, 41) + SourceIndex(0)
-+19>Emitted(15, 43) Source(24, 43) + SourceIndex(0)
-+20>Emitted(15, 45) Source(24, 45) + SourceIndex(0)
-+21>Emitted(15, 46) Source(24, 46) + SourceIndex(0)
-+---
-+>>> console.log(nameA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameA
-+7 > )
-+8 > ;
-+1 >Emitted(16, 5) Source(25, 5) + SourceIndex(0)
-+2 >Emitted(16, 12) Source(25, 12) + SourceIndex(0)
-+3 >Emitted(16, 13) Source(25, 13) + SourceIndex(0)
-+4 >Emitted(16, 16) Source(25, 16) + SourceIndex(0)
-+5 >Emitted(16, 17) Source(25, 17) + SourceIndex(0)
-+6 >Emitted(16, 22) Source(25, 22) + SourceIndex(0)
-+7 >Emitted(16, 23) Source(25, 23) + SourceIndex(0)
-+8 >Emitted(16, 24) Source(25, 24) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(17, 1) Source(26, 1) + SourceIndex(0)
-+2 >Emitted(17, 2) Source(26, 2) + SourceIndex(0)
-+---
-+>>>for ([, nameA] = getRobot(), i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^
-+5 > ^^^^^
-+6 > ^
-+7 > ^^^
-+8 > ^^^^^^^^
-+9 > ^^
-+10> ^^
-+11> ^
-+12> ^^^
-+13> ^
-+14> ^^
-+15> ^
-+16> ^^^
-+17> ^
- 18> ^^
- 19> ^
--1->
-- >
-- >
--2 >for ([,
--3 > nameA
--4 > ] =
--5 > robotA
--6 >
--7 > ] = robotA,
--8 > i
--9 > =
--10> 0
--11> ;
--12> i
--13> <
--14> 1
--15> ;
--16> i
--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)
-----
-->>> console.log(nameA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(18, 1) Source(26, 1) + SourceIndex(0)
--2 >Emitted(18, 2) Source(26, 2) + SourceIndex(0)
-----
-->>>for (_a = getRobot(), nameA = _a[1], i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^^^^^^^
--5 > ^^
--6 > ^^
--7 > ^^^^^
--8 > ^^^^^^^^
--9 > ^^
--10> ^
--11> ^^^
--12> ^
--13> ^^
--14> ^
--15> ^^^
--16> ^
--17> ^^
--18> ^
--19> ^^
--20> ^^
--21> ^
--1->
-- >
--2 >for (
--3 > [, nameA] =
--4 > getRobot
--5 > ()
--6 >
--7 > nameA
--8 >
--9 > ] = getRobot(),
--10> i
--11> =
--12> 0
--13> ;
--14> i
--15> <
--16> 1
--17> ;
--18> i
--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)
-----
-->>> console.log(nameA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(21, 1) Source(29, 1) + SourceIndex(0)
--2 >Emitted(21, 2) Source(29, 2) + SourceIndex(0)
-----
-->>>for (_b = [2, "trimmer", "trimming"], nameA = _b[1], i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^
--5 > ^
--6 > ^^
--7 > ^^^^^^^^^
-+20> ^^
-+21> ^^
-+22> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > ,
-+5 > nameA
-+6 > ]
-+7 > =
-+8 > getRobot
-+9 > ()
-+10> ,
-+11> i
-+12> =
-+13> 0
-+14> ;
-+15> i
-+16> <
-+17> 1
-+18> ;
-+19> i
-+20> ++
-+21> )
-+22> {
-+1->Emitted(18, 1) Source(27, 1) + SourceIndex(0)
-+2 >Emitted(18, 6) Source(27, 6) + SourceIndex(0)
-+3 >Emitted(18, 7) Source(27, 7) + SourceIndex(0)
-+4 >Emitted(18, 9) Source(27, 9) + SourceIndex(0)
-+5 >Emitted(18, 14) Source(27, 14) + SourceIndex(0)
-+6 >Emitted(18, 15) Source(27, 15) + SourceIndex(0)
-+7 >Emitted(18, 18) Source(27, 18) + SourceIndex(0)
-+8 >Emitted(18, 26) Source(27, 26) + SourceIndex(0)
-+9 >Emitted(18, 28) Source(27, 28) + SourceIndex(0)
-+10>Emitted(18, 30) Source(27, 30) + SourceIndex(0)
-+11>Emitted(18, 31) Source(27, 31) + SourceIndex(0)
-+12>Emitted(18, 34) Source(27, 34) + SourceIndex(0)
-+13>Emitted(18, 35) Source(27, 35) + SourceIndex(0)
-+14>Emitted(18, 37) Source(27, 37) + SourceIndex(0)
-+15>Emitted(18, 38) Source(27, 38) + SourceIndex(0)
-+16>Emitted(18, 41) Source(27, 41) + SourceIndex(0)
-+17>Emitted(18, 42) Source(27, 42) + SourceIndex(0)
-+18>Emitted(18, 44) Source(27, 44) + SourceIndex(0)
-+19>Emitted(18, 45) Source(27, 45) + SourceIndex(0)
-+20>Emitted(18, 47) Source(27, 47) + SourceIndex(0)
-+21>Emitted(18, 49) Source(27, 49) + SourceIndex(0)
-+22>Emitted(18, 50) Source(27, 50) + SourceIndex(0)
-+---
-+>>> console.log(nameA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameA
-+7 > )
-+8 > ;
-+1 >Emitted(19, 5) Source(28, 5) + SourceIndex(0)
-+2 >Emitted(19, 12) Source(28, 12) + SourceIndex(0)
-+3 >Emitted(19, 13) Source(28, 13) + SourceIndex(0)
-+4 >Emitted(19, 16) Source(28, 16) + SourceIndex(0)
-+5 >Emitted(19, 17) Source(28, 17) + SourceIndex(0)
-+6 >Emitted(19, 22) Source(28, 22) + SourceIndex(0)
-+7 >Emitted(19, 23) Source(28, 23) + SourceIndex(0)
-+8 >Emitted(19, 24) Source(28, 24) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(20, 1) Source(29, 1) + SourceIndex(0)
-+2 >Emitted(20, 2) Source(29, 2) + SourceIndex(0)
-+---
-+>>>for ([, nameA] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > ,
-+5 > nameA
-+6 > ]
-+7 > =
-+8 > [
-+9 > 2
-+10> ,
-+11> "trimmer"
-+12> ,
-+13> "trimming"
-+14> ]
-+15> ,
-+16> i
-+17> =
-+18> 0
-+19> ;
-+20> i
-+21> <
-+22> 1
-+23> ;
-+24> i
-+25> ++
-+26> )
-+27> {
-+1->Emitted(21, 1) Source(30, 1) + SourceIndex(0)
-+2 >Emitted(21, 6) Source(30, 6) + SourceIndex(0)
-+3 >Emitted(21, 7) Source(30, 7) + SourceIndex(0)
-+4 >Emitted(21, 9) Source(30, 9) + SourceIndex(0)
-+5 >Emitted(21, 14) Source(30, 14) + SourceIndex(0)
-+6 >Emitted(21, 15) Source(30, 15) + SourceIndex(0)
-+7 >Emitted(21, 18) Source(30, 18) + SourceIndex(0)
-+8 >Emitted(21, 19) Source(30, 19) + SourceIndex(0)
-+9 >Emitted(21, 20) Source(30, 20) + SourceIndex(0)
-+10>Emitted(21, 22) Source(30, 22) + SourceIndex(0)
-+11>Emitted(21, 31) Source(30, 31) + SourceIndex(0)
-+12>Emitted(21, 33) Source(30, 33) + SourceIndex(0)
-+13>Emitted(21, 43) Source(30, 43) + SourceIndex(0)
-+14>Emitted(21, 44) Source(30, 44) + SourceIndex(0)
-+15>Emitted(21, 46) Source(30, 46) + SourceIndex(0)
-+16>Emitted(21, 47) Source(30, 47) + SourceIndex(0)
-+17>Emitted(21, 50) Source(30, 50) + SourceIndex(0)
-+18>Emitted(21, 51) Source(30, 51) + SourceIndex(0)
-+19>Emitted(21, 53) Source(30, 53) + SourceIndex(0)
-+20>Emitted(21, 54) Source(30, 54) + SourceIndex(0)
-+21>Emitted(21, 57) Source(30, 57) + SourceIndex(0)
-+22>Emitted(21, 58) Source(30, 58) + SourceIndex(0)
-+23>Emitted(21, 60) Source(30, 60) + SourceIndex(0)
-+24>Emitted(21, 61) Source(30, 61) + SourceIndex(0)
-+25>Emitted(21, 63) Source(30, 63) + SourceIndex(0)
-+26>Emitted(21, 65) Source(30, 65) + SourceIndex(0)
-+27>Emitted(21, 66) Source(30, 66) + SourceIndex(0)
-+---
-+>>> console.log(nameA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameA
-+7 > )
-+8 > ;
-+1 >Emitted(22, 5) Source(31, 5) + SourceIndex(0)
-+2 >Emitted(22, 12) Source(31, 12) + SourceIndex(0)
-+3 >Emitted(22, 13) Source(31, 13) + SourceIndex(0)
-+4 >Emitted(22, 16) Source(31, 16) + SourceIndex(0)
-+5 >Emitted(22, 17) Source(31, 17) + SourceIndex(0)
-+6 >Emitted(22, 22) Source(31, 22) + SourceIndex(0)
-+7 >Emitted(22, 23) Source(31, 23) + SourceIndex(0)
-+8 >Emitted(22, 24) Source(31, 24) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(23, 1) Source(32, 1) + SourceIndex(0)
-+2 >Emitted(23, 2) Source(32, 2) + SourceIndex(0)
-+---
-+>>>for ([, [primarySkillA, secondarySkillA]] = multiRobotA, i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > ,
-+5 > [
-+6 > primarySkillA
-+7 > ,
-+8 > secondarySkillA
-+9 > ]
-+10> ]
-+11> =
-+12> multiRobotA
-+13> ,
-+14> i
-+15> =
-+16> 0
-+17> ;
-+18> i
-+19> <
-+20> 1
-+21> ;
-+22> i
-+23> ++
-+24> )
-+25> {
-+1->Emitted(24, 1) Source(33, 1) + SourceIndex(0)
-+2 >Emitted(24, 6) Source(33, 6) + SourceIndex(0)
-+3 >Emitted(24, 7) Source(33, 7) + SourceIndex(0)
-+4 >Emitted(24, 9) Source(33, 9) + SourceIndex(0)
-+5 >Emitted(24, 10) Source(33, 10) + SourceIndex(0)
-+6 >Emitted(24, 23) Source(33, 23) + SourceIndex(0)
-+7 >Emitted(24, 25) Source(33, 25) + SourceIndex(0)
-+8 >Emitted(24, 40) Source(33, 40) + SourceIndex(0)
-+9 >Emitted(24, 41) Source(33, 41) + SourceIndex(0)
-+10>Emitted(24, 42) Source(33, 42) + SourceIndex(0)
-+11>Emitted(24, 45) Source(33, 45) + SourceIndex(0)
-+12>Emitted(24, 56) Source(33, 56) + SourceIndex(0)
-+13>Emitted(24, 58) Source(33, 58) + SourceIndex(0)
-+14>Emitted(24, 59) Source(33, 59) + SourceIndex(0)
-+15>Emitted(24, 62) Source(33, 62) + SourceIndex(0)
-+16>Emitted(24, 63) Source(33, 63) + SourceIndex(0)
-+17>Emitted(24, 65) Source(33, 65) + SourceIndex(0)
-+18>Emitted(24, 66) Source(33, 66) + SourceIndex(0)
-+19>Emitted(24, 69) Source(33, 69) + SourceIndex(0)
-+20>Emitted(24, 70) Source(33, 70) + SourceIndex(0)
-+21>Emitted(24, 72) Source(33, 72) + SourceIndex(0)
-+22>Emitted(24, 73) Source(33, 73) + SourceIndex(0)
-+23>Emitted(24, 75) Source(33, 75) + SourceIndex(0)
-+24>Emitted(24, 77) Source(33, 77) + SourceIndex(0)
-+25>Emitted(24, 78) Source(33, 78) + SourceIndex(0)
-+---
-+>>> console.log(primarySkillA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > primarySkillA
-+7 > )
-+8 > ;
-+1 >Emitted(25, 5) Source(34, 5) + SourceIndex(0)
-+2 >Emitted(25, 12) Source(34, 12) + SourceIndex(0)
-+3 >Emitted(25, 13) Source(34, 13) + SourceIndex(0)
-+4 >Emitted(25, 16) Source(34, 16) + SourceIndex(0)
-+5 >Emitted(25, 17) Source(34, 17) + SourceIndex(0)
-+6 >Emitted(25, 30) Source(34, 30) + SourceIndex(0)
-+7 >Emitted(25, 31) Source(34, 31) + SourceIndex(0)
-+8 >Emitted(25, 32) Source(34, 32) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(26, 1) Source(35, 1) + SourceIndex(0)
-+2 >Emitted(26, 2) Source(35, 2) + SourceIndex(0)
-+---
-+>>>for ([, [primarySkillA, secondarySkillA]] = getMultiRobot(), i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > ,
-+5 > [
-+6 > primarySkillA
-+7 > ,
-+8 > secondarySkillA
-+9 > ]
-+10> ]
-+11> =
-+12> getMultiRobot
-+13> ()
-+14> ,
-+15> i
-+16> =
-+17> 0
-+18> ;
-+19> i
-+20> <
-+21> 1
-+22> ;
-+23> i
-+24> ++
-+25> )
-+26> {
-+1->Emitted(27, 1) Source(36, 1) + SourceIndex(0)
-+2 >Emitted(27, 6) Source(36, 6) + SourceIndex(0)
-+3 >Emitted(27, 7) Source(36, 7) + SourceIndex(0)
-+4 >Emitted(27, 9) Source(36, 9) + SourceIndex(0)
-+5 >Emitted(27, 10) Source(36, 10) + SourceIndex(0)
-+6 >Emitted(27, 23) Source(36, 23) + SourceIndex(0)
-+7 >Emitted(27, 25) Source(36, 25) + SourceIndex(0)
-+8 >Emitted(27, 40) Source(36, 40) + SourceIndex(0)
-+9 >Emitted(27, 41) Source(36, 41) + SourceIndex(0)
-+10>Emitted(27, 42) Source(36, 42) + SourceIndex(0)
-+11>Emitted(27, 45) Source(36, 45) + SourceIndex(0)
-+12>Emitted(27, 58) Source(36, 58) + SourceIndex(0)
-+13>Emitted(27, 60) Source(36, 60) + SourceIndex(0)
-+14>Emitted(27, 62) Source(36, 62) + SourceIndex(0)
-+15>Emitted(27, 63) Source(36, 63) + SourceIndex(0)
-+16>Emitted(27, 66) Source(36, 66) + SourceIndex(0)
-+17>Emitted(27, 67) Source(36, 67) + SourceIndex(0)
-+18>Emitted(27, 69) Source(36, 69) + SourceIndex(0)
-+19>Emitted(27, 70) Source(36, 70) + SourceIndex(0)
-+20>Emitted(27, 73) Source(36, 73) + SourceIndex(0)
-+21>Emitted(27, 74) Source(36, 74) + SourceIndex(0)
-+22>Emitted(27, 76) Source(36, 76) + SourceIndex(0)
-+23>Emitted(27, 77) Source(36, 77) + SourceIndex(0)
-+24>Emitted(27, 79) Source(36, 79) + SourceIndex(0)
-+25>Emitted(27, 81) Source(36, 81) + SourceIndex(0)
-+26>Emitted(27, 82) Source(36, 82) + SourceIndex(0)
-+---
-+>>> console.log(primarySkillA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > primarySkillA
-+7 > )
-+8 > ;
-+1 >Emitted(28, 5) Source(37, 5) + SourceIndex(0)
-+2 >Emitted(28, 12) Source(37, 12) + SourceIndex(0)
-+3 >Emitted(28, 13) Source(37, 13) + SourceIndex(0)
-+4 >Emitted(28, 16) Source(37, 16) + SourceIndex(0)
-+5 >Emitted(28, 17) Source(37, 17) + SourceIndex(0)
-+6 >Emitted(28, 30) Source(37, 30) + SourceIndex(0)
-+7 >Emitted(28, 31) Source(37, 31) + SourceIndex(0)
-+8 >Emitted(28, 32) Source(37, 32) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(29, 1) Source(38, 1) + SourceIndex(0)
-+2 >Emitted(29, 2) Source(38, 2) + SourceIndex(0)
-+---
-+>>>for ([, [primarySkillA, secondarySkillA]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > ,
-+5 > [
-+6 > primarySkillA
-+7 > ,
-+8 > secondarySkillA
-+9 > ]
-+10> ]
-+11> =
-+12> [
-+13> "trimmer"
-+14> ,
-+15> [
-+16> "trimming"
-+17> ,
-+18> "edging"
-+19> ]
-+20> ]
-+21> ,
-+22> i
-+23> =
-+24> 0
-+25> ;
-+26> i
-+27> <
-+28> 1
-+29> ;
-+30> i
-+31> ++
-+32> )
-+33> {
-+1->Emitted(30, 1) Source(39, 1) + SourceIndex(0)
-+2 >Emitted(30, 6) Source(39, 6) + SourceIndex(0)
-+3 >Emitted(30, 7) Source(39, 7) + SourceIndex(0)
-+4 >Emitted(30, 9) Source(39, 9) + SourceIndex(0)
-+5 >Emitted(30, 10) Source(39, 10) + SourceIndex(0)
-+6 >Emitted(30, 23) Source(39, 23) + SourceIndex(0)
-+7 >Emitted(30, 25) Source(39, 25) + SourceIndex(0)
-+8 >Emitted(30, 40) Source(39, 40) + SourceIndex(0)
-+9 >Emitted(30, 41) Source(39, 41) + SourceIndex(0)
-+10>Emitted(30, 42) Source(39, 42) + SourceIndex(0)
-+11>Emitted(30, 45) Source(39, 45) + SourceIndex(0)
-+12>Emitted(30, 46) Source(39, 46) + SourceIndex(0)
-+13>Emitted(30, 55) Source(39, 55) + SourceIndex(0)
-+14>Emitted(30, 57) Source(39, 57) + SourceIndex(0)
-+15>Emitted(30, 58) Source(39, 58) + SourceIndex(0)
-+16>Emitted(30, 68) Source(39, 68) + SourceIndex(0)
-+17>Emitted(30, 70) Source(39, 70) + SourceIndex(0)
-+18>Emitted(30, 78) Source(39, 78) + SourceIndex(0)
-+19>Emitted(30, 79) Source(39, 79) + SourceIndex(0)
-+20>Emitted(30, 80) Source(39, 80) + SourceIndex(0)
-+21>Emitted(30, 82) Source(39, 82) + SourceIndex(0)
-+22>Emitted(30, 83) Source(39, 83) + SourceIndex(0)
-+23>Emitted(30, 86) Source(39, 86) + SourceIndex(0)
-+24>Emitted(30, 87) Source(39, 87) + SourceIndex(0)
-+25>Emitted(30, 89) Source(39, 89) + SourceIndex(0)
-+26>Emitted(30, 90) Source(39, 90) + SourceIndex(0)
-+27>Emitted(30, 93) Source(39, 93) + SourceIndex(0)
-+28>Emitted(30, 94) Source(39, 94) + SourceIndex(0)
-+29>Emitted(30, 96) Source(39, 96) + SourceIndex(0)
-+30>Emitted(30, 97) Source(39, 97) + SourceIndex(0)
-+31>Emitted(30, 99) Source(39, 99) + SourceIndex(0)
-+32>Emitted(30, 101) Source(39, 101) + SourceIndex(0)
-+33>Emitted(30, 102) Source(39, 102) + SourceIndex(0)
-+---
-+>>> console.log(primarySkillA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+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 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(32, 1) Source(41, 1) + SourceIndex(0)
-+2 >Emitted(32, 2) Source(41, 2) + SourceIndex(0)
-+---
-+>>>for ([numberB] = robotA, i = 0; i < 1; i++) {
-+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> ^
-+9 > ^
-+10> ^^^
-+11> ^
-+12> ^^
-+13> ^
-+14> ^^^
-+15> ^
-+16> ^^
-+17> ^
-+18> ^^
-+19> ^^
-+20> ^
- 1->
- >
-+ >
- 2 >for (
--3 > [, nameA] =
--4 > [
--5 > 2
--6 > ,
--7 > "trimmer"
-+3 > [
-+4 > numberB
-+5 > ]
-+6 > =
-+7 > robotA
- 8 > ,
--9 > "trimming"
--10> ]
--11>
--12> nameA
--13>
--14> ] = [2, "trimmer", "trimming"],
--15> i
--16> =
--17> 0
--18> ;
--19> i
--20> <
--21> 1
--22> ;
--23> i
--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)
-----
-->>> console.log(nameA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(24, 1) Source(32, 1) + SourceIndex(0)
--2 >Emitted(24, 2) Source(32, 2) + SourceIndex(0)
-----
-->>>for (_c = multiRobotA[1], primarySkillA = _c[0], secondarySkillA = _c[1], i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^^^^^^^^^^
--5 > ^^^
--6 > ^^
--7 > ^^^^^^^^^^^^^
--8 > ^^^^^^^^
--9 > ^^
--10> ^^^^^^^^^^^^^^^
--11> ^^^^^^^^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^^
--19> ^
--20> ^^
--21> ^
--22> ^^
--23> ^^
--24> ^
--1->
-- >
--2 >for ([,
--3 > [primarySkillA, secondarySkillA]] =
--4 > multiRobotA
--5 >
--6 >
--7 > primarySkillA
--8 >
--9 > ,
--10> secondarySkillA
--11>
--12> ]] = multiRobotA,
--13> i
--14> =
--15> 0
--16> ;
--17> i
--18> <
--19> 1
--20> ;
--21> i
--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)
-----
-->>> console.log(primarySkillA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(27, 1) Source(35, 1) + SourceIndex(0)
--2 >Emitted(27, 2) Source(35, 2) + SourceIndex(0)
-----
-->>>for (_d = getMultiRobot(), _e = _d[1], primarySkillA = _e[0], secondarySkillA = _e[1], i = 0; i < 1; i++) {
--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> ^
--1->
-- >
--2 >for (
--3 > [, [primarySkillA, secondarySkillA]] =
--4 > getMultiRobot
--5 > ()
--6 >
--7 > [primarySkillA, secondarySkillA]
--8 >
--9 > primarySkillA
--10>
--11> ,
--12> secondarySkillA
--13>
--14> ]] = getMultiRobot(),
--15> i
--16> =
--17> 0
--18> ;
--19> i
--20> <
--21> 1
--22> ;
--23> i
--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)
-----
-->>> console.log(primarySkillA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(30, 1) Source(38, 1) + SourceIndex(0)
--2 >Emitted(30, 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->
--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> ^
--1->
-- >
--2 >for (
--3 > [, [primarySkillA, secondarySkillA]] =
--4 > [
--5 > "trimmer"
--6 > ,
--7 > [
--8 > "trimming"
--9 > ,
--10> "edging"
--11> ]
--12> ]
--13>
--14> [primarySkillA, secondarySkillA]
--15>
--16> primarySkillA
--17>
--18> ,
--19> secondarySkillA
--20>
--21> ]] = ["trimmer", ["trimming", "edging"]],
--22> i
--23> =
--24> 0
--25> ;
--26> i
--27> <
--28> 1
--29> ;
--30> i
--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)
-----
-->>> console.log(primarySkillA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(33, 1) Source(41, 1) + SourceIndex(0)
--2 >Emitted(33, 2) Source(41, 2) + SourceIndex(0)
-----
-->>>for (numberB = robotA[0], i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^^^
--4 > ^^^
--5 > ^^^^^^
--6 > ^^^
--7 > ^^
--8 > ^
--9 > ^^^
--10> ^
--11> ^^
-+9 > i
-+10> =
-+11> 0
-+12> ;
-+13> i
-+14> <
-+15> 1
-+16> ;
-+17> i
-+18> ++
-+19> )
-+20> {
-+1->Emitted(33, 1) Source(43, 1) + SourceIndex(0)
-+2 >Emitted(33, 6) Source(43, 6) + SourceIndex(0)
-+3 >Emitted(33, 7) Source(43, 7) + SourceIndex(0)
-+4 >Emitted(33, 14) Source(43, 14) + SourceIndex(0)
-+5 >Emitted(33, 15) Source(43, 15) + SourceIndex(0)
-+6 >Emitted(33, 18) Source(43, 18) + SourceIndex(0)
-+7 >Emitted(33, 24) Source(43, 24) + SourceIndex(0)
-+8 >Emitted(33, 26) Source(43, 26) + SourceIndex(0)
-+9 >Emitted(33, 27) Source(43, 27) + SourceIndex(0)
-+10>Emitted(33, 30) Source(43, 30) + SourceIndex(0)
-+11>Emitted(33, 31) Source(43, 31) + SourceIndex(0)
-+12>Emitted(33, 33) Source(43, 33) + SourceIndex(0)
-+13>Emitted(33, 34) Source(43, 34) + SourceIndex(0)
-+14>Emitted(33, 37) Source(43, 37) + SourceIndex(0)
-+15>Emitted(33, 38) Source(43, 38) + SourceIndex(0)
-+16>Emitted(33, 40) Source(43, 40) + SourceIndex(0)
-+17>Emitted(33, 41) Source(43, 41) + SourceIndex(0)
-+18>Emitted(33, 43) Source(43, 43) + SourceIndex(0)
-+19>Emitted(33, 45) Source(43, 45) + SourceIndex(0)
-+20>Emitted(33, 46) Source(43, 46) + SourceIndex(0)
-+---
-+>>> console.log(numberB);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > numberB
-+7 > )
-+8 > ;
-+1 >Emitted(34, 5) Source(44, 5) + SourceIndex(0)
-+2 >Emitted(34, 12) Source(44, 12) + SourceIndex(0)
-+3 >Emitted(34, 13) Source(44, 13) + SourceIndex(0)
-+4 >Emitted(34, 16) Source(44, 16) + SourceIndex(0)
-+5 >Emitted(34, 17) Source(44, 17) + SourceIndex(0)
-+6 >Emitted(34, 24) Source(44, 24) + SourceIndex(0)
-+7 >Emitted(34, 25) Source(44, 25) + SourceIndex(0)
-+8 >Emitted(34, 26) Source(44, 26) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(35, 1) Source(45, 1) + SourceIndex(0)
-+2 >Emitted(35, 2) Source(45, 2) + SourceIndex(0)
-+---
-+>>>for ([numberB] = getRobot(), i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^^^^^^
-+5 > ^
-+6 > ^^^
-+7 > ^^^^^^^^
-+8 > ^^
-+9 > ^^
-+10> ^
-+11> ^^^
- 12> ^
--13> ^^^
--14> ^
--15> ^^
-+13> ^^
-+14> ^
-+15> ^^^
- 16> ^
- 17> ^^
-+18> ^
-+19> ^^
-+20> ^^
-+21> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > numberB
-+5 > ]
-+6 > =
-+7 > getRobot
-+8 > ()
-+9 > ,
-+10> i
-+11> =
-+12> 0
-+13> ;
-+14> i
-+15> <
-+16> 1
-+17> ;
-+18> i
-+19> ++
-+20> )
-+21> {
-+1->Emitted(36, 1) Source(46, 1) + SourceIndex(0)
-+2 >Emitted(36, 6) Source(46, 6) + SourceIndex(0)
-+3 >Emitted(36, 7) Source(46, 7) + SourceIndex(0)
-+4 >Emitted(36, 14) Source(46, 14) + SourceIndex(0)
-+5 >Emitted(36, 15) Source(46, 15) + SourceIndex(0)
-+6 >Emitted(36, 18) Source(46, 18) + SourceIndex(0)
-+7 >Emitted(36, 26) Source(46, 26) + SourceIndex(0)
-+8 >Emitted(36, 28) Source(46, 28) + SourceIndex(0)
-+9 >Emitted(36, 30) Source(46, 30) + SourceIndex(0)
-+10>Emitted(36, 31) Source(46, 31) + SourceIndex(0)
-+11>Emitted(36, 34) Source(46, 34) + SourceIndex(0)
-+12>Emitted(36, 35) Source(46, 35) + SourceIndex(0)
-+13>Emitted(36, 37) Source(46, 37) + SourceIndex(0)
-+14>Emitted(36, 38) Source(46, 38) + SourceIndex(0)
-+15>Emitted(36, 41) Source(46, 41) + SourceIndex(0)
-+16>Emitted(36, 42) Source(46, 42) + SourceIndex(0)
-+17>Emitted(36, 44) Source(46, 44) + SourceIndex(0)
-+18>Emitted(36, 45) Source(46, 45) + SourceIndex(0)
-+19>Emitted(36, 47) Source(46, 47) + SourceIndex(0)
-+20>Emitted(36, 49) Source(46, 49) + SourceIndex(0)
-+21>Emitted(36, 50) Source(46, 50) + SourceIndex(0)
-+---
-+>>> console.log(numberB);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > numberB
-+7 > )
-+8 > ;
-+1 >Emitted(37, 5) Source(47, 5) + SourceIndex(0)
-+2 >Emitted(37, 12) Source(47, 12) + SourceIndex(0)
-+3 >Emitted(37, 13) Source(47, 13) + SourceIndex(0)
-+4 >Emitted(37, 16) Source(47, 16) + SourceIndex(0)
-+5 >Emitted(37, 17) Source(47, 17) + SourceIndex(0)
-+6 >Emitted(37, 24) Source(47, 24) + SourceIndex(0)
-+7 >Emitted(37, 25) Source(47, 25) + SourceIndex(0)
-+8 >Emitted(37, 26) Source(47, 26) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(38, 1) Source(48, 1) + SourceIndex(0)
-+2 >Emitted(38, 2) Source(48, 2) + SourceIndex(0)
-+---
-+>>>for ([numberB] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > numberB
-+5 > ]
-+6 > =
-+7 > [
-+8 > 2
-+9 > ,
-+10> "trimmer"
-+11> ,
-+12> "trimming"
-+13> ]
-+14> ,
-+15> i
-+16> =
-+17> 0
-+18> ;
-+19> i
-+20> <
-+21> 1
-+22> ;
-+23> i
-+24> ++
-+25> )
-+26> {
-+1->Emitted(39, 1) Source(49, 1) + SourceIndex(0)
-+2 >Emitted(39, 6) Source(49, 6) + SourceIndex(0)
-+3 >Emitted(39, 7) Source(49, 7) + SourceIndex(0)
-+4 >Emitted(39, 14) Source(49, 14) + SourceIndex(0)
-+5 >Emitted(39, 15) Source(49, 15) + SourceIndex(0)
-+6 >Emitted(39, 18) Source(49, 18) + SourceIndex(0)
-+7 >Emitted(39, 19) Source(49, 19) + SourceIndex(0)
-+8 >Emitted(39, 20) Source(49, 20) + SourceIndex(0)
-+9 >Emitted(39, 22) Source(49, 22) + SourceIndex(0)
-+10>Emitted(39, 31) Source(49, 31) + SourceIndex(0)
-+11>Emitted(39, 33) Source(49, 33) + SourceIndex(0)
-+12>Emitted(39, 43) Source(49, 43) + SourceIndex(0)
-+13>Emitted(39, 44) Source(49, 44) + SourceIndex(0)
-+14>Emitted(39, 46) Source(49, 46) + SourceIndex(0)
-+15>Emitted(39, 47) Source(49, 47) + SourceIndex(0)
-+16>Emitted(39, 50) Source(49, 50) + SourceIndex(0)
-+17>Emitted(39, 51) Source(49, 51) + SourceIndex(0)
-+18>Emitted(39, 53) Source(49, 53) + SourceIndex(0)
-+19>Emitted(39, 54) Source(49, 54) + SourceIndex(0)
-+20>Emitted(39, 57) Source(49, 57) + SourceIndex(0)
-+21>Emitted(39, 58) Source(49, 58) + SourceIndex(0)
-+22>Emitted(39, 60) Source(49, 60) + SourceIndex(0)
-+23>Emitted(39, 61) Source(49, 61) + SourceIndex(0)
-+24>Emitted(39, 63) Source(49, 63) + SourceIndex(0)
-+25>Emitted(39, 65) Source(49, 65) + SourceIndex(0)
-+26>Emitted(39, 66) Source(49, 66) + SourceIndex(0)
-+---
-+>>> console.log(numberB);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > numberB
-+7 > )
-+8 > ;
-+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 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(41, 1) Source(51, 1) + SourceIndex(0)
-+2 >Emitted(41, 2) Source(51, 2) + SourceIndex(0)
-+---
-+>>>for ([nameB] = multiRobotA, i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^^^^
-+5 > ^
-+6 > ^^^
-+7 > ^^^^^^^^^^^
-+8 > ^^
-+9 > ^
-+10> ^^^
-+11> ^
-+12> ^^
-+13> ^
-+14> ^^^
-+15> ^
-+16> ^^
-+17> ^
- 18> ^^
--19> ^
-+19> ^^
-+20> ^
- 1->
- >
-- >
--2 >for ([
--3 > numberB
--4 > ] =
--5 > robotA
--6 >
--7 > ] = robotA,
--8 > i
--9 > =
--10> 0
--11> ;
--12> i
--13> <
--14> 1
--15> ;
--16> i
--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)
-+2 >for (
-+3 > [
-+4 > nameB
-+5 > ]
-+6 > =
-+7 > multiRobotA
-+8 > ,
-+9 > i
-+10> =
-+11> 0
-+12> ;
-+13> i
-+14> <
-+15> 1
-+16> ;
-+17> i
-+18> ++
-+19> )
-+20> {
-+1->Emitted(42, 1) Source(52, 1) + SourceIndex(0)
-+2 >Emitted(42, 6) Source(52, 6) + SourceIndex(0)
-+3 >Emitted(42, 7) Source(52, 7) + SourceIndex(0)
-+4 >Emitted(42, 12) Source(52, 12) + SourceIndex(0)
-+5 >Emitted(42, 13) Source(52, 13) + SourceIndex(0)
-+6 >Emitted(42, 16) Source(52, 16) + SourceIndex(0)
-+7 >Emitted(42, 27) Source(52, 27) + SourceIndex(0)
-+8 >Emitted(42, 29) Source(52, 29) + SourceIndex(0)
-+9 >Emitted(42, 30) Source(52, 30) + SourceIndex(0)
-+10>Emitted(42, 33) Source(52, 33) + SourceIndex(0)
-+11>Emitted(42, 34) Source(52, 34) + SourceIndex(0)
-+12>Emitted(42, 36) Source(52, 36) + SourceIndex(0)
-+13>Emitted(42, 37) Source(52, 37) + SourceIndex(0)
-+14>Emitted(42, 40) Source(52, 40) + SourceIndex(0)
-+15>Emitted(42, 41) Source(52, 41) + SourceIndex(0)
-+16>Emitted(42, 43) Source(52, 43) + SourceIndex(0)
-+17>Emitted(42, 44) Source(52, 44) + SourceIndex(0)
-+18>Emitted(42, 46) Source(52, 46) + SourceIndex(0)
-+19>Emitted(42, 48) Source(52, 48) + SourceIndex(0)
-+20>Emitted(42, 49) Source(52, 49) + SourceIndex(0)
- ---
-->>> console.log(numberB);
-+>>> console.log(nameB);
- 1 >^^^^
- 2 > ^^^^^^^
- 3 > ^
- 4 > ^^^
- 5 > ^
--6 > ^^^^^^^
--7 > ^
--8 > ^
-+6 > ^^^^^
-+7 > ^
-+8 > ^
- 1 >
- >
- 2 > console
- 3 > .
- 4 > log
- 5 > (
--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)
-+6 > nameB
-+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, 22) Source(53, 22) + SourceIndex(0)
-+7 >Emitted(43, 23) Source(53, 23) + SourceIndex(0)
-+8 >Emitted(43, 24) Source(53, 24) + SourceIndex(0)
- ---
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
--1 >Emitted(36, 1) Source(45, 1) + SourceIndex(0)
--2 >Emitted(36, 2) Source(45, 2) + SourceIndex(0)
-+1 >Emitted(44, 1) Source(54, 1) + SourceIndex(0)
-+2 >Emitted(44, 2) Source(54, 2) + SourceIndex(0)
- ---
-->>>for (numberB = getRobot()[0], i = 0; i < 1; i++) {
-+>>>for ([nameB] = getMultiRobot(), i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
--3 > ^^^^^^^
--4 > ^^^
--5 > ^^^^^^^^
--6 > ^^
--7 > ^^^
-+3 > ^
-+4 > ^^^^^
-+5 > ^
-+6 > ^^^
-+7 > ^^^^^^^^^^^^^
- 8 > ^^
--9 > ^
--10> ^^^
--11> ^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^
--19> ^^
--20> ^
--1->
-- >
--2 >for ([
--3 > numberB
--4 > ] =
--5 > getRobot
--6 > ()
--7 >
--8 > ] = getRobot(),
--9 > i
--10> =
--11> 0
--12> ;
--13> i
--14> <
--15> 1
--16> ;
--17> i
--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)
-----
-->>> console.log(numberB);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(39, 1) Source(48, 1) + SourceIndex(0)
--2 >Emitted(39, 2) Source(48, 2) + SourceIndex(0)
-----
-->>>for (numberB = [2, "trimmer", "trimming"][0], i = 0; i < 1; i++) {
--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> ^
--1->
-- >
--2 >for ([
--3 > numberB
--4 > ] =
--5 > [
--6 > 2
--7 > ,
--8 > "trimmer"
--9 > ,
--10> "trimming"
--11> ]
--12>
--13> ] = [2, "trimmer", "trimming"],
--14> i
--15> =
--16> 0
--17> ;
--18> i
--19> <
--20> 1
--21> ;
--22> i
--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)
-----
-->>> console.log(numberB);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(42, 1) Source(51, 1) + SourceIndex(0)
--2 >Emitted(42, 2) Source(51, 2) + SourceIndex(0)
-----
-->>>for (nameB = multiRobotA[0], i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^^
--5 > ^^^^^^^^^^^
--6 > ^^^
--7 > ^^
--8 > ^
--9 > ^^^
--10> ^
--11> ^^
-+9 > ^^
-+10> ^
-+11> ^^^
- 12> ^
--13> ^^^
--14> ^
--15> ^^
-+13> ^^
-+14> ^
-+15> ^^^
- 16> ^
- 17> ^^
--18> ^^
--19> ^
-+18> ^
-+19> ^^
-+20> ^^
-+21> ^
- 1->
- >
--2 >for ([
--3 > nameB
--4 > ] =
--5 > multiRobotA
--6 >
--7 > ] = multiRobotA,
--8 > i
--9 > =
--10> 0
--11> ;
--12> i
--13> <
--14> 1
--15> ;
--16> i
--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)
-+2 >for (
-+3 > [
-+4 > nameB
-+5 > ]
-+6 > =
-+7 > getMultiRobot
-+8 > ()
-+9 > ,
-+10> i
-+11> =
-+12> 0
-+13> ;
-+14> i
-+15> <
-+16> 1
-+17> ;
-+18> i
-+19> ++
-+20> )
-+21> {
-+1->Emitted(45, 1) Source(55, 1) + SourceIndex(0)
-+2 >Emitted(45, 6) Source(55, 6) + SourceIndex(0)
-+3 >Emitted(45, 7) Source(55, 7) + SourceIndex(0)
-+4 >Emitted(45, 12) Source(55, 12) + SourceIndex(0)
-+5 >Emitted(45, 13) Source(55, 13) + SourceIndex(0)
-+6 >Emitted(45, 16) Source(55, 16) + SourceIndex(0)
-+7 >Emitted(45, 29) Source(55, 29) + SourceIndex(0)
-+8 >Emitted(45, 31) Source(55, 31) + SourceIndex(0)
-+9 >Emitted(45, 33) Source(55, 33) + SourceIndex(0)
-+10>Emitted(45, 34) Source(55, 34) + SourceIndex(0)
-+11>Emitted(45, 37) Source(55, 37) + SourceIndex(0)
-+12>Emitted(45, 38) Source(55, 38) + SourceIndex(0)
-+13>Emitted(45, 40) Source(55, 40) + SourceIndex(0)
-+14>Emitted(45, 41) Source(55, 41) + SourceIndex(0)
-+15>Emitted(45, 44) Source(55, 44) + SourceIndex(0)
-+16>Emitted(45, 45) Source(55, 45) + SourceIndex(0)
-+17>Emitted(45, 47) Source(55, 47) + SourceIndex(0)
-+18>Emitted(45, 48) Source(55, 48) + SourceIndex(0)
-+19>Emitted(45, 50) Source(55, 50) + SourceIndex(0)
-+20>Emitted(45, 52) Source(55, 52) + SourceIndex(0)
-+21>Emitted(45, 53) Source(55, 53) + SourceIndex(0)
- ---
- >>> console.log(nameB);
- 1 >^^^^
-@@= skipped -1104, +1234 lines =@@
- 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(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 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
--1 >Emitted(45, 1) Source(54, 1) + SourceIndex(0)
--2 >Emitted(45, 2) Source(54, 2) + SourceIndex(0)
-+1 >Emitted(47, 1) Source(57, 1) + SourceIndex(0)
-+2 >Emitted(47, 2) Source(57, 2) + SourceIndex(0)
- ---
-->>>for (nameB = getMultiRobot()[0], i = 0; i < 1; i++) {
-+>>>for ([nameB] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
--3 > ^^^^^
--4 > ^^^
--5 > ^^^^^^^^^^^^^
--6 > ^^
--7 > ^^^
--8 > ^^
--9 > ^
--10> ^^^
--11> ^
-+3 > ^
-+4 > ^^^^^
-+5 > ^
-+6 > ^^^
-+7 > ^
-+8 > ^^^^^^^^^
-+9 > ^^
-+10> ^
-+11> ^^^^^^^^^^
- 12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^
--19> ^^
--20> ^
--1->
-- >
--2 >for ([
--3 > nameB
--4 > ] =
--5 > getMultiRobot
--6 > ()
--7 >
--8 > ] = getMultiRobot(),
--9 > i
--10> =
--11> 0
--12> ;
--13> i
--14> <
--15> 1
--16> ;
--17> i
--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)
-----
-->>> console.log(nameB);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(48, 1) Source(57, 1) + SourceIndex(0)
--2 >Emitted(48, 2) Source(57, 2) + SourceIndex(0)
-----
-->>>for (nameB = ["trimmer", ["trimming", "edging"]][0], i = 0; i < 1; i++) {
--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> ^
--1->
-- >
--2 >for ([
--3 > nameB
--4 > ] =
--5 > [
--6 > "trimmer"
--7 > ,
--8 > [
--9 > "trimming"
--10> ,
--11> "edging"
--12> ]
--13> ]
--14>
--15> ] = ["trimmer", ["trimming", "edging"]],
--16> i
--17> =
--18> 0
--19> ;
--20> i
--21> <
--22> 1
--23> ;
--24> i
--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)
-----
-->>> console.log(nameB);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(51, 1) Source(60, 1) + SourceIndex(0)
--2 >Emitted(51, 2) Source(60, 2) + SourceIndex(0)
-----
-->>>for (numberA2 = robotA[0], nameA2 = robotA[1], skillA2 = robotA[2], i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^^^^
--4 > ^^^
--5 > ^^^^^^
--6 > ^^^
--7 > ^^
--8 > ^^^^^^
--9 > ^^^
--10> ^^^^^^
--11> ^^^
--12> ^^
--13> ^^^^^^^
--14> ^^^
--15> ^^^^^^
--16> ^^^
--17> ^^
--18> ^
--19> ^^^
--20> ^
--21> ^^
--22> ^
--23> ^^^
--24> ^
-+13> ^^^^^^^^
-+14> ^
-+15> ^
-+16> ^^
-+17> ^
-+18> ^^^
-+19> ^
-+20> ^^
-+21> ^
-+22> ^^^
-+23> ^
-+24> ^^
-+25> ^
-+26> ^^
-+27> ^^
-+28> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > nameB
-+5 > ]
-+6 > =
-+7 > [
-+8 > "trimmer"
-+9 > ,
-+10> [
-+11> "trimming"
-+12> ,
-+13> "edging"
-+14> ]
-+15> ]
-+16> ,
-+17> i
-+18> =
-+19> 0
-+20> ;
-+21> i
-+22> <
-+23> 1
-+24> ;
-+25> i
-+26> ++
-+27> )
-+28> {
-+1->Emitted(48, 1) Source(58, 1) + SourceIndex(0)
-+2 >Emitted(48, 6) Source(58, 6) + SourceIndex(0)
-+3 >Emitted(48, 7) Source(58, 7) + SourceIndex(0)
-+4 >Emitted(48, 12) Source(58, 12) + SourceIndex(0)
-+5 >Emitted(48, 13) Source(58, 13) + SourceIndex(0)
-+6 >Emitted(48, 16) Source(58, 16) + SourceIndex(0)
-+7 >Emitted(48, 17) Source(58, 17) + SourceIndex(0)
-+8 >Emitted(48, 26) Source(58, 26) + SourceIndex(0)
-+9 >Emitted(48, 28) Source(58, 28) + SourceIndex(0)
-+10>Emitted(48, 29) Source(58, 29) + SourceIndex(0)
-+11>Emitted(48, 39) Source(58, 39) + SourceIndex(0)
-+12>Emitted(48, 41) Source(58, 41) + SourceIndex(0)
-+13>Emitted(48, 49) Source(58, 49) + SourceIndex(0)
-+14>Emitted(48, 50) Source(58, 50) + SourceIndex(0)
-+15>Emitted(48, 51) Source(58, 51) + SourceIndex(0)
-+16>Emitted(48, 53) Source(58, 53) + SourceIndex(0)
-+17>Emitted(48, 54) Source(58, 54) + SourceIndex(0)
-+18>Emitted(48, 57) Source(58, 57) + SourceIndex(0)
-+19>Emitted(48, 58) Source(58, 58) + SourceIndex(0)
-+20>Emitted(48, 60) Source(58, 60) + SourceIndex(0)
-+21>Emitted(48, 61) Source(58, 61) + SourceIndex(0)
-+22>Emitted(48, 64) Source(58, 64) + SourceIndex(0)
-+23>Emitted(48, 65) Source(58, 65) + SourceIndex(0)
-+24>Emitted(48, 67) Source(58, 67) + SourceIndex(0)
-+25>Emitted(48, 68) Source(58, 68) + SourceIndex(0)
-+26>Emitted(48, 70) Source(58, 70) + SourceIndex(0)
-+27>Emitted(48, 72) Source(58, 72) + SourceIndex(0)
-+28>Emitted(48, 73) Source(58, 73) + SourceIndex(0)
-+---
-+>>> console.log(nameB);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameB
-+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 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(50, 1) Source(60, 1) + SourceIndex(0)
-+2 >Emitted(50, 2) Source(60, 2) + SourceIndex(0)
-+---
-+>>>for ([numberA2, nameA2, skillA2] = robotA, i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^^^^^^^
-+5 > ^^
-+6 > ^^^^^^
-+7 > ^^
-+8 > ^^^^^^^
-+9 > ^
-+10> ^^^
-+11> ^^^^^^
-+12> ^^
-+13> ^
-+14> ^^^
-+15> ^
-+16> ^^
-+17> ^
-+18> ^^^
-+19> ^
-+20> ^^
-+21> ^
-+22> ^^
-+23> ^^
-+24> ^
-+1->
-+ >
-+ >
-+2 >for (
-+3 > [
-+4 > numberA2
-+5 > ,
-+6 > nameA2
-+7 > ,
-+8 > skillA2
-+9 > ]
-+10> =
-+11> robotA
-+12> ,
-+13> i
-+14> =
-+15> 0
-+16> ;
-+17> i
-+18> <
-+19> 1
-+20> ;
-+21> i
-+22> ++
-+23> )
-+24> {
-+1->Emitted(51, 1) Source(62, 1) + SourceIndex(0)
-+2 >Emitted(51, 6) Source(62, 6) + SourceIndex(0)
-+3 >Emitted(51, 7) Source(62, 7) + SourceIndex(0)
-+4 >Emitted(51, 15) Source(62, 15) + SourceIndex(0)
-+5 >Emitted(51, 17) Source(62, 17) + SourceIndex(0)
-+6 >Emitted(51, 23) Source(62, 23) + SourceIndex(0)
-+7 >Emitted(51, 25) Source(62, 25) + SourceIndex(0)
-+8 >Emitted(51, 32) Source(62, 32) + SourceIndex(0)
-+9 >Emitted(51, 33) Source(62, 33) + SourceIndex(0)
-+10>Emitted(51, 36) Source(62, 36) + SourceIndex(0)
-+11>Emitted(51, 42) Source(62, 42) + SourceIndex(0)
-+12>Emitted(51, 44) Source(62, 44) + SourceIndex(0)
-+13>Emitted(51, 45) Source(62, 45) + SourceIndex(0)
-+14>Emitted(51, 48) Source(62, 48) + SourceIndex(0)
-+15>Emitted(51, 49) Source(62, 49) + SourceIndex(0)
-+16>Emitted(51, 51) Source(62, 51) + SourceIndex(0)
-+17>Emitted(51, 52) Source(62, 52) + SourceIndex(0)
-+18>Emitted(51, 55) Source(62, 55) + SourceIndex(0)
-+19>Emitted(51, 56) Source(62, 56) + SourceIndex(0)
-+20>Emitted(51, 58) Source(62, 58) + SourceIndex(0)
-+21>Emitted(51, 59) Source(62, 59) + SourceIndex(0)
-+22>Emitted(51, 61) Source(62, 61) + SourceIndex(0)
-+23>Emitted(51, 63) Source(62, 63) + SourceIndex(0)
-+24>Emitted(51, 64) Source(62, 64) + SourceIndex(0)
-+---
-+>>> console.log(nameA2);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameA2
-+7 > )
-+8 > ;
-+1 >Emitted(52, 5) Source(63, 5) + SourceIndex(0)
-+2 >Emitted(52, 12) Source(63, 12) + SourceIndex(0)
-+3 >Emitted(52, 13) Source(63, 13) + SourceIndex(0)
-+4 >Emitted(52, 16) Source(63, 16) + SourceIndex(0)
-+5 >Emitted(52, 17) Source(63, 17) + SourceIndex(0)
-+6 >Emitted(52, 23) Source(63, 23) + SourceIndex(0)
-+7 >Emitted(52, 24) Source(63, 24) + SourceIndex(0)
-+8 >Emitted(52, 25) Source(63, 25) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(53, 1) Source(64, 1) + SourceIndex(0)
-+2 >Emitted(53, 2) Source(64, 2) + SourceIndex(0)
-+---
-+>>>for ([numberA2, nameA2, skillA2] = getRobot(), i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > numberA2
-+5 > ,
-+6 > nameA2
-+7 > ,
-+8 > skillA2
-+9 > ]
-+10> =
-+11> getRobot
-+12> ()
-+13> ,
-+14> i
-+15> =
-+16> 0
-+17> ;
-+18> i
-+19> <
-+20> 1
-+21> ;
-+22> i
-+23> ++
-+24> )
-+25> {
-+1->Emitted(54, 1) Source(65, 1) + SourceIndex(0)
-+2 >Emitted(54, 6) Source(65, 6) + SourceIndex(0)
-+3 >Emitted(54, 7) Source(65, 7) + SourceIndex(0)
-+4 >Emitted(54, 15) Source(65, 15) + SourceIndex(0)
-+5 >Emitted(54, 17) Source(65, 17) + SourceIndex(0)
-+6 >Emitted(54, 23) Source(65, 23) + SourceIndex(0)
-+7 >Emitted(54, 25) Source(65, 25) + SourceIndex(0)
-+8 >Emitted(54, 32) Source(65, 32) + SourceIndex(0)
-+9 >Emitted(54, 33) Source(65, 33) + SourceIndex(0)
-+10>Emitted(54, 36) Source(65, 36) + SourceIndex(0)
-+11>Emitted(54, 44) Source(65, 44) + SourceIndex(0)
-+12>Emitted(54, 46) Source(65, 46) + SourceIndex(0)
-+13>Emitted(54, 48) Source(65, 48) + SourceIndex(0)
-+14>Emitted(54, 49) Source(65, 49) + SourceIndex(0)
-+15>Emitted(54, 52) Source(65, 52) + SourceIndex(0)
-+16>Emitted(54, 53) Source(65, 53) + SourceIndex(0)
-+17>Emitted(54, 55) Source(65, 55) + SourceIndex(0)
-+18>Emitted(54, 56) Source(65, 56) + SourceIndex(0)
-+19>Emitted(54, 59) Source(65, 59) + SourceIndex(0)
-+20>Emitted(54, 60) Source(65, 60) + SourceIndex(0)
-+21>Emitted(54, 62) Source(65, 62) + SourceIndex(0)
-+22>Emitted(54, 63) Source(65, 63) + SourceIndex(0)
-+23>Emitted(54, 65) Source(65, 65) + SourceIndex(0)
-+24>Emitted(54, 67) Source(65, 67) + SourceIndex(0)
-+25>Emitted(54, 68) Source(65, 68) + SourceIndex(0)
-+---
-+>>> console.log(nameA2);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameA2
-+7 > )
-+8 > ;
-+1 >Emitted(55, 5) Source(66, 5) + SourceIndex(0)
-+2 >Emitted(55, 12) Source(66, 12) + SourceIndex(0)
-+3 >Emitted(55, 13) Source(66, 13) + SourceIndex(0)
-+4 >Emitted(55, 16) Source(66, 16) + SourceIndex(0)
-+5 >Emitted(55, 17) Source(66, 17) + SourceIndex(0)
-+6 >Emitted(55, 23) Source(66, 23) + SourceIndex(0)
-+7 >Emitted(55, 24) Source(66, 24) + SourceIndex(0)
-+8 >Emitted(55, 25) Source(66, 25) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(56, 1) Source(67, 1) + SourceIndex(0)
-+2 >Emitted(56, 2) Source(67, 2) + SourceIndex(0)
-+---
-+>>>for ([numberA2, nameA2, skillA2] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > numberA2
-+5 > ,
-+6 > nameA2
-+7 > ,
-+8 > skillA2
-+9 > ]
-+10> =
-+11> [
-+12> 2
-+13> ,
-+14> "trimmer"
-+15> ,
-+16> "trimming"
-+17> ]
-+18> ,
-+19> i
-+20> =
-+21> 0
-+22> ;
-+23> i
-+24> <
-+25> 1
-+26> ;
-+27> i
-+28> ++
-+29> )
-+30> {
-+1->Emitted(57, 1) Source(68, 1) + SourceIndex(0)
-+2 >Emitted(57, 6) Source(68, 6) + SourceIndex(0)
-+3 >Emitted(57, 7) Source(68, 7) + SourceIndex(0)
-+4 >Emitted(57, 15) Source(68, 15) + SourceIndex(0)
-+5 >Emitted(57, 17) Source(68, 17) + SourceIndex(0)
-+6 >Emitted(57, 23) Source(68, 23) + SourceIndex(0)
-+7 >Emitted(57, 25) Source(68, 25) + SourceIndex(0)
-+8 >Emitted(57, 32) Source(68, 32) + SourceIndex(0)
-+9 >Emitted(57, 33) Source(68, 33) + SourceIndex(0)
-+10>Emitted(57, 36) Source(68, 36) + SourceIndex(0)
-+11>Emitted(57, 37) Source(68, 37) + SourceIndex(0)
-+12>Emitted(57, 38) Source(68, 38) + SourceIndex(0)
-+13>Emitted(57, 40) Source(68, 40) + SourceIndex(0)
-+14>Emitted(57, 49) Source(68, 49) + SourceIndex(0)
-+15>Emitted(57, 51) Source(68, 51) + SourceIndex(0)
-+16>Emitted(57, 61) Source(68, 61) + SourceIndex(0)
-+17>Emitted(57, 62) Source(68, 62) + SourceIndex(0)
-+18>Emitted(57, 64) Source(68, 64) + SourceIndex(0)
-+19>Emitted(57, 65) Source(68, 65) + SourceIndex(0)
-+20>Emitted(57, 68) Source(68, 68) + SourceIndex(0)
-+21>Emitted(57, 69) Source(68, 69) + SourceIndex(0)
-+22>Emitted(57, 71) Source(68, 71) + SourceIndex(0)
-+23>Emitted(57, 72) Source(68, 72) + SourceIndex(0)
-+24>Emitted(57, 75) Source(68, 75) + SourceIndex(0)
-+25>Emitted(57, 76) Source(68, 76) + SourceIndex(0)
-+26>Emitted(57, 78) Source(68, 78) + SourceIndex(0)
-+27>Emitted(57, 79) Source(68, 79) + SourceIndex(0)
-+28>Emitted(57, 81) Source(68, 81) + SourceIndex(0)
-+29>Emitted(57, 83) Source(68, 83) + SourceIndex(0)
-+30>Emitted(57, 84) Source(68, 84) + SourceIndex(0)
-+---
-+>>> console.log(nameA2);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameA2
-+7 > )
-+8 > ;
-+1 >Emitted(58, 5) Source(69, 5) + SourceIndex(0)
-+2 >Emitted(58, 12) Source(69, 12) + SourceIndex(0)
-+3 >Emitted(58, 13) Source(69, 13) + SourceIndex(0)
-+4 >Emitted(58, 16) Source(69, 16) + SourceIndex(0)
-+5 >Emitted(58, 17) Source(69, 17) + SourceIndex(0)
-+6 >Emitted(58, 23) Source(69, 23) + SourceIndex(0)
-+7 >Emitted(58, 24) Source(69, 24) + SourceIndex(0)
-+8 >Emitted(58, 25) Source(69, 25) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(59, 1) Source(70, 1) + SourceIndex(0)
-+2 >Emitted(59, 2) Source(70, 2) + SourceIndex(0)
-+---
-+>>>for ([nameMA, [primarySkillA, secondarySkillA]] = multiRobotA, i = 0; i < 1; i++) {
-+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> ^
--1->
-- >
-- >
--2 >for ([
--3 > numberA2
--4 > , nameA2, skillA2] =
--5 > robotA
--6 >
--7 > ,
--8 > nameA2
--9 > , skillA2] =
--10> robotA
--11>
--12> ,
--13> skillA2
--14> ] =
--15> robotA
--16>
--17> ] = robotA,
--18> i
--19> =
--20> 0
--21> ;
--22> i
--23> <
--24> 1
--25> ;
--26> i
--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)
-----
-->>> console.log(nameA2);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(54, 1) Source(64, 1) + SourceIndex(0)
--2 >Emitted(54, 2) Source(64, 2) + SourceIndex(0)
-----
-->>>for (_h = getRobot(), numberA2 = _h[0], nameA2 = _h[1], skillA2 = _h[2], i = 0; i < 1; i++) {
--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> ^
--1->
-- >
--2 >for (
--3 > [numberA2, nameA2, skillA2] =
--4 > getRobot
--5 > ()
--6 >
--7 > numberA2
--8 >
--9 > ,
--10> nameA2
--11>
--12> ,
--13> skillA2
--14>
--15> ] = getRobot(),
--16> i
--17> =
--18> 0
--19> ;
--20> i
--21> <
--22> 1
--23> ;
--24> i
--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)
-----
-->>> console.log(nameA2);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(57, 1) Source(67, 1) + SourceIndex(0)
--2 >Emitted(57, 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->
--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> ^
--1->
-- >
--2 >for (
--3 > [numberA2, nameA2, skillA2] =
--4 > [
--5 > 2
--6 > ,
--7 > "trimmer"
--8 > ,
--9 > "trimming"
--10> ]
--11>
--12> numberA2
--13>
--14> ,
--15> nameA2
--16>
--17> ,
--18> skillA2
--19>
--20> ] = [2, "trimmer", "trimming"],
--21> i
--22> =
--23> 0
--24> ;
--25> i
--26> <
--27> 1
--28> ;
--29> i
--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)
-----
-->>> console.log(nameA2);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(60, 1) Source(70, 1) + SourceIndex(0)
--2 >Emitted(60, 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->
--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> ^
--1->
-- >
--2 >for ([
--3 > nameMA
--4 > , [primarySkillA, secondarySkillA]] =
--5 > multiRobotA
--6 >
--7 > ,
--8 > [primarySkillA, secondarySkillA]] =
--9 > multiRobotA
--10>
--11>
--12> primarySkillA
--13>
--14> ,
--15> secondarySkillA
--16>
--17> ]] = multiRobotA,
--18> i
--19> =
--20> 0
--21> ;
--22> i
--23> <
--24> 1
--25> ;
--26> i
--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)
-----
-->>> console.log(nameMA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(63, 1) Source(73, 1) + SourceIndex(0)
--2 >Emitted(63, 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->
--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> ^
--1->
-- >
--2 >for (
--3 > [nameMA, [primarySkillA, secondarySkillA]] =
--4 > getMultiRobot
--5 > ()
--6 >
--7 > nameMA
--8 >
--9 > ,
--10> [primarySkillA, secondarySkillA]
--11>
--12> primarySkillA
--13>
--14> ,
--15> secondarySkillA
--16>
--17> ]] = getMultiRobot(),
--18> i
--19> =
--20> 0
--21> ;
--22> i
--23> <
--24> 1
--25> ;
--26> i
--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)
-----
-->>> console.log(nameMA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(66, 1) Source(76, 1) + SourceIndex(0)
--2 >Emitted(66, 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->
--2 >^^^^^
--3 > ^^^^^
--4 > ^
--5 > ^^^^^^^^^
--6 > ^^
--7 > ^
--8 > ^^^^^^^^^^
--9 > ^^
--10> ^^^^^^^^
--11> ^
--12> ^
--13> ^^
--14> ^^^^^^
--15> ^^^^^^^^
--16> ^^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > nameMA
-+5 > ,
-+6 > [
-+7 > primarySkillA
-+8 > ,
-+9 > secondarySkillA
-+10> ]
-+11> ]
-+12> =
-+13> multiRobotA
-+14> ,
-+15> i
-+16> =
-+17> 0
-+18> ;
-+19> i
-+20> <
-+21> 1
-+22> ;
-+23> i
-+24> ++
-+25> )
-+26> {
-+1->Emitted(60, 1) Source(71, 1) + SourceIndex(0)
-+2 >Emitted(60, 6) Source(71, 6) + SourceIndex(0)
-+3 >Emitted(60, 7) Source(71, 7) + SourceIndex(0)
-+4 >Emitted(60, 13) Source(71, 13) + SourceIndex(0)
-+5 >Emitted(60, 15) Source(71, 15) + SourceIndex(0)
-+6 >Emitted(60, 16) Source(71, 16) + SourceIndex(0)
-+7 >Emitted(60, 29) Source(71, 29) + SourceIndex(0)
-+8 >Emitted(60, 31) Source(71, 31) + SourceIndex(0)
-+9 >Emitted(60, 46) Source(71, 46) + SourceIndex(0)
-+10>Emitted(60, 47) Source(71, 47) + SourceIndex(0)
-+11>Emitted(60, 48) Source(71, 48) + SourceIndex(0)
-+12>Emitted(60, 51) Source(71, 51) + SourceIndex(0)
-+13>Emitted(60, 62) Source(71, 62) + SourceIndex(0)
-+14>Emitted(60, 64) Source(71, 64) + SourceIndex(0)
-+15>Emitted(60, 65) Source(71, 65) + SourceIndex(0)
-+16>Emitted(60, 68) Source(71, 68) + SourceIndex(0)
-+17>Emitted(60, 69) Source(71, 69) + SourceIndex(0)
-+18>Emitted(60, 71) Source(71, 71) + SourceIndex(0)
-+19>Emitted(60, 72) Source(71, 72) + SourceIndex(0)
-+20>Emitted(60, 75) Source(71, 75) + SourceIndex(0)
-+21>Emitted(60, 76) Source(71, 76) + SourceIndex(0)
-+22>Emitted(60, 78) Source(71, 78) + SourceIndex(0)
-+23>Emitted(60, 79) Source(71, 79) + SourceIndex(0)
-+24>Emitted(60, 81) Source(71, 81) + SourceIndex(0)
-+25>Emitted(60, 83) Source(71, 83) + SourceIndex(0)
-+26>Emitted(60, 84) Source(71, 84) + SourceIndex(0)
-+---
-+>>> console.log(nameMA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameMA
-+7 > )
-+8 > ;
-+1 >Emitted(61, 5) Source(72, 5) + SourceIndex(0)
-+2 >Emitted(61, 12) Source(72, 12) + SourceIndex(0)
-+3 >Emitted(61, 13) Source(72, 13) + SourceIndex(0)
-+4 >Emitted(61, 16) Source(72, 16) + SourceIndex(0)
-+5 >Emitted(61, 17) Source(72, 17) + SourceIndex(0)
-+6 >Emitted(61, 23) Source(72, 23) + SourceIndex(0)
-+7 >Emitted(61, 24) Source(72, 24) + SourceIndex(0)
-+8 >Emitted(61, 25) Source(72, 25) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(62, 1) Source(73, 1) + SourceIndex(0)
-+2 >Emitted(62, 2) Source(73, 2) + SourceIndex(0)
-+---
-+>>>for ([nameMA, [primarySkillA, secondarySkillA]] = getMultiRobot(), i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > nameMA
-+5 > ,
-+6 > [
-+7 > primarySkillA
-+8 > ,
-+9 > secondarySkillA
-+10> ]
-+11> ]
-+12> =
-+13> getMultiRobot
-+14> ()
-+15> ,
-+16> i
-+17> =
-+18> 0
-+19> ;
-+20> i
-+21> <
-+22> 1
-+23> ;
-+24> i
-+25> ++
-+26> )
-+27> {
-+1->Emitted(63, 1) Source(74, 1) + SourceIndex(0)
-+2 >Emitted(63, 6) Source(74, 6) + SourceIndex(0)
-+3 >Emitted(63, 7) Source(74, 7) + SourceIndex(0)
-+4 >Emitted(63, 13) Source(74, 13) + SourceIndex(0)
-+5 >Emitted(63, 15) Source(74, 15) + SourceIndex(0)
-+6 >Emitted(63, 16) Source(74, 16) + SourceIndex(0)
-+7 >Emitted(63, 29) Source(74, 29) + SourceIndex(0)
-+8 >Emitted(63, 31) Source(74, 31) + SourceIndex(0)
-+9 >Emitted(63, 46) Source(74, 46) + SourceIndex(0)
-+10>Emitted(63, 47) Source(74, 47) + SourceIndex(0)
-+11>Emitted(63, 48) Source(74, 48) + SourceIndex(0)
-+12>Emitted(63, 51) Source(74, 51) + SourceIndex(0)
-+13>Emitted(63, 64) Source(74, 64) + SourceIndex(0)
-+14>Emitted(63, 66) Source(74, 66) + SourceIndex(0)
-+15>Emitted(63, 68) Source(74, 68) + SourceIndex(0)
-+16>Emitted(63, 69) Source(74, 69) + SourceIndex(0)
-+17>Emitted(63, 72) Source(74, 72) + SourceIndex(0)
-+18>Emitted(63, 73) Source(74, 73) + SourceIndex(0)
-+19>Emitted(63, 75) Source(74, 75) + SourceIndex(0)
-+20>Emitted(63, 76) Source(74, 76) + SourceIndex(0)
-+21>Emitted(63, 79) Source(74, 79) + SourceIndex(0)
-+22>Emitted(63, 80) Source(74, 80) + SourceIndex(0)
-+23>Emitted(63, 82) Source(74, 82) + SourceIndex(0)
-+24>Emitted(63, 83) Source(74, 83) + SourceIndex(0)
-+25>Emitted(63, 85) Source(74, 85) + SourceIndex(0)
-+26>Emitted(63, 87) Source(74, 87) + SourceIndex(0)
-+27>Emitted(63, 88) Source(74, 88) + SourceIndex(0)
-+---
-+>>> console.log(nameMA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameMA
-+7 > )
-+8 > ;
-+1 >Emitted(64, 5) Source(75, 5) + SourceIndex(0)
-+2 >Emitted(64, 12) Source(75, 12) + SourceIndex(0)
-+3 >Emitted(64, 13) Source(75, 13) + SourceIndex(0)
-+4 >Emitted(64, 16) Source(75, 16) + SourceIndex(0)
-+5 >Emitted(64, 17) Source(75, 17) + SourceIndex(0)
-+6 >Emitted(64, 23) Source(75, 23) + SourceIndex(0)
-+7 >Emitted(64, 24) Source(75, 24) + SourceIndex(0)
-+8 >Emitted(64, 25) Source(75, 25) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(65, 1) Source(76, 1) + SourceIndex(0)
-+2 >Emitted(65, 2) Source(76, 2) + SourceIndex(0)
-+---
-+>>>for ([nameMA, [primarySkillA, secondarySkillA]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+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> ^
-+19> ^^^^^^^^
-+20> ^
-+21> ^
-+22> ^^
-+23> ^
-+24> ^^^
-+25> ^
-+26> ^^
-+27> ^
-+28> ^^^
-+29> ^
-+30> ^^
-+31> ^
-+32> ^^
-+33> ^^
-+34> ^
- 1->
- >
- 2 >for (
--3 > [nameMA, [primarySkillA, secondarySkillA]] =
--4 > [
--5 > "trimmer"
--6 > ,
--7 > [
--8 > "trimming"
--9 > ,
--10> "edging"
--11> ]
--12> ]
--13>
--14> nameMA
--15>
--16> ,
--17> [primarySkillA, secondarySkillA]
--18>
--19> primarySkillA
--20>
--21> ,
--22> secondarySkillA
--23>
--24> ]] = ["trimmer", ["trimming", "edging"]],
--25> i
--26> =
--27> 0
--28> ;
--29> i
--30> <
--31> 1
--32> ;
--33> i
--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)
-+3 > [
-+4 > nameMA
-+5 > ,
-+6 > [
-+7 > primarySkillA
-+8 > ,
-+9 > secondarySkillA
-+10> ]
-+11> ]
-+12> =
-+13> [
-+14> "trimmer"
-+15> ,
-+16> [
-+17> "trimming"
-+18> ,
-+19> "edging"
-+20> ]
-+21> ]
-+22> ,
-+23> i
-+24> =
-+25> 0
-+26> ;
-+27> i
-+28> <
-+29> 1
-+30> ;
-+31> i
-+32> ++
-+33> )
-+34> {
-+1->Emitted(66, 1) Source(77, 1) + SourceIndex(0)
-+2 >Emitted(66, 6) Source(77, 6) + SourceIndex(0)
-+3 >Emitted(66, 7) Source(77, 7) + SourceIndex(0)
-+4 >Emitted(66, 13) Source(77, 13) + SourceIndex(0)
-+5 >Emitted(66, 15) Source(77, 15) + SourceIndex(0)
-+6 >Emitted(66, 16) Source(77, 16) + SourceIndex(0)
-+7 >Emitted(66, 29) Source(77, 29) + SourceIndex(0)
-+8 >Emitted(66, 31) Source(77, 31) + SourceIndex(0)
-+9 >Emitted(66, 46) Source(77, 46) + SourceIndex(0)
-+10>Emitted(66, 47) Source(77, 47) + SourceIndex(0)
-+11>Emitted(66, 48) Source(77, 48) + SourceIndex(0)
-+12>Emitted(66, 51) Source(77, 51) + SourceIndex(0)
-+13>Emitted(66, 52) Source(77, 52) + SourceIndex(0)
-+14>Emitted(66, 61) Source(77, 61) + SourceIndex(0)
-+15>Emitted(66, 63) Source(77, 63) + SourceIndex(0)
-+16>Emitted(66, 64) Source(77, 64) + SourceIndex(0)
-+17>Emitted(66, 74) Source(77, 74) + SourceIndex(0)
-+18>Emitted(66, 76) Source(77, 76) + SourceIndex(0)
-+19>Emitted(66, 84) Source(77, 84) + SourceIndex(0)
-+20>Emitted(66, 85) Source(77, 85) + SourceIndex(0)
-+21>Emitted(66, 86) Source(77, 86) + SourceIndex(0)
-+22>Emitted(66, 88) Source(77, 88) + SourceIndex(0)
-+23>Emitted(66, 89) Source(77, 89) + SourceIndex(0)
-+24>Emitted(66, 92) Source(77, 92) + SourceIndex(0)
-+25>Emitted(66, 93) Source(77, 93) + SourceIndex(0)
-+26>Emitted(66, 95) Source(77, 95) + SourceIndex(0)
-+27>Emitted(66, 96) Source(77, 96) + SourceIndex(0)
-+28>Emitted(66, 99) Source(77, 99) + SourceIndex(0)
-+29>Emitted(66, 100) Source(77, 100) + SourceIndex(0)
-+30>Emitted(66, 102) Source(77, 102) + SourceIndex(0)
-+31>Emitted(66, 103) Source(77, 103) + SourceIndex(0)
-+32>Emitted(66, 105) Source(77, 105) + SourceIndex(0)
-+33>Emitted(66, 107) Source(77, 107) + SourceIndex(0)
-+34>Emitted(66, 108) Source(77, 108) + SourceIndex(0)
- ---
- >>> console.log(nameMA);
- 1 >^^^^
-@@= skipped -1008, +863 lines =@@
- 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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(69, 1) Source(79, 1) + SourceIndex(0)
--2 >Emitted(69, 2) Source(79, 2) + SourceIndex(0)
-----
-->>>for (numberA3 = robotA[0], robotAInfo = robotA.slice(1), i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^^^^
--4 > ^^^
--5 > ^^^^^^
--6 > ^^^
--7 > ^^
--8 > ^^^^^^^^^^
--9 > ^^^
--10> ^^^^^^
--11> ^^^^^^^^^
--12> ^^
--13> ^
--14> ^^^
-+1 >Emitted(67, 5) Source(78, 5) + SourceIndex(0)
-+2 >Emitted(67, 12) Source(78, 12) + SourceIndex(0)
-+3 >Emitted(67, 13) Source(78, 13) + SourceIndex(0)
-+4 >Emitted(67, 16) Source(78, 16) + SourceIndex(0)
-+5 >Emitted(67, 17) Source(78, 17) + SourceIndex(0)
-+6 >Emitted(67, 23) Source(78, 23) + SourceIndex(0)
-+7 >Emitted(67, 24) Source(78, 24) + SourceIndex(0)
-+8 >Emitted(67, 25) Source(78, 25) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(68, 1) Source(79, 1) + SourceIndex(0)
-+2 >Emitted(68, 2) Source(79, 2) + SourceIndex(0)
-+---
-+>>>for ([numberA3, ...robotAInfo] = robotA, i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^^^^^^^
-+5 > ^^
-+6 > ^^^
-+7 > ^^^^^^^^^^
-+8 > ^
-+9 > ^^^
-+10> ^^^^^^
-+11> ^^
-+12> ^
-+13> ^^^
-+14> ^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
-+19> ^^
-+20> ^
-+21> ^^
-+22> ^^
-+23> ^
-+1->
-+ >
-+ >
-+2 >for (
-+3 > [
-+4 > numberA3
-+5 > ,
-+6 > ...
-+7 > robotAInfo
-+8 > ]
-+9 > =
-+10> robotA
-+11> ,
-+12> i
-+13> =
-+14> 0
-+15> ;
-+16> i
-+17> <
-+18> 1
-+19> ;
-+20> i
-+21> ++
-+22> )
-+23> {
-+1->Emitted(69, 1) Source(81, 1) + SourceIndex(0)
-+2 >Emitted(69, 6) Source(81, 6) + SourceIndex(0)
-+3 >Emitted(69, 7) Source(81, 7) + SourceIndex(0)
-+4 >Emitted(69, 15) Source(81, 15) + SourceIndex(0)
-+5 >Emitted(69, 17) Source(81, 17) + SourceIndex(0)
-+6 >Emitted(69, 20) Source(81, 20) + SourceIndex(0)
-+7 >Emitted(69, 30) Source(81, 30) + SourceIndex(0)
-+8 >Emitted(69, 31) Source(81, 31) + SourceIndex(0)
-+9 >Emitted(69, 34) Source(81, 34) + SourceIndex(0)
-+10>Emitted(69, 40) Source(81, 40) + SourceIndex(0)
-+11>Emitted(69, 42) Source(81, 42) + SourceIndex(0)
-+12>Emitted(69, 43) Source(81, 43) + SourceIndex(0)
-+13>Emitted(69, 46) Source(81, 46) + SourceIndex(0)
-+14>Emitted(69, 47) Source(81, 47) + SourceIndex(0)
-+15>Emitted(69, 49) Source(81, 49) + SourceIndex(0)
-+16>Emitted(69, 50) Source(81, 50) + SourceIndex(0)
-+17>Emitted(69, 53) Source(81, 53) + SourceIndex(0)
-+18>Emitted(69, 54) Source(81, 54) + SourceIndex(0)
-+19>Emitted(69, 56) Source(81, 56) + SourceIndex(0)
-+20>Emitted(69, 57) Source(81, 57) + SourceIndex(0)
-+21>Emitted(69, 59) Source(81, 59) + SourceIndex(0)
-+22>Emitted(69, 61) Source(81, 61) + SourceIndex(0)
-+23>Emitted(69, 62) Source(81, 62) + SourceIndex(0)
-+---
-+>>> console.log(numberA3);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > numberA3
-+7 > )
-+8 > ;
-+1 >Emitted(70, 5) Source(82, 5) + SourceIndex(0)
-+2 >Emitted(70, 12) Source(82, 12) + SourceIndex(0)
-+3 >Emitted(70, 13) Source(82, 13) + SourceIndex(0)
-+4 >Emitted(70, 16) Source(82, 16) + SourceIndex(0)
-+5 >Emitted(70, 17) Source(82, 17) + SourceIndex(0)
-+6 >Emitted(70, 25) Source(82, 25) + SourceIndex(0)
-+7 >Emitted(70, 26) Source(82, 26) + SourceIndex(0)
-+8 >Emitted(70, 27) Source(82, 27) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(71, 1) Source(83, 1) + SourceIndex(0)
-+2 >Emitted(71, 2) Source(83, 2) + SourceIndex(0)
-+---
-+>>>for ([numberA3, ...robotAInfo] = getRobot(), i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^^^^^^^
-+5 > ^^
-+6 > ^^^
-+7 > ^^^^^^^^^^
-+8 > ^
-+9 > ^^^
-+10> ^^^^^^^^
-+11> ^^
-+12> ^^
-+13> ^
-+14> ^^^
-+15> ^
-+16> ^^
-+17> ^
-+18> ^^^
-+19> ^
-+20> ^^
-+21> ^
-+22> ^^
-+23> ^^
-+24> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > numberA3
-+5 > ,
-+6 > ...
-+7 > robotAInfo
-+8 > ]
-+9 > =
-+10> getRobot
-+11> ()
-+12> ,
-+13> i
-+14> =
-+15> 0
-+16> ;
-+17> i
-+18> <
-+19> 1
-+20> ;
-+21> i
-+22> ++
-+23> )
-+24> {
-+1->Emitted(72, 1) Source(84, 1) + SourceIndex(0)
-+2 >Emitted(72, 6) Source(84, 6) + SourceIndex(0)
-+3 >Emitted(72, 7) Source(84, 7) + SourceIndex(0)
-+4 >Emitted(72, 15) Source(84, 15) + SourceIndex(0)
-+5 >Emitted(72, 17) Source(84, 17) + SourceIndex(0)
-+6 >Emitted(72, 20) Source(84, 20) + SourceIndex(0)
-+7 >Emitted(72, 30) Source(84, 30) + SourceIndex(0)
-+8 >Emitted(72, 31) Source(84, 31) + SourceIndex(0)
-+9 >Emitted(72, 34) Source(84, 34) + SourceIndex(0)
-+10>Emitted(72, 42) Source(84, 42) + SourceIndex(0)
-+11>Emitted(72, 44) Source(84, 44) + SourceIndex(0)
-+12>Emitted(72, 46) Source(84, 46) + SourceIndex(0)
-+13>Emitted(72, 47) Source(84, 47) + SourceIndex(0)
-+14>Emitted(72, 50) Source(84, 50) + SourceIndex(0)
-+15>Emitted(72, 51) Source(84, 51) + SourceIndex(0)
-+16>Emitted(72, 53) Source(84, 53) + SourceIndex(0)
-+17>Emitted(72, 54) Source(84, 54) + SourceIndex(0)
-+18>Emitted(72, 57) Source(84, 57) + SourceIndex(0)
-+19>Emitted(72, 58) Source(84, 58) + SourceIndex(0)
-+20>Emitted(72, 60) Source(84, 60) + SourceIndex(0)
-+21>Emitted(72, 61) Source(84, 61) + SourceIndex(0)
-+22>Emitted(72, 63) Source(84, 63) + SourceIndex(0)
-+23>Emitted(72, 65) Source(84, 65) + SourceIndex(0)
-+24>Emitted(72, 66) Source(84, 66) + SourceIndex(0)
-+---
-+>>> console.log(numberA3);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > numberA3
-+7 > )
-+8 > ;
-+1 >Emitted(73, 5) Source(85, 5) + SourceIndex(0)
-+2 >Emitted(73, 12) Source(85, 12) + SourceIndex(0)
-+3 >Emitted(73, 13) Source(85, 13) + SourceIndex(0)
-+4 >Emitted(73, 16) Source(85, 16) + SourceIndex(0)
-+5 >Emitted(73, 17) Source(85, 17) + SourceIndex(0)
-+6 >Emitted(73, 25) Source(85, 25) + SourceIndex(0)
-+7 >Emitted(73, 26) Source(85, 26) + SourceIndex(0)
-+8 >Emitted(73, 27) Source(85, 27) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(74, 1) Source(86, 1) + SourceIndex(0)
-+2 >Emitted(74, 2) Source(86, 2) + SourceIndex(0)
-+---
-+>>>for ([numberA3, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > numberA3
-+5 > ,
-+6 > ...
-+7 > robotAInfo
-+8 > ]
-+9 > =
-+10> [
-+11> 2
-+12> ,
-+13> "trimmer"
-+14> ,
-+15> "trimming"
-+16> ]
-+17> ,
-+18> i
-+19> =
-+20> 0
-+21> ;
-+22> i
-+23> <
-+24> 1
-+25> ;
-+26> i
-+27> ++
-+28> )
-+29> {
-+1->Emitted(75, 1) Source(87, 1) + SourceIndex(0)
-+2 >Emitted(75, 6) Source(87, 6) + SourceIndex(0)
-+3 >Emitted(75, 7) Source(87, 7) + SourceIndex(0)
-+4 >Emitted(75, 15) Source(87, 15) + SourceIndex(0)
-+5 >Emitted(75, 17) Source(87, 17) + SourceIndex(0)
-+6 >Emitted(75, 20) Source(87, 20) + SourceIndex(0)
-+7 >Emitted(75, 30) Source(87, 30) + SourceIndex(0)
-+8 >Emitted(75, 31) Source(87, 31) + SourceIndex(0)
-+9 >Emitted(75, 34) Source(87, 41) + SourceIndex(0)
-+10>Emitted(75, 35) Source(87, 42) + SourceIndex(0)
-+11>Emitted(75, 36) Source(87, 43) + SourceIndex(0)
-+12>Emitted(75, 38) Source(87, 45) + SourceIndex(0)
-+13>Emitted(75, 47) Source(87, 54) + SourceIndex(0)
-+14>Emitted(75, 49) Source(87, 56) + SourceIndex(0)
-+15>Emitted(75, 59) Source(87, 66) + SourceIndex(0)
-+16>Emitted(75, 60) Source(87, 67) + SourceIndex(0)
-+17>Emitted(75, 62) Source(87, 69) + SourceIndex(0)
-+18>Emitted(75, 63) Source(87, 70) + SourceIndex(0)
-+19>Emitted(75, 66) Source(87, 73) + SourceIndex(0)
-+20>Emitted(75, 67) Source(87, 74) + SourceIndex(0)
-+21>Emitted(75, 69) Source(87, 76) + SourceIndex(0)
-+22>Emitted(75, 70) Source(87, 77) + SourceIndex(0)
-+23>Emitted(75, 73) Source(87, 80) + SourceIndex(0)
-+24>Emitted(75, 74) Source(87, 81) + SourceIndex(0)
-+25>Emitted(75, 76) Source(87, 83) + SourceIndex(0)
-+26>Emitted(75, 77) Source(87, 84) + SourceIndex(0)
-+27>Emitted(75, 79) Source(87, 86) + SourceIndex(0)
-+28>Emitted(75, 81) Source(87, 88) + SourceIndex(0)
-+29>Emitted(75, 82) Source(87, 89) + SourceIndex(0)
-+---
-+>>> console.log(numberA3);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > numberA3
-+7 > )
-+8 > ;
-+1 >Emitted(76, 5) Source(88, 5) + SourceIndex(0)
-+2 >Emitted(76, 12) Source(88, 12) + SourceIndex(0)
-+3 >Emitted(76, 13) Source(88, 13) + SourceIndex(0)
-+4 >Emitted(76, 16) Source(88, 16) + SourceIndex(0)
-+5 >Emitted(76, 17) Source(88, 17) + SourceIndex(0)
-+6 >Emitted(76, 25) Source(88, 25) + SourceIndex(0)
-+7 >Emitted(76, 26) Source(88, 26) + SourceIndex(0)
-+8 >Emitted(76, 27) Source(88, 27) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(77, 1) Source(89, 1) + SourceIndex(0)
-+2 >Emitted(77, 2) Source(89, 2) + SourceIndex(0)
-+---
-+>>>for ([...multiRobotAInfo] = multiRobotA, i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^^^^^^^^^^^^^^^
-+6 > ^
-+7 > ^^^
-+8 > ^^^^^^^^^^^
-+9 > ^^
-+10> ^
-+11> ^^^
-+12> ^
-+13> ^^
-+14> ^
-+15> ^^^
-+16> ^
-+17> ^^
-+18> ^
-+19> ^^
-+20> ^^
-+21> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > ...
-+5 > multiRobotAInfo
-+6 > ]
-+7 > =
-+8 > multiRobotA
-+9 > ,
-+10> i
-+11> =
-+12> 0
-+13> ;
-+14> i
-+15> <
-+16> 1
-+17> ;
-+18> i
-+19> ++
-+20> )
-+21> {
-+1->Emitted(78, 1) Source(90, 1) + SourceIndex(0)
-+2 >Emitted(78, 6) Source(90, 6) + SourceIndex(0)
-+3 >Emitted(78, 7) Source(90, 7) + SourceIndex(0)
-+4 >Emitted(78, 10) Source(90, 10) + SourceIndex(0)
-+5 >Emitted(78, 25) Source(90, 25) + SourceIndex(0)
-+6 >Emitted(78, 26) Source(90, 26) + SourceIndex(0)
-+7 >Emitted(78, 29) Source(90, 29) + SourceIndex(0)
-+8 >Emitted(78, 40) Source(90, 40) + SourceIndex(0)
-+9 >Emitted(78, 42) Source(90, 42) + SourceIndex(0)
-+10>Emitted(78, 43) Source(90, 43) + SourceIndex(0)
-+11>Emitted(78, 46) Source(90, 46) + SourceIndex(0)
-+12>Emitted(78, 47) Source(90, 47) + SourceIndex(0)
-+13>Emitted(78, 49) Source(90, 49) + SourceIndex(0)
-+14>Emitted(78, 50) Source(90, 50) + SourceIndex(0)
-+15>Emitted(78, 53) Source(90, 53) + SourceIndex(0)
-+16>Emitted(78, 54) Source(90, 54) + SourceIndex(0)
-+17>Emitted(78, 56) Source(90, 56) + SourceIndex(0)
-+18>Emitted(78, 57) Source(90, 57) + SourceIndex(0)
-+19>Emitted(78, 59) Source(90, 59) + SourceIndex(0)
-+20>Emitted(78, 61) Source(90, 61) + SourceIndex(0)
-+21>Emitted(78, 62) Source(90, 62) + SourceIndex(0)
-+---
-+>>> console.log(multiRobotAInfo);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > multiRobotAInfo
-+7 > )
-+8 > ;
-+1 >Emitted(79, 5) Source(91, 5) + SourceIndex(0)
-+2 >Emitted(79, 12) Source(91, 12) + SourceIndex(0)
-+3 >Emitted(79, 13) Source(91, 13) + SourceIndex(0)
-+4 >Emitted(79, 16) Source(91, 16) + SourceIndex(0)
-+5 >Emitted(79, 17) Source(91, 17) + SourceIndex(0)
-+6 >Emitted(79, 32) Source(91, 32) + SourceIndex(0)
-+7 >Emitted(79, 33) Source(91, 33) + SourceIndex(0)
-+8 >Emitted(79, 34) Source(91, 34) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(80, 1) Source(92, 1) + SourceIndex(0)
-+2 >Emitted(80, 2) Source(92, 2) + SourceIndex(0)
-+---
-+>>>for ([...multiRobotAInfo] = getMultiRobot(), i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^^^^^^^^^^^^^^^
-+6 > ^
-+7 > ^^^
-+8 > ^^^^^^^^^^^^^
-+9 > ^^
-+10> ^^
-+11> ^
-+12> ^^^
-+13> ^
-+14> ^^
-+15> ^
-+16> ^^^
-+17> ^
-+18> ^^
-+19> ^
-+20> ^^
-+21> ^^
-+22> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > ...
-+5 > multiRobotAInfo
-+6 > ]
-+7 > =
-+8 > getMultiRobot
-+9 > ()
-+10> ,
-+11> i
-+12> =
-+13> 0
-+14> ;
-+15> i
-+16> <
-+17> 1
-+18> ;
-+19> i
-+20> ++
-+21> )
-+22> {
-+1->Emitted(81, 1) Source(93, 1) + SourceIndex(0)
-+2 >Emitted(81, 6) Source(93, 6) + SourceIndex(0)
-+3 >Emitted(81, 7) Source(93, 7) + SourceIndex(0)
-+4 >Emitted(81, 10) Source(93, 10) + SourceIndex(0)
-+5 >Emitted(81, 25) Source(93, 25) + SourceIndex(0)
-+6 >Emitted(81, 26) Source(93, 26) + SourceIndex(0)
-+7 >Emitted(81, 29) Source(93, 29) + SourceIndex(0)
-+8 >Emitted(81, 42) Source(93, 42) + SourceIndex(0)
-+9 >Emitted(81, 44) Source(93, 44) + SourceIndex(0)
-+10>Emitted(81, 46) Source(93, 46) + SourceIndex(0)
-+11>Emitted(81, 47) Source(93, 47) + SourceIndex(0)
-+12>Emitted(81, 50) Source(93, 50) + SourceIndex(0)
-+13>Emitted(81, 51) Source(93, 51) + SourceIndex(0)
-+14>Emitted(81, 53) Source(93, 53) + SourceIndex(0)
-+15>Emitted(81, 54) Source(93, 54) + SourceIndex(0)
-+16>Emitted(81, 57) Source(93, 57) + SourceIndex(0)
-+17>Emitted(81, 58) Source(93, 58) + SourceIndex(0)
-+18>Emitted(81, 60) Source(93, 60) + SourceIndex(0)
-+19>Emitted(81, 61) Source(93, 61) + SourceIndex(0)
-+20>Emitted(81, 63) Source(93, 63) + SourceIndex(0)
-+21>Emitted(81, 65) Source(93, 65) + SourceIndex(0)
-+22>Emitted(81, 66) Source(93, 66) + SourceIndex(0)
-+---
-+>>> console.log(multiRobotAInfo);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > multiRobotAInfo
-+7 > )
-+8 > ;
-+1 >Emitted(82, 5) Source(94, 5) + SourceIndex(0)
-+2 >Emitted(82, 12) Source(94, 12) + SourceIndex(0)
-+3 >Emitted(82, 13) Source(94, 13) + SourceIndex(0)
-+4 >Emitted(82, 16) Source(94, 16) + SourceIndex(0)
-+5 >Emitted(82, 17) Source(94, 17) + SourceIndex(0)
-+6 >Emitted(82, 32) Source(94, 32) + SourceIndex(0)
-+7 >Emitted(82, 33) Source(94, 33) + SourceIndex(0)
-+8 >Emitted(82, 34) Source(94, 34) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(83, 1) Source(95, 1) + SourceIndex(0)
-+2 >Emitted(83, 2) Source(95, 2) + SourceIndex(0)
-+---
-+>>>for ([...multiRobotAInfo] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^^^^^^^^^^^^^^^
-+6 > ^
-+7 > ^^^
-+8 > ^
-+9 > ^^^^^^^^^
-+10> ^^
-+11> ^
-+12> ^^^^^^^^^^
-+13> ^^
-+14> ^^^^^^^^
- 15> ^
--16> ^^
--17> ^
--18> ^^^
--19> ^
--20> ^^
--21> ^
--22> ^^
--23> ^^
-+16> ^
-+17> ^^
-+18> ^
-+19> ^^^
-+20> ^
-+21> ^^
-+22> ^
-+23> ^^^
- 24> ^
--1->
-- >
-- >
--2 >for ([
--3 > numberA3
--4 > , ...robotAInfo] =
--5 > robotA
--6 >
--7 > , ...
--8 > robotAInfo
--9 > ] =
--10> robotA
--11>
--12> ] = robotA,
--13> i
--14> =
--15> 0
--16> ;
--17> i
--18> <
--19> 1
--20> ;
--21> i
--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)
-----
-->>> console.log(numberA3);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(72, 1) Source(83, 1) + SourceIndex(0)
--2 >Emitted(72, 2) Source(83, 2) + SourceIndex(0)
-----
-->>>for (_q = getRobot(), numberA3 = _q[0], robotAInfo = _q.slice(1), i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^^^^^^^
--5 > ^^
--6 > ^^
--7 > ^^^^^^^^
--8 > ^^^^^^^^
--9 > ^^
--10> ^^^^^^^^^^
--11> ^^^^^^^^^^^^^^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^^
--19> ^
--20> ^^
--21> ^
--22> ^^
--23> ^^
--24> ^
--1->
-- >
--2 >for (
--3 > [numberA3, ...robotAInfo] =
--4 > getRobot
--5 > ()
--6 >
--7 > numberA3
--8 >
--9 > , ...
--10> robotAInfo
--11>
--12> ] = getRobot(),
--13> i
--14> =
--15> 0
--16> ;
--17> i
--18> <
--19> 1
--20> ;
--21> i
--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)
-----
-->>> console.log(numberA3);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(75, 1) Source(86, 1) + SourceIndex(0)
--2 >Emitted(75, 2) Source(86, 2) + SourceIndex(0)
-----
-->>>for (_r = [2, "trimmer", "trimming"], numberA3 = _r[0], robotAInfo = _r.slice(1), i = 0; i < 1; i++) {
--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> ^
--1->
-- >
--2 >for (
--3 > [numberA3, ...robotAInfo] =
--4 > [
--5 > 2
--6 > ,
--7 > "trimmer"
--8 > ,
--9 > "trimming"
--10> ]
--11>
--12> numberA3
--13>
--14> , ...
--15> robotAInfo
--16>
--17> ] = [2, "trimmer", "trimming"],
--18> i
--19> =
--20> 0
--21> ;
--22> i
--23> <
--24> 1
--25> ;
--26> i
--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)
-----
-->>> console.log(numberA3);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(78, 1) Source(89, 1) + SourceIndex(0)
--2 >Emitted(78, 2) Source(89, 2) + SourceIndex(0)
-----
-->>>for (multiRobotAInfo = multiRobotA.slice(0), i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^^^^^^^^^^^
--4 > ^^^
--5 > ^^^^^^^^^^^
--6 > ^^^^^^^^^
--7 > ^^
--8 > ^
--9 > ^^^
--10> ^
--11> ^^
--12> ^
--13> ^^^
--14> ^
--15> ^^
--16> ^
--17> ^^
--18> ^^
--19> ^
--1->
-- >
--2 >for ([...
--3 > multiRobotAInfo
--4 > ] =
--5 > multiRobotA
--6 >
--7 > ] = multiRobotA,
--8 > i
--9 > =
--10> 0
--11> ;
--12> i
--13> <
--14> 1
--15> ;
--16> i
--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)
-----
-->>> console.log(multiRobotAInfo);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(81, 1) Source(92, 1) + SourceIndex(0)
--2 >Emitted(81, 2) Source(92, 2) + SourceIndex(0)
-----
-->>>for (multiRobotAInfo = getMultiRobot().slice(0), i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^^^^^^^^^^^
--4 > ^^^
--5 > ^^^^^^^^^^^^^
--6 > ^^
--7 > ^^^^^^^^^
--8 > ^^
--9 > ^
--10> ^^^
--11> ^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^
--19> ^^
--20> ^
--1->
-- >
--2 >for ([...
--3 > multiRobotAInfo
--4 > ] =
--5 > getMultiRobot
--6 > ()
--7 >
--8 > ] = getMultiRobot(),
--9 > i
--10> =
--11> 0
--12> ;
--13> i
--14> <
--15> 1
--16> ;
--17> i
--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)
-----
-->>> console.log(multiRobotAInfo);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(84, 1) Source(95, 1) + SourceIndex(0)
--2 >Emitted(84, 2) Source(95, 2) + SourceIndex(0)
-----
-->>>for (multiRobotAInfo = ["trimmer", ["trimming", "edging"]].slice(0), i = 0; i < 1; i++) {
--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> ^
--1->
-- >
--2 >for ([...
--3 > multiRobotAInfo
--4 > ] =
--5 > [
--6 > "trimmer"
--7 > ,
--8 > [
--9 > "trimming"
--10> ,
--11> "edging"
--12> ]
--13> ]
--14>
--15> ] = ["trimmer", ["trimming", "edging"]],
--16> i
--17> =
--18> 0
--19> ;
--20> i
--21> <
--22> 1
--23> ;
--24> i
--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)
-----
-->>> console.log(multiRobotAInfo);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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)
-+25> ^^
-+26> ^
-+27> ^^
-+28> ^^
-+29> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > ...
-+5 > multiRobotAInfo
-+6 > ]
-+7 > =
-+8 > [
-+9 > "trimmer"
-+10> ,
-+11> [
-+12> "trimming"
-+13> ,
-+14> "edging"
-+15> ]
-+16> ]
-+17> ,
-+18> i
-+19> =
-+20> 0
-+21> ;
-+22> i
-+23> <
-+24> 1
-+25> ;
-+26> i
-+27> ++
-+28> )
-+29> {
-+1->Emitted(84, 1) Source(96, 1) + SourceIndex(0)
-+2 >Emitted(84, 6) Source(96, 6) + SourceIndex(0)
-+3 >Emitted(84, 7) Source(96, 7) + SourceIndex(0)
-+4 >Emitted(84, 10) Source(96, 10) + SourceIndex(0)
-+5 >Emitted(84, 25) Source(96, 25) + SourceIndex(0)
-+6 >Emitted(84, 26) Source(96, 26) + SourceIndex(0)
-+7 >Emitted(84, 29) Source(96, 48) + SourceIndex(0)
-+8 >Emitted(84, 30) Source(96, 49) + SourceIndex(0)
-+9 >Emitted(84, 39) Source(96, 58) + SourceIndex(0)
-+10>Emitted(84, 41) Source(96, 60) + SourceIndex(0)
-+11>Emitted(84, 42) Source(96, 61) + SourceIndex(0)
-+12>Emitted(84, 52) Source(96, 71) + SourceIndex(0)
-+13>Emitted(84, 54) Source(96, 73) + SourceIndex(0)
-+14>Emitted(84, 62) Source(96, 81) + SourceIndex(0)
-+15>Emitted(84, 63) Source(96, 82) + SourceIndex(0)
-+16>Emitted(84, 64) Source(96, 83) + SourceIndex(0)
-+17>Emitted(84, 66) Source(96, 85) + SourceIndex(0)
-+18>Emitted(84, 67) Source(96, 86) + SourceIndex(0)
-+19>Emitted(84, 70) Source(96, 89) + SourceIndex(0)
-+20>Emitted(84, 71) Source(96, 90) + SourceIndex(0)
-+21>Emitted(84, 73) Source(96, 92) + SourceIndex(0)
-+22>Emitted(84, 74) Source(96, 93) + SourceIndex(0)
-+23>Emitted(84, 77) Source(96, 96) + SourceIndex(0)
-+24>Emitted(84, 78) Source(96, 97) + SourceIndex(0)
-+25>Emitted(84, 80) Source(96, 99) + SourceIndex(0)
-+26>Emitted(84, 81) Source(96, 100) + SourceIndex(0)
-+27>Emitted(84, 83) Source(96, 102) + SourceIndex(0)
-+28>Emitted(84, 85) Source(96, 104) + SourceIndex(0)
-+29>Emitted(84, 86) Source(96, 105) + SourceIndex(0)
-+---
-+>>> console.log(multiRobotAInfo);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > multiRobotAInfo
-+7 > )
-+8 > ;
-+1 >Emitted(85, 5) Source(97, 5) + SourceIndex(0)
-+2 >Emitted(85, 12) Source(97, 12) + SourceIndex(0)
-+3 >Emitted(85, 13) Source(97, 13) + SourceIndex(0)
-+4 >Emitted(85, 16) Source(97, 16) + SourceIndex(0)
-+5 >Emitted(85, 17) Source(97, 17) + SourceIndex(0)
-+6 >Emitted(85, 32) Source(97, 32) + SourceIndex(0)
-+7 >Emitted(85, 33) Source(97, 33) + SourceIndex(0)
-+8 >Emitted(85, 34) Source(97, 34) + SourceIndex(0)
- ---
- >>>}
- 1 >
-@@= skipped -686, +701 lines =@@
- 1 >
- >
- 2 >}
--1 >Emitted(87, 1) Source(98, 1) + SourceIndex(0)
--2 >Emitted(87, 2) Source(98, 2) + SourceIndex(0)
-+1 >Emitted(86, 1) Source(98, 1) + SourceIndex(0)
-+2 >Emitted(86, 2) Source(98, 2) + SourceIndex(0)
+ 2 >Emitted(9, 2) Source(16, 2) + SourceIndex(0)
---
- >>>//# sourceMappingURL=sourceMapValidationDestructuringForArrayBindingPattern2.js.map
\ No newline at end of file
+ >>>let nameA, primarySkillA, secondarySkillA;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.diff
deleted file mode 100644
index 529f8b369c..0000000000
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.diff
+++ /dev/null
@@ -1,143 +0,0 @@
---- old.sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js
-+++ new.sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js
-@@= skipped -110, +110 lines =@@
- }
-
- //// [sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js]
--var robotA = [1, "mower", "mowing"];
-+let robotA = [1, "mower", "mowing"];
- function getRobot() {
- return robotA;
- }
--var multiRobotA = ["mower", ["mowing", ""]];
--var multiRobotB = ["trimmer", ["trimming", "edging"]];
-+let multiRobotA = ["mower", ["mowing", ""]];
-+let multiRobotB = ["trimmer", ["trimming", "edging"]];
- function getMultiRobot() {
- return multiRobotA;
- }
--for (var _a = robotA[1], nameA = _a === void 0 ? "name" : _a, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (var _b = getRobot(), _c = _b[1], nameA = _c === void 0 ? "name" : _c, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (var _d = [2, "trimmer", "trimming"], _e = _d[1], nameA = _e === void 0 ? "name" : _e, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--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++) {
-- console.log(primarySkillA);
--}
--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++) {
-- console.log(primarySkillA);
--}
--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++) {
-- console.log(primarySkillA);
--}
--for (var _v = robotA[0], numberB = _v === void 0 ? -1 : _v, i = 0; i < 1; i++) {
-- console.log(numberB);
--}
--for (var _w = getRobot()[0], numberB = _w === void 0 ? -1 : _w, i = 0; i < 1; i++) {
-- console.log(numberB);
--}
--for (var _x = [2, "trimmer", "trimming"][0], numberB = _x === void 0 ? -1 : _x, i = 0; i < 1; i++) {
-- console.log(numberB);
--}
--for (var _y = multiRobotA[0], nameB = _y === void 0 ? "name" : _y, i = 0; i < 1; i++) {
-- console.log(nameB);
--}
--for (var _z = getMultiRobot()[0], nameB = _z === void 0 ? "name" : _z, i = 0; i < 1; i++) {
-- console.log(nameB);
--}
--for (var _0 = ["trimmer", ["trimming", "edging"]][0], nameB = _0 === void 0 ? "name" : _0, i = 0; i < 1; i++) {
-- console.log(nameB);
--}
--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++) {
-- console.log(nameA2);
--}
--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++) {
-- console.log(nameA2);
--}
--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++) {
-- console.log(nameA2);
--}
--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++) {
-- console.log(nameMA);
--}
--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++) {
-- console.log(nameMA);
--}
--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++) {
-- console.log(nameMA);
--}
--for (var _29 = robotA[0], numberA3 = _29 === void 0 ? -1 : _29, robotAInfo = robotA.slice(1), i = 0; i < 1; i++) {
-- console.log(numberA3);
--}
--for (var _30 = getRobot(), _31 = _30[0], numberA3 = _31 === void 0 ? -1 : _31, robotAInfo = _30.slice(1), i = 0; i < 1; i++) {
-- console.log(numberA3);
--}
--for (var _32 = [2, "trimmer", "trimming"], _33 = _32[0], numberA3 = _33 === void 0 ? -1 : _33, robotAInfo = _32.slice(1), i = 0; i < 1; i++) {
-+for (let [, nameA = "name"] = robotA, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for (let [, nameA = "name"] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for (let [, nameA = "name"] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for (let [, [primarySkillA = "primary", secondarySkillA = "secondary"] = ["none", "none"]] = multiRobotA, i = 0; i < 1; i++) {
-+ console.log(primarySkillA);
-+}
-+for (let [, [primarySkillA = "primary", secondarySkillA = "secondary"] = ["none", "none"]] = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(primarySkillA);
-+}
-+for (let [, [primarySkillA = "primary", secondarySkillA = "secondary"] = ["none", "none"]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+ console.log(primarySkillA);
-+}
-+for (let [numberB = -1] = robotA, i = 0; i < 1; i++) {
-+ console.log(numberB);
-+}
-+for (let [numberB = -1] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(numberB);
-+}
-+for (let [numberB = -1] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+ console.log(numberB);
-+}
-+for (let [nameB = "name"] = multiRobotA, i = 0; i < 1; i++) {
-+ console.log(nameB);
-+}
-+for (let [nameB = "name"] = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(nameB);
-+}
-+for (let [nameB = "name"] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+ console.log(nameB);
-+}
-+for (let [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = robotA, i = 0; i < 1; i++) {
-+ console.log(nameA2);
-+}
-+for (let [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(nameA2);
-+}
-+for (let [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+ console.log(nameA2);
-+}
-+for (let [nameMA = "noName", [primarySkillA = "primary", secondarySkillA = "secondary"] = ["none", "none"]] = multiRobotA, i = 0; i < 1; i++) {
-+ console.log(nameMA);
-+}
-+for (let [nameMA = "noName", [primarySkillA = "primary", secondarySkillA = "secondary"] = ["none", "none"]] = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(nameMA);
-+}
-+for (let [nameMA = "noName", [primarySkillA = "primary", secondarySkillA = "secondary"] = ["none", "none"]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+ console.log(nameMA);
-+}
-+for (let [numberA3 = -1, ...robotAInfo] = robotA, i = 0; i < 1; i++) {
-+ console.log(numberA3);
-+}
-+for (let [numberA3 = -1, ...robotAInfo] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(numberA3);
-+}
-+for (let [numberA3 = -1, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
- console.log(numberA3);
- }
- //# sourceMappingURL=sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.map.diff
index 63ab411c5a..6d6e998e14 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.map
@@= skipped -0, +0 lines =@@
//// [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,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vbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSBbMiwgInRyaW1tZXIiLCAidHJpbW1pbmciXSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQ==
+-{"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,KAAK,IAAI,CAAC,EAAE,KAAK,GAAE,MAAM,CAAC,GAAG,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IACrD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAK,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC,GAAG,QAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IAC1D,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAK,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC,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NraWxsQSA9ICJzZWNvbmRhcnkiCiAgICBdID0gWyJub25lIiwgIm5vbmUiXQpdICA9IGdldE11bHRpUm9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG5hbWVNQSk7Cn0KZm9yIChsZXQgW25hbWVNQSA9ICJub05hbWUiLAogICAgWwogICAgICAgIHByaW1hcnlTa2lsbEEgPSAicHJpbWFyeSIsCiAgICAgICAgc2Vjb25kYXJ5U2tpbGxBID0gInNlY29uZGFyeSIKICAgIF0gPSBbIm5vbmUiLCAibm9uZSJdCl0gID0gWyJ0cmltbWVyIiwgWyJ0cmltbWluZyIsICJlZGdpbmciXV0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhuYW1lTUEpOwp9Cgpmb3IgKGxldCBbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSByb2JvdEEsIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChsZXQgW251bWJlckEzID0gLTEsIC4uLnJvYm90QUluZm9dID0gZ2V0Um9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSBbMiwgInRyaW1tZXIiLCAidHJpbW1pbmciXSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQ==
+{"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,GAAG;IAChB,OAAO,MA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pbmciXV0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhuYW1lTUEpOwp9Cgpmb3IgKGxldCBbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSByb2JvdEEsIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChsZXQgW251bWJlckEzID0gLTEsIC4uLnJvYm90QUluZm9dID0gZ2V0Um9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSBbMiwgInRyaW1tZXIiLCAidHJpbW1pbmciXSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQ==
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.sourcemap.txt.diff
index 62ed2f24a5..8cb96c0fc9 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.sourcemap.txt.diff
@@ -1,15 +1,6 @@
--- old.sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.sourcemap.txt
+++ new.sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js
- sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.ts
- -------------------------------------------------------------------
-->>>var robotA = [1, "mower", "mowing"];
-+>>>let robotA = [1, "mower", "mowing"];
- 1 >
- 2 >^^^^
- 3 > ^^^^^^
-@@= skipped -48, +48 lines =@@
+@@= skipped -55, +55 lines =@@
1 >
2 >^^^^^^^^^
3 > ^^^^^^^^
@@ -54,21 +45,8 @@
+1 >Emitted(4, 1) Source(9, 19) + SourceIndex(0)
2 >Emitted(4, 2) Source(10, 2) + SourceIndex(0)
---
-->>>var multiRobotA = ["mower", ["mowing", ""]];
-+>>>let multiRobotA = ["mower", ["mowing", ""]];
- 1->
- 2 >^^^^
- 3 > ^^^^^^^^^^^
-@@= skipped -52, +52 lines =@@
- 13>Emitted(5, 44) Source(12, 63) + SourceIndex(0)
- 14>Emitted(5, 45) Source(12, 64) + SourceIndex(0)
- ---
-->>>var multiRobotB = ["trimmer", ["trimming", "edging"]];
-+>>>let multiRobotB = ["trimmer", ["trimming", "edging"]];
- 1->
- 2 >^^^^
- 3 > ^^^^^^^^^^^
-@@= skipped -49, +49 lines =@@
+ >>>let multiRobotA = ["mower", ["mowing", ""]];
+@@= skipped -101, +101 lines =@@
1 >
2 >^^^^^^^^^
3 > ^^^^^^^^^^^^^
@@ -101,12 +79,9 @@
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)
-@@= skipped -27, +29 lines =@@
- >>>}
- 1 >
+@@= skipped -29, +31 lines =@@
2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
- >
-2 >}
@@ -116,4649 +91,4 @@
+1 >Emitted(9, 1) Source(15, 24) + SourceIndex(0)
2 >Emitted(9, 2) Source(16, 2) + SourceIndex(0)
---
-->>>for (var _a = robotA[1], nameA = _a === void 0 ? "name" : _a, i = 0; i < 1; i++) {
-+>>>for (let [, nameA = "name"] = robotA, i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
- 3 > ^^^^
--4 > ^^^^^
--5 > ^^^^^^
--6 > ^^^
--7 > ^^
--8 > ^^^^^
--9 > ^^^^^^^^^^^^^^^^^^^
--10> ^^^^^^
--11> ^^^^^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^^
--19> ^
--20> ^^
--21> ^
--22> ^^
--23> ^^
--24> ^
-+4 > ^
-+5 > ^^
-+6 > ^^^^^
-+7 > ^^^
-+8 > ^^^^^^
-+9 > ^
-+10> ^^^
-+11> ^^^^^^
-+12> ^^
-+13> ^
-+14> ^^^
-+15> ^
-+16> ^^
-+17> ^
-+18> ^^^
-+19> ^
-+20> ^^
-+21> ^
-+22> ^^
-+23> ^^
-+24> ^
- 1->
- >
- >
--2 >for (let [,
--3 >
--4 > nameA ="name"] =
--5 > robotA
--6 >
--7 >
--8 > nameA
--9 > =
--10> "name"
--11>
--12> ] = robotA,
--13> i
--14> =
--15> 0
--16> ;
--17> i
--18> <
--19> 1
--20> ;
--21> i
--22> ++
--23> )
--24> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > ,
-+6 > nameA
-+7 > =
-+8 > "name"
-+9 > ]
-+10> =
-+11> robotA
-+12> ,
-+13> i
-+14> =
-+15> 0
-+16> ;
-+17> i
-+18> <
-+19> 1
-+20> ;
-+21> i
-+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)
-+2 >Emitted(10, 6) Source(18, 6) + SourceIndex(0)
-+3 >Emitted(10, 10) Source(18, 10) + SourceIndex(0)
-+4 >Emitted(10, 11) Source(18, 11) + SourceIndex(0)
-+5 >Emitted(10, 13) Source(18, 13) + SourceIndex(0)
-+6 >Emitted(10, 18) Source(18, 18) + SourceIndex(0)
-+7 >Emitted(10, 21) Source(18, 20) + SourceIndex(0)
-+8 >Emitted(10, 27) Source(18, 26) + SourceIndex(0)
-+9 >Emitted(10, 28) Source(18, 27) + SourceIndex(0)
-+10>Emitted(10, 31) Source(18, 30) + SourceIndex(0)
-+11>Emitted(10, 37) Source(18, 36) + SourceIndex(0)
-+12>Emitted(10, 39) Source(18, 38) + SourceIndex(0)
-+13>Emitted(10, 40) Source(18, 39) + SourceIndex(0)
-+14>Emitted(10, 43) Source(18, 42) + SourceIndex(0)
-+15>Emitted(10, 44) Source(18, 43) + SourceIndex(0)
-+16>Emitted(10, 46) Source(18, 45) + SourceIndex(0)
-+17>Emitted(10, 47) Source(18, 46) + SourceIndex(0)
-+18>Emitted(10, 50) Source(18, 49) + SourceIndex(0)
-+19>Emitted(10, 51) Source(18, 50) + SourceIndex(0)
-+20>Emitted(10, 53) Source(18, 52) + SourceIndex(0)
-+21>Emitted(10, 54) Source(18, 53) + SourceIndex(0)
-+22>Emitted(10, 56) Source(18, 55) + SourceIndex(0)
-+23>Emitted(10, 58) Source(18, 57) + SourceIndex(0)
-+24>Emitted(10, 59) Source(18, 58) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -113, +113 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(12, 1) Source(20, 1) + SourceIndex(0)
- 2 >Emitted(12, 2) Source(20, 2) + SourceIndex(0)
- ---
-->>>for (var _b = getRobot(), _c = _b[1], nameA = _c === void 0 ? "name" : _c, i = 0; i < 1; i++) {
-+>>>for (let [, nameA = "name"] = getRobot(), i = 0; i < 1; i++) {
- 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> ^
-+4 > ^
-+5 > ^^
-+6 > ^^^^^
-+7 > ^^^
-+8 > ^^^^^^
-+9 > ^
-+10> ^^^
-+11> ^^^^^^^^
-+12> ^^
-+13> ^^
-+14> ^
-+15> ^^^
-+16> ^
-+17> ^^
-+18> ^
-+19> ^^^
-+20> ^
-+21> ^^
-+22> ^
-+23> ^^
-+24> ^^
-+25> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [, nameA = "name"] =
--5 > getRobot
--6 > ()
--7 >
--8 > nameA = "name"
--9 >
--10> nameA
--11> =
--12> "name"
--13>
--14> ] = getRobot(),
--15> i
--16> =
--17> 0
--18> ;
--19> i
--20> <
--21> 1
--22> ;
--23> i
--24> ++
--25> )
--26> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > ,
-+6 > nameA
-+7 > =
-+8 > "name"
-+9 > ]
-+10> =
-+11> getRobot
-+12> ()
-+13> ,
-+14> i
-+15> =
-+16> 0
-+17> ;
-+18> i
-+19> <
-+20> 1
-+21> ;
-+22> i
-+23> ++
-+24> )
-+25> {
- 1->Emitted(13, 1) Source(21, 1) + SourceIndex(0)
--2 >Emitted(13, 6) Source(21, 10) + SourceIndex(0)
-+2 >Emitted(13, 6) Source(21, 6) + 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)
-+4 >Emitted(13, 11) Source(21, 11) + SourceIndex(0)
-+5 >Emitted(13, 13) Source(21, 13) + SourceIndex(0)
-+6 >Emitted(13, 18) Source(21, 18) + SourceIndex(0)
-+7 >Emitted(13, 21) Source(21, 21) + SourceIndex(0)
-+8 >Emitted(13, 27) Source(21, 27) + SourceIndex(0)
-+9 >Emitted(13, 28) Source(21, 28) + SourceIndex(0)
-+10>Emitted(13, 31) Source(21, 31) + SourceIndex(0)
-+11>Emitted(13, 39) Source(21, 39) + SourceIndex(0)
-+12>Emitted(13, 41) Source(21, 41) + SourceIndex(0)
-+13>Emitted(13, 43) Source(21, 43) + SourceIndex(0)
-+14>Emitted(13, 44) Source(21, 44) + SourceIndex(0)
-+15>Emitted(13, 47) Source(21, 47) + SourceIndex(0)
-+16>Emitted(13, 48) Source(21, 48) + SourceIndex(0)
-+17>Emitted(13, 50) Source(21, 50) + SourceIndex(0)
-+18>Emitted(13, 51) Source(21, 51) + SourceIndex(0)
-+19>Emitted(13, 54) Source(21, 54) + SourceIndex(0)
-+20>Emitted(13, 55) Source(21, 55) + SourceIndex(0)
-+21>Emitted(13, 57) Source(21, 57) + SourceIndex(0)
-+22>Emitted(13, 58) Source(21, 58) + SourceIndex(0)
-+23>Emitted(13, 60) Source(21, 60) + SourceIndex(0)
-+24>Emitted(13, 62) Source(21, 62) + SourceIndex(0)
-+25>Emitted(13, 63) Source(21, 63) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -118, +115 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(15, 1) Source(23, 1) + SourceIndex(0)
- 2 >Emitted(15, 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++) {
-+>>>for (let [, nameA = "name"] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [, nameA = "name"] =
--5 > [
--6 > 2
--7 > ,
--8 > "trimmer"
--9 > ,
--10> "trimming"
--11> ]
--12>
--13> nameA = "name"
--14>
--15> nameA
--16> =
--17> "name"
--18>
--19> ] = [2, "trimmer", "trimming"],
--20> i
--21> =
--22> 0
--23> ;
--24> i
--25> <
--26> 1
--27> ;
--28> i
--29> ++
--30> )
--31> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > ,
-+6 > nameA
-+7 > =
-+8 > "name"
-+9 > ]
-+10> =
-+11> [
-+12> 2
-+13> ,
-+14> "trimmer"
-+15> ,
-+16> "trimming"
-+17> ]
-+18> ,
-+19> i
-+20> =
-+21> 0
-+22> ;
-+23> i
-+24> <
-+25> 1
-+26> ;
-+27> i
-+28> ++
-+29> )
-+30> {
- 1->Emitted(16, 1) Source(24, 1) + SourceIndex(0)
--2 >Emitted(16, 6) Source(24, 10) + SourceIndex(0)
-+2 >Emitted(16, 6) Source(24, 6) + 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)
-+4 >Emitted(16, 11) Source(24, 11) + SourceIndex(0)
-+5 >Emitted(16, 13) Source(24, 13) + SourceIndex(0)
-+6 >Emitted(16, 18) Source(24, 18) + SourceIndex(0)
-+7 >Emitted(16, 21) Source(24, 21) + SourceIndex(0)
-+8 >Emitted(16, 27) Source(24, 27) + SourceIndex(0)
-+9 >Emitted(16, 28) Source(24, 28) + SourceIndex(0)
-+10>Emitted(16, 31) Source(24, 31) + SourceIndex(0)
-+11>Emitted(16, 32) Source(24, 32) + SourceIndex(0)
-+12>Emitted(16, 33) Source(24, 33) + SourceIndex(0)
-+13>Emitted(16, 35) Source(24, 35) + SourceIndex(0)
-+14>Emitted(16, 44) Source(24, 44) + SourceIndex(0)
-+15>Emitted(16, 46) Source(24, 46) + SourceIndex(0)
-+16>Emitted(16, 56) Source(24, 56) + SourceIndex(0)
-+17>Emitted(16, 57) Source(24, 57) + SourceIndex(0)
-+18>Emitted(16, 59) Source(24, 59) + SourceIndex(0)
-+19>Emitted(16, 60) Source(24, 60) + SourceIndex(0)
-+20>Emitted(16, 63) Source(24, 63) + SourceIndex(0)
-+21>Emitted(16, 64) Source(24, 64) + SourceIndex(0)
-+22>Emitted(16, 66) Source(24, 66) + SourceIndex(0)
-+23>Emitted(16, 67) Source(24, 67) + SourceIndex(0)
-+24>Emitted(16, 70) Source(24, 70) + SourceIndex(0)
-+25>Emitted(16, 71) Source(24, 71) + SourceIndex(0)
-+26>Emitted(16, 73) Source(24, 73) + SourceIndex(0)
-+27>Emitted(16, 74) Source(24, 74) + SourceIndex(0)
-+28>Emitted(16, 76) Source(24, 76) + SourceIndex(0)
-+29>Emitted(16, 78) Source(24, 78) + SourceIndex(0)
-+30>Emitted(16, 79) Source(24, 79) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -133, +130 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(18, 1) Source(26, 1) + SourceIndex(0)
- 2 >Emitted(18, 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++) {
-+>>>for (let [, [primarySkillA = "primary", secondarySkillA = "secondary"] = ["none", "none"]] = multiRobotA, i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let [,
--3 >
-+2 >for (
-+3 > let
- 4 > [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]] =
--5 > multiRobotA
--6 >
--7 >
--8 > [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] =
--9 > [
--10> "none"
--11> ,
--12> "none"
--13> ]
--14>
--15>
--16> primarySkillA = "primary"
--17>
--18> primarySkillA
--19> =
--20> "primary"
--21>
--22> ,
-- >
--23> secondarySkillA = "secondary"
--24>
--25> secondarySkillA
--26> =
--27> "secondary"
--28>
--29>
-- > ] = ["none", "none"]] = multiRobotA,
--30> i
--31> =
--32> 0
--33> ;
--34> i
--35> <
--36> 1
--37> ;
--38> i
--39> ++
--40> )
--41> {
-+5 > ,
-+6 > [
-+ >
-+7 > primarySkillA
-+8 > =
-+9 > "primary"
-+10> ,
-+ >
-+11> secondarySkillA
-+12> =
-+13> "secondary"
-+14>
-+ > ]
-+15> =
-+16> [
-+17> "none"
-+18> ,
-+19> "none"
-+20> ]
-+21> ]
-+22> =
-+23> multiRobotA
-+24> ,
-+25> i
-+26> =
-+27> 0
-+28> ;
-+29> i
-+30> <
-+31> 1
-+32> ;
-+33> i
-+34> ++
-+35> )
-+36> {
- 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)
-+2 >Emitted(19, 6) Source(27, 6) + SourceIndex(0)
-+3 >Emitted(19, 10) Source(27, 10) + SourceIndex(0)
-+4 >Emitted(19, 11) Source(27, 11) + SourceIndex(0)
-+5 >Emitted(19, 13) Source(27, 13) + SourceIndex(0)
-+6 >Emitted(19, 14) Source(28, 5) + SourceIndex(0)
-+7 >Emitted(19, 27) Source(28, 18) + SourceIndex(0)
-+8 >Emitted(19, 30) Source(28, 21) + SourceIndex(0)
-+9 >Emitted(19, 39) Source(28, 30) + SourceIndex(0)
-+10>Emitted(19, 41) Source(29, 5) + SourceIndex(0)
-+11>Emitted(19, 56) Source(29, 20) + SourceIndex(0)
-+12>Emitted(19, 59) Source(29, 23) + SourceIndex(0)
-+13>Emitted(19, 70) Source(29, 34) + SourceIndex(0)
-+14>Emitted(19, 71) Source(30, 2) + SourceIndex(0)
-+15>Emitted(19, 74) Source(30, 5) + SourceIndex(0)
-+16>Emitted(19, 75) Source(30, 6) + SourceIndex(0)
-+17>Emitted(19, 81) Source(30, 12) + SourceIndex(0)
-+18>Emitted(19, 83) Source(30, 14) + SourceIndex(0)
-+19>Emitted(19, 89) Source(30, 20) + SourceIndex(0)
-+20>Emitted(19, 90) Source(30, 21) + SourceIndex(0)
-+21>Emitted(19, 91) Source(30, 22) + SourceIndex(0)
-+22>Emitted(19, 94) Source(30, 25) + SourceIndex(0)
-+23>Emitted(19, 105) Source(30, 36) + SourceIndex(0)
-+24>Emitted(19, 107) Source(30, 38) + SourceIndex(0)
-+25>Emitted(19, 108) Source(30, 39) + SourceIndex(0)
-+26>Emitted(19, 111) Source(30, 42) + SourceIndex(0)
-+27>Emitted(19, 112) Source(30, 43) + SourceIndex(0)
-+28>Emitted(19, 114) Source(30, 45) + SourceIndex(0)
-+29>Emitted(19, 115) Source(30, 46) + SourceIndex(0)
-+30>Emitted(19, 118) Source(30, 49) + SourceIndex(0)
-+31>Emitted(19, 119) Source(30, 50) + SourceIndex(0)
-+32>Emitted(19, 121) Source(30, 52) + SourceIndex(0)
-+33>Emitted(19, 122) Source(30, 53) + SourceIndex(0)
-+34>Emitted(19, 124) Source(30, 55) + SourceIndex(0)
-+35>Emitted(19, 126) Source(30, 57) + SourceIndex(0)
-+36>Emitted(19, 127) Source(30, 58) + SourceIndex(0)
- ---
- >>> console.log(primarySkillA);
- 1 >^^^^
-@@= skipped -171, +151 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(21, 1) Source(32, 1) + SourceIndex(0)
- 2 >Emitted(21, 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++) {
-+>>>for (let [, [primarySkillA = "primary", secondarySkillA = "secondary"] = ["none", "none"]] = getMultiRobot(), i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [, [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]] =
--5 > getMultiRobot
--6 > ()
--7 >
--8 > [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
--9 >
--10> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] =
--11> [
--12> "none"
--13> ,
--14> "none"
--15> ]
--16>
--17>
--18> primarySkillA = "primary"
--19>
--20> primarySkillA
--21> =
--22> "primary"
--23>
--24> ,
-- >
--25> secondarySkillA = "secondary"
--26>
--27> secondarySkillA
--28> =
--29> "secondary"
--30>
--31>
-- > ] = ["none", "none"]] = getMultiRobot(),
--32> i
--33> =
--34> 0
--35> ;
--36> i
--37> <
--38> 1
--39> ;
--40> i
--41> ++
--42> )
--43> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > ,
-+6 > [
-+ >
-+7 > primarySkillA
-+8 > =
-+9 > "primary"
-+10> ,
-+ >
-+11> secondarySkillA
-+12> =
-+13> "secondary"
-+14>
-+ > ]
-+15> =
-+16> [
-+17> "none"
-+18> ,
-+19> "none"
-+20> ]
-+21> ]
-+22> =
-+23> getMultiRobot
-+24> ()
-+25> ,
-+26> i
-+27> =
-+28> 0
-+29> ;
-+30> i
-+31> <
-+32> 1
-+33> ;
-+34> i
-+35> ++
-+36> )
-+37> {
- 1->Emitted(22, 1) Source(33, 1) + SourceIndex(0)
--2 >Emitted(22, 6) Source(33, 10) + SourceIndex(0)
-+2 >Emitted(22, 6) Source(33, 6) + 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)
-+4 >Emitted(22, 11) Source(33, 11) + SourceIndex(0)
-+5 >Emitted(22, 13) Source(33, 13) + SourceIndex(0)
-+6 >Emitted(22, 14) Source(34, 5) + SourceIndex(0)
-+7 >Emitted(22, 27) Source(34, 18) + SourceIndex(0)
-+8 >Emitted(22, 30) Source(34, 21) + SourceIndex(0)
-+9 >Emitted(22, 39) Source(34, 30) + SourceIndex(0)
-+10>Emitted(22, 41) Source(35, 5) + SourceIndex(0)
-+11>Emitted(22, 56) Source(35, 20) + SourceIndex(0)
-+12>Emitted(22, 59) Source(35, 23) + SourceIndex(0)
-+13>Emitted(22, 70) Source(35, 34) + SourceIndex(0)
-+14>Emitted(22, 71) Source(36, 2) + SourceIndex(0)
-+15>Emitted(22, 74) Source(36, 5) + SourceIndex(0)
-+16>Emitted(22, 75) Source(36, 6) + SourceIndex(0)
-+17>Emitted(22, 81) Source(36, 12) + SourceIndex(0)
-+18>Emitted(22, 83) Source(36, 14) + SourceIndex(0)
-+19>Emitted(22, 89) Source(36, 20) + SourceIndex(0)
-+20>Emitted(22, 90) Source(36, 21) + SourceIndex(0)
-+21>Emitted(22, 91) Source(36, 22) + SourceIndex(0)
-+22>Emitted(22, 94) Source(36, 25) + SourceIndex(0)
-+23>Emitted(22, 107) Source(36, 38) + SourceIndex(0)
-+24>Emitted(22, 109) Source(36, 40) + SourceIndex(0)
-+25>Emitted(22, 111) Source(36, 42) + SourceIndex(0)
-+26>Emitted(22, 112) Source(36, 43) + SourceIndex(0)
-+27>Emitted(22, 115) Source(36, 46) + SourceIndex(0)
-+28>Emitted(22, 116) Source(36, 47) + SourceIndex(0)
-+29>Emitted(22, 118) Source(36, 49) + SourceIndex(0)
-+30>Emitted(22, 119) Source(36, 50) + SourceIndex(0)
-+31>Emitted(22, 122) Source(36, 53) + SourceIndex(0)
-+32>Emitted(22, 123) Source(36, 54) + SourceIndex(0)
-+33>Emitted(22, 125) Source(36, 56) + SourceIndex(0)
-+34>Emitted(22, 126) Source(36, 57) + SourceIndex(0)
-+35>Emitted(22, 128) Source(36, 59) + SourceIndex(0)
-+36>Emitted(22, 130) Source(36, 61) + SourceIndex(0)
-+37>Emitted(22, 131) Source(36, 62) + SourceIndex(0)
- ---
- >>> console.log(primarySkillA);
- 1 >^^^^
-@@= skipped -180, +154 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(24, 1) Source(38, 1) + SourceIndex(0)
- 2 >Emitted(24, 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++) {
-+>>>for (let [, [primarySkillA = "primary", secondarySkillA = "secondary"] = ["none", "none"]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [, [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]] =
--5 > [
--6 > "trimmer"
--7 > ,
--8 > [
--9 > "trimming"
--10> ,
--11> "edging"
--12> ]
--13> ]
--14>
--15> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
--16>
--17> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] =
--18> [
--19> "none"
--20> ,
--21> "none"
--22> ]
--23>
--24>
--25> primarySkillA = "primary"
--26>
--27> primarySkillA
--28> =
--29> "primary"
--30>
--31> ,
-- >
--32> secondarySkillA = "secondary"
--33>
--34> secondarySkillA
--35> =
--36> "secondary"
--37>
--38>
-- > ] = ["none", "none"]] = ["trimmer", ["trimming", "edging"]],
--39> i
--40> =
--41> 0
--42> ;
--43> i
--44> <
--45> 1
--46> ;
--47> i
--48> ++
--49> )
--50> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > ,
-+6 > [
-+ >
-+7 > primarySkillA
-+8 > =
-+9 > "primary"
-+10> ,
-+ >
-+11> secondarySkillA
-+12> =
-+13> "secondary"
-+14>
-+ > ]
-+15> =
-+16> [
-+17> "none"
-+18> ,
-+19> "none"
-+20> ]
-+21> ]
-+22> =
-+23> [
-+24> "trimmer"
-+25> ,
-+26> [
-+27> "trimming"
-+28> ,
-+29> "edging"
-+30> ]
-+31> ]
-+32> ,
-+33> i
-+34> =
-+35> 0
-+36> ;
-+37> i
-+38> <
-+39> 1
-+40> ;
-+41> i
-+42> ++
-+43> )
-+44> {
- 1->Emitted(25, 1) Source(39, 1) + SourceIndex(0)
--2 >Emitted(25, 6) Source(39, 10) + SourceIndex(0)
-+2 >Emitted(25, 6) Source(39, 6) + 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)
-+4 >Emitted(25, 11) Source(39, 11) + SourceIndex(0)
-+5 >Emitted(25, 13) Source(39, 13) + SourceIndex(0)
-+6 >Emitted(25, 14) Source(40, 5) + SourceIndex(0)
-+7 >Emitted(25, 27) Source(40, 18) + SourceIndex(0)
-+8 >Emitted(25, 30) Source(40, 21) + SourceIndex(0)
-+9 >Emitted(25, 39) Source(40, 30) + SourceIndex(0)
-+10>Emitted(25, 41) Source(41, 5) + SourceIndex(0)
-+11>Emitted(25, 56) Source(41, 20) + SourceIndex(0)
-+12>Emitted(25, 59) Source(41, 23) + SourceIndex(0)
-+13>Emitted(25, 70) Source(41, 34) + SourceIndex(0)
-+14>Emitted(25, 71) Source(42, 2) + SourceIndex(0)
-+15>Emitted(25, 74) Source(42, 5) + SourceIndex(0)
-+16>Emitted(25, 75) Source(42, 6) + SourceIndex(0)
-+17>Emitted(25, 81) Source(42, 12) + SourceIndex(0)
-+18>Emitted(25, 83) Source(42, 14) + SourceIndex(0)
-+19>Emitted(25, 89) Source(42, 20) + SourceIndex(0)
-+20>Emitted(25, 90) Source(42, 21) + SourceIndex(0)
-+21>Emitted(25, 91) Source(42, 22) + SourceIndex(0)
-+22>Emitted(25, 94) Source(42, 25) + SourceIndex(0)
-+23>Emitted(25, 95) Source(42, 26) + SourceIndex(0)
-+24>Emitted(25, 104) Source(42, 35) + SourceIndex(0)
-+25>Emitted(25, 106) Source(42, 37) + SourceIndex(0)
-+26>Emitted(25, 107) Source(42, 38) + SourceIndex(0)
-+27>Emitted(25, 117) Source(42, 48) + SourceIndex(0)
-+28>Emitted(25, 119) Source(42, 50) + SourceIndex(0)
-+29>Emitted(25, 127) Source(42, 58) + SourceIndex(0)
-+30>Emitted(25, 128) Source(42, 59) + SourceIndex(0)
-+31>Emitted(25, 129) Source(42, 60) + SourceIndex(0)
-+32>Emitted(25, 131) Source(42, 62) + SourceIndex(0)
-+33>Emitted(25, 132) Source(42, 63) + SourceIndex(0)
-+34>Emitted(25, 135) Source(42, 66) + SourceIndex(0)
-+35>Emitted(25, 136) Source(42, 67) + SourceIndex(0)
-+36>Emitted(25, 138) Source(42, 69) + SourceIndex(0)
-+37>Emitted(25, 139) Source(42, 70) + SourceIndex(0)
-+38>Emitted(25, 142) Source(42, 73) + SourceIndex(0)
-+39>Emitted(25, 143) Source(42, 74) + SourceIndex(0)
-+40>Emitted(25, 145) Source(42, 76) + SourceIndex(0)
-+41>Emitted(25, 146) Source(42, 77) + SourceIndex(0)
-+42>Emitted(25, 148) Source(42, 79) + SourceIndex(0)
-+43>Emitted(25, 150) Source(42, 81) + SourceIndex(0)
-+44>Emitted(25, 151) Source(42, 82) + SourceIndex(0)
- ---
- >>> console.log(primarySkillA);
- 1 >^^^^
-@@= skipped -201, +175 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(27, 1) Source(44, 1) + SourceIndex(0)
- 2 >Emitted(27, 2) Source(44, 2) + SourceIndex(0)
- ---
-->>>for (var _v = robotA[0], numberB = _v === void 0 ? -1 : _v, i = 0; i < 1; i++) {
-+>>>for (let [numberB = -1] = robotA, i = 0; i < 1; i++) {
- 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> ^
-+4 > ^
-+5 > ^^^^^^^
-+6 > ^^^
-+7 > ^
-+8 > ^
-+9 > ^
-+10> ^^^
-+11> ^^^^^^
-+12> ^^
-+13> ^
-+14> ^^^
-+15> ^
-+16> ^^
-+17> ^
-+18> ^^^
-+19> ^
-+20> ^^
-+21> ^
-+22> ^^
-+23> ^^
-+24> ^
- 1->
- >
- >
--2 >for (let [
--3 >
--4 > numberB = -1] =
--5 > robotA
--6 >
--7 >
--8 > numberB
--9 > =
--10> -
--11> 1
--12>
--13> ] = robotA,
--14> i
--15> =
--16> 0
--17> ;
--18> i
--19> <
--20> 1
--21> ;
--22> i
--23> ++
--24> )
--25> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberB
-+6 > =
-+7 > -
-+8 > 1
-+9 > ]
-+10> =
-+11> robotA
-+12> ,
-+13> i
-+14> =
-+15> 0
-+16> ;
-+17> i
-+18> <
-+19> 1
-+20> ;
-+21> i
-+22> ++
-+23> )
-+24> {
- 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)
-+2 >Emitted(28, 6) Source(46, 6) + SourceIndex(0)
-+3 >Emitted(28, 10) Source(46, 10) + SourceIndex(0)
-+4 >Emitted(28, 11) Source(46, 11) + SourceIndex(0)
-+5 >Emitted(28, 18) Source(46, 18) + SourceIndex(0)
-+6 >Emitted(28, 21) Source(46, 21) + SourceIndex(0)
-+7 >Emitted(28, 22) Source(46, 22) + SourceIndex(0)
-+8 >Emitted(28, 23) Source(46, 23) + SourceIndex(0)
-+9 >Emitted(28, 24) Source(46, 24) + SourceIndex(0)
-+10>Emitted(28, 27) Source(46, 27) + SourceIndex(0)
-+11>Emitted(28, 33) Source(46, 33) + SourceIndex(0)
-+12>Emitted(28, 35) Source(46, 35) + SourceIndex(0)
-+13>Emitted(28, 36) Source(46, 36) + SourceIndex(0)
-+14>Emitted(28, 39) Source(46, 39) + SourceIndex(0)
-+15>Emitted(28, 40) Source(46, 40) + SourceIndex(0)
-+16>Emitted(28, 42) Source(46, 42) + SourceIndex(0)
-+17>Emitted(28, 43) Source(46, 43) + SourceIndex(0)
-+18>Emitted(28, 46) Source(46, 46) + SourceIndex(0)
-+19>Emitted(28, 47) Source(46, 47) + SourceIndex(0)
-+20>Emitted(28, 49) Source(46, 49) + SourceIndex(0)
-+21>Emitted(28, 50) Source(46, 50) + SourceIndex(0)
-+22>Emitted(28, 52) Source(46, 52) + SourceIndex(0)
-+23>Emitted(28, 54) Source(46, 54) + SourceIndex(0)
-+24>Emitted(28, 55) Source(46, 55) + SourceIndex(0)
- ---
- >>> console.log(numberB);
- 1 >^^^^
-@@= skipped -116, +113 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(30, 1) Source(48, 1) + SourceIndex(0)
- 2 >Emitted(30, 2) Source(48, 2) + SourceIndex(0)
- ---
-->>>for (var _w = getRobot()[0], numberB = _w === void 0 ? -1 : _w, i = 0; i < 1; i++) {
-+>>>for (let [numberB = -1] = getRobot(), i = 0; i < 1; i++) {
- 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> ^
-+4 > ^
-+5 > ^^^^^^^
-+6 > ^^^
-+7 > ^
-+8 > ^
-+9 > ^
-+10> ^^^
-+11> ^^^^^^^^
-+12> ^^
-+13> ^^
-+14> ^
-+15> ^^^
-+16> ^
-+17> ^^
-+18> ^
-+19> ^^^
-+20> ^
-+21> ^^
-+22> ^
-+23> ^^
-+24> ^^
-+25> ^
- 1->
- >
--2 >for (let [
--3 >
--4 > numberB = -1] =
--5 > getRobot
--6 > ()
--7 >
--8 >
--9 > numberB
--10> =
--11> -
--12> 1
--13>
--14> ] = getRobot(),
--15> i
--16> =
--17> 0
--18> ;
--19> i
--20> <
--21> 1
--22> ;
--23> i
--24> ++
--25> )
--26> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberB
-+6 > =
-+7 > -
-+8 > 1
-+9 > ]
-+10> =
-+11> getRobot
-+12> ()
-+13> ,
-+14> i
-+15> =
-+16> 0
-+17> ;
-+18> i
-+19> <
-+20> 1
-+21> ;
-+22> i
-+23> ++
-+24> )
-+25> {
- 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)
-+2 >Emitted(31, 6) Source(49, 6) + SourceIndex(0)
-+3 >Emitted(31, 10) Source(49, 10) + SourceIndex(0)
-+4 >Emitted(31, 11) Source(49, 11) + SourceIndex(0)
-+5 >Emitted(31, 18) Source(49, 18) + SourceIndex(0)
-+6 >Emitted(31, 21) Source(49, 21) + SourceIndex(0)
-+7 >Emitted(31, 22) Source(49, 22) + SourceIndex(0)
-+8 >Emitted(31, 23) Source(49, 23) + SourceIndex(0)
-+9 >Emitted(31, 24) Source(49, 24) + SourceIndex(0)
-+10>Emitted(31, 27) Source(49, 27) + SourceIndex(0)
-+11>Emitted(31, 35) Source(49, 35) + SourceIndex(0)
-+12>Emitted(31, 37) Source(49, 37) + SourceIndex(0)
-+13>Emitted(31, 39) Source(49, 39) + SourceIndex(0)
-+14>Emitted(31, 40) Source(49, 40) + SourceIndex(0)
-+15>Emitted(31, 43) Source(49, 43) + SourceIndex(0)
-+16>Emitted(31, 44) Source(49, 44) + SourceIndex(0)
-+17>Emitted(31, 46) Source(49, 46) + SourceIndex(0)
-+18>Emitted(31, 47) Source(49, 47) + SourceIndex(0)
-+19>Emitted(31, 50) Source(49, 50) + SourceIndex(0)
-+20>Emitted(31, 51) Source(49, 51) + SourceIndex(0)
-+21>Emitted(31, 53) Source(49, 53) + SourceIndex(0)
-+22>Emitted(31, 54) Source(49, 54) + SourceIndex(0)
-+23>Emitted(31, 56) Source(49, 56) + SourceIndex(0)
-+24>Emitted(31, 58) Source(49, 58) + SourceIndex(0)
-+25>Emitted(31, 59) Source(49, 59) + SourceIndex(0)
- ---
- >>> console.log(numberB);
- 1 >^^^^
-@@= skipped -118, +115 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(33, 1) Source(51, 1) + SourceIndex(0)
- 2 >Emitted(33, 2) Source(51, 2) + SourceIndex(0)
- ---
-->>>for (var _x = [2, "trimmer", "trimming"][0], numberB = _x === void 0 ? -1 : _x, i = 0; i < 1; i++) {
-+>>>for (let [numberB = -1] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let [
--3 >
--4 > numberB = -1] =
--5 > [
--6 > 2
--7 > ,
--8 > "trimmer"
--9 > ,
--10> "trimming"
--11> ]
--12>
--13>
--14> numberB
--15> =
--16> -
--17> 1
--18>
--19> ] = [2, "trimmer", "trimming"],
--20> i
--21> =
--22> 0
--23> ;
--24> i
--25> <
--26> 1
--27> ;
--28> i
--29> ++
--30> )
--31> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberB
-+6 > =
-+7 > -
-+8 > 1
-+9 > ]
-+10> =
-+11> [
-+12> 2
-+13> ,
-+14> "trimmer"
-+15> ,
-+16> "trimming"
-+17> ]
-+18> ,
-+19> i
-+20> =
-+21> 0
-+22> ;
-+23> i
-+24> <
-+25> 1
-+26> ;
-+27> i
-+28> ++
-+29> )
-+30> {
- 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)
-+2 >Emitted(34, 6) Source(52, 6) + SourceIndex(0)
-+3 >Emitted(34, 10) Source(52, 10) + SourceIndex(0)
-+4 >Emitted(34, 11) Source(52, 11) + SourceIndex(0)
-+5 >Emitted(34, 18) Source(52, 18) + SourceIndex(0)
-+6 >Emitted(34, 21) Source(52, 21) + SourceIndex(0)
-+7 >Emitted(34, 22) Source(52, 22) + SourceIndex(0)
-+8 >Emitted(34, 23) Source(52, 23) + SourceIndex(0)
-+9 >Emitted(34, 24) Source(52, 24) + SourceIndex(0)
-+10>Emitted(34, 27) Source(52, 27) + SourceIndex(0)
-+11>Emitted(34, 28) Source(52, 28) + SourceIndex(0)
-+12>Emitted(34, 29) Source(52, 29) + SourceIndex(0)
-+13>Emitted(34, 31) Source(52, 31) + SourceIndex(0)
-+14>Emitted(34, 40) Source(52, 40) + SourceIndex(0)
-+15>Emitted(34, 42) Source(52, 42) + SourceIndex(0)
-+16>Emitted(34, 52) Source(52, 52) + SourceIndex(0)
-+17>Emitted(34, 53) Source(52, 53) + SourceIndex(0)
-+18>Emitted(34, 55) Source(52, 55) + SourceIndex(0)
-+19>Emitted(34, 56) Source(52, 56) + SourceIndex(0)
-+20>Emitted(34, 59) Source(52, 59) + SourceIndex(0)
-+21>Emitted(34, 60) Source(52, 60) + SourceIndex(0)
-+22>Emitted(34, 62) Source(52, 62) + SourceIndex(0)
-+23>Emitted(34, 63) Source(52, 63) + SourceIndex(0)
-+24>Emitted(34, 66) Source(52, 66) + SourceIndex(0)
-+25>Emitted(34, 67) Source(52, 67) + SourceIndex(0)
-+26>Emitted(34, 69) Source(52, 69) + SourceIndex(0)
-+27>Emitted(34, 70) Source(52, 70) + SourceIndex(0)
-+28>Emitted(34, 72) Source(52, 72) + SourceIndex(0)
-+29>Emitted(34, 74) Source(52, 74) + SourceIndex(0)
-+30>Emitted(34, 75) Source(52, 75) + SourceIndex(0)
- ---
- >>> console.log(numberB);
- 1 >^^^^
-@@= skipped -133, +130 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(36, 1) Source(54, 1) + SourceIndex(0)
- 2 >Emitted(36, 2) Source(54, 2) + SourceIndex(0)
- ---
-->>>for (var _y = multiRobotA[0], nameB = _y === void 0 ? "name" : _y, i = 0; i < 1; i++) {
-+>>>for (let [nameB = "name"] = multiRobotA, i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
- 3 > ^^^^
--4 > ^^^^^
--5 > ^^^^^^^^^^^
--6 > ^^^
--7 > ^^
--8 > ^^^^^
--9 > ^^^^^^^^^^^^^^^^^^^
--10> ^^^^^^
--11> ^^^^^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^^
--19> ^
--20> ^^
--21> ^
--22> ^^
--23> ^^
--24> ^
-+4 > ^
-+5 > ^^^^^
-+6 > ^^^
-+7 > ^^^^^^
-+8 > ^
-+9 > ^^^
-+10> ^^^^^^^^^^^
-+11> ^^
-+12> ^
-+13> ^^^
-+14> ^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
-+19> ^^
-+20> ^
-+21> ^^
-+22> ^^
-+23> ^
- 1->
- >
--2 >for (let [
--3 >
--4 > nameB = "name"] =
--5 > multiRobotA
--6 >
--7 >
--8 > nameB
--9 > =
--10> "name"
--11>
--12> ] = multiRobotA,
--13> i
--14> =
--15> 0
--16> ;
--17> i
--18> <
--19> 1
--20> ;
--21> i
--22> ++
--23> )
--24> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > nameB
-+6 > =
-+7 > "name"
-+8 > ]
-+9 > =
-+10> multiRobotA
-+11> ,
-+12> i
-+13> =
-+14> 0
-+15> ;
-+16> i
-+17> <
-+18> 1
-+19> ;
-+20> i
-+21> ++
-+22> )
-+23> {
- 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)
-+2 >Emitted(37, 6) Source(55, 6) + SourceIndex(0)
-+3 >Emitted(37, 10) Source(55, 10) + SourceIndex(0)
-+4 >Emitted(37, 11) Source(55, 11) + SourceIndex(0)
-+5 >Emitted(37, 16) Source(55, 16) + SourceIndex(0)
-+6 >Emitted(37, 19) Source(55, 19) + SourceIndex(0)
-+7 >Emitted(37, 25) Source(55, 25) + SourceIndex(0)
-+8 >Emitted(37, 26) Source(55, 26) + SourceIndex(0)
-+9 >Emitted(37, 29) Source(55, 29) + SourceIndex(0)
-+10>Emitted(37, 40) Source(55, 40) + SourceIndex(0)
-+11>Emitted(37, 42) Source(55, 42) + SourceIndex(0)
-+12>Emitted(37, 43) Source(55, 43) + SourceIndex(0)
-+13>Emitted(37, 46) Source(55, 46) + SourceIndex(0)
-+14>Emitted(37, 47) Source(55, 47) + SourceIndex(0)
-+15>Emitted(37, 49) Source(55, 49) + SourceIndex(0)
-+16>Emitted(37, 50) Source(55, 50) + SourceIndex(0)
-+17>Emitted(37, 53) Source(55, 53) + SourceIndex(0)
-+18>Emitted(37, 54) Source(55, 54) + SourceIndex(0)
-+19>Emitted(37, 56) Source(55, 56) + SourceIndex(0)
-+20>Emitted(37, 57) Source(55, 57) + SourceIndex(0)
-+21>Emitted(37, 59) Source(55, 59) + SourceIndex(0)
-+22>Emitted(37, 61) Source(55, 61) + SourceIndex(0)
-+23>Emitted(37, 62) Source(55, 62) + SourceIndex(0)
- ---
- >>> console.log(nameB);
- 1 >^^^^
-@@= skipped -112, +109 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(39, 1) Source(57, 1) + SourceIndex(0)
- 2 >Emitted(39, 2) Source(57, 2) + SourceIndex(0)
- ---
-->>>for (var _z = getMultiRobot()[0], nameB = _z === void 0 ? "name" : _z, i = 0; i < 1; i++) {
-+>>>for (let [nameB = "name"] = getMultiRobot(), i = 0; i < 1; i++) {
- 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> ^
-+4 > ^
-+5 > ^^^^^
-+6 > ^^^
-+7 > ^^^^^^
-+8 > ^
-+9 > ^^^
-+10> ^^^^^^^^^^^^^
-+11> ^^
-+12> ^^
-+13> ^
-+14> ^^^
-+15> ^
-+16> ^^
-+17> ^
-+18> ^^^
-+19> ^
-+20> ^^
-+21> ^
-+22> ^^
-+23> ^^
-+24> ^
- 1->
- >
--2 >for (let [
--3 >
--4 > nameB = "name"] =
--5 > getMultiRobot
--6 > ()
--7 >
--8 >
--9 > nameB
--10> =
--11> "name"
--12>
--13> ] = getMultiRobot(),
--14> i
--15> =
--16> 0
--17> ;
--18> i
--19> <
--20> 1
--21> ;
--22> i
--23> ++
--24> )
--25> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > nameB
-+6 > =
-+7 > "name"
-+8 > ]
-+9 > =
-+10> getMultiRobot
-+11> ()
-+12> ,
-+13> i
-+14> =
-+15> 0
-+16> ;
-+17> i
-+18> <
-+19> 1
-+20> ;
-+21> i
-+22> ++
-+23> )
-+24> {
- 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)
-+2 >Emitted(40, 6) Source(58, 6) + SourceIndex(0)
-+3 >Emitted(40, 10) Source(58, 10) + SourceIndex(0)
-+4 >Emitted(40, 11) Source(58, 11) + SourceIndex(0)
-+5 >Emitted(40, 16) Source(58, 16) + SourceIndex(0)
-+6 >Emitted(40, 19) Source(58, 19) + SourceIndex(0)
-+7 >Emitted(40, 25) Source(58, 25) + SourceIndex(0)
-+8 >Emitted(40, 26) Source(58, 26) + SourceIndex(0)
-+9 >Emitted(40, 29) Source(58, 29) + SourceIndex(0)
-+10>Emitted(40, 42) Source(58, 42) + SourceIndex(0)
-+11>Emitted(40, 44) Source(58, 44) + SourceIndex(0)
-+12>Emitted(40, 46) Source(58, 46) + SourceIndex(0)
-+13>Emitted(40, 47) Source(58, 47) + SourceIndex(0)
-+14>Emitted(40, 50) Source(58, 50) + SourceIndex(0)
-+15>Emitted(40, 51) Source(58, 51) + SourceIndex(0)
-+16>Emitted(40, 53) Source(58, 53) + SourceIndex(0)
-+17>Emitted(40, 54) Source(58, 54) + SourceIndex(0)
-+18>Emitted(40, 57) Source(58, 57) + SourceIndex(0)
-+19>Emitted(40, 58) Source(58, 58) + SourceIndex(0)
-+20>Emitted(40, 60) Source(58, 60) + SourceIndex(0)
-+21>Emitted(40, 61) Source(58, 61) + SourceIndex(0)
-+22>Emitted(40, 63) Source(58, 63) + SourceIndex(0)
-+23>Emitted(40, 65) Source(58, 65) + SourceIndex(0)
-+24>Emitted(40, 66) Source(58, 66) + SourceIndex(0)
- ---
- >>> console.log(nameB);
- 1 >^^^^
-@@= skipped -115, +112 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(42, 1) Source(60, 1) + SourceIndex(0)
- 2 >Emitted(42, 2) Source(60, 2) + SourceIndex(0)
- ---
-->>>for (var _0 = ["trimmer", ["trimming", "edging"]][0], nameB = _0 === void 0 ? "name" : _0, i = 0; i < 1; i++) {
-+>>>for (let [nameB = "name"] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let [
--3 >
--4 > nameB = "name"] =
--5 > [
--6 > "trimmer"
--7 > ,
--8 > [
--9 > "trimming"
--10> ,
--11> "edging"
--12> ]
--13> ]
--14>
--15>
--16> nameB
--17> =
--18> "name"
--19>
--20> ] = ["trimmer", ["trimming", "edging"]],
--21> i
--22> =
--23> 0
--24> ;
--25> i
--26> <
--27> 1
--28> ;
--29> i
--30> ++
--31> )
--32> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > nameB
-+6 > =
-+7 > "name"
-+8 > ]
-+9 > =
-+10> [
-+11> "trimmer"
-+12> ,
-+13> [
-+14> "trimming"
-+15> ,
-+16> "edging"
-+17> ]
-+18> ]
-+19> ,
-+20> i
-+21> =
-+22> 0
-+23> ;
-+24> i
-+25> <
-+26> 1
-+27> ;
-+28> i
-+29> ++
-+30> )
-+31> {
- 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)
-+2 >Emitted(43, 6) Source(61, 6) + SourceIndex(0)
-+3 >Emitted(43, 10) Source(61, 10) + SourceIndex(0)
-+4 >Emitted(43, 11) Source(61, 11) + SourceIndex(0)
-+5 >Emitted(43, 16) Source(61, 16) + SourceIndex(0)
-+6 >Emitted(43, 19) Source(61, 19) + SourceIndex(0)
-+7 >Emitted(43, 25) Source(61, 25) + SourceIndex(0)
-+8 >Emitted(43, 26) Source(61, 26) + SourceIndex(0)
-+9 >Emitted(43, 29) Source(61, 29) + SourceIndex(0)
-+10>Emitted(43, 30) Source(61, 30) + SourceIndex(0)
-+11>Emitted(43, 39) Source(61, 39) + SourceIndex(0)
-+12>Emitted(43, 41) Source(61, 41) + SourceIndex(0)
-+13>Emitted(43, 42) Source(61, 42) + SourceIndex(0)
-+14>Emitted(43, 52) Source(61, 52) + SourceIndex(0)
-+15>Emitted(43, 54) Source(61, 54) + SourceIndex(0)
-+16>Emitted(43, 62) Source(61, 62) + SourceIndex(0)
-+17>Emitted(43, 63) Source(61, 63) + SourceIndex(0)
-+18>Emitted(43, 64) Source(61, 64) + SourceIndex(0)
-+19>Emitted(43, 66) Source(61, 66) + SourceIndex(0)
-+20>Emitted(43, 67) Source(61, 67) + SourceIndex(0)
-+21>Emitted(43, 70) Source(61, 70) + SourceIndex(0)
-+22>Emitted(43, 71) Source(61, 71) + SourceIndex(0)
-+23>Emitted(43, 73) Source(61, 73) + SourceIndex(0)
-+24>Emitted(43, 74) Source(61, 74) + SourceIndex(0)
-+25>Emitted(43, 77) Source(61, 77) + SourceIndex(0)
-+26>Emitted(43, 78) Source(61, 78) + SourceIndex(0)
-+27>Emitted(43, 80) Source(61, 80) + SourceIndex(0)
-+28>Emitted(43, 81) Source(61, 81) + SourceIndex(0)
-+29>Emitted(43, 83) Source(61, 83) + SourceIndex(0)
-+30>Emitted(43, 85) Source(61, 85) + SourceIndex(0)
-+31>Emitted(43, 86) Source(61, 86) + SourceIndex(0)
- ---
- >>> console.log(nameB);
- 1 >^^^^
-@@= skipped -136, +133 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(45, 1) Source(63, 1) + SourceIndex(0)
- 2 >Emitted(45, 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++) {
-+>>>for (let [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = robotA, i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
- >
--2 >for (let [
--3 >
--4 > numberA2 = -1, nameA2 = "name", skillA2 = "skill"] =
--5 > robotA
--6 >
--7 >
--8 > numberA2
--9 > =
--10> -
--11> 1
--12>
--13> ,
--14> nameA2 = "name", skillA2 = "skill"] =
--15> robotA
--16>
--17>
--18> nameA2
--19> =
--20> "name"
--21>
--22> ,
--23> skillA2 = "skill"] =
--24> robotA
--25>
--26>
--27> skillA2
--28> =
--29> "skill"
--30>
--31> ] = robotA,
--32> i
--33> =
--34> 0
--35> ;
--36> i
--37> <
--38> 1
--39> ;
--40> i
--41> ++
--42> )
--43> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberA2
-+6 > =
-+7 > -
-+8 > 1
-+9 > ,
-+10> nameA2
-+11> =
-+12> "name"
-+13> ,
-+14> skillA2
-+15> =
-+16> "skill"
-+17> ]
-+18> =
-+19> robotA
-+20> ,
-+21> i
-+22> =
-+23> 0
-+24> ;
-+25> i
-+26> <
-+27> 1
-+28> ;
-+29> i
-+30> ++
-+31> )
-+32> {
- 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)
-+2 >Emitted(46, 6) Source(65, 6) + SourceIndex(0)
-+3 >Emitted(46, 10) Source(65, 10) + SourceIndex(0)
-+4 >Emitted(46, 11) Source(65, 11) + SourceIndex(0)
-+5 >Emitted(46, 19) Source(65, 19) + SourceIndex(0)
-+6 >Emitted(46, 22) Source(65, 22) + SourceIndex(0)
-+7 >Emitted(46, 23) Source(65, 23) + SourceIndex(0)
-+8 >Emitted(46, 24) Source(65, 24) + SourceIndex(0)
-+9 >Emitted(46, 26) Source(65, 26) + SourceIndex(0)
-+10>Emitted(46, 32) Source(65, 32) + SourceIndex(0)
-+11>Emitted(46, 35) Source(65, 35) + SourceIndex(0)
-+12>Emitted(46, 41) Source(65, 41) + SourceIndex(0)
-+13>Emitted(46, 43) Source(65, 43) + SourceIndex(0)
-+14>Emitted(46, 50) Source(65, 50) + SourceIndex(0)
-+15>Emitted(46, 53) Source(65, 53) + SourceIndex(0)
-+16>Emitted(46, 60) Source(65, 60) + SourceIndex(0)
-+17>Emitted(46, 61) Source(65, 61) + SourceIndex(0)
-+18>Emitted(46, 64) Source(65, 64) + SourceIndex(0)
-+19>Emitted(46, 70) Source(65, 70) + SourceIndex(0)
-+20>Emitted(46, 72) Source(65, 72) + SourceIndex(0)
-+21>Emitted(46, 73) Source(65, 73) + SourceIndex(0)
-+22>Emitted(46, 76) Source(65, 76) + SourceIndex(0)
-+23>Emitted(46, 77) Source(65, 77) + SourceIndex(0)
-+24>Emitted(46, 79) Source(65, 79) + SourceIndex(0)
-+25>Emitted(46, 80) Source(65, 80) + SourceIndex(0)
-+26>Emitted(46, 83) Source(65, 83) + SourceIndex(0)
-+27>Emitted(46, 84) Source(65, 84) + SourceIndex(0)
-+28>Emitted(46, 86) Source(65, 86) + SourceIndex(0)
-+29>Emitted(46, 87) Source(65, 87) + SourceIndex(0)
-+30>Emitted(46, 89) Source(65, 89) + SourceIndex(0)
-+31>Emitted(46, 91) Source(65, 91) + SourceIndex(0)
-+32>Emitted(46, 92) Source(65, 92) + SourceIndex(0)
- ---
- >>> console.log(nameA2);
- 1 >^^^^
-@@= skipped -170, +137 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(48, 1) Source(67, 1) + SourceIndex(0)
- 2 >Emitted(48, 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++) {
-+>>>for (let [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = getRobot(), i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] =
--5 > getRobot
--6 > ()
--7 >
--8 > numberA2 = -1
--9 >
--10> numberA2
--11> =
--12> -
--13> 1
--14>
--15> ,
--16> nameA2 = "name"
--17>
--18> nameA2
--19> =
--20> "name"
--21>
--22> ,
--23> skillA2 = "skill"
--24>
--25> skillA2
--26> =
--27> "skill"
--28>
--29> ] = getRobot(),
--30> i
--31> =
--32> 0
--33> ;
--34> i
--35> <
--36> 1
--37> ;
--38> i
--39> ++
--40> )
--41> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberA2
-+6 > =
-+7 > -
-+8 > 1
-+9 > ,
-+10> nameA2
-+11> =
-+12> "name"
-+13> ,
-+14> skillA2
-+15> =
-+16> "skill"
-+17> ]
-+18> =
-+19> getRobot
-+20> ()
-+21> ,
-+22> i
-+23> =
-+24> 0
-+25> ;
-+26> i
-+27> <
-+28> 1
-+29> ;
-+30> i
-+31> ++
-+32> )
-+33> {
- 1->Emitted(49, 1) Source(68, 1) + SourceIndex(0)
--2 >Emitted(49, 6) Source(68, 10) + SourceIndex(0)
-+2 >Emitted(49, 6) Source(68, 6) + 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)
-+4 >Emitted(49, 11) Source(68, 11) + SourceIndex(0)
-+5 >Emitted(49, 19) Source(68, 19) + SourceIndex(0)
-+6 >Emitted(49, 22) Source(68, 22) + SourceIndex(0)
-+7 >Emitted(49, 23) Source(68, 23) + SourceIndex(0)
-+8 >Emitted(49, 24) Source(68, 24) + SourceIndex(0)
-+9 >Emitted(49, 26) Source(68, 26) + SourceIndex(0)
-+10>Emitted(49, 32) Source(68, 32) + SourceIndex(0)
-+11>Emitted(49, 35) Source(68, 35) + SourceIndex(0)
-+12>Emitted(49, 41) Source(68, 41) + SourceIndex(0)
-+13>Emitted(49, 43) Source(68, 43) + SourceIndex(0)
-+14>Emitted(49, 50) Source(68, 50) + SourceIndex(0)
-+15>Emitted(49, 53) Source(68, 53) + SourceIndex(0)
-+16>Emitted(49, 60) Source(68, 60) + SourceIndex(0)
-+17>Emitted(49, 61) Source(68, 61) + SourceIndex(0)
-+18>Emitted(49, 64) Source(68, 64) + SourceIndex(0)
-+19>Emitted(49, 72) Source(68, 72) + SourceIndex(0)
-+20>Emitted(49, 74) Source(68, 74) + SourceIndex(0)
-+21>Emitted(49, 76) Source(68, 76) + SourceIndex(0)
-+22>Emitted(49, 77) Source(68, 77) + SourceIndex(0)
-+23>Emitted(49, 80) Source(68, 80) + SourceIndex(0)
-+24>Emitted(49, 81) Source(68, 81) + SourceIndex(0)
-+25>Emitted(49, 83) Source(68, 83) + SourceIndex(0)
-+26>Emitted(49, 84) Source(68, 84) + SourceIndex(0)
-+27>Emitted(49, 87) Source(68, 87) + SourceIndex(0)
-+28>Emitted(49, 88) Source(68, 88) + SourceIndex(0)
-+29>Emitted(49, 90) Source(68, 90) + SourceIndex(0)
-+30>Emitted(49, 91) Source(68, 91) + SourceIndex(0)
-+31>Emitted(49, 93) Source(68, 93) + SourceIndex(0)
-+32>Emitted(49, 95) Source(68, 95) + SourceIndex(0)
-+33>Emitted(49, 96) Source(68, 96) + SourceIndex(0)
- ---
- >>> console.log(nameA2);
- 1 >^^^^
-@@= skipped -163, +139 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(51, 1) Source(70, 1) + SourceIndex(0)
- 2 >Emitted(51, 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++) {
-+>>>for (let [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] =
--5 > [
--6 > 2
--7 > ,
--8 > "trimmer"
--9 > ,
--10> "trimming"
--11> ]
--12>
--13> numberA2 = -1
--14>
--15> numberA2
--16> =
--17> -
--18> 1
--19>
--20> ,
--21> nameA2 = "name"
--22>
--23> nameA2
--24> =
--25> "name"
--26>
--27> ,
--28> skillA2 = "skill"
--29>
--30> skillA2
--31> =
--32> "skill"
--33>
--34> ] = [2, "trimmer", "trimming"],
--35> i
--36> =
--37> 0
--38> ;
--39> i
--40> <
--41> 1
--42> ;
--43> i
--44> ++
--45> )
--46> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberA2
-+6 > =
-+7 > -
-+8 > 1
-+9 > ,
-+10> nameA2
-+11> =
-+12> "name"
-+13> ,
-+14> skillA2
-+15> =
-+16> "skill"
-+17> ]
-+18> =
-+19> [
-+20> 2
-+21> ,
-+22> "trimmer"
-+23> ,
-+24> "trimming"
-+25> ]
-+26> ,
-+27> i
-+28> =
-+29> 0
-+30> ;
-+31> i
-+32> <
-+33> 1
-+34> ;
-+35> i
-+36> ++
-+37> )
-+38> {
- 1->Emitted(52, 1) Source(71, 1) + SourceIndex(0)
--2 >Emitted(52, 6) Source(71, 10) + SourceIndex(0)
-+2 >Emitted(52, 6) Source(71, 6) + 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)
-+4 >Emitted(52, 11) Source(71, 11) + SourceIndex(0)
-+5 >Emitted(52, 19) Source(71, 19) + SourceIndex(0)
-+6 >Emitted(52, 22) Source(71, 22) + SourceIndex(0)
-+7 >Emitted(52, 23) Source(71, 23) + SourceIndex(0)
-+8 >Emitted(52, 24) Source(71, 24) + SourceIndex(0)
-+9 >Emitted(52, 26) Source(71, 26) + SourceIndex(0)
-+10>Emitted(52, 32) Source(71, 32) + SourceIndex(0)
-+11>Emitted(52, 35) Source(71, 35) + SourceIndex(0)
-+12>Emitted(52, 41) Source(71, 41) + SourceIndex(0)
-+13>Emitted(52, 43) Source(71, 43) + SourceIndex(0)
-+14>Emitted(52, 50) Source(71, 50) + SourceIndex(0)
-+15>Emitted(52, 53) Source(71, 53) + SourceIndex(0)
-+16>Emitted(52, 60) Source(71, 60) + SourceIndex(0)
-+17>Emitted(52, 61) Source(71, 61) + SourceIndex(0)
-+18>Emitted(52, 64) Source(71, 64) + SourceIndex(0)
-+19>Emitted(52, 65) Source(71, 65) + SourceIndex(0)
-+20>Emitted(52, 66) Source(71, 66) + SourceIndex(0)
-+21>Emitted(52, 68) Source(71, 68) + SourceIndex(0)
-+22>Emitted(52, 77) Source(71, 77) + SourceIndex(0)
-+23>Emitted(52, 79) Source(71, 79) + SourceIndex(0)
-+24>Emitted(52, 89) Source(71, 89) + SourceIndex(0)
-+25>Emitted(52, 90) Source(71, 90) + SourceIndex(0)
-+26>Emitted(52, 92) Source(71, 92) + SourceIndex(0)
-+27>Emitted(52, 93) Source(71, 93) + SourceIndex(0)
-+28>Emitted(52, 96) Source(71, 96) + SourceIndex(0)
-+29>Emitted(52, 97) Source(71, 97) + SourceIndex(0)
-+30>Emitted(52, 99) Source(71, 99) + SourceIndex(0)
-+31>Emitted(52, 100) Source(71, 100) + SourceIndex(0)
-+32>Emitted(52, 103) Source(71, 103) + SourceIndex(0)
-+33>Emitted(52, 104) Source(71, 104) + SourceIndex(0)
-+34>Emitted(52, 106) Source(71, 106) + SourceIndex(0)
-+35>Emitted(52, 107) Source(71, 107) + SourceIndex(0)
-+36>Emitted(52, 109) Source(71, 109) + SourceIndex(0)
-+37>Emitted(52, 111) Source(71, 111) + SourceIndex(0)
-+38>Emitted(52, 112) Source(71, 112) + SourceIndex(0)
- ---
- >>> console.log(nameA2);
- 1 >^^^^
-@@= skipped -178, +154 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(54, 1) Source(73, 1) + SourceIndex(0)
- 2 >Emitted(54, 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++) {
-+>>>for (let [nameMA = "noName", [primarySkillA = "primary", secondarySkillA = "secondary"] = ["none", "none"]] = multiRobotA, i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
-- > [
--3 >
--4 > nameMA = "noName",
-- > [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
-- > ] =
--5 > multiRobotA
--6 >
--7 >
--8 > nameMA
--9 > =
--10> "noName"
--11>
--12> ,
-- >
--13> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
-- > ] =
--14> multiRobotA
--15>
--16>
--17> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] =
--18> [
--19> "none"
--20> ,
--21> "none"
--22> ]
--23>
--24>
--25> primarySkillA = "primary"
--26>
--27> primarySkillA
--28> =
--29> "primary"
--30>
--31> ,
-- >
--32> secondarySkillA = "secondary"
--33>
--34> secondarySkillA
--35> =
--36> "secondary"
--37>
--38>
-- > ] = ["none", "none"]
-- > ] = multiRobotA,
--39> i
--40> =
--41> 0
--42> ;
--43> i
--44> <
--45> 1
--46> ;
--47> i
--48> ++
--49> )
--50> {
-+2 >for (
-+3 > let
-+ >
-+4 > [
-+5 > nameMA
-+6 > =
-+7 > "noName"
-+8 > ,
-+ >
-+9 > [
-+ >
-+10> primarySkillA
-+11> =
-+12> "primary"
-+13> ,
-+ >
-+14> secondarySkillA
-+15> =
-+16> "secondary"
-+17>
-+ > ]
-+18> =
-+19> [
-+20> "none"
-+21> ,
-+22> "none"
-+23> ]
-+24>
-+ > ]
-+25> =
-+26> multiRobotA
-+27> ,
-+28> i
-+29> =
-+30> 0
-+31> ;
-+32> i
-+33> <
-+34> 1
-+35> ;
-+36> i
-+37> ++
-+38> )
-+39> {
- 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)
-+2 >Emitted(55, 6) Source(74, 6) + SourceIndex(0)
-+3 >Emitted(55, 10) Source(75, 5) + SourceIndex(0)
-+4 >Emitted(55, 11) Source(75, 6) + SourceIndex(0)
-+5 >Emitted(55, 17) Source(75, 12) + SourceIndex(0)
-+6 >Emitted(55, 20) Source(75, 15) + SourceIndex(0)
-+7 >Emitted(55, 28) Source(75, 23) + SourceIndex(0)
-+8 >Emitted(55, 30) Source(76, 9) + SourceIndex(0)
-+9 >Emitted(55, 31) Source(77, 13) + SourceIndex(0)
-+10>Emitted(55, 44) Source(77, 26) + SourceIndex(0)
-+11>Emitted(55, 47) Source(77, 29) + SourceIndex(0)
-+12>Emitted(55, 56) Source(77, 38) + SourceIndex(0)
-+13>Emitted(55, 58) Source(78, 13) + SourceIndex(0)
-+14>Emitted(55, 73) Source(78, 28) + SourceIndex(0)
-+15>Emitted(55, 76) Source(78, 31) + SourceIndex(0)
-+16>Emitted(55, 87) Source(78, 42) + SourceIndex(0)
-+17>Emitted(55, 88) Source(79, 10) + SourceIndex(0)
-+18>Emitted(55, 91) Source(79, 13) + SourceIndex(0)
-+19>Emitted(55, 92) Source(79, 14) + SourceIndex(0)
-+20>Emitted(55, 98) Source(79, 20) + SourceIndex(0)
-+21>Emitted(55, 100) Source(79, 22) + SourceIndex(0)
-+22>Emitted(55, 106) Source(79, 28) + SourceIndex(0)
-+23>Emitted(55, 107) Source(79, 29) + SourceIndex(0)
-+24>Emitted(55, 108) Source(80, 6) + SourceIndex(0)
-+25>Emitted(55, 111) Source(80, 9) + SourceIndex(0)
-+26>Emitted(55, 122) Source(80, 20) + SourceIndex(0)
-+27>Emitted(55, 124) Source(80, 22) + SourceIndex(0)
-+28>Emitted(55, 125) Source(80, 23) + SourceIndex(0)
-+29>Emitted(55, 128) Source(80, 26) + SourceIndex(0)
-+30>Emitted(55, 129) Source(80, 27) + SourceIndex(0)
-+31>Emitted(55, 131) Source(80, 29) + SourceIndex(0)
-+32>Emitted(55, 132) Source(80, 30) + SourceIndex(0)
-+33>Emitted(55, 135) Source(80, 33) + SourceIndex(0)
-+34>Emitted(55, 136) Source(80, 34) + SourceIndex(0)
-+35>Emitted(55, 138) Source(80, 36) + SourceIndex(0)
-+36>Emitted(55, 139) Source(80, 37) + SourceIndex(0)
-+37>Emitted(55, 141) Source(80, 39) + SourceIndex(0)
-+38>Emitted(55, 143) Source(80, 41) + SourceIndex(0)
-+39>Emitted(55, 144) Source(80, 42) + SourceIndex(0)
- ---
- >>> console.log(nameMA);
- 1 >^^^^
-@@= skipped -207, +163 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(57, 1) Source(82, 1) + SourceIndex(0)
- 2 >Emitted(57, 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++) {
-+>>>for (let [nameMA = "noName", [primarySkillA = "primary", secondarySkillA = "secondary"] = ["none", "none"]] = getMultiRobot(), i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [nameMA = "noName",
-- > [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
-- > ] =
--5 > getMultiRobot
--6 > ()
--7 >
--8 > nameMA = "noName"
--9 >
--10> nameMA
--11> =
--12> "noName"
--13>
--14> ,
-- >
--15> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
--16>
--17> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] =
--18> [
--19> "none"
--20> ,
--21> "none"
--22> ]
--23>
--24>
--25> primarySkillA = "primary"
--26>
--27> primarySkillA
--28> =
--29> "primary"
--30>
--31> ,
-- >
--32> secondarySkillA = "secondary"
--33>
--34> secondarySkillA
--35> =
--36> "secondary"
--37>
--38>
-- > ] = ["none", "none"]
-- > ] = getMultiRobot(),
--39> i
--40> =
--41> 0
--42> ;
--43> i
--44> <
--45> 1
--46> ;
--47> i
--48> ++
--49> )
--50> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > nameMA
-+6 > =
-+7 > "noName"
-+8 > ,
-+ >
-+9 > [
-+ >
-+10> primarySkillA
-+11> =
-+12> "primary"
-+13> ,
-+ >
-+14> secondarySkillA
-+15> =
-+16> "secondary"
-+17>
-+ > ]
-+18> =
-+19> [
-+20> "none"
-+21> ,
-+22> "none"
-+23> ]
-+24>
-+ > ]
-+25> =
-+26> getMultiRobot
-+27> ()
-+28> ,
-+29> i
-+30> =
-+31> 0
-+32> ;
-+33> i
-+34> <
-+35> 1
-+36> ;
-+37> i
-+38> ++
-+39> )
-+40> {
- 1->Emitted(58, 1) Source(83, 1) + SourceIndex(0)
--2 >Emitted(58, 6) Source(83, 10) + SourceIndex(0)
-+2 >Emitted(58, 6) Source(83, 6) + 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)
-+4 >Emitted(58, 11) Source(83, 11) + SourceIndex(0)
-+5 >Emitted(58, 17) Source(83, 17) + SourceIndex(0)
-+6 >Emitted(58, 20) Source(83, 20) + SourceIndex(0)
-+7 >Emitted(58, 28) Source(83, 28) + SourceIndex(0)
-+8 >Emitted(58, 30) Source(84, 5) + SourceIndex(0)
-+9 >Emitted(58, 31) Source(85, 9) + SourceIndex(0)
-+10>Emitted(58, 44) Source(85, 22) + SourceIndex(0)
-+11>Emitted(58, 47) Source(85, 25) + SourceIndex(0)
-+12>Emitted(58, 56) Source(85, 34) + SourceIndex(0)
-+13>Emitted(58, 58) Source(86, 9) + SourceIndex(0)
-+14>Emitted(58, 73) Source(86, 24) + SourceIndex(0)
-+15>Emitted(58, 76) Source(86, 27) + SourceIndex(0)
-+16>Emitted(58, 87) Source(86, 38) + SourceIndex(0)
-+17>Emitted(58, 88) Source(87, 6) + SourceIndex(0)
-+18>Emitted(58, 91) Source(87, 9) + SourceIndex(0)
-+19>Emitted(58, 92) Source(87, 10) + SourceIndex(0)
-+20>Emitted(58, 98) Source(87, 16) + SourceIndex(0)
-+21>Emitted(58, 100) Source(87, 18) + SourceIndex(0)
-+22>Emitted(58, 106) Source(87, 24) + SourceIndex(0)
-+23>Emitted(58, 107) Source(87, 25) + SourceIndex(0)
-+24>Emitted(58, 108) Source(88, 2) + SourceIndex(0)
-+25>Emitted(58, 111) Source(88, 6) + SourceIndex(0)
-+26>Emitted(58, 124) Source(88, 19) + SourceIndex(0)
-+27>Emitted(58, 126) Source(88, 21) + SourceIndex(0)
-+28>Emitted(58, 128) Source(88, 23) + SourceIndex(0)
-+29>Emitted(58, 129) Source(88, 24) + SourceIndex(0)
-+30>Emitted(58, 132) Source(88, 27) + SourceIndex(0)
-+31>Emitted(58, 133) Source(88, 28) + SourceIndex(0)
-+32>Emitted(58, 135) Source(88, 30) + SourceIndex(0)
-+33>Emitted(58, 136) Source(88, 31) + SourceIndex(0)
-+34>Emitted(58, 139) Source(88, 34) + SourceIndex(0)
-+35>Emitted(58, 140) Source(88, 35) + SourceIndex(0)
-+36>Emitted(58, 142) Source(88, 37) + SourceIndex(0)
-+37>Emitted(58, 143) Source(88, 38) + SourceIndex(0)
-+38>Emitted(58, 145) Source(88, 40) + SourceIndex(0)
-+39>Emitted(58, 147) Source(88, 42) + SourceIndex(0)
-+40>Emitted(58, 148) Source(88, 43) + SourceIndex(0)
- ---
- >>> console.log(nameMA);
- 1 >^^^^
-@@= skipped -205, +165 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(60, 1) Source(90, 1) + SourceIndex(0)
- 2 >Emitted(60, 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++) {
-+>>>for (let [nameMA = "noName", [primarySkillA = "primary", secondarySkillA = "secondary"] = ["none", "none"]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [nameMA = "noName",
-- > [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
-- > ] =
--5 > [
--6 > "trimmer"
--7 > ,
--8 > [
--9 > "trimming"
--10> ,
--11> "edging"
--12> ]
--13> ]
--14>
--15> nameMA = "noName"
--16>
--17> nameMA
--18> =
--19> "noName"
--20>
--21> ,
-- >
--22> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
--23>
--24> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] =
--25> [
--26> "none"
--27> ,
--28> "none"
--29> ]
--30>
--31>
--32> primarySkillA = "primary"
--33>
--34> primarySkillA
--35> =
--36> "primary"
--37>
--38> ,
-- >
--39> secondarySkillA = "secondary"
--40>
--41> secondarySkillA
--42> =
--43> "secondary"
--44>
--45>
-- > ] = ["none", "none"]
-- > ] = ["trimmer", ["trimming", "edging"]],
--46> i
--47> =
--48> 0
--49> ;
--50> i
--51> <
--52> 1
--53> ;
--54> i
--55> ++
--56> )
--57> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > nameMA
-+6 > =
-+7 > "noName"
-+8 > ,
-+ >
-+9 > [
-+ >
-+10> primarySkillA
-+11> =
-+12> "primary"
-+13> ,
-+ >
-+14> secondarySkillA
-+15> =
-+16> "secondary"
-+17>
-+ > ]
-+18> =
-+19> [
-+20> "none"
-+21> ,
-+22> "none"
-+23> ]
-+24>
-+ > ]
-+25> =
-+26> [
-+27> "trimmer"
-+28> ,
-+29> [
-+30> "trimming"
-+31> ,
-+32> "edging"
-+33> ]
-+34> ]
-+35> ,
-+36> i
-+37> =
-+38> 0
-+39> ;
-+40> i
-+41> <
-+42> 1
-+43> ;
-+44> i
-+45> ++
-+46> )
-+47> {
- 1->Emitted(61, 1) Source(91, 1) + SourceIndex(0)
--2 >Emitted(61, 6) Source(91, 10) + SourceIndex(0)
-+2 >Emitted(61, 6) Source(91, 6) + 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)
-+4 >Emitted(61, 11) Source(91, 11) + SourceIndex(0)
-+5 >Emitted(61, 17) Source(91, 17) + SourceIndex(0)
-+6 >Emitted(61, 20) Source(91, 20) + SourceIndex(0)
-+7 >Emitted(61, 28) Source(91, 28) + SourceIndex(0)
-+8 >Emitted(61, 30) Source(92, 5) + SourceIndex(0)
-+9 >Emitted(61, 31) Source(93, 9) + SourceIndex(0)
-+10>Emitted(61, 44) Source(93, 22) + SourceIndex(0)
-+11>Emitted(61, 47) Source(93, 25) + SourceIndex(0)
-+12>Emitted(61, 56) Source(93, 34) + SourceIndex(0)
-+13>Emitted(61, 58) Source(94, 9) + SourceIndex(0)
-+14>Emitted(61, 73) Source(94, 24) + SourceIndex(0)
-+15>Emitted(61, 76) Source(94, 27) + SourceIndex(0)
-+16>Emitted(61, 87) Source(94, 38) + SourceIndex(0)
-+17>Emitted(61, 88) Source(95, 6) + SourceIndex(0)
-+18>Emitted(61, 91) Source(95, 9) + SourceIndex(0)
-+19>Emitted(61, 92) Source(95, 10) + SourceIndex(0)
-+20>Emitted(61, 98) Source(95, 16) + SourceIndex(0)
-+21>Emitted(61, 100) Source(95, 18) + SourceIndex(0)
-+22>Emitted(61, 106) Source(95, 24) + SourceIndex(0)
-+23>Emitted(61, 107) Source(95, 25) + SourceIndex(0)
-+24>Emitted(61, 108) Source(96, 2) + SourceIndex(0)
-+25>Emitted(61, 111) Source(96, 6) + SourceIndex(0)
-+26>Emitted(61, 112) Source(96, 7) + SourceIndex(0)
-+27>Emitted(61, 121) Source(96, 16) + SourceIndex(0)
-+28>Emitted(61, 123) Source(96, 18) + SourceIndex(0)
-+29>Emitted(61, 124) Source(96, 19) + SourceIndex(0)
-+30>Emitted(61, 134) Source(96, 29) + SourceIndex(0)
-+31>Emitted(61, 136) Source(96, 31) + SourceIndex(0)
-+32>Emitted(61, 144) Source(96, 39) + SourceIndex(0)
-+33>Emitted(61, 145) Source(96, 40) + SourceIndex(0)
-+34>Emitted(61, 146) Source(96, 41) + SourceIndex(0)
-+35>Emitted(61, 148) Source(96, 43) + SourceIndex(0)
-+36>Emitted(61, 149) Source(96, 44) + SourceIndex(0)
-+37>Emitted(61, 152) Source(96, 47) + SourceIndex(0)
-+38>Emitted(61, 153) Source(96, 48) + SourceIndex(0)
-+39>Emitted(61, 155) Source(96, 50) + SourceIndex(0)
-+40>Emitted(61, 156) Source(96, 51) + SourceIndex(0)
-+41>Emitted(61, 159) Source(96, 54) + SourceIndex(0)
-+42>Emitted(61, 160) Source(96, 55) + SourceIndex(0)
-+43>Emitted(61, 162) Source(96, 57) + SourceIndex(0)
-+44>Emitted(61, 163) Source(96, 58) + SourceIndex(0)
-+45>Emitted(61, 165) Source(96, 60) + SourceIndex(0)
-+46>Emitted(61, 167) Source(96, 62) + SourceIndex(0)
-+47>Emitted(61, 168) Source(96, 63) + SourceIndex(0)
- ---
- >>> console.log(nameMA);
- 1 >^^^^
-@@= skipped -226, +186 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(63, 1) Source(98, 1) + SourceIndex(0)
- 2 >Emitted(63, 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++) {
-+>>>for (let [numberA3 = -1, ...robotAInfo] = robotA, i = 0; i < 1; i++) {
- 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> ^
-+4 > ^
-+5 > ^^^^^^^^
-+6 > ^^^
-+7 > ^
-+8 > ^
-+9 > ^^
-+10> ^^^
-+11> ^^^^^^^^^^
-+12> ^
-+13> ^^^
-+14> ^^^^^^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
-+19> ^^
-+20> ^
-+21> ^^^
-+22> ^
-+23> ^^
-+24> ^
-+25> ^^
-+26> ^^
-+27> ^
- 1->
- >
- >
--2 >for (let [
--3 >
--4 > numberA3 = -1, ...robotAInfo] =
--5 > robotA
--6 >
--7 >
--8 > numberA3
--9 > =
--10> -
--11> 1
--12>
--13> , ...
--14> robotAInfo
--15> ] =
--16> robotA
--17>
--18> ] = robotA,
--19> i
--20> =
--21> 0
--22> ;
--23> i
--24> <
--25> 1
--26> ;
--27> i
--28> ++
--29> )
--30> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberA3
-+6 > =
-+7 > -
-+8 > 1
-+9 > ,
-+10> ...
-+11> robotAInfo
-+12> ]
-+13> =
-+14> robotA
-+15> ,
-+16> i
-+17> =
-+18> 0
-+19> ;
-+20> i
-+21> <
-+22> 1
-+23> ;
-+24> i
-+25> ++
-+26> )
-+27> {
- 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)
-+2 >Emitted(64, 6) Source(100, 6) + SourceIndex(0)
-+3 >Emitted(64, 10) Source(100, 10) + SourceIndex(0)
-+4 >Emitted(64, 11) Source(100, 11) + SourceIndex(0)
-+5 >Emitted(64, 19) Source(100, 19) + SourceIndex(0)
-+6 >Emitted(64, 22) Source(100, 22) + SourceIndex(0)
-+7 >Emitted(64, 23) Source(100, 23) + SourceIndex(0)
-+8 >Emitted(64, 24) Source(100, 24) + SourceIndex(0)
-+9 >Emitted(64, 26) Source(100, 26) + SourceIndex(0)
-+10>Emitted(64, 29) Source(100, 29) + SourceIndex(0)
-+11>Emitted(64, 39) Source(100, 39) + SourceIndex(0)
-+12>Emitted(64, 40) Source(100, 40) + SourceIndex(0)
-+13>Emitted(64, 43) Source(100, 43) + SourceIndex(0)
-+14>Emitted(64, 49) Source(100, 49) + SourceIndex(0)
-+15>Emitted(64, 51) Source(100, 51) + SourceIndex(0)
-+16>Emitted(64, 52) Source(100, 52) + SourceIndex(0)
-+17>Emitted(64, 55) Source(100, 55) + SourceIndex(0)
-+18>Emitted(64, 56) Source(100, 56) + SourceIndex(0)
-+19>Emitted(64, 58) Source(100, 58) + SourceIndex(0)
-+20>Emitted(64, 59) Source(100, 59) + SourceIndex(0)
-+21>Emitted(64, 62) Source(100, 62) + SourceIndex(0)
-+22>Emitted(64, 63) Source(100, 63) + SourceIndex(0)
-+23>Emitted(64, 65) Source(100, 65) + SourceIndex(0)
-+24>Emitted(64, 66) Source(100, 66) + SourceIndex(0)
-+25>Emitted(64, 68) Source(100, 68) + SourceIndex(0)
-+26>Emitted(64, 70) Source(100, 70) + SourceIndex(0)
-+27>Emitted(64, 71) Source(100, 71) + SourceIndex(0)
- ---
- >>> console.log(numberA3);
- 1 >^^^^
-@@= skipped -131, +122 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(66, 1) Source(102, 1) + SourceIndex(0)
- 2 >Emitted(66, 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++) {
-+>>>for (let [numberA3 = -1, ...robotAInfo] = getRobot(), i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [numberA3 = -1, ...robotAInfo] =
--5 > getRobot
--6 > ()
--7 >
--8 > numberA3 = -1
--9 >
--10> numberA3
--11> =
--12> -
--13> 1
--14>
--15> , ...
--16> robotAInfo
--17>
--18> ] = getRobot(),
--19> i
--20> =
--21> 0
--22> ;
--23> i
--24> <
--25> 1
--26> ;
--27> i
--28> ++
--29> )
--30> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberA3
-+6 > =
-+7 > -
-+8 > 1
-+9 > ,
-+10> ...
-+11> robotAInfo
-+12> ]
-+13> =
-+14> getRobot
-+15> ()
-+16> ,
-+17> i
-+18> =
-+19> 0
-+20> ;
-+21> i
-+22> <
-+23> 1
-+24> ;
-+25> i
-+26> ++
-+27> )
-+28> {
- 1->Emitted(67, 1) Source(103, 1) + SourceIndex(0)
--2 >Emitted(67, 6) Source(103, 10) + SourceIndex(0)
-+2 >Emitted(67, 6) Source(103, 6) + 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)
-+4 >Emitted(67, 11) Source(103, 11) + SourceIndex(0)
-+5 >Emitted(67, 19) Source(103, 19) + SourceIndex(0)
-+6 >Emitted(67, 22) Source(103, 22) + SourceIndex(0)
-+7 >Emitted(67, 23) Source(103, 23) + SourceIndex(0)
-+8 >Emitted(67, 24) Source(103, 24) + SourceIndex(0)
-+9 >Emitted(67, 26) Source(103, 26) + SourceIndex(0)
-+10>Emitted(67, 29) Source(103, 29) + SourceIndex(0)
-+11>Emitted(67, 39) Source(103, 39) + SourceIndex(0)
-+12>Emitted(67, 40) Source(103, 40) + SourceIndex(0)
-+13>Emitted(67, 43) Source(103, 43) + SourceIndex(0)
-+14>Emitted(67, 51) Source(103, 51) + SourceIndex(0)
-+15>Emitted(67, 53) Source(103, 53) + SourceIndex(0)
-+16>Emitted(67, 55) Source(103, 55) + SourceIndex(0)
-+17>Emitted(67, 56) Source(103, 56) + SourceIndex(0)
-+18>Emitted(67, 59) Source(103, 59) + SourceIndex(0)
-+19>Emitted(67, 60) Source(103, 60) + SourceIndex(0)
-+20>Emitted(67, 62) Source(103, 62) + SourceIndex(0)
-+21>Emitted(67, 63) Source(103, 63) + SourceIndex(0)
-+22>Emitted(67, 66) Source(103, 66) + SourceIndex(0)
-+23>Emitted(67, 67) Source(103, 67) + SourceIndex(0)
-+24>Emitted(67, 69) Source(103, 69) + SourceIndex(0)
-+25>Emitted(67, 70) Source(103, 70) + SourceIndex(0)
-+26>Emitted(67, 72) Source(103, 72) + SourceIndex(0)
-+27>Emitted(67, 74) Source(103, 74) + SourceIndex(0)
-+28>Emitted(67, 75) Source(103, 75) + SourceIndex(0)
- ---
- >>> console.log(numberA3);
- 1 >^^^^
-@@= skipped -130, +124 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(69, 1) Source(105, 1) + SourceIndex(0)
- 2 >Emitted(69, 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++) {
-+>>>for (let [numberA3 = -1, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > [numberA3 = -1, ...robotAInfo] =
--5 > [
--6 > 2
--7 > ,
--8 > "trimmer"
--9 > ,
--10> "trimming"
--11> ]
--12>
--13> numberA3 = -1
--14>
--15> numberA3
--16> =
--17> -
--18> 1
--19>
--20> , ...
--21> robotAInfo
--22>
--23> ] = [2, "trimmer", "trimming"],
--24> i
--25> =
--26> 0
--27> ;
--28> i
--29> <
--30> 1
--31> ;
--32> i
--33> ++
--34> )
--35> {
-+2 >for (
-+3 > let
-+4 > [
-+5 > numberA3
-+6 > =
-+7 > -
-+8 > 1
-+9 > ,
-+10> ...
-+11> robotAInfo
-+12> ]
-+13> =
-+14> [
-+15> 2
-+16> ,
-+17> "trimmer"
-+18> ,
-+19> "trimming"
-+20> ]
-+21> ,
-+22> i
-+23> =
-+24> 0
-+25> ;
-+26> i
-+27> <
-+28> 1
-+29> ;
-+30> i
-+31> ++
-+32> )
-+33> {
- 1->Emitted(70, 1) Source(106, 1) + SourceIndex(0)
--2 >Emitted(70, 6) Source(106, 10) + SourceIndex(0)
-+2 >Emitted(70, 6) Source(106, 6) + 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)
-+4 >Emitted(70, 11) Source(106, 11) + SourceIndex(0)
-+5 >Emitted(70, 19) Source(106, 19) + SourceIndex(0)
-+6 >Emitted(70, 22) Source(106, 22) + SourceIndex(0)
-+7 >Emitted(70, 23) Source(106, 23) + SourceIndex(0)
-+8 >Emitted(70, 24) Source(106, 24) + SourceIndex(0)
-+9 >Emitted(70, 26) Source(106, 26) + SourceIndex(0)
-+10>Emitted(70, 29) Source(106, 29) + SourceIndex(0)
-+11>Emitted(70, 39) Source(106, 39) + SourceIndex(0)
-+12>Emitted(70, 40) Source(106, 40) + SourceIndex(0)
-+13>Emitted(70, 43) Source(106, 43) + SourceIndex(0)
-+14>Emitted(70, 44) Source(106, 44) + SourceIndex(0)
-+15>Emitted(70, 45) Source(106, 45) + SourceIndex(0)
-+16>Emitted(70, 47) Source(106, 47) + SourceIndex(0)
-+17>Emitted(70, 56) Source(106, 56) + SourceIndex(0)
-+18>Emitted(70, 58) Source(106, 58) + SourceIndex(0)
-+19>Emitted(70, 68) Source(106, 68) + SourceIndex(0)
-+20>Emitted(70, 69) Source(106, 69) + SourceIndex(0)
-+21>Emitted(70, 71) Source(106, 71) + SourceIndex(0)
-+22>Emitted(70, 72) Source(106, 72) + SourceIndex(0)
-+23>Emitted(70, 75) Source(106, 75) + SourceIndex(0)
-+24>Emitted(70, 76) Source(106, 76) + SourceIndex(0)
-+25>Emitted(70, 78) Source(106, 78) + SourceIndex(0)
-+26>Emitted(70, 79) Source(106, 79) + SourceIndex(0)
-+27>Emitted(70, 82) Source(106, 82) + SourceIndex(0)
-+28>Emitted(70, 83) Source(106, 83) + SourceIndex(0)
-+29>Emitted(70, 85) Source(106, 85) + SourceIndex(0)
-+30>Emitted(70, 86) Source(106, 86) + SourceIndex(0)
-+31>Emitted(70, 88) Source(106, 88) + SourceIndex(0)
-+32>Emitted(70, 90) Source(106, 90) + SourceIndex(0)
-+33>Emitted(70, 91) Source(106, 91) + SourceIndex(0)
- ---
- >>> console.log(numberA3);
- 1 >^^^^
\ No newline at end of file
+ >>>for (let [, nameA = "name"] = robotA, i = 0; i < 1; i++) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.diff
deleted file mode 100644
index 6bdcf5e157..0000000000
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.diff
+++ /dev/null
@@ -1,173 +0,0 @@
---- old.sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js
-+++ new.sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js
-@@= skipped -116, +116 lines =@@
- }
-
- //// [sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js]
--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"];
-+let robotA = [1, "mower", "mowing"];
- function getRobot() {
- return robotA;
- }
--var multiRobotA = ["mower", ["mowing", ""]];
--var multiRobotB = ["trimmer", ["trimming", "edging"]];
-+let multiRobotA = ["mower", ["mowing", ""]];
-+let multiRobotB = ["trimmer", ["trimming", "edging"]];
- function getMultiRobot() {
- return multiRobotA;
- }
--var nameA, primarySkillA, secondarySkillA;
--var numberB, nameB;
--var numberA2, nameA2, skillA2, nameMA;
--var numberA3, robotAInfo, multiRobotAInfo;
--var i;
--for (_a = robotA[1], nameA = _a === void 0 ? "name" : _a, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (_b = getRobot(), _c = _b[1], nameA = _c === void 0 ? "name" : _c, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (_d = [2, "trimmer", "trimming"], _e = _d[1], nameA = _e === void 0 ? "name" : _e, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--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++) {
-- console.log(primarySkillA);
--}
--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++) {
-- console.log(primarySkillA);
--}
--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++) {
-- console.log(primarySkillA);
--}
--for (_v = robotA[0], numberB = _v === void 0 ? -1 : _v, i = 0; i < 1; i++) {
-- console.log(numberB);
--}
--for (_w = getRobot()[0], numberB = _w === void 0 ? -1 : _w, i = 0; i < 1; i++) {
-- console.log(numberB);
--}
--for (_x = [2, "trimmer", "trimming"][0], numberB = _x === void 0 ? -1 : _x, i = 0; i < 1; i++) {
-- console.log(numberB);
--}
--for (_y = multiRobotA[0], nameB = _y === void 0 ? "name" : _y, i = 0; i < 1; i++) {
-- console.log(nameB);
--}
--for (_z = getMultiRobot()[0], nameB = _z === void 0 ? "name" : _z, i = 0; i < 1; i++) {
-- console.log(nameB);
--}
--for (_0 = ["trimmer", ["trimming", "edging"]][0], nameB = _0 === void 0 ? "name" : _0, i = 0; i < 1; i++) {
-- console.log(nameB);
--}
--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++) {
-- console.log(nameA2);
--}
--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++) {
-- console.log(nameA2);
--}
--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++) {
-- console.log(nameA2);
--}
--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++) {
-- console.log(nameMA_1);
--}
--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++) {
-- console.log(nameMA);
--}
--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++) {
-- console.log(nameMA);
--}
--for (_24 = robotA[0], numberA3 = _24 === void 0 ? -1 : _24, robotAInfo = robotA.slice(1), i = 0; i < 1; i++) {
-- console.log(numberA3);
--}
--for (_25 = getRobot(), _26 = _25[0], numberA3 = _26 === void 0 ? -1 : _26, robotAInfo = _25.slice(1), i = 0; i < 1; i++) {
-- console.log(numberA3);
--}
--for (_27 = [2, "trimmer", "trimming"], _28 = _27[0], numberA3 = _28 === void 0 ? -1 : _28, robotAInfo = _27.slice(1), i = 0; i < 1; i++) {
-+let nameA, primarySkillA, secondarySkillA;
-+let numberB, nameB;
-+let numberA2, nameA2, skillA2, nameMA;
-+let numberA3, robotAInfo, multiRobotAInfo;
-+let i;
-+for ([, nameA = "name"] = robotA, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ([, nameA = "name"] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ([, nameA = "name"] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ([, [
-+ primarySkillA = "primary",
-+ secondarySkillA = "secondary"
-+ ] = ["none", "none"]] = multiRobotA, i = 0; i < 1; i++) {
-+ console.log(primarySkillA);
-+}
-+for ([, [
-+ primarySkillA = "primary",
-+ secondarySkillA = "secondary"
-+ ] = ["none", "none"]] = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(primarySkillA);
-+}
-+for ([, [
-+ primarySkillA = "primary",
-+ secondarySkillA = "secondary"
-+ ] = ["none", "none"]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+ console.log(primarySkillA);
-+}
-+for ([numberB = -1] = robotA, i = 0; i < 1; i++) {
-+ console.log(numberB);
-+}
-+for ([numberB = -1] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(numberB);
-+}
-+for ([numberB = -1] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+ console.log(numberB);
-+}
-+for ([nameB = "name"] = multiRobotA, i = 0; i < 1; i++) {
-+ console.log(nameB);
-+}
-+for ([nameB = "name"] = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(nameB);
-+}
-+for ([nameB = "name"] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+ console.log(nameB);
-+}
-+for ([numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = robotA, i = 0; i < 1; i++) {
-+ console.log(nameA2);
-+}
-+for ([numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(nameA2);
-+}
-+for ([numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+ console.log(nameA2);
-+}
-+for (let [nameMA = "noName", [primarySkillA = "primary", secondarySkillA = "secondary"] = ["none", "none"]] = multiRobotA, i = 0; i < 1; i++) {
-+ console.log(nameMA);
-+}
-+for ([nameMA = "noName",
-+ [
-+ primarySkillA = "primary",
-+ secondarySkillA = "secondary"
-+ ] = ["none", "none"]
-+] = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(nameMA);
-+}
-+for ([nameMA = "noName",
-+ [
-+ primarySkillA = "primary",
-+ secondarySkillA = "secondary"
-+ ] = ["none", "none"]
-+] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+ console.log(nameMA);
-+}
-+for ([numberA3 = -1, ...robotAInfo] = robotA, i = 0; i < 1; i++) {
-+ console.log(numberA3);
-+}
-+for ([numberA3 = -1, ...robotAInfo] = getRobot(), i = 0; i < 1; i++) {
-+ console.log(numberA3);
-+}
-+for ([numberA3 = -1, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
- console.log(numberA3);
- }
- //# sourceMappingURL=sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.map.diff
index 59764ff719..7fd63b72cc 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.map
@@= skipped -0, +0 lines =@@
//// [sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.map]
--{"version":3,"file":"sourceMapValidationDestructuringForArrayBindingPatternDef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bEEgPSAic2Vjb25kYXJ5IgogICAgXSA9IFsibm9uZSIsICJub25lIl0KXSA9IFsidHJpbW1lciIsIFsidHJpbW1pbmciLCAiZWRnaW5nIl1dLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobmFtZU1BKTsKfQoKZm9yIChbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSByb2JvdEEsIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSBnZXRSb2JvdCgpLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9CmZvciAoW251bWJlckEzID0gLTEsIC4uLnJvYm90QUluZm9dID0gPFJvYm90PlsyLCAidHJpbW1lciIsICJ0cmltbWluZyJdLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9
+-{"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,I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ID0gIm5vTmFtZSIsCiAgICBbCiAgICAgICAgcHJpbWFyeVNraWxsQSA9ICJwcmltYXJ5IiwKICAgICAgICBzZWNvbmRhcnlTa2lsbEEgPSAic2Vjb25kYXJ5IgogICAgXSA9IFsibm9uZSIsICJub25lIl0KXSA9IGdldE11bHRpUm9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG5hbWVNQSk7Cn0KZm9yIChbbmFtZU1BID0gIm5vTmFtZSIsCiAgICBbCiAgICAgICAgcHJpbWFyeVNraWxsQSA9ICJwcmltYXJ5IiwKICAgICAgICBzZWNvbmRhcnlTa2lsbEEgPSAic2Vjb25kYXJ5IgogICAgXSA9IFsibm9uZSIsICJub25lIl0KXSA9IFsidHJpbW1lciIsIFsidHJpbW1pbmciLCAiZWRnaW5nIl1dLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobmFtZU1BKTsKfQoKZm9yIChbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSByb2JvdEEsIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSBnZXRSb2JvdCgpLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9CmZvciAoW251bWJlckEzID0gLTEsIC4uLnJvYm90QUluZm9dID0gPFJvYm90PlsyLCAidHJpbW1lciIsICJ0cmltbWluZyJdLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9
+{"version":3,"file":"sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.ts"],"names":[],"mappings":"AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OA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nZXRSb2JvdCgpLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9CmZvciAoW251bWJlckEzID0gLTEsIC4uLnJvYm90QUluZm9dID0gPFJvYm90PlsyLCAidHJpbW1lciIsICJ0cmltbWluZyJdLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.sourcemap.txt.diff
index ad96a1e103..5356a184bc 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.sourcemap.txt.diff
@@ -1,45 +1,6 @@
--- old.sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.sourcemap.txt
+++ new.sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js
- sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.ts
- -------------------------------------------------------------------
-->>>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"];
-+>>>let robotA = [1, "mower", "mowing"];
- 1 >
- 2 >^^^^
- 3 > ^^^^^^
-@@= skipped -32, +31 lines =@@
- 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(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)
- ---
- >>>function getRobot() {
+@@= skipped -55, +55 lines =@@
1 >
2 >^^^^^^^^^
3 > ^^^^^^^^
@@ -49,13 +10,10 @@
>
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)
+4 > ()
-+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(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)
+4 >Emitted(2, 21) Source(8, 21) + SourceIndex(0)
---
>>> return robotA;
@@ -70,106 +28,25 @@
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(3, 5) Source(9, 5) + SourceIndex(0)
+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 >
+ 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)
+@@= skipped -29, +31 lines =@@
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
- >
-2 >}
--1 >Emitted(5, 1) Source(10, 1) + SourceIndex(0)
--2 >Emitted(5, 2) Source(10, 2) + SourceIndex(0)
+-1 >Emitted(4, 1) Source(10, 1) + SourceIndex(0)
+2 >
+ >}
+1 >Emitted(4, 1) Source(9, 19) + SourceIndex(0)
-+2 >Emitted(4, 2) Source(10, 2) + SourceIndex(0)
+ 2 >Emitted(4, 2) Source(10, 2) + SourceIndex(0)
---
-->>>var multiRobotA = ["mower", ["mowing", ""]];
-+>>>let multiRobotA = ["mower", ["mowing", ""]];
- 1->
- 2 >^^^^
- 3 > ^^^^^^^^^^^
-@@= skipped -83, +85 lines =@@
- 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(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)
- ---
-->>>var multiRobotB = ["trimmer", ["trimming", "edging"]];
-+>>>let multiRobotB = ["trimmer", ["trimming", "edging"]];
- 1->
- 2 >^^^^
- 3 > ^^^^^^^^^^^
-@@= skipped -45, +45 lines =@@
- 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(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)
- ---
- >>>function getMultiRobot() {
+ >>>let multiRobotA = ["mower", ["mowing", ""]];
+@@= skipped -101, +101 lines =@@
1 >
2 >^^^^^^^^^
3 > ^^^^^^^^^^^^^
@@ -179,13 +56,10 @@
>
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)
+4 > ()
-+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(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)
+4 >Emitted(7, 26) Source(14, 26) + SourceIndex(0)
---
>>> return multiRobotA;
@@ -200,6105 +74,21 @@
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(8, 5) Source(15, 5) + SourceIndex(0)
+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 >
+ 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)
+@@= skipped -29, +31 lines =@@
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
- >
-2 >}
--1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0)
--2 >Emitted(10, 2) Source(16, 2) + SourceIndex(0)
+-1 >Emitted(9, 1) Source(16, 1) + SourceIndex(0)
+2 >
+ >}
+1 >Emitted(9, 1) Source(15, 24) + SourceIndex(0)
-+2 >Emitted(9, 2) Source(16, 2) + SourceIndex(0)
- ---
-->>>var nameA, primarySkillA, secondarySkillA;
-+>>>let nameA, primarySkillA, secondarySkillA;
- 1->
- 2 >^^^^
- 3 > ^^^^^
-@@= skipped -72, +74 lines =@@
- 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(10, 1) Source(18, 1) + SourceIndex(0)
-+2 >Emitted(10, 5) Source(18, 5) + SourceIndex(0)
-+3 >Emitted(10, 10) Source(18, 18) + SourceIndex(0)
-+4 >Emitted(10, 12) Source(18, 20) + SourceIndex(0)
-+5 >Emitted(10, 25) Source(18, 41) + SourceIndex(0)
-+6 >Emitted(10, 27) Source(18, 43) + SourceIndex(0)
-+7 >Emitted(10, 42) Source(18, 66) + SourceIndex(0)
-+8 >Emitted(10, 43) Source(18, 67) + SourceIndex(0)
- ---
-->>>var numberB, nameB;
-+>>>let numberB, nameB;
- 1 >
- 2 >^^^^
- 3 > ^^^^^^^
-@@= skipped -24, +24 lines =@@
- 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(11, 1) Source(19, 1) + SourceIndex(0)
-+2 >Emitted(11, 5) Source(19, 5) + SourceIndex(0)
-+3 >Emitted(11, 12) Source(19, 20) + SourceIndex(0)
-+4 >Emitted(11, 14) Source(19, 22) + SourceIndex(0)
-+5 >Emitted(11, 19) Source(19, 35) + SourceIndex(0)
-+6 >Emitted(11, 20) Source(19, 36) + SourceIndex(0)
- ---
-->>>var numberA2, nameA2, skillA2, nameMA;
-+>>>let numberA2, nameA2, skillA2, nameMA;
- 1->
- 2 >^^^^
- 3 > ^^^^^^^^
-@@= skipped -30, +30 lines =@@
- 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(12, 1) Source(20, 1) + SourceIndex(0)
-+2 >Emitted(12, 5) Source(20, 5) + SourceIndex(0)
-+3 >Emitted(12, 13) Source(20, 21) + SourceIndex(0)
-+4 >Emitted(12, 15) Source(20, 23) + SourceIndex(0)
-+5 >Emitted(12, 21) Source(20, 37) + SourceIndex(0)
-+6 >Emitted(12, 23) Source(20, 39) + SourceIndex(0)
-+7 >Emitted(12, 30) Source(20, 54) + SourceIndex(0)
-+8 >Emitted(12, 32) Source(20, 56) + SourceIndex(0)
-+9 >Emitted(12, 38) Source(20, 70) + SourceIndex(0)
-+10>Emitted(12, 39) Source(20, 71) + SourceIndex(0)
- ---
-->>>var numberA3, robotAInfo, multiRobotAInfo;
-+>>>let numberA3, robotAInfo, multiRobotAInfo;
- 1->
- 2 >^^^^
- 3 > ^^^^^^^^
-@@= skipped -29, +29 lines =@@
- 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(13, 1) Source(21, 1) + SourceIndex(0)
-+2 >Emitted(13, 5) Source(21, 5) + SourceIndex(0)
-+3 >Emitted(13, 13) Source(21, 21) + SourceIndex(0)
-+4 >Emitted(13, 15) Source(21, 23) + SourceIndex(0)
-+5 >Emitted(13, 25) Source(21, 54) + SourceIndex(0)
-+6 >Emitted(13, 27) Source(21, 56) + SourceIndex(0)
-+7 >Emitted(13, 42) Source(21, 102) + SourceIndex(0)
-+8 >Emitted(13, 43) Source(21, 103) + SourceIndex(0)
- ---
-->>>var i;
-+>>>let i;
- 1 >
- 2 >^^^^
- 3 > ^
- 4 > ^
--5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 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)
-----
-->>>for (_a = robotA[1], nameA = _a === void 0 ? "name" : _a, i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^^^^^
--5 > ^^^
--6 > ^^
--7 > ^^^^^
--8 > ^^^^^^^^^^^^^^^^^^^
--9 > ^^^^^^
--10> ^^^^^
--11> ^^
--12> ^
--13> ^^^
--14> ^
--15> ^^
--16> ^
--17> ^^^
--18> ^
--19> ^^
--20> ^
--21> ^^
--22> ^^
--23> ^
--1->
-- >
-- >
--2 >for ([,
--3 > nameA = "name"] =
--4 > robotA
--5 >
--6 >
--7 > nameA
--8 > =
--9 > "name"
--10>
--11> ] = robotA,
--12> i
--13> =
--14> 0
--15> ;
--16> i
--17> <
--18> 1
--19> ;
--20> i
--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)
-----
-->>> console.log(nameA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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(14, 1) Source(22, 1) + SourceIndex(0)
-+2 >Emitted(14, 5) Source(22, 5) + SourceIndex(0)
-+3 >Emitted(14, 6) Source(22, 14) + SourceIndex(0)
-+4 >Emitted(14, 7) Source(22, 15) + SourceIndex(0)
-+---
-+>>>for ([, nameA = "name"] = robotA, i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^
-+5 > ^^^^^
-+6 > ^^^
-+7 > ^^^^^^
-+8 > ^
-+9 > ^^^
-+10> ^^^^^^
-+11> ^^
-+12> ^
-+13> ^^^
-+14> ^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
-+19> ^^
-+20> ^
-+21> ^^
-+22> ^^
-+23> ^
-+1->
-+ >
-+ >
-+2 >for (
-+3 > [
-+4 > ,
-+5 > nameA
-+6 > =
-+7 > "name"
-+8 > ]
-+9 > =
-+10> robotA
-+11> ,
-+12> i
-+13> =
-+14> 0
-+15> ;
-+16> i
-+17> <
-+18> 1
-+19> ;
-+20> i
-+21> ++
-+22> )
-+23> {
-+1->Emitted(15, 1) Source(24, 1) + SourceIndex(0)
-+2 >Emitted(15, 6) Source(24, 6) + SourceIndex(0)
-+3 >Emitted(15, 7) Source(24, 7) + SourceIndex(0)
-+4 >Emitted(15, 9) Source(24, 9) + SourceIndex(0)
-+5 >Emitted(15, 14) Source(24, 14) + SourceIndex(0)
-+6 >Emitted(15, 17) Source(24, 17) + SourceIndex(0)
-+7 >Emitted(15, 23) Source(24, 23) + SourceIndex(0)
-+8 >Emitted(15, 24) Source(24, 24) + SourceIndex(0)
-+9 >Emitted(15, 27) Source(24, 27) + SourceIndex(0)
-+10>Emitted(15, 33) Source(24, 33) + SourceIndex(0)
-+11>Emitted(15, 35) Source(24, 35) + SourceIndex(0)
-+12>Emitted(15, 36) Source(24, 36) + SourceIndex(0)
-+13>Emitted(15, 39) Source(24, 39) + SourceIndex(0)
-+14>Emitted(15, 40) Source(24, 40) + SourceIndex(0)
-+15>Emitted(15, 42) Source(24, 42) + SourceIndex(0)
-+16>Emitted(15, 43) Source(24, 43) + SourceIndex(0)
-+17>Emitted(15, 46) Source(24, 46) + SourceIndex(0)
-+18>Emitted(15, 47) Source(24, 47) + SourceIndex(0)
-+19>Emitted(15, 49) Source(24, 49) + SourceIndex(0)
-+20>Emitted(15, 50) Source(24, 50) + SourceIndex(0)
-+21>Emitted(15, 52) Source(24, 52) + SourceIndex(0)
-+22>Emitted(15, 54) Source(24, 54) + SourceIndex(0)
-+23>Emitted(15, 55) Source(24, 55) + SourceIndex(0)
-+---
-+>>> console.log(nameA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameA
-+7 > )
-+8 > ;
-+1 >Emitted(16, 5) Source(25, 5) + SourceIndex(0)
-+2 >Emitted(16, 12) Source(25, 12) + SourceIndex(0)
-+3 >Emitted(16, 13) Source(25, 13) + SourceIndex(0)
-+4 >Emitted(16, 16) Source(25, 16) + SourceIndex(0)
-+5 >Emitted(16, 17) Source(25, 17) + SourceIndex(0)
-+6 >Emitted(16, 22) Source(25, 22) + SourceIndex(0)
-+7 >Emitted(16, 23) Source(25, 23) + SourceIndex(0)
-+8 >Emitted(16, 24) Source(25, 24) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(17, 1) Source(26, 1) + SourceIndex(0)
-+2 >Emitted(17, 2) Source(26, 2) + SourceIndex(0)
-+---
-+>>>for ([, nameA = "name"] = getRobot(), i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^
-+5 > ^^^^^
-+6 > ^^^
-+7 > ^^^^^^
-+8 > ^
-+9 > ^^^
-+10> ^^^^^^^^
-+11> ^^
-+12> ^^
-+13> ^
-+14> ^^^
-+15> ^
-+16> ^^
-+17> ^
-+18> ^^^
-+19> ^
-+20> ^^
-+21> ^
-+22> ^^
-+23> ^^
-+24> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > ,
-+5 > nameA
-+6 > =
-+7 > "name"
-+8 > ]
-+9 > =
-+10> getRobot
-+11> ()
-+12> ,
-+13> i
-+14> =
-+15> 0
-+16> ;
-+17> i
-+18> <
-+19> 1
-+20> ;
-+21> i
-+22> ++
-+23> )
-+24> {
-+1->Emitted(18, 1) Source(27, 1) + SourceIndex(0)
-+2 >Emitted(18, 6) Source(27, 6) + SourceIndex(0)
-+3 >Emitted(18, 7) Source(27, 7) + SourceIndex(0)
-+4 >Emitted(18, 9) Source(27, 9) + SourceIndex(0)
-+5 >Emitted(18, 14) Source(27, 14) + SourceIndex(0)
-+6 >Emitted(18, 17) Source(27, 17) + SourceIndex(0)
-+7 >Emitted(18, 23) Source(27, 23) + SourceIndex(0)
-+8 >Emitted(18, 24) Source(27, 24) + SourceIndex(0)
-+9 >Emitted(18, 27) Source(27, 27) + SourceIndex(0)
-+10>Emitted(18, 35) Source(27, 35) + SourceIndex(0)
-+11>Emitted(18, 37) Source(27, 37) + SourceIndex(0)
-+12>Emitted(18, 39) Source(27, 39) + SourceIndex(0)
-+13>Emitted(18, 40) Source(27, 40) + SourceIndex(0)
-+14>Emitted(18, 43) Source(27, 43) + SourceIndex(0)
-+15>Emitted(18, 44) Source(27, 44) + SourceIndex(0)
-+16>Emitted(18, 46) Source(27, 46) + SourceIndex(0)
-+17>Emitted(18, 47) Source(27, 47) + SourceIndex(0)
-+18>Emitted(18, 50) Source(27, 50) + SourceIndex(0)
-+19>Emitted(18, 51) Source(27, 51) + SourceIndex(0)
-+20>Emitted(18, 53) Source(27, 53) + SourceIndex(0)
-+21>Emitted(18, 54) Source(27, 54) + SourceIndex(0)
-+22>Emitted(18, 56) Source(27, 56) + SourceIndex(0)
-+23>Emitted(18, 58) Source(27, 58) + SourceIndex(0)
-+24>Emitted(18, 59) Source(27, 59) + SourceIndex(0)
-+---
-+>>> console.log(nameA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameA
-+7 > )
-+8 > ;
-+1 >Emitted(19, 5) Source(28, 5) + SourceIndex(0)
-+2 >Emitted(19, 12) Source(28, 12) + SourceIndex(0)
-+3 >Emitted(19, 13) Source(28, 13) + SourceIndex(0)
-+4 >Emitted(19, 16) Source(28, 16) + SourceIndex(0)
-+5 >Emitted(19, 17) Source(28, 17) + SourceIndex(0)
-+6 >Emitted(19, 22) Source(28, 22) + SourceIndex(0)
-+7 >Emitted(19, 23) Source(28, 23) + SourceIndex(0)
-+8 >Emitted(19, 24) Source(28, 24) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(20, 1) Source(29, 1) + SourceIndex(0)
-+2 >Emitted(20, 2) Source(29, 2) + SourceIndex(0)
-+---
-+>>>for ([, nameA = "name"] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > ,
-+5 > nameA
-+6 > =
-+7 > "name"
-+8 > ]
-+9 > =
-+10> [
-+11> 2
-+12> ,
-+13> "trimmer"
-+14> ,
-+15> "trimming"
-+16> ]
-+17> ,
-+18> i
-+19> =
-+20> 0
-+21> ;
-+22> i
-+23> <
-+24> 1
-+25> ;
-+26> i
-+27> ++
-+28> )
-+29> {
-+1->Emitted(21, 1) Source(30, 1) + SourceIndex(0)
-+2 >Emitted(21, 6) Source(30, 6) + SourceIndex(0)
-+3 >Emitted(21, 7) Source(30, 7) + SourceIndex(0)
-+4 >Emitted(21, 9) Source(30, 9) + SourceIndex(0)
-+5 >Emitted(21, 14) Source(30, 14) + SourceIndex(0)
-+6 >Emitted(21, 17) Source(30, 17) + SourceIndex(0)
-+7 >Emitted(21, 23) Source(30, 23) + SourceIndex(0)
-+8 >Emitted(21, 24) Source(30, 24) + SourceIndex(0)
-+9 >Emitted(21, 27) Source(30, 27) + SourceIndex(0)
-+10>Emitted(21, 28) Source(30, 28) + SourceIndex(0)
-+11>Emitted(21, 29) Source(30, 29) + SourceIndex(0)
-+12>Emitted(21, 31) Source(30, 31) + SourceIndex(0)
-+13>Emitted(21, 40) Source(30, 40) + SourceIndex(0)
-+14>Emitted(21, 42) Source(30, 42) + SourceIndex(0)
-+15>Emitted(21, 52) Source(30, 52) + SourceIndex(0)
-+16>Emitted(21, 53) Source(30, 53) + SourceIndex(0)
-+17>Emitted(21, 55) Source(30, 55) + SourceIndex(0)
-+18>Emitted(21, 56) Source(30, 56) + SourceIndex(0)
-+19>Emitted(21, 59) Source(30, 59) + SourceIndex(0)
-+20>Emitted(21, 60) Source(30, 60) + SourceIndex(0)
-+21>Emitted(21, 62) Source(30, 62) + SourceIndex(0)
-+22>Emitted(21, 63) Source(30, 63) + SourceIndex(0)
-+23>Emitted(21, 66) Source(30, 66) + SourceIndex(0)
-+24>Emitted(21, 67) Source(30, 67) + SourceIndex(0)
-+25>Emitted(21, 69) Source(30, 69) + SourceIndex(0)
-+26>Emitted(21, 70) Source(30, 70) + SourceIndex(0)
-+27>Emitted(21, 72) Source(30, 72) + SourceIndex(0)
-+28>Emitted(21, 74) Source(30, 74) + SourceIndex(0)
-+29>Emitted(21, 75) Source(30, 75) + SourceIndex(0)
-+---
-+>>> console.log(nameA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameA
-+7 > )
-+8 > ;
-+1 >Emitted(22, 5) Source(31, 5) + SourceIndex(0)
-+2 >Emitted(22, 12) Source(31, 12) + SourceIndex(0)
-+3 >Emitted(22, 13) Source(31, 13) + SourceIndex(0)
-+4 >Emitted(22, 16) Source(31, 16) + SourceIndex(0)
-+5 >Emitted(22, 17) Source(31, 17) + SourceIndex(0)
-+6 >Emitted(22, 22) Source(31, 22) + SourceIndex(0)
-+7 >Emitted(22, 23) Source(31, 23) + SourceIndex(0)
-+8 >Emitted(22, 24) Source(31, 24) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(23, 1) Source(32, 1) + SourceIndex(0)
-+2 >Emitted(23, 2) Source(32, 2) + SourceIndex(0)
-+---
-+>>>for ([, [
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^
-+5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > ,
-+1->Emitted(24, 1) Source(33, 1) + SourceIndex(0)
-+2 >Emitted(24, 6) Source(33, 6) + SourceIndex(0)
-+3 >Emitted(24, 7) Source(33, 7) + SourceIndex(0)
-+4 >Emitted(24, 9) Source(33, 9) + SourceIndex(0)
-+---
-+>>> primarySkillA = "primary",
-+1->^^^^^^^^
-+2 > ^^^^^^^^^^^^^
-+3 > ^^^
-+4 > ^^^^^^^^^
-+5 > ^^^^^->
-+1->[
-+ >
-+2 > primarySkillA
-+3 > =
-+4 > "primary"
-+1->Emitted(25, 9) Source(34, 5) + SourceIndex(0)
-+2 >Emitted(25, 22) Source(34, 18) + SourceIndex(0)
-+3 >Emitted(25, 25) Source(34, 21) + SourceIndex(0)
-+4 >Emitted(25, 34) Source(34, 30) + SourceIndex(0)
-+---
-+>>> secondarySkillA = "secondary"
-+1->^^^^^^^^
-+2 > ^^^^^^^^^^^^^^^
-+3 > ^^^
-+4 > ^^^^^^^^^^^
-+5 > ^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1->,
-+ >
-+2 > secondarySkillA
-+3 > =
-+4 > "secondary"
-+1->Emitted(26, 9) Source(35, 5) + SourceIndex(0)
-+2 >Emitted(26, 24) Source(35, 20) + SourceIndex(0)
-+3 >Emitted(26, 27) Source(35, 23) + SourceIndex(0)
-+4 >Emitted(26, 38) Source(35, 34) + SourceIndex(0)
-+---
-+>>> ] = ["none", "none"]] = multiRobotA, i = 0; i < 1; i++) {
-+1->^^^^^
-+2 > ^^^
-+3 > ^
-+4 > ^^^^^^
-+5 > ^^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^
-+9 > ^^^
-+10> ^^^^^^^^^^^
-+11> ^^
-+12> ^
-+13> ^^^
-+14> ^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
-+19> ^^
-+20> ^
-+21> ^^
-+22> ^^
-+23> ^
-+1->
-+ >]
-+2 > =
-+3 > [
-+4 > "none"
-+5 > ,
-+6 > "none"
-+7 > ]
-+8 > ]
-+9 > =
-+10> multiRobotA
-+11> ,
-+12> i
-+13> =
-+14> 0
-+15> ;
-+16> i
-+17> <
-+18> 1
-+19> ;
-+20> i
-+21> ++
-+22> )
-+23> {
-+1->Emitted(27, 6) Source(36, 2) + SourceIndex(0)
-+2 >Emitted(27, 9) Source(36, 5) + SourceIndex(0)
-+3 >Emitted(27, 10) Source(36, 6) + SourceIndex(0)
-+4 >Emitted(27, 16) Source(36, 12) + SourceIndex(0)
-+5 >Emitted(27, 18) Source(36, 14) + SourceIndex(0)
-+6 >Emitted(27, 24) Source(36, 20) + SourceIndex(0)
-+7 >Emitted(27, 25) Source(36, 21) + SourceIndex(0)
-+8 >Emitted(27, 26) Source(36, 22) + SourceIndex(0)
-+9 >Emitted(27, 29) Source(36, 25) + SourceIndex(0)
-+10>Emitted(27, 40) Source(36, 36) + SourceIndex(0)
-+11>Emitted(27, 42) Source(36, 38) + SourceIndex(0)
-+12>Emitted(27, 43) Source(36, 39) + SourceIndex(0)
-+13>Emitted(27, 46) Source(36, 42) + SourceIndex(0)
-+14>Emitted(27, 47) Source(36, 43) + SourceIndex(0)
-+15>Emitted(27, 49) Source(36, 45) + SourceIndex(0)
-+16>Emitted(27, 50) Source(36, 46) + SourceIndex(0)
-+17>Emitted(27, 53) Source(36, 49) + SourceIndex(0)
-+18>Emitted(27, 54) Source(36, 50) + SourceIndex(0)
-+19>Emitted(27, 56) Source(36, 52) + SourceIndex(0)
-+20>Emitted(27, 57) Source(36, 53) + SourceIndex(0)
-+21>Emitted(27, 59) Source(36, 55) + SourceIndex(0)
-+22>Emitted(27, 61) Source(36, 57) + SourceIndex(0)
-+23>Emitted(27, 62) Source(36, 58) + SourceIndex(0)
-+---
-+>>> console.log(primarySkillA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > primarySkillA
-+7 > )
-+8 > ;
-+1 >Emitted(28, 5) Source(37, 5) + SourceIndex(0)
-+2 >Emitted(28, 12) Source(37, 12) + SourceIndex(0)
-+3 >Emitted(28, 13) Source(37, 13) + SourceIndex(0)
-+4 >Emitted(28, 16) Source(37, 16) + SourceIndex(0)
-+5 >Emitted(28, 17) Source(37, 17) + SourceIndex(0)
-+6 >Emitted(28, 30) Source(37, 30) + SourceIndex(0)
-+7 >Emitted(28, 31) Source(37, 31) + SourceIndex(0)
-+8 >Emitted(28, 32) Source(37, 32) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(29, 1) Source(38, 1) + SourceIndex(0)
-+2 >Emitted(29, 2) Source(38, 2) + SourceIndex(0)
-+---
-+>>>for ([, [
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^
-+5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > ,
-+1->Emitted(30, 1) Source(39, 1) + SourceIndex(0)
-+2 >Emitted(30, 6) Source(39, 6) + SourceIndex(0)
-+3 >Emitted(30, 7) Source(39, 7) + SourceIndex(0)
-+4 >Emitted(30, 9) Source(39, 9) + SourceIndex(0)
-+---
-+>>> primarySkillA = "primary",
-+1->^^^^^^^^
-+2 > ^^^^^^^^^^^^^
-+3 > ^^^
-+4 > ^^^^^^^^^
-+5 > ^^^^^->
-+1->[
-+ >
-+2 > primarySkillA
-+3 > =
-+4 > "primary"
-+1->Emitted(31, 9) Source(40, 5) + SourceIndex(0)
-+2 >Emitted(31, 22) Source(40, 18) + SourceIndex(0)
-+3 >Emitted(31, 25) Source(40, 21) + SourceIndex(0)
-+4 >Emitted(31, 34) Source(40, 30) + SourceIndex(0)
-+---
-+>>> secondarySkillA = "secondary"
-+1->^^^^^^^^
-+2 > ^^^^^^^^^^^^^^^
-+3 > ^^^
-+4 > ^^^^^^^^^^^
-+5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1->,
-+ >
-+2 > secondarySkillA
-+3 > =
-+4 > "secondary"
-+1->Emitted(32, 9) Source(41, 5) + SourceIndex(0)
-+2 >Emitted(32, 24) Source(41, 20) + SourceIndex(0)
-+3 >Emitted(32, 27) Source(41, 23) + SourceIndex(0)
-+4 >Emitted(32, 38) Source(41, 34) + SourceIndex(0)
-+---
-+>>> ] = ["none", "none"]] = getMultiRobot(), i = 0; i < 1; i++) {
-+1->^^^^^
-+2 > ^^^
-+3 > ^
-+4 > ^^^^^^
-+5 > ^^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^
-+9 > ^^^
-+10> ^^^^^^^^^^^^^
-+11> ^^
-+12> ^^
-+13> ^
-+14> ^^^
-+15> ^
-+16> ^^
-+17> ^
-+18> ^^^
-+19> ^
-+20> ^^
-+21> ^
-+22> ^^
-+23> ^^
-+24> ^
-+1->
-+ >]
-+2 > =
-+3 > [
-+4 > "none"
-+5 > ,
-+6 > "none"
-+7 > ]
-+8 > ]
-+9 > =
-+10> getMultiRobot
-+11> ()
-+12> ,
-+13> i
-+14> =
-+15> 0
-+16> ;
-+17> i
-+18> <
-+19> 1
-+20> ;
-+21> i
-+22> ++
-+23> )
-+24> {
-+1->Emitted(33, 6) Source(42, 2) + SourceIndex(0)
-+2 >Emitted(33, 9) Source(42, 5) + SourceIndex(0)
-+3 >Emitted(33, 10) Source(42, 6) + SourceIndex(0)
-+4 >Emitted(33, 16) Source(42, 12) + SourceIndex(0)
-+5 >Emitted(33, 18) Source(42, 14) + SourceIndex(0)
-+6 >Emitted(33, 24) Source(42, 20) + SourceIndex(0)
-+7 >Emitted(33, 25) Source(42, 21) + SourceIndex(0)
-+8 >Emitted(33, 26) Source(42, 22) + SourceIndex(0)
-+9 >Emitted(33, 29) Source(42, 25) + SourceIndex(0)
-+10>Emitted(33, 42) Source(42, 38) + SourceIndex(0)
-+11>Emitted(33, 44) Source(42, 40) + SourceIndex(0)
-+12>Emitted(33, 46) Source(42, 42) + SourceIndex(0)
-+13>Emitted(33, 47) Source(42, 43) + SourceIndex(0)
-+14>Emitted(33, 50) Source(42, 46) + SourceIndex(0)
-+15>Emitted(33, 51) Source(42, 47) + SourceIndex(0)
-+16>Emitted(33, 53) Source(42, 49) + SourceIndex(0)
-+17>Emitted(33, 54) Source(42, 50) + SourceIndex(0)
-+18>Emitted(33, 57) Source(42, 53) + SourceIndex(0)
-+19>Emitted(33, 58) Source(42, 54) + SourceIndex(0)
-+20>Emitted(33, 60) Source(42, 56) + SourceIndex(0)
-+21>Emitted(33, 61) Source(42, 57) + SourceIndex(0)
-+22>Emitted(33, 63) Source(42, 59) + SourceIndex(0)
-+23>Emitted(33, 65) Source(42, 61) + SourceIndex(0)
-+24>Emitted(33, 66) Source(42, 62) + SourceIndex(0)
-+---
-+>>> console.log(primarySkillA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > primarySkillA
-+7 > )
-+8 > ;
-+1 >Emitted(34, 5) Source(43, 5) + SourceIndex(0)
-+2 >Emitted(34, 12) Source(43, 12) + SourceIndex(0)
-+3 >Emitted(34, 13) Source(43, 13) + SourceIndex(0)
-+4 >Emitted(34, 16) Source(43, 16) + SourceIndex(0)
-+5 >Emitted(34, 17) Source(43, 17) + SourceIndex(0)
-+6 >Emitted(34, 30) Source(43, 30) + SourceIndex(0)
-+7 >Emitted(34, 31) Source(43, 31) + SourceIndex(0)
-+8 >Emitted(34, 32) Source(43, 32) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(35, 1) Source(44, 1) + SourceIndex(0)
-+2 >Emitted(35, 2) Source(44, 2) + SourceIndex(0)
-+---
-+>>>for ([, [
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^
-+5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > ,
-+1->Emitted(36, 1) Source(45, 1) + SourceIndex(0)
-+2 >Emitted(36, 6) Source(45, 6) + SourceIndex(0)
-+3 >Emitted(36, 7) Source(45, 7) + SourceIndex(0)
-+4 >Emitted(36, 9) Source(45, 9) + SourceIndex(0)
-+---
-+>>> primarySkillA = "primary",
-+1->^^^^^^^^
-+2 > ^^^^^^^^^^^^^
-+3 > ^^^
-+4 > ^^^^^^^^^
-+5 > ^^^^^->
-+1->[
-+ >
-+2 > primarySkillA
-+3 > =
-+4 > "primary"
-+1->Emitted(37, 9) Source(46, 5) + SourceIndex(0)
-+2 >Emitted(37, 22) Source(46, 18) + SourceIndex(0)
-+3 >Emitted(37, 25) Source(46, 21) + SourceIndex(0)
-+4 >Emitted(37, 34) Source(46, 30) + SourceIndex(0)
-+---
-+>>> secondarySkillA = "secondary"
-+1->^^^^^^^^
-+2 > ^^^^^^^^^^^^^^^
-+3 > ^^^
-+4 > ^^^^^^^^^^^
-+5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1->,
-+ >
-+2 > secondarySkillA
-+3 > =
-+4 > "secondary"
-+1->Emitted(38, 9) Source(47, 5) + SourceIndex(0)
-+2 >Emitted(38, 24) Source(47, 20) + SourceIndex(0)
-+3 >Emitted(38, 27) Source(47, 23) + SourceIndex(0)
-+4 >Emitted(38, 38) Source(47, 34) + SourceIndex(0)
-+---
-+>>> ] = ["none", "none"]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >]
-+2 > =
-+3 > [
-+4 > "none"
-+5 > ,
-+6 > "none"
-+7 > ]
-+8 > ]
-+9 > =
-+10> [
-+11> "trimmer"
-+12> ,
-+13> [
-+14> "trimming"
-+15> ,
-+16> "edging"
-+17> ]
-+18> ]
-+19> ,
-+20> i
-+21> =
-+22> 0
-+23> ;
-+24> i
-+25> <
-+26> 1
-+27> ;
-+28> i
-+29> ++
-+30> )
-+31> {
-+1->Emitted(39, 6) Source(48, 2) + SourceIndex(0)
-+2 >Emitted(39, 9) Source(48, 5) + SourceIndex(0)
-+3 >Emitted(39, 10) Source(48, 6) + SourceIndex(0)
-+4 >Emitted(39, 16) Source(48, 12) + SourceIndex(0)
-+5 >Emitted(39, 18) Source(48, 14) + SourceIndex(0)
-+6 >Emitted(39, 24) Source(48, 20) + SourceIndex(0)
-+7 >Emitted(39, 25) Source(48, 21) + SourceIndex(0)
-+8 >Emitted(39, 26) Source(48, 22) + SourceIndex(0)
-+9 >Emitted(39, 29) Source(48, 25) + SourceIndex(0)
-+10>Emitted(39, 30) Source(48, 26) + SourceIndex(0)
-+11>Emitted(39, 39) Source(48, 35) + SourceIndex(0)
-+12>Emitted(39, 41) Source(48, 37) + SourceIndex(0)
-+13>Emitted(39, 42) Source(48, 38) + SourceIndex(0)
-+14>Emitted(39, 52) Source(48, 48) + SourceIndex(0)
-+15>Emitted(39, 54) Source(48, 50) + SourceIndex(0)
-+16>Emitted(39, 62) Source(48, 58) + SourceIndex(0)
-+17>Emitted(39, 63) Source(48, 59) + SourceIndex(0)
-+18>Emitted(39, 64) Source(48, 60) + SourceIndex(0)
-+19>Emitted(39, 66) Source(48, 62) + SourceIndex(0)
-+20>Emitted(39, 67) Source(48, 63) + SourceIndex(0)
-+21>Emitted(39, 70) Source(48, 66) + SourceIndex(0)
-+22>Emitted(39, 71) Source(48, 67) + SourceIndex(0)
-+23>Emitted(39, 73) Source(48, 69) + SourceIndex(0)
-+24>Emitted(39, 74) Source(48, 70) + SourceIndex(0)
-+25>Emitted(39, 77) Source(48, 73) + SourceIndex(0)
-+26>Emitted(39, 78) Source(48, 74) + SourceIndex(0)
-+27>Emitted(39, 80) Source(48, 76) + SourceIndex(0)
-+28>Emitted(39, 81) Source(48, 77) + SourceIndex(0)
-+29>Emitted(39, 83) Source(48, 79) + SourceIndex(0)
-+30>Emitted(39, 85) Source(48, 81) + SourceIndex(0)
-+31>Emitted(39, 86) Source(48, 82) + SourceIndex(0)
-+---
-+>>> console.log(primarySkillA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > primarySkillA
-+7 > )
-+8 > ;
-+1 >Emitted(40, 5) Source(49, 5) + SourceIndex(0)
-+2 >Emitted(40, 12) Source(49, 12) + SourceIndex(0)
-+3 >Emitted(40, 13) Source(49, 13) + SourceIndex(0)
-+4 >Emitted(40, 16) Source(49, 16) + SourceIndex(0)
-+5 >Emitted(40, 17) Source(49, 17) + SourceIndex(0)
-+6 >Emitted(40, 30) Source(49, 30) + SourceIndex(0)
-+7 >Emitted(40, 31) Source(49, 31) + SourceIndex(0)
-+8 >Emitted(40, 32) Source(49, 32) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(41, 1) Source(50, 1) + SourceIndex(0)
-+2 >Emitted(41, 2) Source(50, 2) + SourceIndex(0)
-+---
-+>>>for ([numberB = -1] = robotA, i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^^^^^^
-+5 > ^^^
-+6 > ^
-+7 > ^
-+8 > ^
-+9 > ^^^
-+10> ^^^^^^
-+11> ^^
-+12> ^
-+13> ^^^
-+14> ^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
-+19> ^^
-+20> ^
-+21> ^^
-+22> ^^
-+23> ^
-+1->
-+ >
-+ >
-+2 >for (
-+3 > [
-+4 > numberB
-+5 > =
-+6 > -
-+7 > 1
-+8 > ]
-+9 > =
-+10> robotA
-+11> ,
-+12> i
-+13> =
-+14> 0
-+15> ;
-+16> i
-+17> <
-+18> 1
-+19> ;
-+20> i
-+21> ++
-+22> )
-+23> {
-+1->Emitted(42, 1) Source(52, 1) + SourceIndex(0)
-+2 >Emitted(42, 6) Source(52, 6) + SourceIndex(0)
-+3 >Emitted(42, 7) Source(52, 7) + SourceIndex(0)
-+4 >Emitted(42, 14) Source(52, 14) + SourceIndex(0)
-+5 >Emitted(42, 17) Source(52, 17) + SourceIndex(0)
-+6 >Emitted(42, 18) Source(52, 18) + SourceIndex(0)
-+7 >Emitted(42, 19) Source(52, 19) + SourceIndex(0)
-+8 >Emitted(42, 20) Source(52, 20) + SourceIndex(0)
-+9 >Emitted(42, 23) Source(52, 23) + SourceIndex(0)
-+10>Emitted(42, 29) Source(52, 29) + SourceIndex(0)
-+11>Emitted(42, 31) Source(52, 31) + SourceIndex(0)
-+12>Emitted(42, 32) Source(52, 32) + SourceIndex(0)
-+13>Emitted(42, 35) Source(52, 35) + SourceIndex(0)
-+14>Emitted(42, 36) Source(52, 36) + SourceIndex(0)
-+15>Emitted(42, 38) Source(52, 38) + SourceIndex(0)
-+16>Emitted(42, 39) Source(52, 39) + SourceIndex(0)
-+17>Emitted(42, 42) Source(52, 42) + SourceIndex(0)
-+18>Emitted(42, 43) Source(52, 43) + SourceIndex(0)
-+19>Emitted(42, 45) Source(52, 45) + SourceIndex(0)
-+20>Emitted(42, 46) Source(52, 46) + SourceIndex(0)
-+21>Emitted(42, 48) Source(52, 48) + SourceIndex(0)
-+22>Emitted(42, 50) Source(52, 50) + SourceIndex(0)
-+23>Emitted(42, 51) Source(52, 51) + SourceIndex(0)
-+---
-+>>> console.log(numberB);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+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 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(44, 1) Source(54, 1) + SourceIndex(0)
-+2 >Emitted(44, 2) Source(54, 2) + SourceIndex(0)
-+---
-+>>>for ([numberB = -1] = getRobot(), i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^^^^^^
-+5 > ^^^
-+6 > ^
-+7 > ^
-+8 > ^
-+9 > ^^^
-+10> ^^^^^^^^
-+11> ^^
-+12> ^^
-+13> ^
-+14> ^^^
-+15> ^
-+16> ^^
-+17> ^
-+18> ^^^
-+19> ^
-+20> ^^
-+21> ^
-+22> ^^
-+23> ^^
-+24> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > numberB
-+5 > =
-+6 > -
-+7 > 1
-+8 > ]
-+9 > =
-+10> getRobot
-+11> ()
-+12> ,
-+13> i
-+14> =
-+15> 0
-+16> ;
-+17> i
-+18> <
-+19> 1
-+20> ;
-+21> i
-+22> ++
-+23> )
-+24> {
-+1->Emitted(45, 1) Source(55, 1) + SourceIndex(0)
-+2 >Emitted(45, 6) Source(55, 6) + SourceIndex(0)
-+3 >Emitted(45, 7) Source(55, 7) + SourceIndex(0)
-+4 >Emitted(45, 14) Source(55, 14) + SourceIndex(0)
-+5 >Emitted(45, 17) Source(55, 17) + SourceIndex(0)
-+6 >Emitted(45, 18) Source(55, 18) + SourceIndex(0)
-+7 >Emitted(45, 19) Source(55, 19) + SourceIndex(0)
-+8 >Emitted(45, 20) Source(55, 20) + SourceIndex(0)
-+9 >Emitted(45, 23) Source(55, 23) + SourceIndex(0)
-+10>Emitted(45, 31) Source(55, 31) + SourceIndex(0)
-+11>Emitted(45, 33) Source(55, 33) + SourceIndex(0)
-+12>Emitted(45, 35) Source(55, 35) + SourceIndex(0)
-+13>Emitted(45, 36) Source(55, 36) + SourceIndex(0)
-+14>Emitted(45, 39) Source(55, 39) + SourceIndex(0)
-+15>Emitted(45, 40) Source(55, 40) + SourceIndex(0)
-+16>Emitted(45, 42) Source(55, 42) + SourceIndex(0)
-+17>Emitted(45, 43) Source(55, 43) + SourceIndex(0)
-+18>Emitted(45, 46) Source(55, 46) + SourceIndex(0)
-+19>Emitted(45, 47) Source(55, 47) + SourceIndex(0)
-+20>Emitted(45, 49) Source(55, 49) + SourceIndex(0)
-+21>Emitted(45, 50) Source(55, 50) + SourceIndex(0)
-+22>Emitted(45, 52) Source(55, 52) + SourceIndex(0)
-+23>Emitted(45, 54) Source(55, 54) + SourceIndex(0)
-+24>Emitted(45, 55) Source(55, 55) + SourceIndex(0)
-+---
-+>>> console.log(numberB);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > numberB
-+7 > )
-+8 > ;
-+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, 24) Source(56, 24) + SourceIndex(0)
-+7 >Emitted(46, 25) Source(56, 25) + SourceIndex(0)
-+8 >Emitted(46, 26) Source(56, 26) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(47, 1) Source(57, 1) + SourceIndex(0)
-+2 >Emitted(47, 2) Source(57, 2) + SourceIndex(0)
-+---
-+>>>for ([numberB = -1] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > numberB
-+5 > =
-+6 > -
-+7 > 1
-+8 > ]
-+9 > =
-+10> [
-+11> 2
-+12> ,
-+13> "trimmer"
-+14> ,
-+15> "trimming"
-+16> ]
-+17> ,
-+18> i
-+19> =
-+20> 0
-+21> ;
-+22> i
-+23> <
-+24> 1
-+25> ;
-+26> i
-+27> ++
-+28> )
-+29> {
-+1->Emitted(48, 1) Source(58, 1) + SourceIndex(0)
-+2 >Emitted(48, 6) Source(58, 6) + SourceIndex(0)
-+3 >Emitted(48, 7) Source(58, 7) + SourceIndex(0)
-+4 >Emitted(48, 14) Source(58, 14) + SourceIndex(0)
-+5 >Emitted(48, 17) Source(58, 17) + SourceIndex(0)
-+6 >Emitted(48, 18) Source(58, 18) + SourceIndex(0)
-+7 >Emitted(48, 19) Source(58, 19) + SourceIndex(0)
-+8 >Emitted(48, 20) Source(58, 20) + SourceIndex(0)
-+9 >Emitted(48, 23) Source(58, 23) + SourceIndex(0)
-+10>Emitted(48, 24) Source(58, 24) + SourceIndex(0)
-+11>Emitted(48, 25) Source(58, 25) + SourceIndex(0)
-+12>Emitted(48, 27) Source(58, 27) + SourceIndex(0)
-+13>Emitted(48, 36) Source(58, 36) + SourceIndex(0)
-+14>Emitted(48, 38) Source(58, 38) + SourceIndex(0)
-+15>Emitted(48, 48) Source(58, 48) + SourceIndex(0)
-+16>Emitted(48, 49) Source(58, 49) + SourceIndex(0)
-+17>Emitted(48, 51) Source(58, 51) + SourceIndex(0)
-+18>Emitted(48, 52) Source(58, 52) + SourceIndex(0)
-+19>Emitted(48, 55) Source(58, 55) + SourceIndex(0)
-+20>Emitted(48, 56) Source(58, 56) + SourceIndex(0)
-+21>Emitted(48, 58) Source(58, 58) + SourceIndex(0)
-+22>Emitted(48, 59) Source(58, 59) + SourceIndex(0)
-+23>Emitted(48, 62) Source(58, 62) + SourceIndex(0)
-+24>Emitted(48, 63) Source(58, 63) + SourceIndex(0)
-+25>Emitted(48, 65) Source(58, 65) + SourceIndex(0)
-+26>Emitted(48, 66) Source(58, 66) + SourceIndex(0)
-+27>Emitted(48, 68) Source(58, 68) + SourceIndex(0)
-+28>Emitted(48, 70) Source(58, 70) + SourceIndex(0)
-+29>Emitted(48, 71) Source(58, 71) + SourceIndex(0)
-+---
-+>>> console.log(numberB);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > numberB
-+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, 24) Source(59, 24) + SourceIndex(0)
-+7 >Emitted(49, 25) Source(59, 25) + SourceIndex(0)
-+8 >Emitted(49, 26) Source(59, 26) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(50, 1) Source(60, 1) + SourceIndex(0)
-+2 >Emitted(50, 2) Source(60, 2) + SourceIndex(0)
-+---
-+>>>for ([nameB = "name"] = multiRobotA, i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^^^^
-+5 > ^^^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^^^
-+9 > ^^^^^^^^^^^
-+10> ^^
-+11> ^
-+12> ^^^
-+13> ^
-+14> ^^
-+15> ^
-+16> ^^^
-+17> ^
-+18> ^^
-+19> ^
-+20> ^^
-+21> ^^
-+22> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > nameB
-+5 > =
-+6 > "name"
-+7 > ]
-+8 > =
-+9 > multiRobotA
-+10> ,
-+11> i
-+12> =
-+13> 0
-+14> ;
-+15> i
-+16> <
-+17> 1
-+18> ;
-+19> i
-+20> ++
-+21> )
-+22> {
-+1->Emitted(51, 1) Source(61, 1) + SourceIndex(0)
-+2 >Emitted(51, 6) Source(61, 6) + SourceIndex(0)
-+3 >Emitted(51, 7) Source(61, 7) + SourceIndex(0)
-+4 >Emitted(51, 12) Source(61, 12) + SourceIndex(0)
-+5 >Emitted(51, 15) Source(61, 15) + SourceIndex(0)
-+6 >Emitted(51, 21) Source(61, 21) + SourceIndex(0)
-+7 >Emitted(51, 22) Source(61, 22) + SourceIndex(0)
-+8 >Emitted(51, 25) Source(61, 25) + SourceIndex(0)
-+9 >Emitted(51, 36) Source(61, 36) + SourceIndex(0)
-+10>Emitted(51, 38) Source(61, 38) + SourceIndex(0)
-+11>Emitted(51, 39) Source(61, 39) + SourceIndex(0)
-+12>Emitted(51, 42) Source(61, 42) + SourceIndex(0)
-+13>Emitted(51, 43) Source(61, 43) + SourceIndex(0)
-+14>Emitted(51, 45) Source(61, 45) + SourceIndex(0)
-+15>Emitted(51, 46) Source(61, 46) + SourceIndex(0)
-+16>Emitted(51, 49) Source(61, 49) + SourceIndex(0)
-+17>Emitted(51, 50) Source(61, 50) + SourceIndex(0)
-+18>Emitted(51, 52) Source(61, 52) + SourceIndex(0)
-+19>Emitted(51, 53) Source(61, 53) + SourceIndex(0)
-+20>Emitted(51, 55) Source(61, 55) + SourceIndex(0)
-+21>Emitted(51, 57) Source(61, 57) + SourceIndex(0)
-+22>Emitted(51, 58) Source(61, 58) + SourceIndex(0)
-+---
-+>>> console.log(nameB);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameB
-+7 > )
-+8 > ;
-+1 >Emitted(52, 5) Source(62, 5) + SourceIndex(0)
-+2 >Emitted(52, 12) Source(62, 12) + SourceIndex(0)
-+3 >Emitted(52, 13) Source(62, 13) + SourceIndex(0)
-+4 >Emitted(52, 16) Source(62, 16) + SourceIndex(0)
-+5 >Emitted(52, 17) Source(62, 17) + SourceIndex(0)
-+6 >Emitted(52, 22) Source(62, 22) + SourceIndex(0)
-+7 >Emitted(52, 23) Source(62, 23) + SourceIndex(0)
-+8 >Emitted(52, 24) Source(62, 24) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(53, 1) Source(63, 1) + SourceIndex(0)
-+2 >Emitted(53, 2) Source(63, 2) + SourceIndex(0)
-+---
-+>>>for ([nameB = "name"] = getMultiRobot(), i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^^^^
-+5 > ^^^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^^^
-+9 > ^^^^^^^^^^^^^
-+10> ^^
-+11> ^^
-+12> ^
-+13> ^^^
-+14> ^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
-+19> ^^
-+20> ^
-+21> ^^
-+22> ^^
-+23> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > nameB
-+5 > =
-+6 > "name"
-+7 > ]
-+8 > =
-+9 > getMultiRobot
-+10> ()
-+11> ,
-+12> i
-+13> =
-+14> 0
-+15> ;
-+16> i
-+17> <
-+18> 1
-+19> ;
-+20> i
-+21> ++
-+22> )
-+23> {
-+1->Emitted(54, 1) Source(64, 1) + SourceIndex(0)
-+2 >Emitted(54, 6) Source(64, 6) + SourceIndex(0)
-+3 >Emitted(54, 7) Source(64, 7) + SourceIndex(0)
-+4 >Emitted(54, 12) Source(64, 12) + SourceIndex(0)
-+5 >Emitted(54, 15) Source(64, 15) + SourceIndex(0)
-+6 >Emitted(54, 21) Source(64, 21) + SourceIndex(0)
-+7 >Emitted(54, 22) Source(64, 22) + SourceIndex(0)
-+8 >Emitted(54, 25) Source(64, 25) + SourceIndex(0)
-+9 >Emitted(54, 38) Source(64, 38) + SourceIndex(0)
-+10>Emitted(54, 40) Source(64, 40) + SourceIndex(0)
-+11>Emitted(54, 42) Source(64, 42) + SourceIndex(0)
-+12>Emitted(54, 43) Source(64, 43) + SourceIndex(0)
-+13>Emitted(54, 46) Source(64, 46) + SourceIndex(0)
-+14>Emitted(54, 47) Source(64, 47) + SourceIndex(0)
-+15>Emitted(54, 49) Source(64, 49) + SourceIndex(0)
-+16>Emitted(54, 50) Source(64, 50) + SourceIndex(0)
-+17>Emitted(54, 53) Source(64, 53) + SourceIndex(0)
-+18>Emitted(54, 54) Source(64, 54) + SourceIndex(0)
-+19>Emitted(54, 56) Source(64, 56) + SourceIndex(0)
-+20>Emitted(54, 57) Source(64, 57) + SourceIndex(0)
-+21>Emitted(54, 59) Source(64, 59) + SourceIndex(0)
-+22>Emitted(54, 61) Source(64, 61) + SourceIndex(0)
-+23>Emitted(54, 62) Source(64, 62) + SourceIndex(0)
-+---
-+>>> console.log(nameB);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameB
-+7 > )
-+8 > ;
-+1 >Emitted(55, 5) Source(65, 5) + SourceIndex(0)
-+2 >Emitted(55, 12) Source(65, 12) + SourceIndex(0)
-+3 >Emitted(55, 13) Source(65, 13) + SourceIndex(0)
-+4 >Emitted(55, 16) Source(65, 16) + SourceIndex(0)
-+5 >Emitted(55, 17) Source(65, 17) + SourceIndex(0)
-+6 >Emitted(55, 22) Source(65, 22) + SourceIndex(0)
-+7 >Emitted(55, 23) Source(65, 23) + SourceIndex(0)
-+8 >Emitted(55, 24) Source(65, 24) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(56, 1) Source(66, 1) + SourceIndex(0)
-+2 >Emitted(56, 2) Source(66, 2) + SourceIndex(0)
-+---
-+>>>for ([nameB = "name"] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > nameB
-+5 > =
-+6 > "name"
-+7 > ]
-+8 > =
-+9 > [
-+10> "trimmer"
-+11> ,
-+12> [
-+13> "trimming"
-+14> ,
-+15> "edging"
-+16> ]
-+17> ]
-+18> ,
-+19> i
-+20> =
-+21> 0
-+22> ;
-+23> i
-+24> <
-+25> 1
-+26> ;
-+27> i
-+28> ++
-+29> )
-+30> {
-+1->Emitted(57, 1) Source(67, 1) + SourceIndex(0)
-+2 >Emitted(57, 6) Source(67, 6) + SourceIndex(0)
-+3 >Emitted(57, 7) Source(67, 7) + SourceIndex(0)
-+4 >Emitted(57, 12) Source(67, 12) + SourceIndex(0)
-+5 >Emitted(57, 15) Source(67, 15) + SourceIndex(0)
-+6 >Emitted(57, 21) Source(67, 21) + SourceIndex(0)
-+7 >Emitted(57, 22) Source(67, 22) + SourceIndex(0)
-+8 >Emitted(57, 25) Source(67, 25) + SourceIndex(0)
-+9 >Emitted(57, 26) Source(67, 26) + SourceIndex(0)
-+10>Emitted(57, 35) Source(67, 35) + SourceIndex(0)
-+11>Emitted(57, 37) Source(67, 37) + SourceIndex(0)
-+12>Emitted(57, 38) Source(67, 38) + SourceIndex(0)
-+13>Emitted(57, 48) Source(67, 48) + SourceIndex(0)
-+14>Emitted(57, 50) Source(67, 50) + SourceIndex(0)
-+15>Emitted(57, 58) Source(67, 58) + SourceIndex(0)
-+16>Emitted(57, 59) Source(67, 59) + SourceIndex(0)
-+17>Emitted(57, 60) Source(67, 60) + SourceIndex(0)
-+18>Emitted(57, 62) Source(67, 62) + SourceIndex(0)
-+19>Emitted(57, 63) Source(67, 63) + SourceIndex(0)
-+20>Emitted(57, 66) Source(67, 66) + SourceIndex(0)
-+21>Emitted(57, 67) Source(67, 67) + SourceIndex(0)
-+22>Emitted(57, 69) Source(67, 69) + SourceIndex(0)
-+23>Emitted(57, 70) Source(67, 70) + SourceIndex(0)
-+24>Emitted(57, 73) Source(67, 73) + SourceIndex(0)
-+25>Emitted(57, 74) Source(67, 74) + SourceIndex(0)
-+26>Emitted(57, 76) Source(67, 76) + SourceIndex(0)
-+27>Emitted(57, 77) Source(67, 77) + SourceIndex(0)
-+28>Emitted(57, 79) Source(67, 79) + SourceIndex(0)
-+29>Emitted(57, 81) Source(67, 81) + SourceIndex(0)
-+30>Emitted(57, 82) Source(67, 82) + SourceIndex(0)
-+---
-+>>> console.log(nameB);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameB
-+7 > )
-+8 > ;
-+1 >Emitted(58, 5) Source(68, 5) + SourceIndex(0)
-+2 >Emitted(58, 12) Source(68, 12) + SourceIndex(0)
-+3 >Emitted(58, 13) Source(68, 13) + SourceIndex(0)
-+4 >Emitted(58, 16) Source(68, 16) + SourceIndex(0)
-+5 >Emitted(58, 17) Source(68, 17) + SourceIndex(0)
-+6 >Emitted(58, 22) Source(68, 22) + SourceIndex(0)
-+7 >Emitted(58, 23) Source(68, 23) + SourceIndex(0)
-+8 >Emitted(58, 24) Source(68, 24) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(59, 1) Source(69, 1) + SourceIndex(0)
-+2 >Emitted(59, 2) Source(69, 2) + SourceIndex(0)
-+---
-+>>>for ([numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = robotA, i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+ >
-+2 >for (
-+3 > [
-+4 > numberA2
-+5 > =
-+6 > -
-+7 > 1
-+8 > ,
-+9 > nameA2
-+10> =
-+11> "name"
-+12> ,
-+13> skillA2
-+14> =
-+15> "skill"
-+16> ]
-+17> =
-+18> robotA
-+19> ,
-+20> i
-+21> =
-+22> 0
-+23> ;
-+24> i
-+25> <
-+26> 1
-+27> ;
-+28> i
-+29> ++
-+30> )
-+31> {
-+1->Emitted(60, 1) Source(71, 1) + SourceIndex(0)
-+2 >Emitted(60, 6) Source(71, 6) + SourceIndex(0)
-+3 >Emitted(60, 7) Source(71, 7) + SourceIndex(0)
-+4 >Emitted(60, 15) Source(71, 15) + SourceIndex(0)
-+5 >Emitted(60, 18) Source(71, 18) + SourceIndex(0)
-+6 >Emitted(60, 19) Source(71, 19) + SourceIndex(0)
-+7 >Emitted(60, 20) Source(71, 20) + SourceIndex(0)
-+8 >Emitted(60, 22) Source(71, 22) + SourceIndex(0)
-+9 >Emitted(60, 28) Source(71, 28) + SourceIndex(0)
-+10>Emitted(60, 31) Source(71, 31) + SourceIndex(0)
-+11>Emitted(60, 37) Source(71, 37) + SourceIndex(0)
-+12>Emitted(60, 39) Source(71, 39) + SourceIndex(0)
-+13>Emitted(60, 46) Source(71, 46) + SourceIndex(0)
-+14>Emitted(60, 49) Source(71, 49) + SourceIndex(0)
-+15>Emitted(60, 56) Source(71, 56) + SourceIndex(0)
-+16>Emitted(60, 57) Source(71, 57) + SourceIndex(0)
-+17>Emitted(60, 60) Source(71, 60) + SourceIndex(0)
-+18>Emitted(60, 66) Source(71, 66) + SourceIndex(0)
-+19>Emitted(60, 68) Source(71, 68) + SourceIndex(0)
-+20>Emitted(60, 69) Source(71, 69) + SourceIndex(0)
-+21>Emitted(60, 72) Source(71, 72) + SourceIndex(0)
-+22>Emitted(60, 73) Source(71, 73) + SourceIndex(0)
-+23>Emitted(60, 75) Source(71, 75) + SourceIndex(0)
-+24>Emitted(60, 76) Source(71, 76) + SourceIndex(0)
-+25>Emitted(60, 79) Source(71, 79) + SourceIndex(0)
-+26>Emitted(60, 80) Source(71, 80) + SourceIndex(0)
-+27>Emitted(60, 82) Source(71, 82) + SourceIndex(0)
-+28>Emitted(60, 83) Source(71, 83) + SourceIndex(0)
-+29>Emitted(60, 85) Source(71, 85) + SourceIndex(0)
-+30>Emitted(60, 87) Source(71, 87) + SourceIndex(0)
-+31>Emitted(60, 88) Source(71, 88) + SourceIndex(0)
-+---
-+>>> console.log(nameA2);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameA2
-+7 > )
-+8 > ;
-+1 >Emitted(61, 5) Source(72, 5) + SourceIndex(0)
-+2 >Emitted(61, 12) Source(72, 12) + SourceIndex(0)
-+3 >Emitted(61, 13) Source(72, 13) + SourceIndex(0)
-+4 >Emitted(61, 16) Source(72, 16) + SourceIndex(0)
-+5 >Emitted(61, 17) Source(72, 17) + SourceIndex(0)
-+6 >Emitted(61, 23) Source(72, 23) + SourceIndex(0)
-+7 >Emitted(61, 24) Source(72, 24) + SourceIndex(0)
-+8 >Emitted(61, 25) Source(72, 25) + SourceIndex(0)
- ---
- >>>}
- 1 >
-@@= skipped -132, +1697 lines =@@
- 1 >
- >
- 2 >}
--1 >Emitted(18, 1) Source(26, 1) + SourceIndex(0)
--2 >Emitted(18, 2) Source(26, 2) + SourceIndex(0)
-----
-->>>for (_b = getRobot(), _c = _b[1], nameA = _c === void 0 ? "name" : _c, i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^^^^^^^
--5 > ^^
--6 > ^^
--7 > ^^^^^^^^^^
--8 > ^^
--9 > ^^^^^
--10> ^^^^^^^^^^^^^^^^^^^
--11> ^^^^^^
--12> ^^^^^
--13> ^^
--14> ^
-+1 >Emitted(62, 1) Source(73, 1) + SourceIndex(0)
-+2 >Emitted(62, 2) Source(73, 2) + SourceIndex(0)
-+---
-+>>>for ([numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = getRobot(), i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > numberA2
-+5 > =
-+6 > -
-+7 > 1
-+8 > ,
-+9 > nameA2
-+10> =
-+11> "name"
-+12> ,
-+13> skillA2
-+14> =
-+15> "skill"
-+16> ]
-+17> =
-+18> getRobot
-+19> ()
-+20> ,
-+21> i
-+22> =
-+23> 0
-+24> ;
-+25> i
-+26> <
-+27> 1
-+28> ;
-+29> i
-+30> ++
-+31> )
-+32> {
-+1->Emitted(63, 1) Source(74, 1) + SourceIndex(0)
-+2 >Emitted(63, 6) Source(74, 6) + SourceIndex(0)
-+3 >Emitted(63, 7) Source(74, 7) + SourceIndex(0)
-+4 >Emitted(63, 15) Source(74, 15) + SourceIndex(0)
-+5 >Emitted(63, 18) Source(74, 18) + SourceIndex(0)
-+6 >Emitted(63, 19) Source(74, 19) + SourceIndex(0)
-+7 >Emitted(63, 20) Source(74, 20) + SourceIndex(0)
-+8 >Emitted(63, 22) Source(74, 22) + SourceIndex(0)
-+9 >Emitted(63, 28) Source(74, 28) + SourceIndex(0)
-+10>Emitted(63, 31) Source(74, 31) + SourceIndex(0)
-+11>Emitted(63, 37) Source(74, 37) + SourceIndex(0)
-+12>Emitted(63, 39) Source(74, 39) + SourceIndex(0)
-+13>Emitted(63, 46) Source(74, 46) + SourceIndex(0)
-+14>Emitted(63, 49) Source(74, 49) + SourceIndex(0)
-+15>Emitted(63, 56) Source(74, 56) + SourceIndex(0)
-+16>Emitted(63, 57) Source(74, 57) + SourceIndex(0)
-+17>Emitted(63, 60) Source(74, 60) + SourceIndex(0)
-+18>Emitted(63, 68) Source(74, 68) + SourceIndex(0)
-+19>Emitted(63, 70) Source(74, 70) + SourceIndex(0)
-+20>Emitted(63, 72) Source(74, 72) + SourceIndex(0)
-+21>Emitted(63, 73) Source(74, 73) + SourceIndex(0)
-+22>Emitted(63, 76) Source(74, 76) + SourceIndex(0)
-+23>Emitted(63, 77) Source(74, 77) + SourceIndex(0)
-+24>Emitted(63, 79) Source(74, 79) + SourceIndex(0)
-+25>Emitted(63, 80) Source(74, 80) + SourceIndex(0)
-+26>Emitted(63, 83) Source(74, 83) + SourceIndex(0)
-+27>Emitted(63, 84) Source(74, 84) + SourceIndex(0)
-+28>Emitted(63, 86) Source(74, 86) + SourceIndex(0)
-+29>Emitted(63, 87) Source(74, 87) + SourceIndex(0)
-+30>Emitted(63, 89) Source(74, 89) + SourceIndex(0)
-+31>Emitted(63, 91) Source(74, 91) + SourceIndex(0)
-+32>Emitted(63, 92) Source(74, 92) + SourceIndex(0)
-+---
-+>>> console.log(nameA2);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameA2
-+7 > )
-+8 > ;
-+1 >Emitted(64, 5) Source(75, 5) + SourceIndex(0)
-+2 >Emitted(64, 12) Source(75, 12) + SourceIndex(0)
-+3 >Emitted(64, 13) Source(75, 13) + SourceIndex(0)
-+4 >Emitted(64, 16) Source(75, 16) + SourceIndex(0)
-+5 >Emitted(64, 17) Source(75, 17) + SourceIndex(0)
-+6 >Emitted(64, 23) Source(75, 23) + SourceIndex(0)
-+7 >Emitted(64, 24) Source(75, 24) + SourceIndex(0)
-+8 >Emitted(64, 25) Source(75, 25) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(65, 1) Source(76, 1) + SourceIndex(0)
-+2 >Emitted(65, 2) Source(76, 2) + SourceIndex(0)
-+---
-+>>>for ([numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > numberA2
-+5 > =
-+6 > -
-+7 > 1
-+8 > ,
-+9 > nameA2
-+10> =
-+11> "name"
-+12> ,
-+13> skillA2
-+14> =
-+15> "skill"
-+16> ]
-+17> =
-+18> [
-+19> 2
-+20> ,
-+21> "trimmer"
-+22> ,
-+23> "trimming"
-+24> ]
-+25> ,
-+26> i
-+27> =
-+28> 0
-+29> ;
-+30> i
-+31> <
-+32> 1
-+33> ;
-+34> i
-+35> ++
-+36> )
-+37> {
-+1->Emitted(66, 1) Source(77, 1) + SourceIndex(0)
-+2 >Emitted(66, 6) Source(77, 6) + SourceIndex(0)
-+3 >Emitted(66, 7) Source(77, 7) + SourceIndex(0)
-+4 >Emitted(66, 15) Source(77, 15) + SourceIndex(0)
-+5 >Emitted(66, 18) Source(77, 18) + SourceIndex(0)
-+6 >Emitted(66, 19) Source(77, 19) + SourceIndex(0)
-+7 >Emitted(66, 20) Source(77, 20) + SourceIndex(0)
-+8 >Emitted(66, 22) Source(77, 22) + SourceIndex(0)
-+9 >Emitted(66, 28) Source(77, 28) + SourceIndex(0)
-+10>Emitted(66, 31) Source(77, 31) + SourceIndex(0)
-+11>Emitted(66, 37) Source(77, 37) + SourceIndex(0)
-+12>Emitted(66, 39) Source(77, 39) + SourceIndex(0)
-+13>Emitted(66, 46) Source(77, 46) + SourceIndex(0)
-+14>Emitted(66, 49) Source(77, 49) + SourceIndex(0)
-+15>Emitted(66, 56) Source(77, 56) + SourceIndex(0)
-+16>Emitted(66, 57) Source(77, 57) + SourceIndex(0)
-+17>Emitted(66, 60) Source(77, 60) + SourceIndex(0)
-+18>Emitted(66, 61) Source(77, 61) + SourceIndex(0)
-+19>Emitted(66, 62) Source(77, 62) + SourceIndex(0)
-+20>Emitted(66, 64) Source(77, 64) + SourceIndex(0)
-+21>Emitted(66, 73) Source(77, 73) + SourceIndex(0)
-+22>Emitted(66, 75) Source(77, 75) + SourceIndex(0)
-+23>Emitted(66, 85) Source(77, 85) + SourceIndex(0)
-+24>Emitted(66, 86) Source(77, 86) + SourceIndex(0)
-+25>Emitted(66, 88) Source(77, 88) + SourceIndex(0)
-+26>Emitted(66, 89) Source(77, 89) + SourceIndex(0)
-+27>Emitted(66, 92) Source(77, 92) + SourceIndex(0)
-+28>Emitted(66, 93) Source(77, 93) + SourceIndex(0)
-+29>Emitted(66, 95) Source(77, 95) + SourceIndex(0)
-+30>Emitted(66, 96) Source(77, 96) + SourceIndex(0)
-+31>Emitted(66, 99) Source(77, 99) + SourceIndex(0)
-+32>Emitted(66, 100) Source(77, 100) + SourceIndex(0)
-+33>Emitted(66, 102) Source(77, 102) + SourceIndex(0)
-+34>Emitted(66, 103) Source(77, 103) + SourceIndex(0)
-+35>Emitted(66, 105) Source(77, 105) + SourceIndex(0)
-+36>Emitted(66, 107) Source(77, 107) + SourceIndex(0)
-+37>Emitted(66, 108) Source(77, 108) + SourceIndex(0)
-+---
-+>>> console.log(nameA2);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameA2
-+7 > )
-+8 > ;
-+1 >Emitted(67, 5) Source(78, 5) + SourceIndex(0)
-+2 >Emitted(67, 12) Source(78, 12) + SourceIndex(0)
-+3 >Emitted(67, 13) Source(78, 13) + SourceIndex(0)
-+4 >Emitted(67, 16) Source(78, 16) + SourceIndex(0)
-+5 >Emitted(67, 17) Source(78, 17) + SourceIndex(0)
-+6 >Emitted(67, 23) Source(78, 23) + SourceIndex(0)
-+7 >Emitted(67, 24) Source(78, 24) + SourceIndex(0)
-+8 >Emitted(67, 25) Source(78, 25) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(68, 1) Source(79, 1) + SourceIndex(0)
-+2 >Emitted(68, 2) Source(79, 2) + SourceIndex(0)
-+---
-+>>>for (let [nameMA = "noName", [primarySkillA = "primary", secondarySkillA = "secondary"] = ["none", "none"]] = multiRobotA, i = 0; i < 1; i++) {
-+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> ^
--1->
-- >
--2 >for (
--3 > [, nameA = "name"] =
--4 > getRobot
--5 > ()
--6 >
--7 > nameA = "name"
--8 >
--9 > nameA
--10> =
--11> "name"
--12>
--13> ] = getRobot(),
--14> i
--15> =
--16> 0
--17> ;
--18> i
--19> <
--20> 1
--21> ;
--22> i
--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)
-----
-->>> console.log(nameA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(21, 1) Source(29, 1) + SourceIndex(0)
--2 >Emitted(21, 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->
--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> ^
--1->
-- >
--2 >for (
--3 > [, nameA = "name"] =
--4 > [
--5 > 2
--6 > ,
--7 > "trimmer"
--8 > ,
--9 > "trimming"
--10> ]
--11>
--12> nameA = "name"
--13>
--14> nameA
--15> =
--16> "name"
--17>
--18> ] = [2, "trimmer", "trimming"],
--19> i
--20> =
--21> 0
--22> ;
--23> i
--24> <
--25> 1
--26> ;
--27> i
--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)
-----
-->>> console.log(nameA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(24, 1) Source(32, 1) + SourceIndex(0)
--2 >Emitted(24, 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->
--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> ^
--1->
-- >
--2 >for ([,
--3 > [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]] =
--4 > multiRobotA
--5 >
--6 >
--7 > [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] =
--8 > [
--9 > "none"
--10> ,
--11> "none"
--12> ]
--13>
--14>
--15> primarySkillA = "primary"
--16>
--17> primarySkillA
--18> =
--19> "primary"
--20>
--21> ,
-- >
--22> secondarySkillA = "secondary"
--23>
--24> secondarySkillA
--25> =
--26> "secondary"
--27>
--28>
-- > ] = ["none", "none"]] = multiRobotA,
--29> i
--30> =
--31> 0
--32> ;
--33> i
--34> <
--35> 1
--36> ;
--37> i
--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)
-----
-->>> console.log(primarySkillA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(27, 1) Source(38, 1) + SourceIndex(0)
--2 >Emitted(27, 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->
--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> ^
--1->
-- >
--2 >for (
--3 > [, [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]] =
--4 > getMultiRobot
--5 > ()
--6 >
--7 > [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
--8 >
--9 > [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] =
--10> [
--11> "none"
--12> ,
--13> "none"
--14> ]
--15>
--16>
--17> primarySkillA = "primary"
--18>
--19> primarySkillA
--20> =
--21> "primary"
--22>
--23> ,
-- >
--24> secondarySkillA = "secondary"
--25>
--26> secondarySkillA
--27> =
--28> "secondary"
--29>
--30>
-- > ] = ["none", "none"]] = getMultiRobot(),
--31> i
--32> =
--33> 0
--34> ;
--35> i
--36> <
--37> 1
--38> ;
--39> i
--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)
-----
-->>> console.log(primarySkillA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(30, 1) Source(44, 1) + SourceIndex(0)
--2 >Emitted(30, 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->
--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> ^
--1->
-- >
--2 >for (
--3 > [, [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]] =
--4 > [
--5 > "trimmer"
--6 > ,
--7 > [
--8 > "trimming"
--9 > ,
--10> "edging"
--11> ]
--12> ]
--13>
--14> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
--15>
--16> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] =
--17> [
--18> "none"
--19> ,
--20> "none"
--21> ]
--22>
--23>
--24> primarySkillA = "primary"
--25>
--26> primarySkillA
--27> =
--28> "primary"
--29>
--30> ,
-- >
--31> secondarySkillA = "secondary"
--32>
--33> secondarySkillA
--34> =
--35> "secondary"
--36>
--37>
-- > ] = ["none", "none"]] = ["trimmer", ["trimming", "edging"]],
--38> i
--39> =
--40> 0
--41> ;
--42> i
--43> <
--44> 1
--45> ;
--46> i
--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)
-----
-->>> console.log(primarySkillA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(33, 1) Source(50, 1) + SourceIndex(0)
--2 >Emitted(33, 2) Source(50, 2) + SourceIndex(0)
-----
-->>>for (_v = robotA[0], numberB = _v === void 0 ? -1 : _v, i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^^^^^
--5 > ^^^
--6 > ^^
--7 > ^^^^^^^
--8 > ^^^^^^^^^^^^^^^^^^^
--9 > ^
--10> ^
--11> ^^^^^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^^
--19> ^
--20> ^^
--21> ^
--22> ^^
--23> ^^
--24> ^
--1->
-- >
-- >
--2 >for ([
--3 > numberB = -1] =
--4 > robotA
--5 >
--6 >
--7 > numberB
--8 > =
--9 > -
--10> 1
--11>
--12> ] = robotA,
--13> i
--14> =
--15> 0
--16> ;
--17> i
--18> <
--19> 1
--20> ;
--21> i
--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)
-----
-->>> console.log(numberB);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(36, 1) Source(54, 1) + SourceIndex(0)
--2 >Emitted(36, 2) Source(54, 2) + SourceIndex(0)
-----
-->>>for (_w = getRobot()[0], numberB = _w === void 0 ? -1 : _w, i = 0; i < 1; i++) {
--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> ^
--1->
-- >
--2 >for ([
--3 > numberB = -1] =
--4 > getRobot
--5 > ()
--6 >
--7 >
--8 > numberB
--9 > =
--10> -
--11> 1
--12>
--13> ] = getRobot(),
--14> i
--15> =
--16> 0
--17> ;
--18> i
--19> <
--20> 1
--21> ;
--22> i
--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)
-----
-->>> console.log(numberB);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(39, 1) Source(57, 1) + SourceIndex(0)
--2 >Emitted(39, 2) Source(57, 2) + SourceIndex(0)
-----
-->>>for (_x = [2, "trimmer", "trimming"][0], numberB = _x === void 0 ? -1 : _x, i = 0; i < 1; i++) {
--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> ^
--1->
-- >
--2 >for ([
--3 > numberB = -1] =
--4 > [
--5 > 2
--6 > ,
--7 > "trimmer"
--8 > ,
--9 > "trimming"
--10> ]
--11>
--12>
--13> numberB
--14> =
--15> -
--16> 1
--17>
--18> ] = [2, "trimmer", "trimming"],
--19> i
--20> =
--21> 0
--22> ;
--23> i
--24> <
--25> 1
--26> ;
--27> i
--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)
-----
-->>> console.log(numberB);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(42, 1) Source(60, 1) + SourceIndex(0)
--2 >Emitted(42, 2) Source(60, 2) + SourceIndex(0)
-----
-->>>for (_y = multiRobotA[0], nameB = _y === void 0 ? "name" : _y, i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^^^^^^^^^^
--5 > ^^^
--6 > ^^
--7 > ^^^^^
--8 > ^^^^^^^^^^^^^^^^^^^
--9 > ^^^^^^
--10> ^^^^^
--11> ^^
--12> ^
--13> ^^^
--14> ^
--15> ^^
--16> ^
--17> ^^^
--18> ^
--19> ^^
--20> ^
--21> ^^
--22> ^^
--23> ^
--1->
-- >
--2 >for ([
--3 > nameB = "name"] =
--4 > multiRobotA
--5 >
--6 >
--7 > nameB
--8 > =
--9 > "name"
--10>
--11> ] = multiRobotA,
--12> i
--13> =
--14> 0
--15> ;
--16> i
--17> <
--18> 1
--19> ;
--20> i
--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)
-----
-->>> console.log(nameB);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(45, 1) Source(63, 1) + SourceIndex(0)
--2 >Emitted(45, 2) Source(63, 2) + SourceIndex(0)
-----
-->>>for (_z = getMultiRobot()[0], nameB = _z === void 0 ? "name" : _z, i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^^^^^^^^^^^^
--5 > ^^
--6 > ^^^
--7 > ^^
--8 > ^^^^^
--9 > ^^^^^^^^^^^^^^^^^^^
--10> ^^^^^^
--11> ^^^^^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^^
--19> ^
--20> ^^
--21> ^
--22> ^^
--23> ^^
--24> ^
--1->
-- >
--2 >for ([
--3 > nameB = "name"] =
--4 > getMultiRobot
--5 > ()
--6 >
--7 >
--8 > nameB
--9 > =
--10> "name"
--11>
--12> ] = getMultiRobot(),
--13> i
--14> =
--15> 0
--16> ;
--17> i
--18> <
--19> 1
--20> ;
--21> i
--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)
-----
-->>> console.log(nameB);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(48, 1) Source(66, 1) + SourceIndex(0)
--2 >Emitted(48, 2) Source(66, 2) + SourceIndex(0)
-----
-->>>for (_0 = ["trimmer", ["trimming", "edging"]][0], nameB = _0 === void 0 ? "name" : _0, i = 0; i < 1; i++) {
--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> ^
--1->
-- >
--2 >for ([
--3 > nameB = "name"] =
--4 > [
--5 > "trimmer"
--6 > ,
--7 > [
--8 > "trimming"
--9 > ,
--10> "edging"
--11> ]
--12> ]
--13>
--14>
--15> nameB
--16> =
--17> "name"
--18>
--19> ] = ["trimmer", ["trimming", "edging"]],
--20> i
--21> =
--22> 0
--23> ;
--24> i
--25> <
--26> 1
--27> ;
--28> i
--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)
-----
-->>> console.log(nameB);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(51, 1) Source(69, 1) + SourceIndex(0)
--2 >Emitted(51, 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->
--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> ^
--1->
-- >
-- >
--2 >for ([
--3 > numberA2 = -1, nameA2 = "name", skillA2 = "skill"] =
--4 > robotA
--5 >
--6 >
--7 > numberA2
--8 > =
--9 > -
--10> 1
--11>
--12> ,
--13> nameA2 = "name", skillA2 = "skill"] =
--14> robotA
--15>
--16>
--17> nameA2
--18> =
--19> "name"
--20>
--21> ,
--22> skillA2 = "skill"] =
--23> robotA
--24>
--25>
--26> skillA2
--27> =
--28> "skill"
--29>
--30> ] = robotA,
--31> i
--32> =
--33> 0
--34> ;
--35> i
--36> <
--37> 1
--38> ;
--39> i
--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)
-----
-->>> console.log(nameA2);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(54, 1) Source(73, 1) + SourceIndex(0)
--2 >Emitted(54, 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->
--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> ^
--1->
-- >
--2 >for (
--3 > [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] =
--4 > getRobot
--5 > ()
--6 >
--7 > numberA2 = -1
--8 >
--9 > numberA2
--10> =
--11> -
--12> 1
--13>
--14> ,
--15> nameA2 = "name"
--16>
--17> nameA2
--18> =
--19> "name"
--20>
--21> ,
--22> skillA2 = "skill"
--23>
--24> skillA2
--25> =
--26> "skill"
--27>
--28> ] = getRobot(),
--29> i
--30> =
--31> 0
--32> ;
--33> i
--34> <
--35> 1
--36> ;
--37> i
--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)
-----
-->>> console.log(nameA2);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(57, 1) Source(76, 1) + SourceIndex(0)
--2 >Emitted(57, 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->
--2 >^^^^^
--3 > ^^^^^
--4 > ^
--5 > ^
--6 > ^^
--7 > ^^^^^^^^^
--8 > ^^
--9 > ^^^^^^^^^^
--10> ^
--11> ^^
--12> ^^^^^^^^^^
--13> ^^
--14> ^^^^^^^^
--15> ^^^^^^^^^^^^^^^^^^^
--16> ^
--17> ^
--18> ^^^^^
--19> ^^
--20> ^^^^^^^^^^^
-+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> ^
-+23> ^
-+24> ^
-+25> ^^^
-+26> ^^^^^^^^^^^
-+27> ^^
-+28> ^
-+29> ^^^
-+30> ^
-+31> ^^
-+32> ^
-+33> ^^^
-+34> ^
-+35> ^^
-+36> ^
-+37> ^^
-+38> ^^
-+39> ^
- 1->
- >
- 2 >for (
--3 > [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] =
--4 > [
--5 > 2
--6 > ,
--7 > "trimmer"
--8 > ,
--9 > "trimming"
--10> ]
--11>
--12> numberA2 = -1
--13>
--14> numberA2
--15> =
--16> -
--17> 1
--18>
--19> ,
--20> nameA2 = "name"
--21>
--22> nameA2
--23> =
--24> "name"
--25>
--26> ,
--27> skillA2 = "skill"
--28>
--29> skillA2
--30> =
--31> "skill"
--32>
--33> ] = [2, "trimmer", "trimming"],
--34> i
--35> =
--36> 0
--37> ;
--38> i
--39> <
--40> 1
--41> ;
--42> i
--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)
-+3 > let
-+ >
-+4 > [
-+5 > nameMA
-+6 > =
-+7 > "noName"
-+8 > ,
-+ >
-+9 > [
-+ >
-+10> primarySkillA
-+11> =
-+12> "primary"
-+13> ,
-+ >
-+14> secondarySkillA
-+15> =
-+16> "secondary"
-+17>
-+ > ]
-+18> =
-+19> [
-+20> "none"
-+21> ,
-+22> "none"
-+23> ]
-+24>
-+ > ]
-+25> =
-+26> multiRobotA
-+27> ,
-+28> i
-+29> =
-+30> 0
-+31> ;
-+32> i
-+33> <
-+34> 1
-+35> ;
-+36> i
-+37> ++
-+38> )
-+39> {
-+1->Emitted(69, 1) Source(80, 1) + SourceIndex(0)
-+2 >Emitted(69, 6) Source(80, 6) + SourceIndex(0)
-+3 >Emitted(69, 10) Source(81, 5) + SourceIndex(0)
-+4 >Emitted(69, 11) Source(81, 6) + SourceIndex(0)
-+5 >Emitted(69, 17) Source(81, 12) + SourceIndex(0)
-+6 >Emitted(69, 20) Source(81, 15) + SourceIndex(0)
-+7 >Emitted(69, 28) Source(81, 23) + SourceIndex(0)
-+8 >Emitted(69, 30) Source(82, 9) + SourceIndex(0)
-+9 >Emitted(69, 31) Source(83, 13) + SourceIndex(0)
-+10>Emitted(69, 44) Source(83, 26) + SourceIndex(0)
-+11>Emitted(69, 47) Source(83, 29) + SourceIndex(0)
-+12>Emitted(69, 56) Source(83, 38) + SourceIndex(0)
-+13>Emitted(69, 58) Source(84, 13) + SourceIndex(0)
-+14>Emitted(69, 73) Source(84, 28) + SourceIndex(0)
-+15>Emitted(69, 76) Source(84, 31) + SourceIndex(0)
-+16>Emitted(69, 87) Source(84, 42) + SourceIndex(0)
-+17>Emitted(69, 88) Source(85, 10) + SourceIndex(0)
-+18>Emitted(69, 91) Source(85, 13) + SourceIndex(0)
-+19>Emitted(69, 92) Source(85, 14) + SourceIndex(0)
-+20>Emitted(69, 98) Source(85, 20) + SourceIndex(0)
-+21>Emitted(69, 100) Source(85, 22) + SourceIndex(0)
-+22>Emitted(69, 106) Source(85, 28) + SourceIndex(0)
-+23>Emitted(69, 107) Source(85, 29) + SourceIndex(0)
-+24>Emitted(69, 108) Source(86, 6) + SourceIndex(0)
-+25>Emitted(69, 111) Source(86, 9) + SourceIndex(0)
-+26>Emitted(69, 122) Source(86, 20) + SourceIndex(0)
-+27>Emitted(69, 124) Source(86, 22) + SourceIndex(0)
-+28>Emitted(69, 125) Source(86, 23) + SourceIndex(0)
-+29>Emitted(69, 128) Source(86, 26) + SourceIndex(0)
-+30>Emitted(69, 129) Source(86, 27) + SourceIndex(0)
-+31>Emitted(69, 131) Source(86, 29) + SourceIndex(0)
-+32>Emitted(69, 132) Source(86, 30) + SourceIndex(0)
-+33>Emitted(69, 135) Source(86, 33) + SourceIndex(0)
-+34>Emitted(69, 136) Source(86, 34) + SourceIndex(0)
-+35>Emitted(69, 138) Source(86, 36) + SourceIndex(0)
-+36>Emitted(69, 139) Source(86, 37) + SourceIndex(0)
-+37>Emitted(69, 141) Source(86, 39) + SourceIndex(0)
-+38>Emitted(69, 143) Source(86, 41) + SourceIndex(0)
-+39>Emitted(69, 144) Source(86, 42) + SourceIndex(0)
- ---
-->>> console.log(nameA2);
-+>>> console.log(nameMA);
- 1 >^^^^
- 2 > ^^^^^^^
- 3 > ^
-@@= skipped -1983, +431 lines =@@
- 3 > .
- 4 > log
- 5 > (
--6 > nameA2
-+6 > nameMA
- 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(70, 5) Source(87, 5) + SourceIndex(0)
-+2 >Emitted(70, 12) Source(87, 12) + SourceIndex(0)
-+3 >Emitted(70, 13) Source(87, 13) + SourceIndex(0)
-+4 >Emitted(70, 16) Source(87, 16) + SourceIndex(0)
-+5 >Emitted(70, 17) Source(87, 17) + SourceIndex(0)
-+6 >Emitted(70, 23) Source(87, 23) + SourceIndex(0)
-+7 >Emitted(70, 24) Source(87, 24) + SourceIndex(0)
-+8 >Emitted(70, 25) Source(87, 25) + SourceIndex(0)
- ---
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
--1 >Emitted(60, 1) Source(79, 1) + SourceIndex(0)
--2 >Emitted(60, 2) Source(79, 2) + SourceIndex(0)
-+1 >Emitted(71, 1) Source(88, 1) + SourceIndex(0)
-+2 >Emitted(71, 2) Source(88, 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++) {
-+>>>for ([nameMA = "noName",
- 1->
- 2 >^^^^^
--3 > ^^^^
-+3 > ^
-+4 > ^^^^^^
-+5 > ^^^
-+6 > ^^^^^^^^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > nameMA
-+5 > =
-+6 > "noName"
-+1->Emitted(72, 1) Source(89, 1) + SourceIndex(0)
-+2 >Emitted(72, 6) Source(89, 6) + SourceIndex(0)
-+3 >Emitted(72, 7) Source(89, 7) + SourceIndex(0)
-+4 >Emitted(72, 13) Source(89, 13) + SourceIndex(0)
-+5 >Emitted(72, 16) Source(89, 16) + SourceIndex(0)
-+6 >Emitted(72, 24) Source(89, 24) + SourceIndex(0)
-+---
-+>>> [
-+1 >^^^^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >,
-+ >
-+1 >Emitted(73, 5) Source(90, 5) + SourceIndex(0)
-+---
-+>>> primarySkillA = "primary",
-+1->^^^^^^^^
-+2 > ^^^^^^^^^^^^^
-+3 > ^^^
-+4 > ^^^^^^^^^
-+5 > ^^^^^->
-+1->[
-+ >
-+2 > primarySkillA
-+3 > =
-+4 > "primary"
-+1->Emitted(74, 9) Source(91, 9) + SourceIndex(0)
-+2 >Emitted(74, 22) Source(91, 22) + SourceIndex(0)
-+3 >Emitted(74, 25) Source(91, 25) + SourceIndex(0)
-+4 >Emitted(74, 34) Source(91, 34) + SourceIndex(0)
-+---
-+>>> secondarySkillA = "secondary"
-+1->^^^^^^^^
-+2 > ^^^^^^^^^^^^^^^
-+3 > ^^^
-+4 > ^^^^^^^^^^^
-+1->,
-+ >
-+2 > secondarySkillA
-+3 > =
-+4 > "secondary"
-+1->Emitted(75, 9) Source(92, 9) + SourceIndex(0)
-+2 >Emitted(75, 24) Source(92, 24) + SourceIndex(0)
-+3 >Emitted(75, 27) Source(92, 27) + SourceIndex(0)
-+4 >Emitted(75, 38) Source(92, 38) + SourceIndex(0)
-+---
-+>>> ] = ["none", "none"]
-+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> ^
--1->
-- >
--2 >for (let
-- > [
--3 >
--4 > nameMA = "noName",
-- > [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
-- > ] =
--5 > multiRobotA
--6 >
--7 >
--8 > nameMA
--9 > =
--10> "noName"
--11>
--12> ,
-- >
--13> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
-- > ] =
--14> multiRobotA
--15>
--16>
--17> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] =
--18> [
--19> "none"
--20> ,
--21> "none"
--22> ]
--23>
--24>
--25> primarySkillA = "primary"
--26>
--27> primarySkillA
--28> =
--29> "primary"
--30>
--31> ,
-- >
--32> secondarySkillA = "secondary"
--33>
--34> secondarySkillA
--35> =
--36> "secondary"
--37>
--38>
-- > ] = ["none", "none"]
-- > ] = multiRobotA,
--39> i
--40> =
--41> 0
--42> ;
--43> i
--44> <
--45> 1
--46> ;
--47> i
--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)
-----
-->>> console.log(nameMA_1);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(63, 1) Source(88, 1) + SourceIndex(0)
--2 >Emitted(63, 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->
--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> ^
--1->
-- >
--2 >for (
--3 > [nameMA = "noName",
-- > [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
-- > ] =
--4 > getMultiRobot
--5 > ()
--6 >
--7 > nameMA = "noName"
--8 >
--9 > nameMA
--10> =
--11> "noName"
--12>
--13> ,
-- >
--14> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
--15>
--16> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] =
--17> [
--18> "none"
--19> ,
--20> "none"
--21> ]
--22>
--23>
--24> primarySkillA = "primary"
--25>
--26> primarySkillA
--27> =
--28> "primary"
--29>
--30> ,
-- >
--31> secondarySkillA = "secondary"
--32>
--33> secondarySkillA
--34> =
--35> "secondary"
--36>
--37>
-- > ] = ["none", "none"]
-- > ] = getMultiRobot(),
--38> i
--39> =
--40> 0
--41> ;
--42> i
--43> <
--44> 1
--45> ;
--46> i
--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)
-----
-->>> console.log(nameMA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(66, 1) Source(96, 1) + SourceIndex(0)
--2 >Emitted(66, 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->
--2 >^^^^^
--3 > ^^^^^^
--4 > ^
--5 > ^^^^^^^^^
--6 > ^^
-+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> ^
--1->
-- >
--2 >for (
--3 > [nameMA = "noName",
-- > [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
-- > ] =
--4 > [
--5 > "trimmer"
--6 > ,
--7 > [
--8 > "trimming"
--9 > ,
--10> "edging"
--11> ]
--12> ]
--13>
--14> nameMA = "noName"
--15>
--16> nameMA
--17> =
--18> "noName"
--19>
--20> ,
-- >
--21> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] = ["none", "none"]
--22>
--23> [
-- > primarySkillA = "primary",
-- > secondarySkillA = "secondary"
-- > ] =
--24> [
--25> "none"
--26> ,
--27> "none"
--28> ]
--29>
--30>
--31> primarySkillA = "primary"
--32>
--33> primarySkillA
--34> =
--35> "primary"
--36>
--37> ,
-- >
--38> secondarySkillA = "secondary"
--39>
--40> secondarySkillA
--41> =
--42> "secondary"
--43>
--44>
-- > ] = ["none", "none"]
-- > ] = ["trimmer", ["trimming", "edging"]],
--45> i
--46> =
--47> 0
--48> ;
--49> i
--50> <
--51> 1
--52> ;
--53> i
--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)
-----
-->>> console.log(nameMA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(69, 1) Source(104, 1) + SourceIndex(0)
--2 >Emitted(69, 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->
--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> ^
--1->
-- >
-- >
--2 >for ([
--3 > numberA3 = -1, ...robotAInfo] =
--4 > robotA
--5 >
--6 >
--7 > numberA3
--8 > =
--9 > -
--10> 1
--11>
--12> , ...
--13> robotAInfo
--14> ] =
--15> robotA
--16>
--17> ] = robotA,
--18> i
--19> =
--20> 0
--21> ;
--22> i
--23> <
--24> 1
--25> ;
--26> i
--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)
-----
-->>> console.log(numberA3);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(72, 1) Source(108, 1) + SourceIndex(0)
--2 >Emitted(72, 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->
--2 >^^^^^
--3 > ^^^^^^
--4 > ^^^^^^^^
-+8 > ^^^^^^^^^^^^^^^^^^->
-+1 >
-+ > ]
-+2 > =
-+3 > [
-+4 > "none"
-+5 > ,
-+6 > "none"
-+7 > ]
-+1 >Emitted(76, 6) Source(93, 6) + SourceIndex(0)
-+2 >Emitted(76, 9) Source(93, 9) + SourceIndex(0)
-+3 >Emitted(76, 10) Source(93, 10) + SourceIndex(0)
-+4 >Emitted(76, 16) Source(93, 16) + SourceIndex(0)
-+5 >Emitted(76, 18) Source(93, 18) + SourceIndex(0)
-+6 >Emitted(76, 24) Source(93, 24) + SourceIndex(0)
-+7 >Emitted(76, 25) Source(93, 25) + SourceIndex(0)
-+---
-+>>>] = getMultiRobot(), i = 0; i < 1; i++) {
-+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> ^
--1->
-- >
--2 >for (
--3 > [numberA3 = -1, ...robotAInfo] =
--4 > getRobot
--5 > ()
--6 >
--7 > numberA3 = -1
--8 >
--9 > numberA3
--10> =
--11> -
--12> 1
--13>
--14> , ...
--15> robotAInfo
--16>
--17> ] = getRobot(),
--18> i
--19> =
--20> 0
--21> ;
--22> i
--23> <
--24> 1
--25> ;
--26> i
--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)
-----
-->>> console.log(numberA3);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(75, 1) Source(111, 1) + SourceIndex(0)
--2 >Emitted(75, 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->
--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> ^
--1->
-- >
--2 >for (
--3 > [numberA3 = -1, ...robotAInfo] =
--4 > [
--5 > 2
--6 > ,
--7 > "trimmer"
--8 > ,
--9 > "trimming"
--10> ]
--11>
--12> numberA3 = -1
--13>
--14> numberA3
--15> =
--16> -
--17> 1
--18>
--19> , ...
--20> robotAInfo
--21>
--22> ] = [2, "trimmer", "trimming"],
--23> i
--24> =
--25> 0
--26> ;
--27> i
--28> <
--29> 1
--30> ;
--31> i
--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)
-----
-->>> console.log(numberA3);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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)
-+6 > ^
-+7 > ^^^
-+8 > ^
-+9 > ^^
-+10> ^
-+11> ^^^
-+12> ^
-+13> ^^
-+14> ^
-+15> ^^
-+16> ^^
-+17> ^
-+1->
-+ >]
-+2 > =
-+3 > getMultiRobot
-+4 > ()
-+5 > ,
-+6 > i
-+7 > =
-+8 > 0
-+9 > ;
-+10> i
-+11> <
-+12> 1
-+13> ;
-+14> i
-+15> ++
-+16> )
-+17> {
-+1->Emitted(77, 2) Source(94, 2) + SourceIndex(0)
-+2 >Emitted(77, 5) Source(94, 5) + SourceIndex(0)
-+3 >Emitted(77, 18) Source(94, 18) + SourceIndex(0)
-+4 >Emitted(77, 20) Source(94, 20) + SourceIndex(0)
-+5 >Emitted(77, 22) Source(94, 22) + SourceIndex(0)
-+6 >Emitted(77, 23) Source(94, 23) + SourceIndex(0)
-+7 >Emitted(77, 26) Source(94, 26) + SourceIndex(0)
-+8 >Emitted(77, 27) Source(94, 27) + SourceIndex(0)
-+9 >Emitted(77, 29) Source(94, 29) + SourceIndex(0)
-+10>Emitted(77, 30) Source(94, 30) + SourceIndex(0)
-+11>Emitted(77, 33) Source(94, 33) + SourceIndex(0)
-+12>Emitted(77, 34) Source(94, 34) + SourceIndex(0)
-+13>Emitted(77, 36) Source(94, 36) + SourceIndex(0)
-+14>Emitted(77, 37) Source(94, 37) + SourceIndex(0)
-+15>Emitted(77, 39) Source(94, 39) + SourceIndex(0)
-+16>Emitted(77, 41) Source(94, 41) + SourceIndex(0)
-+17>Emitted(77, 42) Source(94, 42) + SourceIndex(0)
-+---
-+>>> console.log(nameMA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameMA
-+7 > )
-+8 > ;
-+1 >Emitted(78, 5) Source(95, 5) + SourceIndex(0)
-+2 >Emitted(78, 12) Source(95, 12) + SourceIndex(0)
-+3 >Emitted(78, 13) Source(95, 13) + SourceIndex(0)
-+4 >Emitted(78, 16) Source(95, 16) + SourceIndex(0)
-+5 >Emitted(78, 17) Source(95, 17) + SourceIndex(0)
-+6 >Emitted(78, 23) Source(95, 23) + SourceIndex(0)
-+7 >Emitted(78, 24) Source(95, 24) + SourceIndex(0)
-+8 >Emitted(78, 25) Source(95, 25) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(79, 1) Source(96, 1) + SourceIndex(0)
-+2 >Emitted(79, 2) Source(96, 2) + SourceIndex(0)
-+---
-+>>>for ([nameMA = "noName",
-+1->
-+2 >^^^^^
-+3 > ^
-+4 > ^^^^^^
-+5 > ^^^
-+6 > ^^^^^^^^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > nameMA
-+5 > =
-+6 > "noName"
-+1->Emitted(80, 1) Source(97, 1) + SourceIndex(0)
-+2 >Emitted(80, 6) Source(97, 6) + SourceIndex(0)
-+3 >Emitted(80, 7) Source(97, 7) + SourceIndex(0)
-+4 >Emitted(80, 13) Source(97, 13) + SourceIndex(0)
-+5 >Emitted(80, 16) Source(97, 16) + SourceIndex(0)
-+6 >Emitted(80, 24) Source(97, 24) + SourceIndex(0)
-+---
-+>>> [
-+1 >^^^^
-+2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >,
-+ >
-+1 >Emitted(81, 5) Source(98, 5) + SourceIndex(0)
-+---
-+>>> primarySkillA = "primary",
-+1->^^^^^^^^
-+2 > ^^^^^^^^^^^^^
-+3 > ^^^
-+4 > ^^^^^^^^^
-+5 > ^^^^^->
-+1->[
-+ >
-+2 > primarySkillA
-+3 > =
-+4 > "primary"
-+1->Emitted(82, 9) Source(99, 9) + SourceIndex(0)
-+2 >Emitted(82, 22) Source(99, 22) + SourceIndex(0)
-+3 >Emitted(82, 25) Source(99, 25) + SourceIndex(0)
-+4 >Emitted(82, 34) Source(99, 34) + SourceIndex(0)
-+---
-+>>> secondarySkillA = "secondary"
-+1->^^^^^^^^
-+2 > ^^^^^^^^^^^^^^^
-+3 > ^^^
-+4 > ^^^^^^^^^^^
-+1->,
-+ >
-+2 > secondarySkillA
-+3 > =
-+4 > "secondary"
-+1->Emitted(83, 9) Source(100, 9) + SourceIndex(0)
-+2 >Emitted(83, 24) Source(100, 24) + SourceIndex(0)
-+3 >Emitted(83, 27) Source(100, 27) + SourceIndex(0)
-+4 >Emitted(83, 38) Source(100, 38) + SourceIndex(0)
-+---
-+>>> ] = ["none", "none"]
-+1 >^^^^^
-+2 > ^^^
-+3 > ^
-+4 > ^^^^^^
-+5 > ^^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ > ]
-+2 > =
-+3 > [
-+4 > "none"
-+5 > ,
-+6 > "none"
-+7 > ]
-+1 >Emitted(84, 6) Source(101, 6) + SourceIndex(0)
-+2 >Emitted(84, 9) Source(101, 9) + SourceIndex(0)
-+3 >Emitted(84, 10) Source(101, 10) + SourceIndex(0)
-+4 >Emitted(84, 16) Source(101, 16) + SourceIndex(0)
-+5 >Emitted(84, 18) Source(101, 18) + SourceIndex(0)
-+6 >Emitted(84, 24) Source(101, 24) + SourceIndex(0)
-+7 >Emitted(84, 25) Source(101, 25) + SourceIndex(0)
-+---
-+>>>] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
-+1->^
-+2 > ^^^
-+3 > ^
-+4 > ^^^^^^^^^
-+5 > ^^
-+6 > ^
-+7 > ^^^^^^^^^^
-+8 > ^^
-+9 > ^^^^^^^^
-+10> ^
-+11> ^
-+12> ^^
-+13> ^
-+14> ^^^
-+15> ^
-+16> ^^
-+17> ^
-+18> ^^^
-+19> ^
-+20> ^^
-+21> ^
-+22> ^^
-+23> ^^
-+24> ^
-+1->
-+ >]
-+2 > =
-+3 > [
-+4 > "trimmer"
-+5 > ,
-+6 > [
-+7 > "trimming"
-+8 > ,
-+9 > "edging"
-+10> ]
-+11> ]
-+12> ,
-+13> i
-+14> =
-+15> 0
-+16> ;
-+17> i
-+18> <
-+19> 1
-+20> ;
-+21> i
-+22> ++
-+23> )
-+24> {
-+1->Emitted(85, 2) Source(102, 2) + SourceIndex(0)
-+2 >Emitted(85, 5) Source(102, 5) + SourceIndex(0)
-+3 >Emitted(85, 6) Source(102, 6) + SourceIndex(0)
-+4 >Emitted(85, 15) Source(102, 15) + SourceIndex(0)
-+5 >Emitted(85, 17) Source(102, 17) + SourceIndex(0)
-+6 >Emitted(85, 18) Source(102, 18) + SourceIndex(0)
-+7 >Emitted(85, 28) Source(102, 28) + SourceIndex(0)
-+8 >Emitted(85, 30) Source(102, 30) + SourceIndex(0)
-+9 >Emitted(85, 38) Source(102, 38) + SourceIndex(0)
-+10>Emitted(85, 39) Source(102, 39) + SourceIndex(0)
-+11>Emitted(85, 40) Source(102, 40) + SourceIndex(0)
-+12>Emitted(85, 42) Source(102, 42) + SourceIndex(0)
-+13>Emitted(85, 43) Source(102, 43) + SourceIndex(0)
-+14>Emitted(85, 46) Source(102, 46) + SourceIndex(0)
-+15>Emitted(85, 47) Source(102, 47) + SourceIndex(0)
-+16>Emitted(85, 49) Source(102, 49) + SourceIndex(0)
-+17>Emitted(85, 50) Source(102, 50) + SourceIndex(0)
-+18>Emitted(85, 53) Source(102, 53) + SourceIndex(0)
-+19>Emitted(85, 54) Source(102, 54) + SourceIndex(0)
-+20>Emitted(85, 56) Source(102, 56) + SourceIndex(0)
-+21>Emitted(85, 57) Source(102, 57) + SourceIndex(0)
-+22>Emitted(85, 59) Source(102, 59) + SourceIndex(0)
-+23>Emitted(85, 61) Source(102, 61) + SourceIndex(0)
-+24>Emitted(85, 62) Source(102, 62) + SourceIndex(0)
-+---
-+>>> console.log(nameMA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameMA
-+7 > )
-+8 > ;
-+1 >Emitted(86, 5) Source(103, 5) + SourceIndex(0)
-+2 >Emitted(86, 12) Source(103, 12) + SourceIndex(0)
-+3 >Emitted(86, 13) Source(103, 13) + SourceIndex(0)
-+4 >Emitted(86, 16) Source(103, 16) + SourceIndex(0)
-+5 >Emitted(86, 17) Source(103, 17) + SourceIndex(0)
-+6 >Emitted(86, 23) Source(103, 23) + SourceIndex(0)
-+7 >Emitted(86, 24) Source(103, 24) + SourceIndex(0)
-+8 >Emitted(86, 25) Source(103, 25) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(87, 1) Source(104, 1) + SourceIndex(0)
-+2 >Emitted(87, 2) Source(104, 2) + SourceIndex(0)
-+---
-+>>>for ([numberA3 = -1, ...robotAInfo] = robotA, i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+ >
-+2 >for (
-+3 > [
-+4 > numberA3
-+5 > =
-+6 > -
-+7 > 1
-+8 > ,
-+9 > ...
-+10> robotAInfo
-+11> ]
-+12> =
-+13> robotA
-+14> ,
-+15> i
-+16> =
-+17> 0
-+18> ;
-+19> i
-+20> <
-+21> 1
-+22> ;
-+23> i
-+24> ++
-+25> )
-+26> {
-+1->Emitted(88, 1) Source(106, 1) + SourceIndex(0)
-+2 >Emitted(88, 6) Source(106, 6) + SourceIndex(0)
-+3 >Emitted(88, 7) Source(106, 7) + SourceIndex(0)
-+4 >Emitted(88, 15) Source(106, 15) + SourceIndex(0)
-+5 >Emitted(88, 18) Source(106, 18) + SourceIndex(0)
-+6 >Emitted(88, 19) Source(106, 19) + SourceIndex(0)
-+7 >Emitted(88, 20) Source(106, 20) + SourceIndex(0)
-+8 >Emitted(88, 22) Source(106, 22) + SourceIndex(0)
-+9 >Emitted(88, 25) Source(106, 25) + SourceIndex(0)
-+10>Emitted(88, 35) Source(106, 35) + SourceIndex(0)
-+11>Emitted(88, 36) Source(106, 36) + SourceIndex(0)
-+12>Emitted(88, 39) Source(106, 39) + SourceIndex(0)
-+13>Emitted(88, 45) Source(106, 45) + SourceIndex(0)
-+14>Emitted(88, 47) Source(106, 47) + SourceIndex(0)
-+15>Emitted(88, 48) Source(106, 48) + SourceIndex(0)
-+16>Emitted(88, 51) Source(106, 51) + SourceIndex(0)
-+17>Emitted(88, 52) Source(106, 52) + SourceIndex(0)
-+18>Emitted(88, 54) Source(106, 54) + SourceIndex(0)
-+19>Emitted(88, 55) Source(106, 55) + SourceIndex(0)
-+20>Emitted(88, 58) Source(106, 58) + SourceIndex(0)
-+21>Emitted(88, 59) Source(106, 59) + SourceIndex(0)
-+22>Emitted(88, 61) Source(106, 61) + SourceIndex(0)
-+23>Emitted(88, 62) Source(106, 62) + SourceIndex(0)
-+24>Emitted(88, 64) Source(106, 64) + SourceIndex(0)
-+25>Emitted(88, 66) Source(106, 66) + SourceIndex(0)
-+26>Emitted(88, 67) Source(106, 67) + SourceIndex(0)
-+---
-+>>> console.log(numberA3);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > numberA3
-+7 > )
-+8 > ;
-+1 >Emitted(89, 5) Source(107, 5) + SourceIndex(0)
-+2 >Emitted(89, 12) Source(107, 12) + SourceIndex(0)
-+3 >Emitted(89, 13) Source(107, 13) + SourceIndex(0)
-+4 >Emitted(89, 16) Source(107, 16) + SourceIndex(0)
-+5 >Emitted(89, 17) Source(107, 17) + SourceIndex(0)
-+6 >Emitted(89, 25) Source(107, 25) + SourceIndex(0)
-+7 >Emitted(89, 26) Source(107, 26) + SourceIndex(0)
-+8 >Emitted(89, 27) Source(107, 27) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(90, 1) Source(108, 1) + SourceIndex(0)
-+2 >Emitted(90, 2) Source(108, 2) + SourceIndex(0)
-+---
-+>>>for ([numberA3 = -1, ...robotAInfo] = getRobot(), i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > numberA3
-+5 > =
-+6 > -
-+7 > 1
-+8 > ,
-+9 > ...
-+10> robotAInfo
-+11> ]
-+12> =
-+13> getRobot
-+14> ()
-+15> ,
-+16> i
-+17> =
-+18> 0
-+19> ;
-+20> i
-+21> <
-+22> 1
-+23> ;
-+24> i
-+25> ++
-+26> )
-+27> {
-+1->Emitted(91, 1) Source(109, 1) + SourceIndex(0)
-+2 >Emitted(91, 6) Source(109, 6) + SourceIndex(0)
-+3 >Emitted(91, 7) Source(109, 7) + SourceIndex(0)
-+4 >Emitted(91, 15) Source(109, 15) + SourceIndex(0)
-+5 >Emitted(91, 18) Source(109, 18) + SourceIndex(0)
-+6 >Emitted(91, 19) Source(109, 19) + SourceIndex(0)
-+7 >Emitted(91, 20) Source(109, 20) + SourceIndex(0)
-+8 >Emitted(91, 22) Source(109, 22) + SourceIndex(0)
-+9 >Emitted(91, 25) Source(109, 25) + SourceIndex(0)
-+10>Emitted(91, 35) Source(109, 35) + SourceIndex(0)
-+11>Emitted(91, 36) Source(109, 36) + SourceIndex(0)
-+12>Emitted(91, 39) Source(109, 39) + SourceIndex(0)
-+13>Emitted(91, 47) Source(109, 47) + SourceIndex(0)
-+14>Emitted(91, 49) Source(109, 49) + SourceIndex(0)
-+15>Emitted(91, 51) Source(109, 51) + SourceIndex(0)
-+16>Emitted(91, 52) Source(109, 52) + SourceIndex(0)
-+17>Emitted(91, 55) Source(109, 55) + SourceIndex(0)
-+18>Emitted(91, 56) Source(109, 56) + SourceIndex(0)
-+19>Emitted(91, 58) Source(109, 58) + SourceIndex(0)
-+20>Emitted(91, 59) Source(109, 59) + SourceIndex(0)
-+21>Emitted(91, 62) Source(109, 62) + SourceIndex(0)
-+22>Emitted(91, 63) Source(109, 63) + SourceIndex(0)
-+23>Emitted(91, 65) Source(109, 65) + SourceIndex(0)
-+24>Emitted(91, 66) Source(109, 66) + SourceIndex(0)
-+25>Emitted(91, 68) Source(109, 68) + SourceIndex(0)
-+26>Emitted(91, 70) Source(109, 70) + SourceIndex(0)
-+27>Emitted(91, 71) Source(109, 71) + SourceIndex(0)
-+---
-+>>> console.log(numberA3);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > numberA3
-+7 > )
-+8 > ;
-+1 >Emitted(92, 5) Source(110, 5) + SourceIndex(0)
-+2 >Emitted(92, 12) Source(110, 12) + SourceIndex(0)
-+3 >Emitted(92, 13) Source(110, 13) + SourceIndex(0)
-+4 >Emitted(92, 16) Source(110, 16) + SourceIndex(0)
-+5 >Emitted(92, 17) Source(110, 17) + SourceIndex(0)
-+6 >Emitted(92, 25) Source(110, 25) + SourceIndex(0)
-+7 >Emitted(92, 26) Source(110, 26) + SourceIndex(0)
-+8 >Emitted(92, 27) Source(110, 27) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(93, 1) Source(111, 1) + SourceIndex(0)
-+2 >Emitted(93, 2) Source(111, 2) + SourceIndex(0)
-+---
-+>>>for ([numberA3 = -1, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > [
-+4 > numberA3
-+5 > =
-+6 > -
-+7 > 1
-+8 > ,
-+9 > ...
-+10> robotAInfo
-+11> ]
-+12> =
-+13> [
-+14> 2
-+15> ,
-+16> "trimmer"
-+17> ,
-+18> "trimming"
-+19> ]
-+20> ,
-+21> i
-+22> =
-+23> 0
-+24> ;
-+25> i
-+26> <
-+27> 1
-+28> ;
-+29> i
-+30> ++
-+31> )
-+32> {
-+1->Emitted(94, 1) Source(112, 1) + SourceIndex(0)
-+2 >Emitted(94, 6) Source(112, 6) + SourceIndex(0)
-+3 >Emitted(94, 7) Source(112, 7) + SourceIndex(0)
-+4 >Emitted(94, 15) Source(112, 15) + SourceIndex(0)
-+5 >Emitted(94, 18) Source(112, 18) + SourceIndex(0)
-+6 >Emitted(94, 19) Source(112, 19) + SourceIndex(0)
-+7 >Emitted(94, 20) Source(112, 20) + SourceIndex(0)
-+8 >Emitted(94, 22) Source(112, 22) + SourceIndex(0)
-+9 >Emitted(94, 25) Source(112, 25) + SourceIndex(0)
-+10>Emitted(94, 35) Source(112, 35) + SourceIndex(0)
-+11>Emitted(94, 36) Source(112, 36) + SourceIndex(0)
-+12>Emitted(94, 39) Source(112, 46) + SourceIndex(0)
-+13>Emitted(94, 40) Source(112, 47) + SourceIndex(0)
-+14>Emitted(94, 41) Source(112, 48) + SourceIndex(0)
-+15>Emitted(94, 43) Source(112, 50) + SourceIndex(0)
-+16>Emitted(94, 52) Source(112, 59) + SourceIndex(0)
-+17>Emitted(94, 54) Source(112, 61) + SourceIndex(0)
-+18>Emitted(94, 64) Source(112, 71) + SourceIndex(0)
-+19>Emitted(94, 65) Source(112, 72) + SourceIndex(0)
-+20>Emitted(94, 67) Source(112, 74) + SourceIndex(0)
-+21>Emitted(94, 68) Source(112, 75) + SourceIndex(0)
-+22>Emitted(94, 71) Source(112, 78) + SourceIndex(0)
-+23>Emitted(94, 72) Source(112, 79) + SourceIndex(0)
-+24>Emitted(94, 74) Source(112, 81) + SourceIndex(0)
-+25>Emitted(94, 75) Source(112, 82) + SourceIndex(0)
-+26>Emitted(94, 78) Source(112, 85) + SourceIndex(0)
-+27>Emitted(94, 79) Source(112, 86) + SourceIndex(0)
-+28>Emitted(94, 81) Source(112, 88) + SourceIndex(0)
-+29>Emitted(94, 82) Source(112, 89) + SourceIndex(0)
-+30>Emitted(94, 84) Source(112, 91) + SourceIndex(0)
-+31>Emitted(94, 86) Source(112, 93) + SourceIndex(0)
-+32>Emitted(94, 87) Source(112, 94) + SourceIndex(0)
-+---
-+>>> console.log(numberA3);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > numberA3
-+7 > )
-+8 > ;
-+1 >Emitted(95, 5) Source(113, 5) + SourceIndex(0)
-+2 >Emitted(95, 12) Source(113, 12) + SourceIndex(0)
-+3 >Emitted(95, 13) Source(113, 13) + SourceIndex(0)
-+4 >Emitted(95, 16) Source(113, 16) + SourceIndex(0)
-+5 >Emitted(95, 17) Source(113, 17) + SourceIndex(0)
-+6 >Emitted(95, 25) Source(113, 25) + SourceIndex(0)
-+7 >Emitted(95, 26) Source(113, 26) + SourceIndex(0)
-+8 >Emitted(95, 27) Source(113, 27) + SourceIndex(0)
- ---
- >>>}
- 1 >
-@@= skipped -1048, +766 lines =@@
- 1 >
- >
- 2 >}
--1 >Emitted(78, 1) Source(114, 1) + SourceIndex(0)
--2 >Emitted(78, 2) Source(114, 2) + SourceIndex(0)
-+1 >Emitted(96, 1) Source(114, 1) + SourceIndex(0)
-+2 >Emitted(96, 2) Source(114, 2) + SourceIndex(0)
+ 2 >Emitted(9, 2) Source(16, 2) + SourceIndex(0)
---
- >>>//# sourceMappingURL=sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.map
\ No newline at end of file
+ >>>let nameA, primarySkillA, secondarySkillA;
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern.js.diff
deleted file mode 100644
index d95bed3be4..0000000000
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern.js.diff
+++ /dev/null
@@ -1,87 +0,0 @@
---- old.sourceMapValidationDestructuringForObjectBindingPattern.js
-+++ new.sourceMapValidationDestructuringForObjectBindingPattern.js
-@@= skipped -68, +68 lines =@@
- }
-
- //// [sourceMapValidationDestructuringForObjectBindingPattern.js]
--var robot = { name: "mower", skill: "mowing" };
--var multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } };
-+let robot = { name: "mower", skill: "mowing" };
-+let multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } };
- function getRobot() {
- return robot;
- }
- function getMultiRobot() {
- return multiRobot;
- }
--for (var nameA = robot.name, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (var nameA = getRobot().name, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (var nameA = { name: "trimmer", skill: "trimming" }.name, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (var _a = multiRobot.skills, primaryA = _a.primary, secondaryA = _a.secondary, i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (var _b = getMultiRobot().skills, primaryA = _b.primary, secondaryA = _b.secondary, i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (var _c = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }.skills, primaryA = _c.primary, secondaryA = _c.secondary, i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (var nameA = robot.name, skillA = robot.skill, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (var _d = getRobot(), nameA = _d.name, skillA = _d.skill, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (var _e = { name: "trimmer", skill: "trimming" }, nameA = _e.name, skillA = _e.skill, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (var nameA = multiRobot.name, _f = multiRobot.skills, primaryA = _f.primary, secondaryA = _f.secondary, i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (var _g = getMultiRobot(), nameA = _g.name, _h = _g.skills, primaryA = _h.primary, secondaryA = _h.secondary, i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--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++) {
-+for (let { name: nameA } = robot, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for (let { name: nameA } = getRobot(), i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for (let { name: nameA } = { name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for (let { skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for (let { skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for (let { skills: { primary: primaryA, secondary: secondaryA } } = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }, i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for (let { name: nameA, skill: skillA } = robot, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for (let { name: nameA, skill: skillA } = getRobot(), i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for (let { name: nameA, skill: skillA } = { name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for (let { name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for (let { name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for (let { name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }, i = 0; i < 1; i++) {
- console.log(primaryA);
- }
- //# sourceMappingURL=sourceMapValidationDestructuringForObjectBindingPattern.js.map
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern.js.map.diff
index 4cce0e59e7..7b6d141ef8 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMapValidationDestructuringForObjectBindingPattern.js.map
@@= skipped -0, +0 lines =@@
//// [sourceMapValidationDestructuringForObjectBindingPattern.js.map]
--{"version":3,"file":"sourceMapValidationDestructuringForObjectBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForObjectBindingPattern.ts"],"names":[],"mappings":"AAgBA,IAAI,KAAK,GAAU,EAAE,IAAI,EAA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WxsczogeyBwcmltYXJ5OiBwcmltYXJ5QSwgc2Vjb25kYXJ5OiBzZWNvbmRhcnlBIH0gfSA9CiAgICA8TXVsdGlSb2JvdD57IG5hbWU6ICJ0cmltbWVyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJ0cmltbWluZyIsIHNlY29uZGFyeTogImVkZ2luZyIgfSB9LAogICAgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKHByaW1hcnlBKTsKfQ==
+-{"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,KAAK,IAAI,EAAC,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IACjD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAK,IAAI,EAAC,IAAI,EAAE,KAAK,EAAE,GAAG,QAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IACtD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAK,IAAI,EAAC,IAAI,EAAE,KAAK,EAAE,GAAU,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,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B9LAogICAgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKHByaW1hcnlBKTsKfQ==
+{"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,GAAG;IAChB,OAAO,KAAK,CAAC;AAAA,CAChB;AACD,SAAS,aAAa,GAAG;IACrB,OAAO,UAAU,CAAC;AAAA,CACrB;AAED,KAAK,IAAI,EAAC,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IACjD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAK,IAAI,EAAC,IAAI,EAAE,KAAK,EAAE,GAAG,QAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IACtD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAK,IAAI,EAAC,IAAI,EAAE,KAAK,EAAE,GAAU,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IACzF,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAK,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,EA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k7Cn0KZm9yIChsZXQge25hbWU6IG5hbWVBLCBza2lsbDogc2tpbGxBIH0gPSBnZXRSb2JvdCgpLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobmFtZUEpOwp9CmZvciAobGV0IHtuYW1lOiBuYW1lQSwgc2tpbGw6IHNraWxsQSB9ID0gPFJvYm90PnsgbmFtZTogInRyaW1tZXIiLCBza2lsbDogInRyaW1taW5nIiB9LCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobmFtZUEpOwp9CmZvciAobGV0IHtuYW1lOiBuYW1lQSwgc2tpbGxzOiB7IHByaW1hcnk6IHByaW1hcnlBLCBzZWNvbmRhcnk6IHNlY29uZGFyeUEgfSB9ID0gbXVsdGlSb2JvdCwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKHByaW1hcnlBKTsKfQpmb3IgKGxldCB7bmFtZTogbmFtZUEsIHNraWxsczogeyBwcmltYXJ5OiBwcmltYXJ5QSwgc2Vjb25kYXJ5OiBzZWNvbmRhcnlBIH0gfSA9IGdldE11bHRpUm9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKHByaW1hcnlBKTsKfQpmb3IgKGxldCB7bmFtZTogbmFtZUEsIHNraWxsczogeyBwcmltYXJ5OiBwcmltYXJ5QSwgc2Vjb25kYXJ5OiBzZWNvbmRhcnlBIH0gfSA9CiAgICA8TXVsdGlSb2JvdD57IG5hbWU6ICJ0cmltbWVyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJ0cmltbWluZyIsIHNlY29uZGFyeTogImVkZ2luZyIgfSB9LAogICAgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKHByaW1hcnlBKTsKfQ==
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern.sourcemap.txt.diff
index 4b9d8a5381..d3ce982b8e 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern.sourcemap.txt.diff
@@ -1,24 +1,6 @@
--- old.sourceMapValidationDestructuringForObjectBindingPattern.sourcemap.txt
+++ new.sourceMapValidationDestructuringForObjectBindingPattern.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:sourceMapValidationDestructuringForObjectBindingPattern.js
- sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts
- -------------------------------------------------------------------
-->>>var robot = { name: "mower", skill: "mowing" };
-+>>>let robot = { name: "mower", skill: "mowing" };
- 1 >
- 2 >^^^^
- 3 > ^^^^^
-@@= skipped -61, +61 lines =@@
- 13>Emitted(1, 47) Source(17, 54) + SourceIndex(0)
- 14>Emitted(1, 48) Source(17, 55) + SourceIndex(0)
- ---
-->>>var multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } };
-+>>>let multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } };
- 1->
- 2 >^^^^
- 3 > ^^^^^^^^^^
-@@= skipped -73, +73 lines =@@
+@@= skipped -141, +141 lines =@@
1 >
2 >^^^^^^^^^
3 > ^^^^^^^^
@@ -96,12 +78,9 @@
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)
-@@= skipped -36, +38 lines =@@
- >>>}
- 1 >
+@@= skipped -38, +40 lines =@@
2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+ 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
- >
-2 >}
@@ -111,2393 +90,4 @@
+1 >Emitted(8, 1) Source(23, 23) + SourceIndex(0)
2 >Emitted(8, 2) Source(24, 2) + SourceIndex(0)
---
-->>>for (var nameA = robot.name, i = 0; i < 1; i++) {
-+>>>for (let { name: nameA } = robot, i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
- 3 > ^^^^
--4 > ^^^^^
--5 > ^^^
--6 > ^^^^^
--7 > ^^^^^
--8 > ^^
--9 > ^
--10> ^^^
--11> ^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^
-+4 > ^^
-+5 > ^^^^
-+6 > ^^
-+7 > ^^^^^
-+8 > ^^
-+9 > ^^^
-+10> ^^^^^
-+11> ^^
-+12> ^
-+13> ^^^
-+14> ^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
- 19> ^^
- 20> ^
-+21> ^^
-+22> ^^
-+23> ^
- 1->
- >
- >
--2 >for (let {
--3 > name:
--4 > nameA
--5 > } =
--6 > robot
--7 >
--8 > } = robot,
--9 > i
--10> =
--11> 0
--12> ;
--13> i
--14> <
--15> 1
--16> ;
--17> i
--18> ++
--19> )
--20> {
-+2 >for (
-+3 > let
-+4 > {
-+5 > name
-+6 > :
-+7 > nameA
-+8 > }
-+9 > =
-+10> robot
-+11> ,
-+12> i
-+13> =
-+14> 0
-+15> ;
-+16> i
-+17> <
-+18> 1
-+19> ;
-+20> i
-+21> ++
-+22> )
-+23> {
- 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)
-+2 >Emitted(9, 6) Source(26, 6) + SourceIndex(0)
-+3 >Emitted(9, 10) Source(26, 10) + SourceIndex(0)
-+4 >Emitted(9, 12) Source(26, 11) + SourceIndex(0)
-+5 >Emitted(9, 16) Source(26, 15) + SourceIndex(0)
-+6 >Emitted(9, 18) Source(26, 17) + SourceIndex(0)
-+7 >Emitted(9, 23) Source(26, 22) + SourceIndex(0)
-+8 >Emitted(9, 25) Source(26, 24) + SourceIndex(0)
-+9 >Emitted(9, 28) Source(26, 27) + SourceIndex(0)
-+10>Emitted(9, 33) Source(26, 32) + SourceIndex(0)
-+11>Emitted(9, 35) Source(26, 34) + SourceIndex(0)
-+12>Emitted(9, 36) Source(26, 35) + SourceIndex(0)
-+13>Emitted(9, 39) Source(26, 38) + SourceIndex(0)
-+14>Emitted(9, 40) Source(26, 39) + SourceIndex(0)
-+15>Emitted(9, 42) Source(26, 41) + SourceIndex(0)
-+16>Emitted(9, 43) Source(26, 42) + SourceIndex(0)
-+17>Emitted(9, 46) Source(26, 45) + SourceIndex(0)
-+18>Emitted(9, 47) Source(26, 46) + SourceIndex(0)
-+19>Emitted(9, 49) Source(26, 48) + SourceIndex(0)
-+20>Emitted(9, 50) Source(26, 49) + SourceIndex(0)
-+21>Emitted(9, 52) Source(26, 51) + SourceIndex(0)
-+22>Emitted(9, 54) Source(26, 53) + SourceIndex(0)
-+23>Emitted(9, 55) Source(26, 54) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -101, +110 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(11, 1) Source(28, 1) + SourceIndex(0)
- 2 >Emitted(11, 2) Source(28, 2) + SourceIndex(0)
- ---
-->>>for (var nameA = getRobot().name, i = 0; i < 1; i++) {
-+>>>for (let { name: nameA } = getRobot(), i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
- 3 > ^^^^
--4 > ^^^^^
--5 > ^^^
--6 > ^^^^^^^^
--7 > ^^
--8 > ^^^^^
--9 > ^^
--10> ^
--11> ^^^
--12> ^
--13> ^^
--14> ^
--15> ^^^
--16> ^
--17> ^^
--18> ^
--19> ^^
-+4 > ^^
-+5 > ^^^^
-+6 > ^^
-+7 > ^^^^^
-+8 > ^^
-+9 > ^^^
-+10> ^^^^^^^^
-+11> ^^
-+12> ^^
-+13> ^
-+14> ^^^
-+15> ^
-+16> ^^
-+17> ^
-+18> ^^^
-+19> ^
- 20> ^^
- 21> ^
-+22> ^^
-+23> ^^
-+24> ^
- 1->
- >
--2 >for (let {
--3 > name:
--4 > nameA
--5 > } =
--6 > getRobot
--7 > ()
--8 >
--9 > } = getRobot(),
--10> i
--11> =
--12> 0
--13> ;
--14> i
--15> <
--16> 1
--17> ;
--18> i
--19> ++
--20> )
--21> {
-+2 >for (
-+3 > let
-+4 > {
-+5 > name
-+6 > :
-+7 > nameA
-+8 > }
-+9 > =
-+10> getRobot
-+11> ()
-+12> ,
-+13> i
-+14> =
-+15> 0
-+16> ;
-+17> i
-+18> <
-+19> 1
-+20> ;
-+21> i
-+22> ++
-+23> )
-+24> {
- 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)
-+2 >Emitted(12, 6) Source(29, 6) + SourceIndex(0)
-+3 >Emitted(12, 10) Source(29, 10) + SourceIndex(0)
-+4 >Emitted(12, 12) Source(29, 11) + SourceIndex(0)
-+5 >Emitted(12, 16) Source(29, 15) + SourceIndex(0)
-+6 >Emitted(12, 18) Source(29, 17) + SourceIndex(0)
-+7 >Emitted(12, 23) Source(29, 22) + SourceIndex(0)
-+8 >Emitted(12, 25) Source(29, 24) + SourceIndex(0)
-+9 >Emitted(12, 28) Source(29, 27) + SourceIndex(0)
-+10>Emitted(12, 36) Source(29, 35) + SourceIndex(0)
-+11>Emitted(12, 38) Source(29, 37) + SourceIndex(0)
-+12>Emitted(12, 40) Source(29, 39) + SourceIndex(0)
-+13>Emitted(12, 41) Source(29, 40) + SourceIndex(0)
-+14>Emitted(12, 44) Source(29, 43) + SourceIndex(0)
-+15>Emitted(12, 45) Source(29, 44) + SourceIndex(0)
-+16>Emitted(12, 47) Source(29, 46) + SourceIndex(0)
-+17>Emitted(12, 48) Source(29, 47) + SourceIndex(0)
-+18>Emitted(12, 51) Source(29, 50) + SourceIndex(0)
-+19>Emitted(12, 52) Source(29, 51) + SourceIndex(0)
-+20>Emitted(12, 54) Source(29, 53) + SourceIndex(0)
-+21>Emitted(12, 55) Source(29, 54) + SourceIndex(0)
-+22>Emitted(12, 57) Source(29, 56) + SourceIndex(0)
-+23>Emitted(12, 59) Source(29, 58) + SourceIndex(0)
-+24>Emitted(12, 60) Source(29, 59) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -103, +112 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(14, 1) Source(31, 1) + SourceIndex(0)
- 2 >Emitted(14, 2) Source(31, 2) + SourceIndex(0)
- ---
-->>>for (var nameA = { name: "trimmer", skill: "trimming" }.name, i = 0; i < 1; i++) {
-+>>>for (let { name: nameA } = { name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
- 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> ^^
-+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> ^
- 1->
- >
--2 >for (let {
--3 > name:
--4 > nameA
--5 > } =
--6 > {
--7 > name
--8 > :
--9 > "trimmer"
--10> ,
--11> skill
--12> :
--13> "trimming"
--14> }
--15>
--16> } = { name: "trimmer", skill: "trimming" },
--17> i
--18> =
--19> 0
--20> ;
--21> i
--22> <
--23> 1
--24> ;
--25> i
--26> ++
--27> )
--28> {
-+2 >for (
-+3 > let
-+4 > {
-+5 > name
-+6 > :
-+7 > nameA
-+8 > }
-+9 > =
-+10> {
-+11> name
-+12> :
-+13> "trimmer"
-+14> ,
-+15> skill
-+16> :
-+17> "trimming"
-+18> }
-+19> ,
-+20> i
-+21> =
-+22> 0
-+23> ;
-+24> i
-+25> <
-+26> 1
-+27> ;
-+28> i
-+29> ++
-+30> )
-+31> {
- 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)
-+2 >Emitted(15, 6) Source(32, 6) + SourceIndex(0)
-+3 >Emitted(15, 10) Source(32, 10) + SourceIndex(0)
-+4 >Emitted(15, 12) Source(32, 11) + SourceIndex(0)
-+5 >Emitted(15, 16) Source(32, 15) + SourceIndex(0)
-+6 >Emitted(15, 18) Source(32, 17) + SourceIndex(0)
-+7 >Emitted(15, 23) Source(32, 22) + SourceIndex(0)
-+8 >Emitted(15, 25) Source(32, 24) + SourceIndex(0)
-+9 >Emitted(15, 28) Source(32, 34) + SourceIndex(0)
-+10>Emitted(15, 30) Source(32, 36) + SourceIndex(0)
-+11>Emitted(15, 34) Source(32, 40) + SourceIndex(0)
-+12>Emitted(15, 36) Source(32, 42) + SourceIndex(0)
-+13>Emitted(15, 45) Source(32, 51) + SourceIndex(0)
-+14>Emitted(15, 47) Source(32, 53) + SourceIndex(0)
-+15>Emitted(15, 52) Source(32, 58) + SourceIndex(0)
-+16>Emitted(15, 54) Source(32, 60) + SourceIndex(0)
-+17>Emitted(15, 64) Source(32, 70) + SourceIndex(0)
-+18>Emitted(15, 66) Source(32, 72) + SourceIndex(0)
-+19>Emitted(15, 68) Source(32, 74) + SourceIndex(0)
-+20>Emitted(15, 69) Source(32, 75) + SourceIndex(0)
-+21>Emitted(15, 72) Source(32, 78) + SourceIndex(0)
-+22>Emitted(15, 73) Source(32, 79) + SourceIndex(0)
-+23>Emitted(15, 75) Source(32, 81) + SourceIndex(0)
-+24>Emitted(15, 76) Source(32, 82) + SourceIndex(0)
-+25>Emitted(15, 79) Source(32, 85) + SourceIndex(0)
-+26>Emitted(15, 80) Source(32, 86) + SourceIndex(0)
-+27>Emitted(15, 82) Source(32, 88) + SourceIndex(0)
-+28>Emitted(15, 83) Source(32, 89) + SourceIndex(0)
-+29>Emitted(15, 85) Source(32, 91) + SourceIndex(0)
-+30>Emitted(15, 87) Source(32, 93) + SourceIndex(0)
-+31>Emitted(15, 88) Source(32, 94) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -124, +133 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(17, 1) Source(34, 1) + SourceIndex(0)
- 2 >Emitted(17, 2) Source(34, 2) + SourceIndex(0)
- ---
-->>>for (var _a = multiRobot.skills, primaryA = _a.primary, secondaryA = _a.secondary, i = 0; i < 1; i++) {
-+>>>for (let { skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let {
--3 >
--4 > skills: { primary: primaryA, secondary: secondaryA } } =
--5 > multiRobot
--6 >
--7 >
--8 > primaryA
--9 >
--10> , secondary:
--11> secondaryA
--12>
--13> } } = multiRobot,
--14> i
--15> =
--16> 0
--17> ;
--18> i
--19> <
--20> 1
--21> ;
--22> i
--23> ++
--24> )
--25> {
-+2 >for (
-+3 > let
-+4 > {
-+5 > skills
-+6 > :
-+7 > {
-+8 > primary
-+9 > :
-+10> primaryA
-+11> ,
-+12> secondary
-+13> :
-+14> secondaryA
-+15> }
-+16> }
-+17> =
-+18> multiRobot
-+19> ,
-+20> i
-+21> =
-+22> 0
-+23> ;
-+24> i
-+25> <
-+26> 1
-+27> ;
-+28> i
-+29> ++
-+30> )
-+31> {
- 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)
-+2 >Emitted(18, 6) Source(35, 6) + SourceIndex(0)
-+3 >Emitted(18, 10) Source(35, 10) + SourceIndex(0)
-+4 >Emitted(18, 12) Source(35, 12) + SourceIndex(0)
-+5 >Emitted(18, 18) Source(35, 18) + SourceIndex(0)
-+6 >Emitted(18, 20) Source(35, 20) + SourceIndex(0)
-+7 >Emitted(18, 22) Source(35, 22) + SourceIndex(0)
-+8 >Emitted(18, 29) Source(35, 29) + SourceIndex(0)
-+9 >Emitted(18, 31) Source(35, 31) + SourceIndex(0)
-+10>Emitted(18, 39) Source(35, 39) + SourceIndex(0)
-+11>Emitted(18, 41) Source(35, 41) + SourceIndex(0)
-+12>Emitted(18, 50) Source(35, 50) + SourceIndex(0)
-+13>Emitted(18, 52) Source(35, 52) + SourceIndex(0)
-+14>Emitted(18, 62) Source(35, 62) + SourceIndex(0)
-+15>Emitted(18, 64) Source(35, 64) + SourceIndex(0)
-+16>Emitted(18, 66) Source(35, 66) + SourceIndex(0)
-+17>Emitted(18, 69) Source(35, 69) + SourceIndex(0)
-+18>Emitted(18, 79) Source(35, 79) + SourceIndex(0)
-+19>Emitted(18, 81) Source(35, 81) + SourceIndex(0)
-+20>Emitted(18, 82) Source(35, 82) + SourceIndex(0)
-+21>Emitted(18, 85) Source(35, 85) + SourceIndex(0)
-+22>Emitted(18, 86) Source(35, 86) + SourceIndex(0)
-+23>Emitted(18, 88) Source(35, 88) + SourceIndex(0)
-+24>Emitted(18, 89) Source(35, 89) + SourceIndex(0)
-+25>Emitted(18, 92) Source(35, 92) + SourceIndex(0)
-+26>Emitted(18, 93) Source(35, 93) + SourceIndex(0)
-+27>Emitted(18, 95) Source(35, 95) + SourceIndex(0)
-+28>Emitted(18, 96) Source(35, 96) + SourceIndex(0)
-+29>Emitted(18, 98) Source(35, 98) + SourceIndex(0)
-+30>Emitted(18, 100) Source(35, 100) + SourceIndex(0)
-+31>Emitted(18, 101) Source(35, 101) + SourceIndex(0)
- ---
- >>> console.log(primaryA);
- 1 >^^^^
-@@= skipped -115, +133 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(20, 1) Source(37, 1) + SourceIndex(0)
- 2 >Emitted(20, 2) Source(37, 2) + SourceIndex(0)
- ---
-->>>for (var _b = getMultiRobot().skills, primaryA = _b.primary, secondaryA = _b.secondary, i = 0; i < 1; i++) {
-+>>>for (let { skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let {
--3 >
--4 > skills: { primary: primaryA, secondary: secondaryA } } =
--5 > getMultiRobot
--6 > ()
--7 >
--8 >
--9 > primaryA
--10>
--11> , secondary:
--12> secondaryA
--13>
--14> } } = getMultiRobot(),
--15> i
--16> =
--17> 0
--18> ;
--19> i
--20> <
--21> 1
--22> ;
--23> i
--24> ++
--25> )
--26> {
-+2 >for (
-+3 > let
-+4 > {
-+5 > skills
-+6 > :
-+7 > {
-+8 > primary
-+9 > :
-+10> primaryA
-+11> ,
-+12> secondary
-+13> :
-+14> secondaryA
-+15> }
-+16> }
-+17> =
-+18> getMultiRobot
-+19> ()
-+20> ,
-+21> i
-+22> =
-+23> 0
-+24> ;
-+25> i
-+26> <
-+27> 1
-+28> ;
-+29> i
-+30> ++
-+31> )
-+32> {
- 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)
-+2 >Emitted(21, 6) Source(38, 6) + SourceIndex(0)
-+3 >Emitted(21, 10) Source(38, 10) + SourceIndex(0)
-+4 >Emitted(21, 12) Source(38, 12) + SourceIndex(0)
-+5 >Emitted(21, 18) Source(38, 18) + SourceIndex(0)
-+6 >Emitted(21, 20) Source(38, 20) + SourceIndex(0)
-+7 >Emitted(21, 22) Source(38, 22) + SourceIndex(0)
-+8 >Emitted(21, 29) Source(38, 29) + SourceIndex(0)
-+9 >Emitted(21, 31) Source(38, 31) + SourceIndex(0)
-+10>Emitted(21, 39) Source(38, 39) + SourceIndex(0)
-+11>Emitted(21, 41) Source(38, 41) + SourceIndex(0)
-+12>Emitted(21, 50) Source(38, 50) + SourceIndex(0)
-+13>Emitted(21, 52) Source(38, 52) + SourceIndex(0)
-+14>Emitted(21, 62) Source(38, 62) + SourceIndex(0)
-+15>Emitted(21, 64) Source(38, 64) + SourceIndex(0)
-+16>Emitted(21, 66) Source(38, 66) + SourceIndex(0)
-+17>Emitted(21, 69) Source(38, 69) + SourceIndex(0)
-+18>Emitted(21, 82) Source(38, 82) + SourceIndex(0)
-+19>Emitted(21, 84) Source(38, 84) + SourceIndex(0)
-+20>Emitted(21, 86) Source(38, 86) + SourceIndex(0)
-+21>Emitted(21, 87) Source(38, 87) + SourceIndex(0)
-+22>Emitted(21, 90) Source(38, 90) + SourceIndex(0)
-+23>Emitted(21, 91) Source(38, 91) + SourceIndex(0)
-+24>Emitted(21, 93) Source(38, 93) + SourceIndex(0)
-+25>Emitted(21, 94) Source(38, 94) + SourceIndex(0)
-+26>Emitted(21, 97) Source(38, 97) + SourceIndex(0)
-+27>Emitted(21, 98) Source(38, 98) + SourceIndex(0)
-+28>Emitted(21, 100) Source(38, 100) + SourceIndex(0)
-+29>Emitted(21, 101) Source(38, 101) + SourceIndex(0)
-+30>Emitted(21, 103) Source(38, 103) + SourceIndex(0)
-+31>Emitted(21, 105) Source(38, 105) + SourceIndex(0)
-+32>Emitted(21, 106) Source(38, 106) + SourceIndex(0)
- ---
- >>> console.log(primaryA);
- 1 >^^^^
-@@= skipped -118, +136 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(23, 1) Source(40, 1) + SourceIndex(0)
- 2 >Emitted(23, 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++) {
-+>>>for (let { skills: { primary: primaryA, secondary: secondaryA } } = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }, i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let {
--3 >
--4 > skills: { primary: primaryA, secondary: secondaryA } } =
-- >
--5 > {
--6 > name
--7 > :
--8 > "trimmer"
--9 > ,
--10> skills
--11> :
--12> {
--13> primary
--14> :
--15> "trimming"
--16> ,
--17> secondary
--18> :
--19> "edging"
--20> }
--21> }
--22>
--23>
--24> primaryA
--25>
--26> , secondary:
--27> secondaryA
--28>
--29> } } =
-- > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
-- >
--30> i
--31> =
--32> 0
--33> ;
--34> i
--35> <
--36> 1
--37> ;
--38> i
--39> ++
--40> )
--41> {
-+2 >for (
-+3 > let
-+4 > {
-+5 > skills
-+6 > :
-+7 > {
-+8 > primary
-+9 > :
-+10> primaryA
-+11> ,
-+12> secondary
-+13> :
-+14> secondaryA
-+15> }
-+16> }
-+17> =
-+ >
-+18> {
-+19> name
-+20> :
-+21> "trimmer"
-+22> ,
-+23> skills
-+24> :
-+25> {
-+26> primary
-+27> :
-+28> "trimming"
-+29> ,
-+30> secondary
-+31> :
-+32> "edging"
-+33> }
-+34> }
-+35> ,
-+ >
-+36> i
-+37> =
-+38> 0
-+39> ;
-+40> i
-+41> <
-+42> 1
-+43> ;
-+44> i
-+45> ++
-+46> )
-+47> {
- 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)
-+2 >Emitted(24, 6) Source(41, 6) + SourceIndex(0)
-+3 >Emitted(24, 10) Source(41, 10) + SourceIndex(0)
-+4 >Emitted(24, 12) Source(41, 12) + SourceIndex(0)
-+5 >Emitted(24, 18) Source(41, 18) + SourceIndex(0)
-+6 >Emitted(24, 20) Source(41, 20) + SourceIndex(0)
-+7 >Emitted(24, 22) Source(41, 22) + SourceIndex(0)
-+8 >Emitted(24, 29) Source(41, 29) + SourceIndex(0)
-+9 >Emitted(24, 31) Source(41, 31) + SourceIndex(0)
-+10>Emitted(24, 39) Source(41, 39) + SourceIndex(0)
-+11>Emitted(24, 41) Source(41, 41) + SourceIndex(0)
-+12>Emitted(24, 50) Source(41, 50) + SourceIndex(0)
-+13>Emitted(24, 52) Source(41, 52) + SourceIndex(0)
-+14>Emitted(24, 62) Source(41, 62) + SourceIndex(0)
-+15>Emitted(24, 64) Source(41, 64) + SourceIndex(0)
-+16>Emitted(24, 66) Source(41, 66) + SourceIndex(0)
-+17>Emitted(24, 69) Source(42, 17) + SourceIndex(0)
-+18>Emitted(24, 71) Source(42, 19) + SourceIndex(0)
-+19>Emitted(24, 75) Source(42, 23) + SourceIndex(0)
-+20>Emitted(24, 77) Source(42, 25) + SourceIndex(0)
-+21>Emitted(24, 86) Source(42, 34) + SourceIndex(0)
-+22>Emitted(24, 88) Source(42, 36) + SourceIndex(0)
-+23>Emitted(24, 94) Source(42, 42) + SourceIndex(0)
-+24>Emitted(24, 96) Source(42, 44) + SourceIndex(0)
-+25>Emitted(24, 98) Source(42, 46) + SourceIndex(0)
-+26>Emitted(24, 105) Source(42, 53) + SourceIndex(0)
-+27>Emitted(24, 107) Source(42, 55) + SourceIndex(0)
-+28>Emitted(24, 117) Source(42, 65) + SourceIndex(0)
-+29>Emitted(24, 119) Source(42, 67) + SourceIndex(0)
-+30>Emitted(24, 128) Source(42, 76) + SourceIndex(0)
-+31>Emitted(24, 130) Source(42, 78) + SourceIndex(0)
-+32>Emitted(24, 138) Source(42, 86) + SourceIndex(0)
-+33>Emitted(24, 140) Source(42, 88) + SourceIndex(0)
-+34>Emitted(24, 142) Source(42, 90) + SourceIndex(0)
-+35>Emitted(24, 144) Source(43, 5) + SourceIndex(0)
-+36>Emitted(24, 145) Source(43, 6) + SourceIndex(0)
-+37>Emitted(24, 148) Source(43, 9) + SourceIndex(0)
-+38>Emitted(24, 149) Source(43, 10) + SourceIndex(0)
-+39>Emitted(24, 151) Source(43, 12) + SourceIndex(0)
-+40>Emitted(24, 152) Source(43, 13) + SourceIndex(0)
-+41>Emitted(24, 155) Source(43, 16) + SourceIndex(0)
-+42>Emitted(24, 156) Source(43, 17) + SourceIndex(0)
-+43>Emitted(24, 158) Source(43, 19) + SourceIndex(0)
-+44>Emitted(24, 159) Source(43, 20) + SourceIndex(0)
-+45>Emitted(24, 161) Source(43, 22) + SourceIndex(0)
-+46>Emitted(24, 163) Source(43, 24) + SourceIndex(0)
-+47>Emitted(24, 164) Source(43, 25) + SourceIndex(0)
- ---
- >>> console.log(primaryA);
- 1 >^^^^
-@@= skipped -166, +183 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(26, 1) Source(45, 1) + SourceIndex(0)
- 2 >Emitted(26, 2) Source(45, 2) + SourceIndex(0)
- ---
-->>>for (var nameA = robot.name, skillA = robot.skill, i = 0; i < 1; i++) {
-+>>>for (let { name: nameA, skill: skillA } = robot, i = 0; i < 1; i++) {
- 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> ^
-+4 > ^^
-+5 > ^^^^
-+6 > ^^
-+7 > ^^^^^
-+8 > ^^
-+9 > ^^^^^
-+10> ^^
-+11> ^^^^^^
-+12> ^^
-+13> ^^^
-+14> ^^^^^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
-+19> ^^
-+20> ^
-+21> ^^^
-+22> ^
-+23> ^^
-+24> ^
-+25> ^^
-+26> ^^
-+27> ^
- 1->
- >
- >
--2 >for (let {
--3 > name:
--4 > nameA
--5 > , skill: skillA } =
--6 > robot
--7 >
--8 > , skill:
--9 > skillA
--10> } =
--11> robot
--12>
--13> } = robot,
--14> i
--15> =
--16> 0
--17> ;
--18> i
--19> <
--20> 1
--21> ;
--22> i
--23> ++
--24> )
--25> {
-+2 >for (
-+3 > let
-+4 > {
-+5 > name
-+6 > :
-+7 > nameA
-+8 > ,
-+9 > skill
-+10> :
-+11> skillA
-+12> }
-+13> =
-+14> robot
-+15> ,
-+16> i
-+17> =
-+18> 0
-+19> ;
-+20> i
-+21> <
-+22> 1
-+23> ;
-+24> i
-+25> ++
-+26> )
-+27> {
- 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)
-+2 >Emitted(27, 6) Source(47, 6) + SourceIndex(0)
-+3 >Emitted(27, 10) Source(47, 10) + SourceIndex(0)
-+4 >Emitted(27, 12) Source(47, 11) + SourceIndex(0)
-+5 >Emitted(27, 16) Source(47, 15) + SourceIndex(0)
-+6 >Emitted(27, 18) Source(47, 17) + SourceIndex(0)
-+7 >Emitted(27, 23) Source(47, 22) + SourceIndex(0)
-+8 >Emitted(27, 25) Source(47, 24) + SourceIndex(0)
-+9 >Emitted(27, 30) Source(47, 29) + SourceIndex(0)
-+10>Emitted(27, 32) Source(47, 31) + SourceIndex(0)
-+11>Emitted(27, 38) Source(47, 37) + SourceIndex(0)
-+12>Emitted(27, 40) Source(47, 39) + SourceIndex(0)
-+13>Emitted(27, 43) Source(47, 42) + SourceIndex(0)
-+14>Emitted(27, 48) Source(47, 47) + SourceIndex(0)
-+15>Emitted(27, 50) Source(47, 49) + SourceIndex(0)
-+16>Emitted(27, 51) Source(47, 50) + SourceIndex(0)
-+17>Emitted(27, 54) Source(47, 53) + SourceIndex(0)
-+18>Emitted(27, 55) Source(47, 54) + SourceIndex(0)
-+19>Emitted(27, 57) Source(47, 56) + SourceIndex(0)
-+20>Emitted(27, 58) Source(47, 57) + SourceIndex(0)
-+21>Emitted(27, 61) Source(47, 60) + SourceIndex(0)
-+22>Emitted(27, 62) Source(47, 61) + SourceIndex(0)
-+23>Emitted(27, 64) Source(47, 63) + SourceIndex(0)
-+24>Emitted(27, 65) Source(47, 64) + SourceIndex(0)
-+25>Emitted(27, 67) Source(47, 66) + SourceIndex(0)
-+26>Emitted(27, 69) Source(47, 68) + SourceIndex(0)
-+27>Emitted(27, 70) Source(47, 69) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -116, +122 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(29, 1) Source(49, 1) + SourceIndex(0)
- 2 >Emitted(29, 2) Source(49, 2) + SourceIndex(0)
- ---
-->>>for (var _d = getRobot(), nameA = _d.name, skillA = _d.skill, i = 0; i < 1; i++) {
-+>>>for (let { name: nameA, skill: skillA } = getRobot(), i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > {name: nameA, skill: skillA } =
--5 > getRobot
--6 > ()
--7 >
--8 > nameA
--9 >
--10> , skill:
--11> skillA
--12>
--13> } = getRobot(),
--14> i
--15> =
--16> 0
--17> ;
--18> i
--19> <
--20> 1
--21> ;
--22> i
--23> ++
--24> )
--25> {
-+2 >for (
-+3 > let
-+4 > {
-+5 > name
-+6 > :
-+7 > nameA
-+8 > ,
-+9 > skill
-+10> :
-+11> skillA
-+12> }
-+13> =
-+14> getRobot
-+15> ()
-+16> ,
-+17> i
-+18> =
-+19> 0
-+20> ;
-+21> i
-+22> <
-+23> 1
-+24> ;
-+25> i
-+26> ++
-+27> )
-+28> {
- 1->Emitted(30, 1) Source(50, 1) + SourceIndex(0)
--2 >Emitted(30, 6) Source(50, 10) + SourceIndex(0)
-+2 >Emitted(30, 6) Source(50, 6) + 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)
-+4 >Emitted(30, 12) Source(50, 11) + SourceIndex(0)
-+5 >Emitted(30, 16) Source(50, 15) + SourceIndex(0)
-+6 >Emitted(30, 18) Source(50, 17) + SourceIndex(0)
-+7 >Emitted(30, 23) Source(50, 22) + SourceIndex(0)
-+8 >Emitted(30, 25) Source(50, 24) + SourceIndex(0)
-+9 >Emitted(30, 30) Source(50, 29) + SourceIndex(0)
-+10>Emitted(30, 32) Source(50, 31) + SourceIndex(0)
-+11>Emitted(30, 38) Source(50, 37) + SourceIndex(0)
-+12>Emitted(30, 40) Source(50, 39) + SourceIndex(0)
-+13>Emitted(30, 43) Source(50, 42) + SourceIndex(0)
-+14>Emitted(30, 51) Source(50, 50) + SourceIndex(0)
-+15>Emitted(30, 53) Source(50, 52) + SourceIndex(0)
-+16>Emitted(30, 55) Source(50, 54) + SourceIndex(0)
-+17>Emitted(30, 56) Source(50, 55) + SourceIndex(0)
-+18>Emitted(30, 59) Source(50, 58) + SourceIndex(0)
-+19>Emitted(30, 60) Source(50, 59) + SourceIndex(0)
-+20>Emitted(30, 62) Source(50, 61) + SourceIndex(0)
-+21>Emitted(30, 63) Source(50, 62) + SourceIndex(0)
-+22>Emitted(30, 66) Source(50, 65) + SourceIndex(0)
-+23>Emitted(30, 67) Source(50, 66) + SourceIndex(0)
-+24>Emitted(30, 69) Source(50, 68) + SourceIndex(0)
-+25>Emitted(30, 70) Source(50, 69) + SourceIndex(0)
-+26>Emitted(30, 72) Source(50, 71) + SourceIndex(0)
-+27>Emitted(30, 74) Source(50, 73) + SourceIndex(0)
-+28>Emitted(30, 75) Source(50, 74) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -115, +124 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(32, 1) Source(52, 1) + SourceIndex(0)
- 2 >Emitted(32, 2) Source(52, 2) + SourceIndex(0)
- ---
-->>>for (var _e = { name: "trimmer", skill: "trimming" }, nameA = _e.name, skillA = _e.skill, i = 0; i < 1; i++) {
-+>>>for (let { name: nameA, skill: skillA } = { name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > {name: nameA, skill: skillA } =
--5 > {
--6 > name
--7 > :
--8 > "trimmer"
--9 > ,
--10> skill
--11> :
--12> "trimming"
--13> }
--14>
--15> nameA
--16>
--17> , skill:
--18> skillA
--19>
--20> } = { name: "trimmer", skill: "trimming" },
--21> i
--22> =
--23> 0
--24> ;
--25> i
--26> <
--27> 1
--28> ;
--29> i
--30> ++
--31> )
--32> {
-+2 >for (
-+3 > let
-+4 > {
-+5 > name
-+6 > :
-+7 > nameA
-+8 > ,
-+9 > skill
-+10> :
-+11> skillA
-+12> }
-+13> =
-+14> {
-+15> name
-+16> :
-+17> "trimmer"
-+18> ,
-+19> skill
-+20> :
-+21> "trimming"
-+22> }
-+23> ,
-+24> i
-+25> =
-+26> 0
-+27> ;
-+28> i
-+29> <
-+30> 1
-+31> ;
-+32> i
-+33> ++
-+34> )
-+35> {
- 1->Emitted(33, 1) Source(53, 1) + SourceIndex(0)
--2 >Emitted(33, 6) Source(53, 10) + SourceIndex(0)
-+2 >Emitted(33, 6) Source(53, 6) + 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)
-+4 >Emitted(33, 12) Source(53, 11) + SourceIndex(0)
-+5 >Emitted(33, 16) Source(53, 15) + SourceIndex(0)
-+6 >Emitted(33, 18) Source(53, 17) + SourceIndex(0)
-+7 >Emitted(33, 23) Source(53, 22) + SourceIndex(0)
-+8 >Emitted(33, 25) Source(53, 24) + SourceIndex(0)
-+9 >Emitted(33, 30) Source(53, 29) + SourceIndex(0)
-+10>Emitted(33, 32) Source(53, 31) + SourceIndex(0)
-+11>Emitted(33, 38) Source(53, 37) + SourceIndex(0)
-+12>Emitted(33, 40) Source(53, 39) + SourceIndex(0)
-+13>Emitted(33, 43) Source(53, 49) + SourceIndex(0)
-+14>Emitted(33, 45) Source(53, 51) + SourceIndex(0)
-+15>Emitted(33, 49) Source(53, 55) + SourceIndex(0)
-+16>Emitted(33, 51) Source(53, 57) + SourceIndex(0)
-+17>Emitted(33, 60) Source(53, 66) + SourceIndex(0)
-+18>Emitted(33, 62) Source(53, 68) + SourceIndex(0)
-+19>Emitted(33, 67) Source(53, 73) + SourceIndex(0)
-+20>Emitted(33, 69) Source(53, 75) + SourceIndex(0)
-+21>Emitted(33, 79) Source(53, 85) + SourceIndex(0)
-+22>Emitted(33, 81) Source(53, 87) + SourceIndex(0)
-+23>Emitted(33, 83) Source(53, 89) + SourceIndex(0)
-+24>Emitted(33, 84) Source(53, 90) + SourceIndex(0)
-+25>Emitted(33, 87) Source(53, 93) + SourceIndex(0)
-+26>Emitted(33, 88) Source(53, 94) + SourceIndex(0)
-+27>Emitted(33, 90) Source(53, 96) + SourceIndex(0)
-+28>Emitted(33, 91) Source(53, 97) + SourceIndex(0)
-+29>Emitted(33, 94) Source(53, 100) + SourceIndex(0)
-+30>Emitted(33, 95) Source(53, 101) + SourceIndex(0)
-+31>Emitted(33, 97) Source(53, 103) + SourceIndex(0)
-+32>Emitted(33, 98) Source(53, 104) + SourceIndex(0)
-+33>Emitted(33, 100) Source(53, 106) + SourceIndex(0)
-+34>Emitted(33, 102) Source(53, 108) + SourceIndex(0)
-+35>Emitted(33, 103) Source(53, 109) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -136, +145 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(35, 1) Source(55, 1) + SourceIndex(0)
- 2 >Emitted(35, 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++) {
-+>>>for (let { name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let {
--3 > name:
--4 > nameA
--5 > , skills: { primary: primaryA, secondary: secondaryA } } =
--6 > multiRobot
--7 >
--8 > ,
--9 > skills: { primary: primaryA, secondary: secondaryA } } =
--10> multiRobot
--11>
--12>
--13> primaryA
--14>
--15> , secondary:
--16> secondaryA
--17>
--18> } } = multiRobot,
--19> i
--20> =
--21> 0
--22> ;
--23> i
--24> <
--25> 1
--26> ;
--27> i
--28> ++
--29> )
--30> {
-+2 >for (
-+3 > let
-+4 > {
-+5 > name
-+6 > :
-+7 > nameA
-+8 > ,
-+9 > skills
-+10> :
-+11> {
-+12> primary
-+13> :
-+14> primaryA
-+15> ,
-+16> secondary
-+17> :
-+18> secondaryA
-+19> }
-+20> }
-+21> =
-+22> multiRobot
-+23> ,
-+24> i
-+25> =
-+26> 0
-+27> ;
-+28> i
-+29> <
-+30> 1
-+31> ;
-+32> i
-+33> ++
-+34> )
-+35> {
- 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)
-+2 >Emitted(36, 6) Source(56, 6) + SourceIndex(0)
-+3 >Emitted(36, 10) Source(56, 10) + SourceIndex(0)
-+4 >Emitted(36, 12) Source(56, 11) + SourceIndex(0)
-+5 >Emitted(36, 16) Source(56, 15) + SourceIndex(0)
-+6 >Emitted(36, 18) Source(56, 17) + SourceIndex(0)
-+7 >Emitted(36, 23) Source(56, 22) + SourceIndex(0)
-+8 >Emitted(36, 25) Source(56, 24) + SourceIndex(0)
-+9 >Emitted(36, 31) Source(56, 30) + SourceIndex(0)
-+10>Emitted(36, 33) Source(56, 32) + SourceIndex(0)
-+11>Emitted(36, 35) Source(56, 34) + SourceIndex(0)
-+12>Emitted(36, 42) Source(56, 41) + SourceIndex(0)
-+13>Emitted(36, 44) Source(56, 43) + SourceIndex(0)
-+14>Emitted(36, 52) Source(56, 51) + SourceIndex(0)
-+15>Emitted(36, 54) Source(56, 53) + SourceIndex(0)
-+16>Emitted(36, 63) Source(56, 62) + SourceIndex(0)
-+17>Emitted(36, 65) Source(56, 64) + SourceIndex(0)
-+18>Emitted(36, 75) Source(56, 74) + SourceIndex(0)
-+19>Emitted(36, 77) Source(56, 76) + SourceIndex(0)
-+20>Emitted(36, 79) Source(56, 78) + SourceIndex(0)
-+21>Emitted(36, 82) Source(56, 81) + SourceIndex(0)
-+22>Emitted(36, 92) Source(56, 91) + SourceIndex(0)
-+23>Emitted(36, 94) Source(56, 93) + SourceIndex(0)
-+24>Emitted(36, 95) Source(56, 94) + SourceIndex(0)
-+25>Emitted(36, 98) Source(56, 97) + SourceIndex(0)
-+26>Emitted(36, 99) Source(56, 98) + SourceIndex(0)
-+27>Emitted(36, 101) Source(56, 100) + SourceIndex(0)
-+28>Emitted(36, 102) Source(56, 101) + SourceIndex(0)
-+29>Emitted(36, 105) Source(56, 104) + SourceIndex(0)
-+30>Emitted(36, 106) Source(56, 105) + SourceIndex(0)
-+31>Emitted(36, 108) Source(56, 107) + SourceIndex(0)
-+32>Emitted(36, 109) Source(56, 108) + SourceIndex(0)
-+33>Emitted(36, 111) Source(56, 110) + SourceIndex(0)
-+34>Emitted(36, 113) Source(56, 112) + SourceIndex(0)
-+35>Emitted(36, 114) Source(56, 113) + SourceIndex(0)
- ---
- >>> console.log(primaryA);
- 1 >^^^^
-@@= skipped -130, +145 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(38, 1) Source(58, 1) + SourceIndex(0)
- 2 >Emitted(38, 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++) {
-+>>>for (let { name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } =
--5 > getMultiRobot
--6 > ()
--7 >
--8 > nameA
--9 >
--10> ,
--11> skills: { primary: primaryA, secondary: secondaryA }
--12>
--13> primaryA
--14>
--15> , secondary:
--16> secondaryA
--17>
--18> } } = getMultiRobot(),
--19> i
--20> =
--21> 0
--22> ;
--23> i
--24> <
--25> 1
--26> ;
--27> i
--28> ++
--29> )
--30> {
-+2 >for (
-+3 > let
-+4 > {
-+5 > name
-+6 > :
-+7 > nameA
-+8 > ,
-+9 > skills
-+10> :
-+11> {
-+12> primary
-+13> :
-+14> primaryA
-+15> ,
-+16> secondary
-+17> :
-+18> secondaryA
-+19> }
-+20> }
-+21> =
-+22> getMultiRobot
-+23> ()
-+24> ,
-+25> i
-+26> =
-+27> 0
-+28> ;
-+29> i
-+30> <
-+31> 1
-+32> ;
-+33> i
-+34> ++
-+35> )
-+36> {
- 1->Emitted(39, 1) Source(59, 1) + SourceIndex(0)
--2 >Emitted(39, 6) Source(59, 10) + SourceIndex(0)
-+2 >Emitted(39, 6) Source(59, 6) + 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)
-+4 >Emitted(39, 12) Source(59, 11) + SourceIndex(0)
-+5 >Emitted(39, 16) Source(59, 15) + SourceIndex(0)
-+6 >Emitted(39, 18) Source(59, 17) + SourceIndex(0)
-+7 >Emitted(39, 23) Source(59, 22) + SourceIndex(0)
-+8 >Emitted(39, 25) Source(59, 24) + SourceIndex(0)
-+9 >Emitted(39, 31) Source(59, 30) + SourceIndex(0)
-+10>Emitted(39, 33) Source(59, 32) + SourceIndex(0)
-+11>Emitted(39, 35) Source(59, 34) + SourceIndex(0)
-+12>Emitted(39, 42) Source(59, 41) + SourceIndex(0)
-+13>Emitted(39, 44) Source(59, 43) + SourceIndex(0)
-+14>Emitted(39, 52) Source(59, 51) + SourceIndex(0)
-+15>Emitted(39, 54) Source(59, 53) + SourceIndex(0)
-+16>Emitted(39, 63) Source(59, 62) + SourceIndex(0)
-+17>Emitted(39, 65) Source(59, 64) + SourceIndex(0)
-+18>Emitted(39, 75) Source(59, 74) + SourceIndex(0)
-+19>Emitted(39, 77) Source(59, 76) + SourceIndex(0)
-+20>Emitted(39, 79) Source(59, 78) + SourceIndex(0)
-+21>Emitted(39, 82) Source(59, 81) + SourceIndex(0)
-+22>Emitted(39, 95) Source(59, 94) + SourceIndex(0)
-+23>Emitted(39, 97) Source(59, 96) + SourceIndex(0)
-+24>Emitted(39, 99) Source(59, 98) + SourceIndex(0)
-+25>Emitted(39, 100) Source(59, 99) + SourceIndex(0)
-+26>Emitted(39, 103) Source(59, 102) + SourceIndex(0)
-+27>Emitted(39, 104) Source(59, 103) + SourceIndex(0)
-+28>Emitted(39, 106) Source(59, 105) + SourceIndex(0)
-+29>Emitted(39, 107) Source(59, 106) + SourceIndex(0)
-+30>Emitted(39, 110) Source(59, 109) + SourceIndex(0)
-+31>Emitted(39, 111) Source(59, 110) + SourceIndex(0)
-+32>Emitted(39, 113) Source(59, 112) + SourceIndex(0)
-+33>Emitted(39, 114) Source(59, 113) + SourceIndex(0)
-+34>Emitted(39, 116) Source(59, 115) + SourceIndex(0)
-+35>Emitted(39, 118) Source(59, 117) + SourceIndex(0)
-+36>Emitted(39, 119) Source(59, 118) + SourceIndex(0)
- ---
- >>> console.log(primaryA);
- 1 >^^^^
-@@= skipped -130, +148 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(41, 1) Source(61, 1) + SourceIndex(0)
- 2 >Emitted(41, 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++) {
-+>>>for (let { name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }, i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for (let
--3 >
--4 > {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } =
-- >
--5 > {
--6 > name
--7 > :
--8 > "trimmer"
--9 > ,
--10> skills
--11> :
--12> {
--13> primary
--14> :
--15> "trimming"
--16> ,
--17> secondary
--18> :
--19> "edging"
--20> }
--21> }
--22>
--23> nameA
--24>
--25> ,
--26> skills: { primary: primaryA, secondary: secondaryA }
--27>
--28> primaryA
--29>
--30> , secondary:
--31> secondaryA
--32>
--33> } } =
-- > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
-- >
--34> i
--35> =
--36> 0
--37> ;
--38> i
--39> <
--40> 1
--41> ;
--42> i
--43> ++
--44> )
--45> {
-+2 >for (
-+3 > let
-+4 > {
-+5 > name
-+6 > :
-+7 > nameA
-+8 > ,
-+9 > skills
-+10> :
-+11> {
-+12> primary
-+13> :
-+14> primaryA
-+15> ,
-+16> secondary
-+17> :
-+18> secondaryA
-+19> }
-+20> }
-+21> =
-+ >
-+22> {
-+23> name
-+24> :
-+25> "trimmer"
-+26> ,
-+27> skills
-+28> :
-+29> {
-+30> primary
-+31> :
-+32> "trimming"
-+33> ,
-+34> secondary
-+35> :
-+36> "edging"
-+37> }
-+38> }
-+39> ,
-+ >
-+40> i
-+41> =
-+42> 0
-+43> ;
-+44> i
-+45> <
-+46> 1
-+47> ;
-+48> i
-+49> ++
-+50> )
-+51> {
- 1->Emitted(42, 1) Source(62, 1) + SourceIndex(0)
--2 >Emitted(42, 6) Source(62, 10) + SourceIndex(0)
-+2 >Emitted(42, 6) Source(62, 6) + 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)
-+4 >Emitted(42, 12) Source(62, 11) + SourceIndex(0)
-+5 >Emitted(42, 16) Source(62, 15) + SourceIndex(0)
-+6 >Emitted(42, 18) Source(62, 17) + SourceIndex(0)
-+7 >Emitted(42, 23) Source(62, 22) + SourceIndex(0)
-+8 >Emitted(42, 25) Source(62, 24) + SourceIndex(0)
-+9 >Emitted(42, 31) Source(62, 30) + SourceIndex(0)
-+10>Emitted(42, 33) Source(62, 32) + SourceIndex(0)
-+11>Emitted(42, 35) Source(62, 34) + SourceIndex(0)
-+12>Emitted(42, 42) Source(62, 41) + SourceIndex(0)
-+13>Emitted(42, 44) Source(62, 43) + SourceIndex(0)
-+14>Emitted(42, 52) Source(62, 51) + SourceIndex(0)
-+15>Emitted(42, 54) Source(62, 53) + SourceIndex(0)
-+16>Emitted(42, 63) Source(62, 62) + SourceIndex(0)
-+17>Emitted(42, 65) Source(62, 64) + SourceIndex(0)
-+18>Emitted(42, 75) Source(62, 74) + SourceIndex(0)
-+19>Emitted(42, 77) Source(62, 76) + SourceIndex(0)
-+20>Emitted(42, 79) Source(62, 78) + SourceIndex(0)
-+21>Emitted(42, 82) Source(63, 17) + SourceIndex(0)
-+22>Emitted(42, 84) Source(63, 19) + SourceIndex(0)
-+23>Emitted(42, 88) Source(63, 23) + SourceIndex(0)
-+24>Emitted(42, 90) Source(63, 25) + SourceIndex(0)
-+25>Emitted(42, 99) Source(63, 34) + SourceIndex(0)
-+26>Emitted(42, 101) Source(63, 36) + SourceIndex(0)
-+27>Emitted(42, 107) Source(63, 42) + SourceIndex(0)
-+28>Emitted(42, 109) Source(63, 44) + SourceIndex(0)
-+29>Emitted(42, 111) Source(63, 46) + SourceIndex(0)
-+30>Emitted(42, 118) Source(63, 53) + SourceIndex(0)
-+31>Emitted(42, 120) Source(63, 55) + SourceIndex(0)
-+32>Emitted(42, 130) Source(63, 65) + SourceIndex(0)
-+33>Emitted(42, 132) Source(63, 67) + SourceIndex(0)
-+34>Emitted(42, 141) Source(63, 76) + SourceIndex(0)
-+35>Emitted(42, 143) Source(63, 78) + SourceIndex(0)
-+36>Emitted(42, 151) Source(63, 86) + SourceIndex(0)
-+37>Emitted(42, 153) Source(63, 88) + SourceIndex(0)
-+38>Emitted(42, 155) Source(63, 90) + SourceIndex(0)
-+39>Emitted(42, 157) Source(64, 5) + SourceIndex(0)
-+40>Emitted(42, 158) Source(64, 6) + SourceIndex(0)
-+41>Emitted(42, 161) Source(64, 9) + SourceIndex(0)
-+42>Emitted(42, 162) Source(64, 10) + SourceIndex(0)
-+43>Emitted(42, 164) Source(64, 12) + SourceIndex(0)
-+44>Emitted(42, 165) Source(64, 13) + SourceIndex(0)
-+45>Emitted(42, 168) Source(64, 16) + SourceIndex(0)
-+46>Emitted(42, 169) Source(64, 17) + SourceIndex(0)
-+47>Emitted(42, 171) Source(64, 19) + SourceIndex(0)
-+48>Emitted(42, 172) Source(64, 20) + SourceIndex(0)
-+49>Emitted(42, 174) Source(64, 22) + SourceIndex(0)
-+50>Emitted(42, 176) Source(64, 24) + SourceIndex(0)
-+51>Emitted(42, 177) Source(64, 25) + SourceIndex(0)
- ---
- >>> console.log(primaryA);
- 1 >^^^^
\ No newline at end of file
+ >>>for (let { name: nameA } = robot, i = 0; i < 1; i++) {
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.js.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.js.diff
deleted file mode 100644
index fd45671462..0000000000
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.js.diff
+++ /dev/null
@@ -1,174 +0,0 @@
---- old.sourceMapValidationDestructuringForObjectBindingPattern2.js
-+++ new.sourceMapValidationDestructuringForObjectBindingPattern2.js
-@@= skipped -112, +112 lines =@@
- }
-
- //// [sourceMapValidationDestructuringForObjectBindingPattern2.js]
--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" } };
-+let robot = { name: "mower", skill: "mowing" };
-+let multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } };
- function getRobot() {
- return robot;
- }
- function getMultiRobot() {
- return multiRobot;
- }
--var nameA, primaryA, secondaryA, i, skillA;
--var name, primary, secondary, skill;
--for (nameA = robot.name, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (nameA = getRobot().name, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (nameA = { name: "trimmer", skill: "trimming" }.name, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (_a = multiRobot.skills, primaryA = _a.primary, secondaryA = _a.secondary, i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (_b = getMultiRobot().skills, primaryA = _b.primary, secondaryA = _b.secondary, i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (_c = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }.skills, primaryA = _c.primary, secondaryA = _c.secondary,
-- i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (name = robot.name, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (name = getRobot().name, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (name = { name: "trimmer", skill: "trimming" }.name, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (_d = multiRobot.skills, primary = _d.primary, secondary = _d.secondary, i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (_e = getMultiRobot().skills, primary = _e.primary, secondary = _e.secondary, i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (_f = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }.skills, primary = _f.primary, secondary = _f.secondary,
-- i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (nameA = robot.name, skillA = robot.skill, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (_g = getRobot(), nameA = _g.name, skillA = _g.skill, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (_h = { name: "trimmer", skill: "trimming" }, nameA = _h.name, skillA = _h.skill, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (nameA = multiRobot.name, _j = multiRobot.skills, primaryA = _j.primary, secondaryA = _j.secondary, i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (_k = getMultiRobot(), nameA = _k.name, _l = _k.skills, primaryA = _l.primary, secondaryA = _l.secondary, i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (_m = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }, nameA = _m.name, _o = _m.skills, primaryA = _o.primary, secondaryA = _o.secondary,
-- i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (name = robot.name, skill = robot.skill, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (_p = getRobot(), name = _p.name, skill = _p.skill, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (_q = { name: "trimmer", skill: "trimming" }, name = _q.name, skill = _q.skill, i = 0; i < 1; i++) {
-- console.log(nameA);
--}
--for (name = multiRobot.name, _r = multiRobot.skills, primary = _r.primary, secondary = _r.secondary, i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (_s = getMultiRobot(), name = _s.name, _t = _s.skills, primary = _t.primary, secondary = _t.secondary, i = 0; i < 1; i++) {
-- console.log(primaryA);
--}
--for (_u = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }, name = _u.name, _v = _u.skills, primary = _v.primary, secondary = _v.secondary,
-+let nameA, primaryA, secondaryA, i, skillA;
-+let name, primary, secondary, skill;
-+for ({ name: nameA } = robot, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ({ name: nameA } = getRobot(), i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ({ name: nameA } = { name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ({ skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for ({ skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for ({ skills: { primary: primaryA, secondary: secondaryA } } =
-+ { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
-+ i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for ({ name } = robot, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ({ name } = getRobot(), i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ({ name } = { name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ({ skills: { primary, secondary } } = multiRobot, i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for ({ skills: { primary, secondary } } = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for ({ skills: { primary, secondary } } =
-+ { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
-+ i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for ({ name: nameA, skill: skillA } = robot, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ({ name: nameA, skill: skillA } = getRobot(), i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ({ name: nameA, skill: skillA } = { name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ({ name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for ({ name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for ({ name: nameA, skills: { primary: primaryA, secondary: secondaryA } } =
-+ { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
-+ i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for ({ name, skill } = robot, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ({ name, skill } = getRobot(), i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ({ name, skill } = { name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
-+ console.log(nameA);
-+}
-+for ({ name, skills: { primary, secondary } } = multiRobot, i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for ({ name, skills: { primary, secondary } } = getMultiRobot(), i = 0; i < 1; i++) {
-+ console.log(primaryA);
-+}
-+for ({ name, skills: { primary, secondary } } =
-+ { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
- i = 0; i < 1; i++) {
- console.log(primaryA);
- }
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.js.map.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.js.map.diff
index c57f651396..f6b9a1e365 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.js.map.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.js.map.diff
@@ -2,7 +2,7 @@
+++ new.sourceMapValidationDestructuringForObjectBindingPattern2.js.map
@@= skipped -0, +0 lines =@@
//// [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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oeyBuYW1lLCBza2lsbHM6IHsgcHJpbWFyeSwgc2Vjb25kYXJ5IH0gfSA9IGdldE11bHRpUm9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKHByaW1hcnlBKTsKfQpmb3IgKHsgbmFtZSwgc2tpbGxzOiB7IHByaW1hcnksIHNlY29uZGFyeSB9IH0gPQogICAgPE11bHRpUm9ib3Q+eyBuYW1lOiAidHJpbW1lciIsIHNraWxsczogeyBwcmltYXJ5OiAidHJpbW1pbmciLCBzZWNvbmRhcnk6ICJlZGdpbmciIH0gfSwKICAgIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhwcmltYXJ5QSk7Cn0=
+-{"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,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IAC9C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;A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HJpbW1pbmciLCBzZWNvbmRhcnk6ICJlZGdpbmciIH0gfSwKICAgIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhwcmltYXJ5QSk7Cn0=
+{"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,GAAG;IAChB,OAAO,KAAK,CAAC;AAAA,CAChB;AACD,SAAS,aAAa,GAAG;IACrB,OAAO,UAAU,CAAC;AAAA,CACrB;AAED,IAAI,KAAa,EAAE,QAAgB,EAAE,UAAkB,EAAE,CAAS,EAAE,MAAc,CAAC;AACnF,IAAI,IAAY,EAAE,OAAe,EAAE,SAAiB,EAAE,KAAa,CAAC;AAEpE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IAC9C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,QAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IACnD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,GAAU,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,CAAC,G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HsKICAgIGNvbnNvbGUubG9nKHByaW1hcnlBKTsKfQpmb3IgKHsgbmFtZSwgc2tpbGwgfSA9IHJvYm90LCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobmFtZUEpOwp9CmZvciAoeyBuYW1lLCBza2lsbCB9ID0gZ2V0Um9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG5hbWVBKTsKfQpmb3IgKHsgbmFtZSwgc2tpbGwgfSA9IDxSb2JvdD57IG5hbWU6ICJ0cmltbWVyIiwgc2tpbGw6ICJ0cmltbWluZyIgfSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG5hbWVBKTsKfQpmb3IgKHsgbmFtZSwgc2tpbGxzOiB7IHByaW1hcnksIHNlY29uZGFyeSB9IH0gPSBtdWx0aVJvYm90LCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cocHJpbWFyeUEpOwp9CmZvciAoeyBuYW1lLCBza2lsbHM6IHsgcHJpbWFyeSwgc2Vjb25kYXJ5IH0gfSA9IGdldE11bHRpUm9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKHByaW1hcnlBKTsKfQpmb3IgKHsgbmFtZSwgc2tpbGxzOiB7IHByaW1hcnksIHNlY29uZGFyeSB9IH0gPQogICAgPE11bHRpUm9ib3Q+eyBuYW1lOiAidHJpbW1lciIsIHNraWxsczogeyBwcmltYXJ5OiAidHJpbW1pbmciLCBzZWNvbmRhcnk6ICJlZGdpbmciIH0gfSwKICAgIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhwcmltYXJ5QSk7Cn0=
\ No newline at end of file
diff --git a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.sourcemap.txt.diff b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.sourcemap.txt.diff
index 4377a4ed49..0ead4956d1 100644
--- a/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.sourcemap.txt.diff
+++ b/testdata/baselines/reference/submodule/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.sourcemap.txt.diff
@@ -1,103 +1,6 @@
--- old.sourceMapValidationDestructuringForObjectBindingPattern2.sourcemap.txt
+++ new.sourceMapValidationDestructuringForObjectBindingPattern2.sourcemap.txt
-@@= skipped -7, +7 lines =@@
- emittedFile:sourceMapValidationDestructuringForObjectBindingPattern2.js
- sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts
- -------------------------------------------------------------------
-->>>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" };
-+>>>let robot = { name: "mower", skill: "mowing" };
- 1 >
- 2 >^^^^
- 3 > ^^^^^
-@@= skipped -47, +46 lines =@@
- 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(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)
- ---
-->>>var multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } };
-+>>>let multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } };
- 1->
- 2 >^^^^
- 3 > ^^^^^^^^^^
-@@= skipped -61, +61 lines =@@
- 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(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)
- ---
- >>>function getRobot() {
+@@= skipped -141, +141 lines =@@
1 >
2 >^^^^^^^^^
3 > ^^^^^^^^
@@ -107,13 +10,10 @@
>
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)
+4 > ()
-+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(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)
+4 >Emitted(3, 21) Source(19, 21) + SourceIndex(0)
---
>>> return robot;
@@ -128,28 +28,22 @@
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(4, 5) Source(20, 5) + SourceIndex(0)
+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 >
+ 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)
+@@= skipped -29, +31 lines =@@
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
- >
-2 >}
--1 >Emitted(6, 1) Source(21, 1) + SourceIndex(0)
--2 >Emitted(6, 2) Source(21, 2) + SourceIndex(0)
+-1 >Emitted(5, 1) Source(21, 1) + SourceIndex(0)
+2 >
+ >}
+1 >Emitted(5, 1) Source(20, 18) + SourceIndex(0)
-+2 >Emitted(5, 2) Source(21, 2) + SourceIndex(0)
+ 2 >Emitted(5, 2) Source(21, 2) + SourceIndex(0)
---
>>>function getMultiRobot() {
1->
@@ -161,13 +55,10 @@
>
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)
+4 > ()
-+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(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)
+4 >Emitted(6, 26) Source(22, 26) + SourceIndex(0)
---
>>> return multiRobot;
@@ -182,5655 +73,21 @@
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(7, 5) Source(23, 5) + SourceIndex(0)
+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 >
+ 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)
+@@= skipped -38, +40 lines =@@
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
- >
-2 >}
--1 >Emitted(9, 1) Source(24, 1) + SourceIndex(0)
--2 >Emitted(9, 2) Source(24, 2) + SourceIndex(0)
+-1 >Emitted(8, 1) Source(24, 1) + SourceIndex(0)
+2 >
+ >}
+1 >Emitted(8, 1) Source(23, 23) + SourceIndex(0)
-+2 >Emitted(8, 2) Source(24, 2) + SourceIndex(0)
- ---
-->>>var nameA, primaryA, secondaryA, i, skillA;
-+>>>let nameA, primaryA, secondaryA, i, skillA;
- 1->
- 2 >^^^^
- 3 > ^^^^^
-@@= skipped -126, +130 lines =@@
- 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(9, 1) Source(26, 1) + SourceIndex(0)
-+2 >Emitted(9, 5) Source(26, 5) + SourceIndex(0)
-+3 >Emitted(9, 10) Source(26, 18) + SourceIndex(0)
-+4 >Emitted(9, 12) Source(26, 20) + SourceIndex(0)
-+5 >Emitted(9, 20) Source(26, 36) + SourceIndex(0)
-+6 >Emitted(9, 22) Source(26, 38) + SourceIndex(0)
-+7 >Emitted(9, 32) Source(26, 56) + SourceIndex(0)
-+8 >Emitted(9, 34) Source(26, 58) + SourceIndex(0)
-+9 >Emitted(9, 35) Source(26, 67) + SourceIndex(0)
-+10>Emitted(9, 37) Source(26, 69) + SourceIndex(0)
-+11>Emitted(9, 43) Source(26, 83) + SourceIndex(0)
-+12>Emitted(9, 44) Source(26, 84) + SourceIndex(0)
- ---
-->>>var name, primary, secondary, skill;
-+>>>let name, primary, secondary, skill;
- 1 >
- 2 >^^^^
- 3 > ^^^^
-@@= skipped -24, +24 lines =@@
- 8 > ^^
- 9 > ^^^^^
- 10> ^
--11> ^^^^^^^^^^->
-+11> ^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >let
-@@= skipped -12, +12 lines =@@
- 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(10, 1) Source(27, 1) + SourceIndex(0)
-+2 >Emitted(10, 5) Source(27, 5) + SourceIndex(0)
-+3 >Emitted(10, 9) Source(27, 17) + SourceIndex(0)
-+4 >Emitted(10, 11) Source(27, 19) + SourceIndex(0)
-+5 >Emitted(10, 18) Source(27, 34) + SourceIndex(0)
-+6 >Emitted(10, 20) Source(27, 36) + SourceIndex(0)
-+7 >Emitted(10, 29) Source(27, 53) + SourceIndex(0)
-+8 >Emitted(10, 31) Source(27, 55) + SourceIndex(0)
-+9 >Emitted(10, 36) Source(27, 68) + SourceIndex(0)
-+10>Emitted(10, 37) Source(27, 69) + SourceIndex(0)
- ---
-->>>for (nameA = robot.name, i = 0; i < 1; i++) {
-+>>>for ({ name: nameA } = robot, i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
--3 > ^^^^^
--4 > ^^^
--5 > ^^^^^
--6 > ^^^^^
--7 > ^^
--8 > ^
--9 > ^^^
--10> ^
--11> ^^
--12> ^
--13> ^^^
--14> ^
--15> ^^
--16> ^
--17> ^^
-+3 > ^^
-+4 > ^^^^
-+5 > ^^
-+6 > ^^^^^
-+7 > ^^
-+8 > ^^^
-+9 > ^^^^^
-+10> ^^
-+11> ^
-+12> ^^^
-+13> ^
-+14> ^^
-+15> ^
-+16> ^^^
-+17> ^
- 18> ^^
- 19> ^
-+20> ^^
-+21> ^^
-+22> ^
- 1->
- >
- >
--2 >for ({ name:
--3 > nameA
--4 > } =
--5 > robot
--6 >
--7 > } = robot,
--8 > i
--9 > =
--10> 0
--11> ;
--12> i
--13> <
--14> 1
--15> ;
--16> i
--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)
-+2 >for (
-+3 > {
-+4 > name
-+5 > :
-+6 > nameA
-+7 > }
-+8 > =
-+9 > robot
-+10> ,
-+11> i
-+12> =
-+13> 0
-+14> ;
-+15> i
-+16> <
-+17> 1
-+18> ;
-+19> i
-+20> ++
-+21> )
-+22> {
-+1->Emitted(11, 1) Source(29, 1) + SourceIndex(0)
-+2 >Emitted(11, 6) Source(29, 6) + SourceIndex(0)
-+3 >Emitted(11, 8) Source(29, 8) + SourceIndex(0)
-+4 >Emitted(11, 12) Source(29, 12) + SourceIndex(0)
-+5 >Emitted(11, 14) Source(29, 14) + SourceIndex(0)
-+6 >Emitted(11, 19) Source(29, 19) + SourceIndex(0)
-+7 >Emitted(11, 21) Source(29, 21) + SourceIndex(0)
-+8 >Emitted(11, 24) Source(29, 24) + SourceIndex(0)
-+9 >Emitted(11, 29) Source(29, 29) + SourceIndex(0)
-+10>Emitted(11, 31) Source(29, 31) + SourceIndex(0)
-+11>Emitted(11, 32) Source(29, 32) + SourceIndex(0)
-+12>Emitted(11, 35) Source(29, 35) + SourceIndex(0)
-+13>Emitted(11, 36) Source(29, 36) + SourceIndex(0)
-+14>Emitted(11, 38) Source(29, 38) + SourceIndex(0)
-+15>Emitted(11, 39) Source(29, 39) + SourceIndex(0)
-+16>Emitted(11, 42) Source(29, 42) + SourceIndex(0)
-+17>Emitted(11, 43) Source(29, 43) + SourceIndex(0)
-+18>Emitted(11, 45) Source(29, 45) + SourceIndex(0)
-+19>Emitted(11, 46) Source(29, 46) + SourceIndex(0)
-+20>Emitted(11, 48) Source(29, 48) + SourceIndex(0)
-+21>Emitted(11, 50) Source(29, 50) + SourceIndex(0)
-+22>Emitted(11, 51) Source(29, 51) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -90, +99 lines =@@
- 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(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 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
--1 >Emitted(14, 1) Source(31, 1) + SourceIndex(0)
--2 >Emitted(14, 2) Source(31, 2) + SourceIndex(0)
-+1 >Emitted(13, 1) Source(31, 1) + SourceIndex(0)
-+2 >Emitted(13, 2) Source(31, 2) + SourceIndex(0)
- ---
-->>>for (nameA = getRobot().name, i = 0; i < 1; i++) {
-+>>>for ({ name: nameA } = getRobot(), i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
--3 > ^^^^^
--4 > ^^^
--5 > ^^^^^^^^
--6 > ^^
--7 > ^^^^^
--8 > ^^
--9 > ^
--10> ^^^
--11> ^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^
-+3 > ^^
-+4 > ^^^^
-+5 > ^^
-+6 > ^^^^^
-+7 > ^^
-+8 > ^^^
-+9 > ^^^^^^^^
-+10> ^^
-+11> ^^
-+12> ^
-+13> ^^^
-+14> ^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
- 19> ^^
- 20> ^
-+21> ^^
-+22> ^^
-+23> ^
- 1->
- >
--2 >for ({ name:
--3 > nameA
--4 > } =
--5 > getRobot
--6 > ()
--7 >
--8 > } = getRobot(),
--9 > i
--10> =
--11> 0
--12> ;
--13> i
--14> <
--15> 1
--16> ;
--17> i
--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)
-+2 >for (
-+3 > {
-+4 > name
-+5 > :
-+6 > nameA
-+7 > }
-+8 > =
-+9 > getRobot
-+10> ()
-+11> ,
-+12> i
-+13> =
-+14> 0
-+15> ;
-+16> i
-+17> <
-+18> 1
-+19> ;
-+20> i
-+21> ++
-+22> )
-+23> {
-+1->Emitted(14, 1) Source(32, 1) + SourceIndex(0)
-+2 >Emitted(14, 6) Source(32, 6) + SourceIndex(0)
-+3 >Emitted(14, 8) Source(32, 8) + SourceIndex(0)
-+4 >Emitted(14, 12) Source(32, 12) + SourceIndex(0)
-+5 >Emitted(14, 14) Source(32, 14) + SourceIndex(0)
-+6 >Emitted(14, 19) Source(32, 19) + SourceIndex(0)
-+7 >Emitted(14, 21) Source(32, 21) + SourceIndex(0)
-+8 >Emitted(14, 24) Source(32, 24) + SourceIndex(0)
-+9 >Emitted(14, 32) Source(32, 32) + SourceIndex(0)
-+10>Emitted(14, 34) Source(32, 34) + SourceIndex(0)
-+11>Emitted(14, 36) Source(32, 36) + SourceIndex(0)
-+12>Emitted(14, 37) Source(32, 37) + SourceIndex(0)
-+13>Emitted(14, 40) Source(32, 40) + SourceIndex(0)
-+14>Emitted(14, 41) Source(32, 41) + SourceIndex(0)
-+15>Emitted(14, 43) Source(32, 43) + SourceIndex(0)
-+16>Emitted(14, 44) Source(32, 44) + SourceIndex(0)
-+17>Emitted(14, 47) Source(32, 47) + SourceIndex(0)
-+18>Emitted(14, 48) Source(32, 48) + SourceIndex(0)
-+19>Emitted(14, 50) Source(32, 50) + SourceIndex(0)
-+20>Emitted(14, 51) Source(32, 51) + SourceIndex(0)
-+21>Emitted(14, 53) Source(32, 53) + SourceIndex(0)
-+22>Emitted(14, 55) Source(32, 55) + SourceIndex(0)
-+23>Emitted(14, 56) Source(32, 56) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -100, +109 lines =@@
- 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(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 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
--1 >Emitted(17, 1) Source(34, 1) + SourceIndex(0)
--2 >Emitted(17, 2) Source(34, 2) + SourceIndex(0)
-+1 >Emitted(16, 1) Source(34, 1) + SourceIndex(0)
-+2 >Emitted(16, 2) Source(34, 2) + SourceIndex(0)
- ---
-->>>for (nameA = { name: "trimmer", skill: "trimming" }.name, i = 0; i < 1; i++) {
-+>>>for ({ name: nameA } = { name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
- 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> ^^
-+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> ^
- 1->
- >
--2 >for ({ name:
--3 > nameA
--4 > } =
--5 > {
--6 > name
--7 > :
--8 > "trimmer"
--9 > ,
--10> skill
--11> :
--12> "trimming"
--13> }
--14>
--15> } = { name: "trimmer", skill: "trimming" },
--16> i
--17> =
--18> 0
--19> ;
--20> i
--21> <
--22> 1
--23> ;
--24> i
--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)
-+2 >for (
-+3 > {
-+4 > name
-+5 > :
-+6 > nameA
-+7 > }
-+8 > =
-+9 > {
-+10> name
-+11> :
-+12> "trimmer"
-+13> ,
-+14> skill
-+15> :
-+16> "trimming"
-+17> }
-+18> ,
-+19> i
-+20> =
-+21> 0
-+22> ;
-+23> i
-+24> <
-+25> 1
-+26> ;
-+27> i
-+28> ++
-+29> )
-+30> {
-+1->Emitted(17, 1) Source(35, 1) + SourceIndex(0)
-+2 >Emitted(17, 6) Source(35, 6) + SourceIndex(0)
-+3 >Emitted(17, 8) Source(35, 8) + SourceIndex(0)
-+4 >Emitted(17, 12) Source(35, 12) + SourceIndex(0)
-+5 >Emitted(17, 14) Source(35, 14) + SourceIndex(0)
-+6 >Emitted(17, 19) Source(35, 19) + SourceIndex(0)
-+7 >Emitted(17, 21) Source(35, 21) + SourceIndex(0)
-+8 >Emitted(17, 24) Source(35, 31) + SourceIndex(0)
-+9 >Emitted(17, 26) Source(35, 33) + SourceIndex(0)
-+10>Emitted(17, 30) Source(35, 37) + SourceIndex(0)
-+11>Emitted(17, 32) Source(35, 39) + SourceIndex(0)
-+12>Emitted(17, 41) Source(35, 48) + SourceIndex(0)
-+13>Emitted(17, 43) Source(35, 50) + SourceIndex(0)
-+14>Emitted(17, 48) Source(35, 55) + SourceIndex(0)
-+15>Emitted(17, 50) Source(35, 57) + SourceIndex(0)
-+16>Emitted(17, 60) Source(35, 67) + SourceIndex(0)
-+17>Emitted(17, 62) Source(35, 69) + SourceIndex(0)
-+18>Emitted(17, 64) Source(35, 71) + SourceIndex(0)
-+19>Emitted(17, 65) Source(35, 72) + SourceIndex(0)
-+20>Emitted(17, 68) Source(35, 75) + SourceIndex(0)
-+21>Emitted(17, 69) Source(35, 76) + SourceIndex(0)
-+22>Emitted(17, 71) Source(35, 78) + SourceIndex(0)
-+23>Emitted(17, 72) Source(35, 79) + SourceIndex(0)
-+24>Emitted(17, 75) Source(35, 82) + SourceIndex(0)
-+25>Emitted(17, 76) Source(35, 83) + SourceIndex(0)
-+26>Emitted(17, 78) Source(35, 85) + SourceIndex(0)
-+27>Emitted(17, 79) Source(35, 86) + SourceIndex(0)
-+28>Emitted(17, 81) Source(35, 88) + SourceIndex(0)
-+29>Emitted(17, 83) Source(35, 90) + SourceIndex(0)
-+30>Emitted(17, 84) Source(35, 91) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -121, +130 lines =@@
- 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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(20, 1) Source(37, 1) + SourceIndex(0)
--2 >Emitted(20, 2) Source(37, 2) + SourceIndex(0)
-----
-->>>for (_a = multiRobot.skills, primaryA = _a.primary, secondaryA = _a.secondary, i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^^^^^^^^^
--5 > ^^^^^^^
--6 > ^^
--7 > ^^^^^^^^
--8 > ^^^^^^^^^^^^^
--9 > ^^
--10> ^^^^^^^^^^
--11> ^^^^^^^^^^^^^^^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^^
--19> ^
--20> ^^
--21> ^
--22> ^^
--23> ^^
--24> ^
--1->
-- >
--2 >for ({
--3 > skills: { primary: primaryA, secondary: secondaryA } } =
--4 > multiRobot
--5 >
--6 >
--7 > primaryA
--8 >
--9 > , secondary:
--10> secondaryA
--11>
--12> } } = multiRobot,
--13> i
--14> =
--15> 0
--16> ;
--17> i
--18> <
--19> 1
--20> ;
--21> i
--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)
-----
-->>> console.log(primaryA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(23, 1) Source(40, 1) + SourceIndex(0)
--2 >Emitted(23, 2) Source(40, 2) + SourceIndex(0)
-----
-->>>for (_b = getMultiRobot().skills, primaryA = _b.primary, secondaryA = _b.secondary, i = 0; i < 1; i++) {
--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> ^
--1->
-- >
--2 >for ({
--3 > skills: { primary: primaryA, secondary: secondaryA } } =
--4 > getMultiRobot
--5 > ()
--6 >
--7 >
--8 > primaryA
--9 >
--10> , secondary:
--11> secondaryA
--12>
--13> } } = getMultiRobot(),
--14> i
--15> =
--16> 0
--17> ;
--18> i
--19> <
--20> 1
--21> ;
--22> i
--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)
-----
-->>> console.log(primaryA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(26, 1) Source(43, 1) + SourceIndex(0)
--2 >Emitted(26, 2) Source(43, 2) + SourceIndex(0)
-----
-->>>for (_c = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }.skills, primaryA = _c.primary, secondaryA = _c.secondary,
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^
--5 > ^^^^
--6 > ^^
--7 > ^^^^^^^^^
--8 > ^^
--9 > ^^^^^^
--10> ^^
--11> ^^
--12> ^^^^^^^
--13> ^^
--14> ^^^^^^^^^^
--15> ^^
--16> ^^^^^^^^^
--17> ^^
--18> ^^^^^^^^
-+1 >Emitted(18, 5) Source(36, 5) + SourceIndex(0)
-+2 >Emitted(18, 12) Source(36, 12) + SourceIndex(0)
-+3 >Emitted(18, 13) Source(36, 13) + SourceIndex(0)
-+4 >Emitted(18, 16) Source(36, 16) + SourceIndex(0)
-+5 >Emitted(18, 17) Source(36, 17) + SourceIndex(0)
-+6 >Emitted(18, 22) Source(36, 22) + SourceIndex(0)
-+7 >Emitted(18, 23) Source(36, 23) + SourceIndex(0)
-+8 >Emitted(18, 24) Source(36, 24) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(19, 1) Source(37, 1) + SourceIndex(0)
-+2 >Emitted(19, 2) Source(37, 2) + SourceIndex(0)
-+---
-+>>>for ({ skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > {
-+4 > skills
-+5 > :
-+6 > {
-+7 > primary
-+8 > :
-+9 > primaryA
-+10> ,
-+11> secondary
-+12> :
-+13> secondaryA
-+14> }
-+15> }
-+16> =
-+17> multiRobot
-+18> ,
-+19> i
-+20> =
-+21> 0
-+22> ;
-+23> i
-+24> <
-+25> 1
-+26> ;
-+27> i
-+28> ++
-+29> )
-+30> {
-+1->Emitted(20, 1) Source(38, 1) + SourceIndex(0)
-+2 >Emitted(20, 6) Source(38, 6) + SourceIndex(0)
-+3 >Emitted(20, 8) Source(38, 8) + SourceIndex(0)
-+4 >Emitted(20, 14) Source(38, 14) + SourceIndex(0)
-+5 >Emitted(20, 16) Source(38, 16) + SourceIndex(0)
-+6 >Emitted(20, 18) Source(38, 18) + SourceIndex(0)
-+7 >Emitted(20, 25) Source(38, 25) + SourceIndex(0)
-+8 >Emitted(20, 27) Source(38, 27) + SourceIndex(0)
-+9 >Emitted(20, 35) Source(38, 35) + SourceIndex(0)
-+10>Emitted(20, 37) Source(38, 37) + SourceIndex(0)
-+11>Emitted(20, 46) Source(38, 46) + SourceIndex(0)
-+12>Emitted(20, 48) Source(38, 48) + SourceIndex(0)
-+13>Emitted(20, 58) Source(38, 58) + SourceIndex(0)
-+14>Emitted(20, 60) Source(38, 60) + SourceIndex(0)
-+15>Emitted(20, 62) Source(38, 62) + SourceIndex(0)
-+16>Emitted(20, 65) Source(38, 65) + SourceIndex(0)
-+17>Emitted(20, 75) Source(38, 75) + SourceIndex(0)
-+18>Emitted(20, 77) Source(38, 77) + SourceIndex(0)
-+19>Emitted(20, 78) Source(38, 78) + SourceIndex(0)
-+20>Emitted(20, 81) Source(38, 81) + SourceIndex(0)
-+21>Emitted(20, 82) Source(38, 82) + SourceIndex(0)
-+22>Emitted(20, 84) Source(38, 84) + SourceIndex(0)
-+23>Emitted(20, 85) Source(38, 85) + SourceIndex(0)
-+24>Emitted(20, 88) Source(38, 88) + SourceIndex(0)
-+25>Emitted(20, 89) Source(38, 89) + SourceIndex(0)
-+26>Emitted(20, 91) Source(38, 91) + SourceIndex(0)
-+27>Emitted(20, 92) Source(38, 92) + SourceIndex(0)
-+28>Emitted(20, 94) Source(38, 94) + SourceIndex(0)
-+29>Emitted(20, 96) Source(38, 96) + SourceIndex(0)
-+30>Emitted(20, 97) Source(38, 97) + SourceIndex(0)
-+---
-+>>> console.log(primaryA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > primaryA
-+7 > )
-+8 > ;
-+1 >Emitted(21, 5) Source(39, 5) + SourceIndex(0)
-+2 >Emitted(21, 12) Source(39, 12) + SourceIndex(0)
-+3 >Emitted(21, 13) Source(39, 13) + SourceIndex(0)
-+4 >Emitted(21, 16) Source(39, 16) + SourceIndex(0)
-+5 >Emitted(21, 17) Source(39, 17) + SourceIndex(0)
-+6 >Emitted(21, 25) Source(39, 25) + SourceIndex(0)
-+7 >Emitted(21, 26) Source(39, 26) + SourceIndex(0)
-+8 >Emitted(21, 27) Source(39, 27) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(22, 1) Source(40, 1) + SourceIndex(0)
-+2 >Emitted(22, 2) Source(40, 2) + SourceIndex(0)
-+---
-+>>>for ({ skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
-+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> ^^^^^^^^^^^^^^^
--1->
-- >
--2 >for ({
--3 > skills: { primary: primaryA, secondary: secondaryA } } =
-- >
--4 > {
--5 > name
--6 > :
--7 > "trimmer"
--8 > ,
--9 > skills
--10> :
--11> {
--12> primary
--13> :
--14> "trimming"
--15> ,
--16> secondary
--17> :
--18> "edging"
--19> }
--20> }
--21>
--22>
--23> primaryA
--24>
--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)
-+20> ^
-+21> ^^^
-+22> ^
-+23> ^^
-+24> ^
-+25> ^^^
-+26> ^
-+27> ^^
-+28> ^
-+29> ^^
-+30> ^^
-+31> ^
-+1->
-+ >
-+2 >for (
-+3 > {
-+4 > skills
-+5 > :
-+6 > {
-+7 > primary
-+8 > :
-+9 > primaryA
-+10> ,
-+11> secondary
-+12> :
-+13> secondaryA
-+14> }
-+15> }
-+16> =
-+17> getMultiRobot
-+18> ()
-+19> ,
-+20> i
-+21> =
-+22> 0
-+23> ;
-+24> i
-+25> <
-+26> 1
-+27> ;
-+28> i
-+29> ++
-+30> )
-+31> {
-+1->Emitted(23, 1) Source(41, 1) + SourceIndex(0)
-+2 >Emitted(23, 6) Source(41, 6) + SourceIndex(0)
-+3 >Emitted(23, 8) Source(41, 8) + SourceIndex(0)
-+4 >Emitted(23, 14) Source(41, 14) + SourceIndex(0)
-+5 >Emitted(23, 16) Source(41, 16) + SourceIndex(0)
-+6 >Emitted(23, 18) Source(41, 18) + SourceIndex(0)
-+7 >Emitted(23, 25) Source(41, 25) + SourceIndex(0)
-+8 >Emitted(23, 27) Source(41, 27) + SourceIndex(0)
-+9 >Emitted(23, 35) Source(41, 35) + SourceIndex(0)
-+10>Emitted(23, 37) Source(41, 37) + SourceIndex(0)
-+11>Emitted(23, 46) Source(41, 46) + SourceIndex(0)
-+12>Emitted(23, 48) Source(41, 48) + SourceIndex(0)
-+13>Emitted(23, 58) Source(41, 58) + SourceIndex(0)
-+14>Emitted(23, 60) Source(41, 60) + SourceIndex(0)
-+15>Emitted(23, 62) Source(41, 62) + SourceIndex(0)
-+16>Emitted(23, 65) Source(41, 65) + SourceIndex(0)
-+17>Emitted(23, 78) Source(41, 78) + SourceIndex(0)
-+18>Emitted(23, 80) Source(41, 80) + SourceIndex(0)
-+19>Emitted(23, 82) Source(41, 82) + SourceIndex(0)
-+20>Emitted(23, 83) Source(41, 83) + SourceIndex(0)
-+21>Emitted(23, 86) Source(41, 86) + SourceIndex(0)
-+22>Emitted(23, 87) Source(41, 87) + SourceIndex(0)
-+23>Emitted(23, 89) Source(41, 89) + SourceIndex(0)
-+24>Emitted(23, 90) Source(41, 90) + SourceIndex(0)
-+25>Emitted(23, 93) Source(41, 93) + SourceIndex(0)
-+26>Emitted(23, 94) Source(41, 94) + SourceIndex(0)
-+27>Emitted(23, 96) Source(41, 96) + SourceIndex(0)
-+28>Emitted(23, 97) Source(41, 97) + SourceIndex(0)
-+29>Emitted(23, 99) Source(41, 99) + SourceIndex(0)
-+30>Emitted(23, 101) Source(41, 101) + SourceIndex(0)
-+31>Emitted(23, 102) Source(41, 102) + SourceIndex(0)
-+---
-+>>> console.log(primaryA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > primaryA
-+7 > )
-+8 > ;
-+1 >Emitted(24, 5) Source(42, 5) + SourceIndex(0)
-+2 >Emitted(24, 12) Source(42, 12) + SourceIndex(0)
-+3 >Emitted(24, 13) Source(42, 13) + SourceIndex(0)
-+4 >Emitted(24, 16) Source(42, 16) + SourceIndex(0)
-+5 >Emitted(24, 17) Source(42, 17) + SourceIndex(0)
-+6 >Emitted(24, 25) Source(42, 25) + SourceIndex(0)
-+7 >Emitted(24, 26) Source(42, 26) + SourceIndex(0)
-+8 >Emitted(24, 27) Source(42, 27) + SourceIndex(0)
-+---
-+>>>}
-+1 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(25, 1) Source(43, 1) + SourceIndex(0)
-+2 >Emitted(25, 2) Source(43, 2) + SourceIndex(0)
-+---
-+>>>for ({ skills: { primary: primaryA, secondary: secondaryA } } =
-+1->
-+2 >^^^^^
-+3 > ^^
-+4 > ^^^^^^
-+5 > ^^
-+6 > ^^
-+7 > ^^^^^^^
-+8 > ^^
-+9 > ^^^^^^^^
-+10> ^^
-+11> ^^^^^^^^^
-+12> ^^
-+13> ^^^^^^^^^^
-+14> ^^
-+15> ^^
-+16> ^^^^^^^^^^^^^^^^^^->
-+1->
-+ >
-+2 >for (
-+3 > {
-+4 > skills
-+5 > :
-+6 > {
-+7 > primary
-+8 > :
-+9 > primaryA
-+10> ,
-+11> secondary
-+12> :
-+13> secondaryA
-+14> }
-+15> }
-+1->Emitted(26, 1) Source(44, 1) + SourceIndex(0)
-+2 >Emitted(26, 6) Source(44, 6) + SourceIndex(0)
-+3 >Emitted(26, 8) Source(44, 8) + SourceIndex(0)
-+4 >Emitted(26, 14) Source(44, 14) + SourceIndex(0)
-+5 >Emitted(26, 16) Source(44, 16) + SourceIndex(0)
-+6 >Emitted(26, 18) Source(44, 18) + SourceIndex(0)
-+7 >Emitted(26, 25) Source(44, 25) + SourceIndex(0)
-+8 >Emitted(26, 27) Source(44, 27) + SourceIndex(0)
-+9 >Emitted(26, 35) Source(44, 35) + SourceIndex(0)
-+10>Emitted(26, 37) Source(44, 37) + SourceIndex(0)
-+11>Emitted(26, 46) Source(44, 46) + SourceIndex(0)
-+12>Emitted(26, 48) Source(44, 48) + SourceIndex(0)
-+13>Emitted(26, 58) Source(44, 58) + SourceIndex(0)
-+14>Emitted(26, 60) Source(44, 60) + SourceIndex(0)
-+15>Emitted(26, 62) Source(44, 62) + SourceIndex(0)
-+---
-+>>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
-+1->^^^^
-+2 > ^^
-+3 > ^^^^
-+4 > ^^
-+5 > ^^^^^^^^^
-+6 > ^^
-+7 > ^^^^^^
-+8 > ^^
-+9 > ^^
-+10> ^^^^^^^
-+11> ^^
-+12> ^^^^^^^^^^
-+13> ^^
-+14> ^^^^^^^^^
-+15> ^^
-+16> ^^^^^^^^
-+17> ^^
-+18> ^^
-+1-> =
-+ >
-+2 > {
-+3 > name
-+4 > :
-+5 > "trimmer"
-+6 > ,
-+7 > skills
-+8 > :
-+9 > {
-+10> primary
-+11> :
-+12> "trimming"
-+13> ,
-+14> secondary
-+15> :
-+16> "edging"
-+17> }
-+18> }
-+1->Emitted(27, 5) Source(45, 17) + SourceIndex(0)
-+2 >Emitted(27, 7) Source(45, 19) + SourceIndex(0)
-+3 >Emitted(27, 11) Source(45, 23) + SourceIndex(0)
-+4 >Emitted(27, 13) Source(45, 25) + SourceIndex(0)
-+5 >Emitted(27, 22) Source(45, 34) + SourceIndex(0)
-+6 >Emitted(27, 24) Source(45, 36) + SourceIndex(0)
-+7 >Emitted(27, 30) Source(45, 42) + SourceIndex(0)
-+8 >Emitted(27, 32) Source(45, 44) + SourceIndex(0)
-+9 >Emitted(27, 34) Source(45, 46) + SourceIndex(0)
-+10>Emitted(27, 41) Source(45, 53) + SourceIndex(0)
-+11>Emitted(27, 43) Source(45, 55) + SourceIndex(0)
-+12>Emitted(27, 53) Source(45, 65) + SourceIndex(0)
-+13>Emitted(27, 55) Source(45, 67) + SourceIndex(0)
-+14>Emitted(27, 64) Source(45, 76) + SourceIndex(0)
-+15>Emitted(27, 66) Source(45, 78) + SourceIndex(0)
-+16>Emitted(27, 74) Source(45, 86) + SourceIndex(0)
-+17>Emitted(27, 76) Source(45, 88) + SourceIndex(0)
-+18>Emitted(27, 78) Source(45, 90) + SourceIndex(0)
- ---
- >>> i = 0; i < 1; i++) {
- 1 >^^^^
-@@= skipped -346, +403 lines =@@
- 12> ^^
- 13> ^
- 14> ^^^->
--1 > } } =
-- > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
-+1 >,
- >
- 2 > i
- 3 > =
-@@= skipped -59, +58 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(30, 1) Source(48, 1) + SourceIndex(0)
- 2 >Emitted(30, 2) Source(48, 2) + SourceIndex(0)
- ---
-->>>for (name = robot.name, i = 0; i < 1; i++) {
-+>>>for ({ name } = robot, i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
--3 > ^^^^
--4 > ^^^
--5 > ^^^^^
--6 > ^^^^^
--7 > ^^
--8 > ^
--9 > ^^^
--10> ^
--11> ^^
--12> ^
--13> ^^^
--14> ^
--15> ^^
--16> ^
--17> ^^
--18> ^^
--19> ^
-+3 > ^^
-+4 > ^^^^
-+5 > ^^
-+6 > ^^^
-+7 > ^^^^^
-+8 > ^^
-+9 > ^
-+10> ^^^
-+11> ^
-+12> ^^
-+13> ^
-+14> ^^^
-+15> ^
-+16> ^^
-+17> ^
-+18> ^^
-+19> ^^
-+20> ^
- 1->
- >
--2 >for ({
--3 > name
--4 > } =
--5 > robot
--6 >
--7 > } = robot,
--8 > i
--9 > =
--10> 0
--11> ;
--12> i
--13> <
--14> 1
--15> ;
--16> i
--17> ++
--18> )
--19> {
-+2 >for (
-+3 > {
-+4 > name
-+5 > }
-+6 > =
-+7 > robot
-+8 > ,
-+9 > i
-+10> =
-+11> 0
-+12> ;
-+13> i
-+14> <
-+15> 1
-+16> ;
-+17> i
-+18> ++
-+19> )
-+20> {
- 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)
-+2 >Emitted(31, 6) Source(49, 6) + SourceIndex(0)
-+3 >Emitted(31, 8) Source(49, 8) + SourceIndex(0)
-+4 >Emitted(31, 12) Source(49, 12) + SourceIndex(0)
-+5 >Emitted(31, 14) Source(49, 14) + SourceIndex(0)
-+6 >Emitted(31, 17) Source(49, 17) + SourceIndex(0)
-+7 >Emitted(31, 22) Source(49, 22) + SourceIndex(0)
-+8 >Emitted(31, 24) Source(49, 24) + SourceIndex(0)
-+9 >Emitted(31, 25) Source(49, 25) + SourceIndex(0)
-+10>Emitted(31, 28) Source(49, 28) + SourceIndex(0)
-+11>Emitted(31, 29) Source(49, 29) + SourceIndex(0)
-+12>Emitted(31, 31) Source(49, 31) + SourceIndex(0)
-+13>Emitted(31, 32) Source(49, 32) + SourceIndex(0)
-+14>Emitted(31, 35) Source(49, 35) + SourceIndex(0)
-+15>Emitted(31, 36) Source(49, 36) + SourceIndex(0)
-+16>Emitted(31, 38) Source(49, 38) + SourceIndex(0)
-+17>Emitted(31, 39) Source(49, 39) + SourceIndex(0)
-+18>Emitted(31, 41) Source(49, 41) + SourceIndex(0)
-+19>Emitted(31, 43) Source(49, 43) + SourceIndex(0)
-+20>Emitted(31, 44) Source(49, 44) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -97, +100 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(33, 1) Source(51, 1) + SourceIndex(0)
- 2 >Emitted(33, 2) Source(51, 2) + SourceIndex(0)
- ---
-->>>for (name = getRobot().name, i = 0; i < 1; i++) {
-+>>>for ({ name } = getRobot(), i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
--3 > ^^^^
--4 > ^^^
--5 > ^^^^^^^^
--6 > ^^
--7 > ^^^^^
--8 > ^^
--9 > ^
--10> ^^^
--11> ^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^
--19> ^^
--20> ^
-+3 > ^^
-+4 > ^^^^
-+5 > ^^
-+6 > ^^^
-+7 > ^^^^^^^^
-+8 > ^^
-+9 > ^^
-+10> ^
-+11> ^^^
-+12> ^
-+13> ^^
-+14> ^
-+15> ^^^
-+16> ^
-+17> ^^
-+18> ^
-+19> ^^
-+20> ^^
-+21> ^
- 1->
- >
--2 >for ({
--3 > name
--4 > } =
--5 > getRobot
--6 > ()
--7 >
--8 > } = getRobot(),
--9 > i
--10> =
--11> 0
--12> ;
--13> i
--14> <
--15> 1
--16> ;
--17> i
--18> ++
--19> )
--20> {
-+2 >for (
-+3 > {
-+4 > name
-+5 > }
-+6 > =
-+7 > getRobot
-+8 > ()
-+9 > ,
-+10> i
-+11> =
-+12> 0
-+13> ;
-+14> i
-+15> <
-+16> 1
-+17> ;
-+18> i
-+19> ++
-+20> )
-+21> {
- 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)
-+2 >Emitted(34, 6) Source(52, 6) + SourceIndex(0)
-+3 >Emitted(34, 8) Source(52, 8) + SourceIndex(0)
-+4 >Emitted(34, 12) Source(52, 12) + SourceIndex(0)
-+5 >Emitted(34, 14) Source(52, 14) + SourceIndex(0)
-+6 >Emitted(34, 17) Source(52, 17) + SourceIndex(0)
-+7 >Emitted(34, 25) Source(52, 25) + SourceIndex(0)
-+8 >Emitted(34, 27) Source(52, 27) + SourceIndex(0)
-+9 >Emitted(34, 29) Source(52, 29) + SourceIndex(0)
-+10>Emitted(34, 30) Source(52, 30) + SourceIndex(0)
-+11>Emitted(34, 33) Source(52, 33) + SourceIndex(0)
-+12>Emitted(34, 34) Source(52, 34) + SourceIndex(0)
-+13>Emitted(34, 36) Source(52, 36) + SourceIndex(0)
-+14>Emitted(34, 37) Source(52, 37) + SourceIndex(0)
-+15>Emitted(34, 40) Source(52, 40) + SourceIndex(0)
-+16>Emitted(34, 41) Source(52, 41) + SourceIndex(0)
-+17>Emitted(34, 43) Source(52, 43) + SourceIndex(0)
-+18>Emitted(34, 44) Source(52, 44) + SourceIndex(0)
-+19>Emitted(34, 46) Source(52, 46) + SourceIndex(0)
-+20>Emitted(34, 48) Source(52, 48) + SourceIndex(0)
-+21>Emitted(34, 49) Source(52, 49) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -100, +103 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(36, 1) Source(54, 1) + SourceIndex(0)
- 2 >Emitted(36, 2) Source(54, 2) + SourceIndex(0)
- ---
-->>>for (name = { name: "trimmer", skill: "trimming" }.name, i = 0; i < 1; i++) {
-+>>>for ({ name } = { name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for ({
--3 > name
--4 > } =
--5 > {
--6 > name
--7 > :
--8 > "trimmer"
--9 > ,
--10> skill
--11> :
--12> "trimming"
--13> }
--14>
--15> } = { name: "trimmer", skill: "trimming" },
--16> i
--17> =
--18> 0
--19> ;
--20> i
--21> <
--22> 1
--23> ;
--24> i
--25> ++
--26> )
--27> {
-+2 >for (
-+3 > {
-+4 > name
-+5 > }
-+6 > =
-+7 > {
-+8 > name
-+9 > :
-+10> "trimmer"
-+11> ,
-+12> skill
-+13> :
-+14> "trimming"
-+15> }
-+16> ,
-+17> i
-+18> =
-+19> 0
-+20> ;
-+21> i
-+22> <
-+23> 1
-+24> ;
-+25> i
-+26> ++
-+27> )
-+28> {
- 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)
-+2 >Emitted(37, 6) Source(55, 6) + SourceIndex(0)
-+3 >Emitted(37, 8) Source(55, 8) + SourceIndex(0)
-+4 >Emitted(37, 12) Source(55, 12) + SourceIndex(0)
-+5 >Emitted(37, 14) Source(55, 14) + SourceIndex(0)
-+6 >Emitted(37, 17) Source(55, 24) + SourceIndex(0)
-+7 >Emitted(37, 19) Source(55, 26) + SourceIndex(0)
-+8 >Emitted(37, 23) Source(55, 30) + SourceIndex(0)
-+9 >Emitted(37, 25) Source(55, 32) + SourceIndex(0)
-+10>Emitted(37, 34) Source(55, 41) + SourceIndex(0)
-+11>Emitted(37, 36) Source(55, 43) + SourceIndex(0)
-+12>Emitted(37, 41) Source(55, 48) + SourceIndex(0)
-+13>Emitted(37, 43) Source(55, 50) + SourceIndex(0)
-+14>Emitted(37, 53) Source(55, 60) + SourceIndex(0)
-+15>Emitted(37, 55) Source(55, 62) + SourceIndex(0)
-+16>Emitted(37, 57) Source(55, 64) + SourceIndex(0)
-+17>Emitted(37, 58) Source(55, 65) + SourceIndex(0)
-+18>Emitted(37, 61) Source(55, 68) + SourceIndex(0)
-+19>Emitted(37, 62) Source(55, 69) + SourceIndex(0)
-+20>Emitted(37, 64) Source(55, 71) + SourceIndex(0)
-+21>Emitted(37, 65) Source(55, 72) + SourceIndex(0)
-+22>Emitted(37, 68) Source(55, 75) + SourceIndex(0)
-+23>Emitted(37, 69) Source(55, 76) + SourceIndex(0)
-+24>Emitted(37, 71) Source(55, 78) + SourceIndex(0)
-+25>Emitted(37, 72) Source(55, 79) + SourceIndex(0)
-+26>Emitted(37, 74) Source(55, 81) + SourceIndex(0)
-+27>Emitted(37, 76) Source(55, 83) + SourceIndex(0)
-+28>Emitted(37, 77) Source(55, 84) + SourceIndex(0)
- ---
- >>> console.log(nameA);
- 1 >^^^^
-@@= skipped -121, +124 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(39, 1) Source(57, 1) + SourceIndex(0)
- 2 >Emitted(39, 2) Source(57, 2) + SourceIndex(0)
- ---
-->>>for (_d = multiRobot.skills, primary = _d.primary, secondary = _d.secondary, i = 0; i < 1; i++) {
-+>>>for ({ skills: { primary, secondary } } = multiRobot, i = 0; i < 1; i++) {
- 1->
- 2 >^^^^^
--3 > ^^^^^
--4 > ^^^^^^^^^^
--5 > ^^^^^^^
--6 > ^^
--7 > ^^^^^^^
--8 > ^^^^^^^^^^^^^
--9 > ^^
--10> ^^^^^^^^^
--11> ^^^^^^^^^^^^^^^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^^
--19> ^
--20> ^^
--21> ^
--22> ^^
--23> ^^
--24> ^
-+3 > ^^
-+4 > ^^^^^^
-+5 > ^^
-+6 > ^^
-+7 > ^^^^^^^
-+8 > ^^
-+9 > ^^^^^^^^^
-+10> ^^
-+11> ^^
-+12> ^^^
-+13> ^^^^^^^^^^
-+14> ^^
-+15> ^
-+16> ^^^
-+17> ^
-+18> ^^
-+19> ^
-+20> ^^^
-+21> ^
-+22> ^^
-+23> ^
-+24> ^^
-+25> ^^
-+26> ^
- 1->
- >
--2 >for ({
--3 > skills: { primary, secondary } } =
--4 > multiRobot
--5 >
--6 >
--7 > primary
--8 >
--9 > ,
--10> secondary
--11>
--12> } } = multiRobot,
--13> i
--14> =
--15> 0
--16> ;
--17> i
--18> <
--19> 1
--20> ;
--21> i
--22> ++
--23> )
--24> {
-+2 >for (
-+3 > {
-+4 > skills
-+5 > :
-+6 > {
-+7 > primary
-+8 > ,
-+9 > secondary
-+10> }
-+11> }
-+12> =
-+13> multiRobot
-+14> ,
-+15> i
-+16> =
-+17> 0
-+18> ;
-+19> i
-+20> <
-+21> 1
-+22> ;
-+23> i
-+24> ++
-+25> )
-+26> {
- 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)
-+2 >Emitted(40, 6) Source(58, 6) + SourceIndex(0)
-+3 >Emitted(40, 8) Source(58, 8) + SourceIndex(0)
-+4 >Emitted(40, 14) Source(58, 14) + SourceIndex(0)
-+5 >Emitted(40, 16) Source(58, 16) + SourceIndex(0)
-+6 >Emitted(40, 18) Source(58, 18) + SourceIndex(0)
-+7 >Emitted(40, 25) Source(58, 25) + SourceIndex(0)
-+8 >Emitted(40, 27) Source(58, 27) + SourceIndex(0)
-+9 >Emitted(40, 36) Source(58, 36) + SourceIndex(0)
-+10>Emitted(40, 38) Source(58, 38) + SourceIndex(0)
-+11>Emitted(40, 40) Source(58, 40) + SourceIndex(0)
-+12>Emitted(40, 43) Source(58, 43) + SourceIndex(0)
-+13>Emitted(40, 53) Source(58, 53) + SourceIndex(0)
-+14>Emitted(40, 55) Source(58, 55) + SourceIndex(0)
-+15>Emitted(40, 56) Source(58, 56) + SourceIndex(0)
-+16>Emitted(40, 59) Source(58, 59) + SourceIndex(0)
-+17>Emitted(40, 60) Source(58, 60) + SourceIndex(0)
-+18>Emitted(40, 62) Source(58, 62) + SourceIndex(0)
-+19>Emitted(40, 63) Source(58, 63) + SourceIndex(0)
-+20>Emitted(40, 66) Source(58, 66) + SourceIndex(0)
-+21>Emitted(40, 67) Source(58, 67) + SourceIndex(0)
-+22>Emitted(40, 69) Source(58, 69) + SourceIndex(0)
-+23>Emitted(40, 70) Source(58, 70) + SourceIndex(0)
-+24>Emitted(40, 72) Source(58, 72) + SourceIndex(0)
-+25>Emitted(40, 74) Source(58, 74) + SourceIndex(0)
-+26>Emitted(40, 75) Source(58, 75) + SourceIndex(0)
- ---
- >>> console.log(primaryA);
- 1 >^^^^
-@@= skipped -112, +118 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(42, 1) Source(60, 1) + SourceIndex(0)
- 2 >Emitted(42, 2) Source(60, 2) + SourceIndex(0)
- ---
-->>>for (_e = getMultiRobot().skills, primary = _e.primary, secondary = _e.secondary, i = 0; i < 1; i++) {
-+>>>for ({ skills: { primary, secondary } } = getMultiRobot(), i = 0; i < 1; i++) {
- 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> ^
-+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> ^
- 1->
- >
--2 >for ({
--3 > skills: { primary, secondary } } =
--4 > getMultiRobot
--5 > ()
--6 >
--7 >
--8 > primary
--9 >
--10> ,
--11> secondary
--12>
--13> } } = getMultiRobot(),
--14> i
--15> =
--16> 0
--17> ;
--18> i
--19> <
--20> 1
--21> ;
--22> i
--23> ++
--24> )
--25> {
-+2 >for (
-+3 > {
-+4 > skills
-+5 > :
-+6 > {
-+7 > primary
-+8 > ,
-+9 > secondary
-+10> }
-+11> }
-+12> =
-+13> getMultiRobot
-+14> ()
-+15> ,
-+16> i
-+17> =
-+18> 0
-+19> ;
-+20> i
-+21> <
-+22> 1
-+23> ;
-+24> i
-+25> ++
-+26> )
-+27> {
- 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)
-+2 >Emitted(43, 6) Source(61, 6) + SourceIndex(0)
-+3 >Emitted(43, 8) Source(61, 8) + SourceIndex(0)
-+4 >Emitted(43, 14) Source(61, 14) + SourceIndex(0)
-+5 >Emitted(43, 16) Source(61, 16) + SourceIndex(0)
-+6 >Emitted(43, 18) Source(61, 18) + SourceIndex(0)
-+7 >Emitted(43, 25) Source(61, 25) + SourceIndex(0)
-+8 >Emitted(43, 27) Source(61, 27) + SourceIndex(0)
-+9 >Emitted(43, 36) Source(61, 36) + SourceIndex(0)
-+10>Emitted(43, 38) Source(61, 38) + SourceIndex(0)
-+11>Emitted(43, 40) Source(61, 40) + SourceIndex(0)
-+12>Emitted(43, 43) Source(61, 43) + SourceIndex(0)
-+13>Emitted(43, 56) Source(61, 56) + SourceIndex(0)
-+14>Emitted(43, 58) Source(61, 58) + SourceIndex(0)
-+15>Emitted(43, 60) Source(61, 60) + SourceIndex(0)
-+16>Emitted(43, 61) Source(61, 61) + SourceIndex(0)
-+17>Emitted(43, 64) Source(61, 64) + SourceIndex(0)
-+18>Emitted(43, 65) Source(61, 65) + SourceIndex(0)
-+19>Emitted(43, 67) Source(61, 67) + SourceIndex(0)
-+20>Emitted(43, 68) Source(61, 68) + SourceIndex(0)
-+21>Emitted(43, 71) Source(61, 71) + SourceIndex(0)
-+22>Emitted(43, 72) Source(61, 72) + SourceIndex(0)
-+23>Emitted(43, 74) Source(61, 74) + SourceIndex(0)
-+24>Emitted(43, 75) Source(61, 75) + SourceIndex(0)
-+25>Emitted(43, 77) Source(61, 77) + SourceIndex(0)
-+26>Emitted(43, 79) Source(61, 79) + SourceIndex(0)
-+27>Emitted(43, 80) Source(61, 80) + SourceIndex(0)
- ---
- >>> console.log(primaryA);
- 1 >^^^^
-@@= skipped -115, +121 lines =@@
- >>>}
- 1 >
- 2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1 >
- >
- 2 >}
- 1 >Emitted(45, 1) Source(63, 1) + SourceIndex(0)
- 2 >Emitted(45, 2) Source(63, 2) + SourceIndex(0)
- ---
-->>>for (_f = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }.skills, primary = _f.primary, secondary = _f.secondary,
-+>>>for ({ skills: { primary, secondary } } =
- 1->
- 2 >^^^^^
--3 > ^^^^^
--4 > ^^
--5 > ^^^^
--6 > ^^
--7 > ^^^^^^^^^
--8 > ^^
--9 > ^^^^^^
-+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> ^^^^^^^^^^^^^^^
-+12> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
- 1->
- >
--2 >for ({
--3 > skills: { primary, secondary } } =
-- >
--4 > {
--5 > name
--6 > :
--7 > "trimmer"
--8 > ,
--9 > skills
--10> :
--11> {
--12> primary
--13> :
--14> "trimming"
--15> ,
--16> secondary
--17> :
--18> "edging"
--19> }
--20> }
--21>
--22>
--23> primary
--24>
--25> ,
--26> secondary
--27>
-+2 >for (
-+3 > {
-+4 > skills
-+5 > :
-+6 > {
-+7 > primary
-+8 > ,
-+9 > secondary
-+10> }
-+11> }
- 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)
-----
-->>> i = 0; i < 1; i++) {
--1 >^^^^
--2 > ^
--3 > ^^^
--4 > ^
--5 > ^^
--6 > ^
--7 > ^^^
--8 > ^
--9 > ^^
--10> ^
--11> ^^
--12> ^^
--13> ^
--14> ^^^->
--1 > } } =
-- > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
-- >
--2 > i
--3 > =
--4 > 0
--5 > ;
--6 > i
--7 > <
--8 > 1
--9 > ;
--10> i
--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)
-----
-->>> console.log(primaryA);
--1->^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^
--7 > ^
--8 > ^
--1->
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(49, 1) Source(68, 1) + SourceIndex(0)
--2 >Emitted(49, 2) Source(68, 2) + SourceIndex(0)
-----
-->>>for (nameA = robot.name, skillA = robot.skill, i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^^
--5 > ^^^^^
--6 > ^^^^^
--7 > ^^
--8 > ^^^^^^
--9 > ^^^
--10> ^^^^^
--11> ^^^^^^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^^
--19> ^
--20> ^^
--21> ^
--22> ^^
--23> ^^
--24> ^
--1->
-- >
-- >
-- >
--2 >for ({ name:
--3 > nameA
--4 > , skill: skillA } =
--5 > robot
--6 >
--7 > , skill:
--8 > skillA
--9 > } =
--10> robot
--11>
--12> } = robot,
--13> i
--14> =
--15> 0
--16> ;
--17> i
--18> <
--19> 1
--20> ;
--21> i
--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)
-----
-->>> console.log(nameA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(52, 1) Source(73, 1) + SourceIndex(0)
--2 >Emitted(52, 2) Source(73, 2) + SourceIndex(0)
-----
-->>>for (_g = getRobot(), nameA = _g.name, skillA = _g.skill, i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^^^^^^^
--5 > ^^
--6 > ^^
--7 > ^^^^^
--8 > ^^^^^^^^^^
--9 > ^^
--10> ^^^^^^
--11> ^^^^^^^^^^^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^^
--19> ^
--20> ^^
--21> ^
--22> ^^
--23> ^^
--24> ^
--1->
-- >
--2 >for (
--3 > { name: nameA, skill: skillA } =
--4 > getRobot
--5 > ()
--6 >
--7 > nameA
--8 >
--9 > , skill:
--10> skillA
--11>
--12> } = getRobot(),
--13> i
--14> =
--15> 0
--16> ;
--17> i
--18> <
--19> 1
--20> ;
--21> i
--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)
-----
-->>> console.log(nameA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(55, 1) Source(76, 1) + SourceIndex(0)
--2 >Emitted(55, 2) Source(76, 2) + SourceIndex(0)
-----
-->>>for (_h = { name: "trimmer", skill: "trimming" }, nameA = _h.name, skillA = _h.skill, i = 0; i < 1; i++) {
--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> ^
--1->
-- >
--2 >for (
--3 > { name: nameA, skill: skillA } =
--4 > {
--5 > name
--6 > :
--7 > "trimmer"
--8 > ,
--9 > skill
--10> :
--11> "trimming"
--12> }
--13>
--14> nameA
--15>
--16> , skill:
--17> skillA
--18>
--19> } = { name: "trimmer", skill: "trimming" },
--20> i
--21> =
--22> 0
--23> ;
--24> i
--25> <
--26> 1
--27> ;
--28> i
--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)
-----
-->>> console.log(nameA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(58, 1) Source(79, 1) + SourceIndex(0)
--2 >Emitted(58, 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->
--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> ^
--1->
-- >
--2 >for ({ name:
--3 > nameA
--4 > , skills: { primary: primaryA, secondary: secondaryA } } =
--5 > multiRobot
--6 >
--7 > ,
--8 > skills: { primary: primaryA, secondary: secondaryA } } =
--9 > multiRobot
--10>
--11>
--12> primaryA
--13>
--14> , secondary:
--15> secondaryA
--16>
--17> } } = multiRobot,
--18> i
--19> =
--20> 0
--21> ;
--22> i
--23> <
--24> 1
--25> ;
--26> i
--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)
-----
-->>> console.log(primaryA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(61, 1) Source(82, 1) + SourceIndex(0)
--2 >Emitted(61, 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->
--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> ^
--1->
-- >
--2 >for (
--3 > { name: nameA, skills: { primary: primaryA, secondary: secondaryA } } =
--4 > getMultiRobot
--5 > ()
--6 >
--7 > nameA
--8 >
--9 > ,
--10> skills: { primary: primaryA, secondary: secondaryA }
--11>
--12> primaryA
--13>
--14> , secondary:
--15> secondaryA
--16>
--17> } } = getMultiRobot(),
--18> i
--19> =
--20> 0
--21> ;
--22> i
--23> <
--24> 1
--25> ;
--26> i
--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)
-----
-->>> console.log(primaryA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(64, 1) Source(85, 1) + SourceIndex(0)
--2 >Emitted(64, 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->
--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> ^^^^^^^^^^^^^^^
--1->
-- >
--2 >for (
--3 > { name: nameA, skills: { primary: primaryA, secondary: secondaryA } } =
-- >
--4 > {
--5 > name
--6 > :
--7 > "trimmer"
--8 > ,
--9 > skills
--10> :
--11> {
--12> primary
--13> :
--14> "trimming"
--15> ,
--16> secondary
--17> :
--18> "edging"
--19> }
--20> }
--21>
--22> nameA
--23>
--24> ,
--25> skills: { primary: primaryA, secondary: secondaryA }
--26>
--27> primaryA
--28>
--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)
-----
-->>> i = 0; i < 1; i++) {
--1 >^^^^
--2 > ^
--3 > ^^^
--4 > ^
--5 > ^^
--6 > ^
--7 > ^^^
--8 > ^
--9 > ^^
--10> ^
--11> ^^
--12> ^^
--13> ^
--14> ^^^->
--1 > } } =
-- > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
-- >
--2 > i
--3 > =
--4 > 0
--5 > ;
--6 > i
--7 > <
--8 > 1
--9 > ;
--10> i
--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)
-----
-->>> console.log(primaryA);
--1->^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^^^^
--7 > ^
--8 > ^
--1->
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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)
-+2 >Emitted(46, 6) Source(64, 6) + SourceIndex(0)
-+3 >Emitted(46, 8) Source(64, 8) + SourceIndex(0)
-+4 >Emitted(46, 14) Source(64, 14) + SourceIndex(0)
-+5 >Emitted(46, 16) Source(64, 16) + SourceIndex(0)
-+6 >Emitted(46, 18) Source(64, 18) + SourceIndex(0)
-+7 >Emitted(46, 25) Source(64, 25) + SourceIndex(0)
-+8 >Emitted(46, 27) Source(64, 27) + SourceIndex(0)
-+9 >Emitted(46, 36) Source(64, 36) + SourceIndex(0)
-+10>Emitted(46, 38) Source(64, 38) + SourceIndex(0)
-+11>Emitted(46, 40) Source(64, 40) + SourceIndex(0)
-+---
-+>>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
-+1->^^^^
-+2 > ^^
-+3 > ^^^^
-+4 > ^^
-+5 > ^^^^^^^^^
-+6 > ^^
-+7 > ^^^^^^
-+8 > ^^
-+9 > ^^
-+10> ^^^^^^^
-+11> ^^
-+12> ^^^^^^^^^^
-+13> ^^
-+14> ^^^^^^^^^
-+15> ^^
-+16> ^^^^^^^^
-+17> ^^
-+18> ^^
-+1-> =
-+ >
-+2 > {
-+3 > name
-+4 > :
-+5 > "trimmer"
-+6 > ,
-+7 > skills
-+8 > :
-+9 > {
-+10> primary
-+11> :
-+12> "trimming"
-+13> ,
-+14> secondary
-+15> :
-+16> "edging"
-+17> }
-+18> }
-+1->Emitted(47, 5) Source(65, 17) + SourceIndex(0)
-+2 >Emitted(47, 7) Source(65, 19) + SourceIndex(0)
-+3 >Emitted(47, 11) Source(65, 23) + SourceIndex(0)
-+4 >Emitted(47, 13) Source(65, 25) + SourceIndex(0)
-+5 >Emitted(47, 22) Source(65, 34) + SourceIndex(0)
-+6 >Emitted(47, 24) Source(65, 36) + SourceIndex(0)
-+7 >Emitted(47, 30) Source(65, 42) + SourceIndex(0)
-+8 >Emitted(47, 32) Source(65, 44) + SourceIndex(0)
-+9 >Emitted(47, 34) Source(65, 46) + SourceIndex(0)
-+10>Emitted(47, 41) Source(65, 53) + SourceIndex(0)
-+11>Emitted(47, 43) Source(65, 55) + SourceIndex(0)
-+12>Emitted(47, 53) Source(65, 65) + SourceIndex(0)
-+13>Emitted(47, 55) Source(65, 67) + SourceIndex(0)
-+14>Emitted(47, 64) Source(65, 76) + SourceIndex(0)
-+15>Emitted(47, 66) Source(65, 78) + SourceIndex(0)
-+16>Emitted(47, 74) Source(65, 86) + SourceIndex(0)
-+17>Emitted(47, 76) Source(65, 88) + SourceIndex(0)
-+18>Emitted(47, 78) Source(65, 90) + SourceIndex(0)
-+---
-+>>> i = 0; i < 1; i++) {
-+1 >^^^^
-+2 > ^
-+3 > ^^^
-+4 > ^
-+5 > ^^
-+6 > ^
-+7 > ^^^
-+8 > ^
-+9 > ^^
-+10> ^
-+11> ^^
-+12> ^^
-+13> ^
-+14> ^^^->
-+1 >,
-+ >
-+2 > i
-+3 > =
-+4 > 0
-+5 > ;
-+6 > i
-+7 > <
-+8 > 1
-+9 > ;
-+10> i
-+11> ++
-+12> )
-+13> {
-+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->^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^^^^
-+7 > ^
-+8 > ^
-+1->
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > primaryA
-+7 > )
-+8 > ;
-+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 >
-@@= skipped -961, +178 lines =@@
- 1 >
- >
- 2 >}
--1 >Emitted(68, 1) Source(90, 1) + SourceIndex(0)
--2 >Emitted(68, 2) Source(90, 2) + SourceIndex(0)
-----
-->>>for (name = robot.name, skill = robot.skill, i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^
--4 > ^^^
--5 > ^^^^^
--6 > ^^^^^
--7 > ^^
--8 > ^^^^^
--9 > ^^^
--10> ^^^^^
--11> ^^^^^^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^^
--19> ^
--20> ^^
--21> ^
--22> ^^
-+1 >Emitted(50, 1) Source(68, 1) + SourceIndex(0)
-+2 >Emitted(50, 2) Source(68, 2) + SourceIndex(0)
-+---
-+>>>for ({ name: nameA, skill: skillA } = robot, i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+ >
-+ >
-+2 >for (
-+3 > {
-+4 > name
-+5 > :
-+6 > nameA
-+7 > ,
-+8 > skill
-+9 > :
-+10> skillA
-+11> }
-+12> =
-+13> robot
-+14> ,
-+15> i
-+16> =
-+17> 0
-+18> ;
-+19> i
-+20> <
-+21> 1
-+22> ;
-+23> i
-+24> ++
-+25> )
-+26> {
-+1->Emitted(51, 1) Source(71, 1) + SourceIndex(0)
-+2 >Emitted(51, 6) Source(71, 6) + SourceIndex(0)
-+3 >Emitted(51, 8) Source(71, 8) + SourceIndex(0)
-+4 >Emitted(51, 12) Source(71, 12) + SourceIndex(0)
-+5 >Emitted(51, 14) Source(71, 14) + SourceIndex(0)
-+6 >Emitted(51, 19) Source(71, 19) + SourceIndex(0)
-+7 >Emitted(51, 21) Source(71, 21) + SourceIndex(0)
-+8 >Emitted(51, 26) Source(71, 26) + SourceIndex(0)
-+9 >Emitted(51, 28) Source(71, 28) + SourceIndex(0)
-+10>Emitted(51, 34) Source(71, 34) + SourceIndex(0)
-+11>Emitted(51, 36) Source(71, 36) + SourceIndex(0)
-+12>Emitted(51, 39) Source(71, 39) + SourceIndex(0)
-+13>Emitted(51, 44) Source(71, 44) + SourceIndex(0)
-+14>Emitted(51, 46) Source(71, 46) + SourceIndex(0)
-+15>Emitted(51, 47) Source(71, 47) + SourceIndex(0)
-+16>Emitted(51, 50) Source(71, 50) + SourceIndex(0)
-+17>Emitted(51, 51) Source(71, 51) + SourceIndex(0)
-+18>Emitted(51, 53) Source(71, 53) + SourceIndex(0)
-+19>Emitted(51, 54) Source(71, 54) + SourceIndex(0)
-+20>Emitted(51, 57) Source(71, 57) + SourceIndex(0)
-+21>Emitted(51, 58) Source(71, 58) + SourceIndex(0)
-+22>Emitted(51, 60) Source(71, 60) + SourceIndex(0)
-+23>Emitted(51, 61) Source(71, 61) + SourceIndex(0)
-+24>Emitted(51, 63) Source(71, 63) + SourceIndex(0)
-+25>Emitted(51, 65) Source(71, 65) + SourceIndex(0)
-+26>Emitted(51, 66) Source(71, 66) + SourceIndex(0)
-+---
-+>>> console.log(nameA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameA
-+7 > )
-+8 > ;
-+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 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(53, 1) Source(73, 1) + SourceIndex(0)
-+2 >Emitted(53, 2) Source(73, 2) + SourceIndex(0)
-+---
-+>>>for ({ name: nameA, skill: skillA } = getRobot(), i = 0; i < 1; i++) {
-+1->
-+2 >^^^^^
-+3 > ^^
-+4 > ^^^^
-+5 > ^^
-+6 > ^^^^^
-+7 > ^^
-+8 > ^^^^^
-+9 > ^^
-+10> ^^^^^^
-+11> ^^
-+12> ^^^
-+13> ^^^^^^^^
-+14> ^^
-+15> ^^
-+16> ^
-+17> ^^^
-+18> ^
-+19> ^^
-+20> ^
-+21> ^^^
-+22> ^
- 23> ^^
- 24> ^
--1->
-- >
--2 >for ({
--3 > name
--4 > , skill } =
--5 > robot
--6 >
--7 > ,
--8 > skill
--9 > } =
--10> robot
--11>
--12> } = robot,
--13> i
--14> =
--15> 0
--16> ;
--17> i
--18> <
--19> 1
--20> ;
--21> i
--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)
-----
-->>> console.log(nameA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(71, 1) Source(93, 1) + SourceIndex(0)
--2 >Emitted(71, 2) Source(93, 2) + SourceIndex(0)
-----
-->>>for (_p = getRobot(), name = _p.name, skill = _p.skill, i = 0; i < 1; i++) {
--1->
--2 >^^^^^
--3 > ^^^^^
--4 > ^^^^^^^^
--5 > ^^
--6 > ^^
--7 > ^^^^
--8 > ^^^^^^^^^^
--9 > ^^
--10> ^^^^^
--11> ^^^^^^^^^^^
--12> ^^
--13> ^
--14> ^^^
--15> ^
--16> ^^
--17> ^
--18> ^^^
--19> ^
--20> ^^
--21> ^
--22> ^^
--23> ^^
--24> ^
--1->
-- >
--2 >for (
--3 > { name, skill } =
--4 > getRobot
--5 > ()
--6 >
--7 > name
--8 >
--9 > ,
--10> skill
--11>
--12> } = getRobot(),
--13> i
--14> =
--15> 0
--16> ;
--17> i
--18> <
--19> 1
--20> ;
--21> i
--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)
-----
-->>> console.log(nameA);
--1 >^^^^
--2 > ^^^^^^^
--3 > ^
--4 > ^^^
--5 > ^
--6 > ^^^^^
--7 > ^
--8 > ^
--1 >
-- >
--2 > console
--3 > .
--4 > log
--5 > (
--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 >
--2 >^
--3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
--1 >
-- >
--2 >}
--1 >Emitted(74, 1) Source(96, 1) + SourceIndex(0)
--2 >Emitted(74, 2) Source(96, 2) + SourceIndex(0)
-----
-->>>for (_q = { name: "trimmer", skill: "trimming" }, name = _q.name, skill = _q.skill, i = 0; i < 1; i++) {
--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> ^^
-+25> ^^
-+26> ^^
-+27> ^
-+1->
-+ >
-+2 >for (
-+3 > {
-+4 > name
-+5 > :
-+6 > nameA
-+7 > ,
-+8 > skill
-+9 > :
-+10> skillA
-+11> }
-+12> =
-+13> getRobot
-+14> ()
-+15> ,
-+16> i
-+17> =
-+18> 0
-+19> ;
-+20> i
-+21> <
-+22> 1
-+23> ;
-+24> i
-+25> ++
-+26> )
-+27> {
-+1->Emitted(54, 1) Source(74, 1) + SourceIndex(0)
-+2 >Emitted(54, 6) Source(74, 6) + SourceIndex(0)
-+3 >Emitted(54, 8) Source(74, 8) + SourceIndex(0)
-+4 >Emitted(54, 12) Source(74, 12) + SourceIndex(0)
-+5 >Emitted(54, 14) Source(74, 14) + SourceIndex(0)
-+6 >Emitted(54, 19) Source(74, 19) + SourceIndex(0)
-+7 >Emitted(54, 21) Source(74, 21) + SourceIndex(0)
-+8 >Emitted(54, 26) Source(74, 26) + SourceIndex(0)
-+9 >Emitted(54, 28) Source(74, 28) + SourceIndex(0)
-+10>Emitted(54, 34) Source(74, 34) + SourceIndex(0)
-+11>Emitted(54, 36) Source(74, 36) + SourceIndex(0)
-+12>Emitted(54, 39) Source(74, 39) + SourceIndex(0)
-+13>Emitted(54, 47) Source(74, 47) + SourceIndex(0)
-+14>Emitted(54, 49) Source(74, 49) + SourceIndex(0)
-+15>Emitted(54, 51) Source(74, 51) + SourceIndex(0)
-+16>Emitted(54, 52) Source(74, 52) + SourceIndex(0)
-+17>Emitted(54, 55) Source(74, 55) + SourceIndex(0)
-+18>Emitted(54, 56) Source(74, 56) + SourceIndex(0)
-+19>Emitted(54, 58) Source(74, 58) + SourceIndex(0)
-+20>Emitted(54, 59) Source(74, 59) + SourceIndex(0)
-+21>Emitted(54, 62) Source(74, 62) + SourceIndex(0)
-+22>Emitted(54, 63) Source(74, 63) + SourceIndex(0)
-+23>Emitted(54, 65) Source(74, 65) + SourceIndex(0)
-+24>Emitted(54, 66) Source(74, 66) + SourceIndex(0)
-+25>Emitted(54, 68) Source(74, 68) + SourceIndex(0)
-+26>Emitted(54, 70) Source(74, 70) + SourceIndex(0)
-+27>Emitted(54, 71) Source(74, 71) + SourceIndex(0)
-+---
-+>>> console.log(nameA);
-+1 >^^^^
-+2 > ^^^^^^^
-+3 > ^
-+4 > ^^^
-+5 > ^
-+6 > ^^^^^
-+7 > ^
-+8 > ^
-+1 >
-+ >
-+2 > console
-+3 > .
-+4 > log
-+5 > (
-+6 > nameA
-+7 > )
-+8 > ;
-+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 >
-+2 >^
-+3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-+1 >
-+ >
-+2 >}
-+1 >Emitted(56, 1) Source(76, 1) + SourceIndex(0)
-+2 >Emitted(56, 2) Source(76, 2) + SourceIndex(0)
-+---
-+>>>for ({ name: nameA, skill: skillA } = { name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
-+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> ^
-+1->
-+ >
-+2 >for (
-+3 > {
-+4 > name
-+5 > :
-+6 > nameA
-+7 > ,
-+8 > skill
-+9 > :
-+10> skillA
-+11> }
-+12> =