diff --git a/tests/baselines/reference/ExportClassWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.js b/tests/baselines/reference/ExportClassWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.js
index de8e08843a2..ec0ed5494a4 100644
--- a/tests/baselines/reference/ExportClassWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.js
+++ b/tests/baselines/reference/ExportClassWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.js
@@ -38,8 +38,7 @@ var A;
var Point3d = (function (_super) {
__extends(Point3d, _super);
function Point3d() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Point3d;
}(Point));
diff --git a/tests/baselines/reference/ExportClassWithInaccessibleTypeInTypeParameterConstraint.js b/tests/baselines/reference/ExportClassWithInaccessibleTypeInTypeParameterConstraint.js
index 58c7bd4c3c1..bae9593fb98 100644
--- a/tests/baselines/reference/ExportClassWithInaccessibleTypeInTypeParameterConstraint.js
+++ b/tests/baselines/reference/ExportClassWithInaccessibleTypeInTypeParameterConstraint.js
@@ -41,8 +41,7 @@ var A;
var Point3d = (function (_super) {
__extends(Point3d, _super);
function Point3d() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Point3d;
}(Point));
diff --git a/tests/baselines/reference/abstractClassInLocalScope.js b/tests/baselines/reference/abstractClassInLocalScope.js
index 04407cfc08c..db5144be399 100644
--- a/tests/baselines/reference/abstractClassInLocalScope.js
+++ b/tests/baselines/reference/abstractClassInLocalScope.js
@@ -22,8 +22,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/abstractClassInLocalScopeIsAbstract.js b/tests/baselines/reference/abstractClassInLocalScopeIsAbstract.js
index 09109c40675..1b3e11cfa32 100644
--- a/tests/baselines/reference/abstractClassInLocalScopeIsAbstract.js
+++ b/tests/baselines/reference/abstractClassInLocalScopeIsAbstract.js
@@ -22,8 +22,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/abstractPropertyNegative.js b/tests/baselines/reference/abstractPropertyNegative.js
index 5a4c24fe233..bebf9026a0e 100644
--- a/tests/baselines/reference/abstractPropertyNegative.js
+++ b/tests/baselines/reference/abstractPropertyNegative.js
@@ -92,8 +92,7 @@ var WrongTypeAccessor = (function () {
var WrongTypeAccessorImpl = (function (_super) {
__extends(WrongTypeAccessorImpl, _super);
function WrongTypeAccessorImpl() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(WrongTypeAccessorImpl.prototype, "num", {
get: function () { return "nope, wrong"; },
diff --git a/tests/baselines/reference/accessors_spec_section-4.5_inference.js b/tests/baselines/reference/accessors_spec_section-4.5_inference.js
index 860d74f5204..dbaeec1f688 100644
--- a/tests/baselines/reference/accessors_spec_section-4.5_inference.js
+++ b/tests/baselines/reference/accessors_spec_section-4.5_inference.js
@@ -38,8 +38,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/aliasUsageInAccessorsOfClass.js b/tests/baselines/reference/aliasUsageInAccessorsOfClass.js
index d717da94d38..8b60ed8e76d 100644
--- a/tests/baselines/reference/aliasUsageInAccessorsOfClass.js
+++ b/tests/baselines/reference/aliasUsageInAccessorsOfClass.js
@@ -46,8 +46,7 @@ var Backbone = require("./aliasUsage1_backbone");
var VisualizationModel = (function (_super) {
__extends(VisualizationModel, _super);
function VisualizationModel() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return VisualizationModel;
}(Backbone.Model));
diff --git a/tests/baselines/reference/aliasUsageInArray.js b/tests/baselines/reference/aliasUsageInArray.js
index f08363776cc..bf573aa9abb 100644
--- a/tests/baselines/reference/aliasUsageInArray.js
+++ b/tests/baselines/reference/aliasUsageInArray.js
@@ -40,8 +40,7 @@ var Backbone = require("./aliasUsageInArray_backbone");
var VisualizationModel = (function (_super) {
__extends(VisualizationModel, _super);
function VisualizationModel() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return VisualizationModel;
}(Backbone.Model));
diff --git a/tests/baselines/reference/aliasUsageInFunctionExpression.js b/tests/baselines/reference/aliasUsageInFunctionExpression.js
index 06e3e266ee9..49bdd493aac 100644
--- a/tests/baselines/reference/aliasUsageInFunctionExpression.js
+++ b/tests/baselines/reference/aliasUsageInFunctionExpression.js
@@ -39,8 +39,7 @@ var Backbone = require("./aliasUsageInFunctionExpression_backbone");
var VisualizationModel = (function (_super) {
__extends(VisualizationModel, _super);
function VisualizationModel() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return VisualizationModel;
}(Backbone.Model));
diff --git a/tests/baselines/reference/aliasUsageInGenericFunction.js b/tests/baselines/reference/aliasUsageInGenericFunction.js
index 96121364837..dc3a8a88bab 100644
--- a/tests/baselines/reference/aliasUsageInGenericFunction.js
+++ b/tests/baselines/reference/aliasUsageInGenericFunction.js
@@ -43,8 +43,7 @@ var Backbone = require("./aliasUsageInGenericFunction_backbone");
var VisualizationModel = (function (_super) {
__extends(VisualizationModel, _super);
function VisualizationModel() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return VisualizationModel;
}(Backbone.Model));
diff --git a/tests/baselines/reference/aliasUsageInIndexerOfClass.js b/tests/baselines/reference/aliasUsageInIndexerOfClass.js
index bbfe2952594..cb7ad3027ca 100644
--- a/tests/baselines/reference/aliasUsageInIndexerOfClass.js
+++ b/tests/baselines/reference/aliasUsageInIndexerOfClass.js
@@ -45,8 +45,7 @@ var Backbone = require("./aliasUsageInIndexerOfClass_backbone");
var VisualizationModel = (function (_super) {
__extends(VisualizationModel, _super);
function VisualizationModel() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return VisualizationModel;
}(Backbone.Model));
diff --git a/tests/baselines/reference/aliasUsageInObjectLiteral.js b/tests/baselines/reference/aliasUsageInObjectLiteral.js
index 3b036f52a9d..81e3e621e85 100644
--- a/tests/baselines/reference/aliasUsageInObjectLiteral.js
+++ b/tests/baselines/reference/aliasUsageInObjectLiteral.js
@@ -40,8 +40,7 @@ var Backbone = require("./aliasUsageInObjectLiteral_backbone");
var VisualizationModel = (function (_super) {
__extends(VisualizationModel, _super);
function VisualizationModel() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return VisualizationModel;
}(Backbone.Model));
diff --git a/tests/baselines/reference/aliasUsageInOrExpression.js b/tests/baselines/reference/aliasUsageInOrExpression.js
index 4167294e5f2..4faa41dd034 100644
--- a/tests/baselines/reference/aliasUsageInOrExpression.js
+++ b/tests/baselines/reference/aliasUsageInOrExpression.js
@@ -43,8 +43,7 @@ var Backbone = require("./aliasUsageInOrExpression_backbone");
var VisualizationModel = (function (_super) {
__extends(VisualizationModel, _super);
function VisualizationModel() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return VisualizationModel;
}(Backbone.Model));
diff --git a/tests/baselines/reference/aliasUsageInTypeArgumentOfExtendsClause.js b/tests/baselines/reference/aliasUsageInTypeArgumentOfExtendsClause.js
index 91c6ca2c53f..2cf4aefab6c 100644
--- a/tests/baselines/reference/aliasUsageInTypeArgumentOfExtendsClause.js
+++ b/tests/baselines/reference/aliasUsageInTypeArgumentOfExtendsClause.js
@@ -43,8 +43,7 @@ var Backbone = require("./aliasUsageInTypeArgumentOfExtendsClause_backbone");
var VisualizationModel = (function (_super) {
__extends(VisualizationModel, _super);
function VisualizationModel() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return VisualizationModel;
}(Backbone.Model));
diff --git a/tests/baselines/reference/aliasUsageInVarAssignment.js b/tests/baselines/reference/aliasUsageInVarAssignment.js
index 0ba5cbbc8d0..80bb2dca20e 100644
--- a/tests/baselines/reference/aliasUsageInVarAssignment.js
+++ b/tests/baselines/reference/aliasUsageInVarAssignment.js
@@ -39,8 +39,7 @@ var Backbone = require("./aliasUsageInVarAssignment_backbone");
var VisualizationModel = (function (_super) {
__extends(VisualizationModel, _super);
function VisualizationModel() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return VisualizationModel;
}(Backbone.Model));
diff --git a/tests/baselines/reference/ambiguousOverloadResolution.js b/tests/baselines/reference/ambiguousOverloadResolution.js
index 27e6dd714ba..01002792921 100644
--- a/tests/baselines/reference/ambiguousOverloadResolution.js
+++ b/tests/baselines/reference/ambiguousOverloadResolution.js
@@ -22,8 +22,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/apparentTypeSubtyping.js b/tests/baselines/reference/apparentTypeSubtyping.js
index 914679c7de2..6ca9d343a72 100644
--- a/tests/baselines/reference/apparentTypeSubtyping.js
+++ b/tests/baselines/reference/apparentTypeSubtyping.js
@@ -38,8 +38,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
@@ -52,8 +51,7 @@ var Base2 = (function () {
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base2));
diff --git a/tests/baselines/reference/apparentTypeSupertype.js b/tests/baselines/reference/apparentTypeSupertype.js
index 01fdb92a24e..c6d3378872e 100644
--- a/tests/baselines/reference/apparentTypeSupertype.js
+++ b/tests/baselines/reference/apparentTypeSupertype.js
@@ -28,8 +28,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/arrayAssignmentTest1.js b/tests/baselines/reference/arrayAssignmentTest1.js
index 911df30a423..a887203cd5e 100644
--- a/tests/baselines/reference/arrayAssignmentTest1.js
+++ b/tests/baselines/reference/arrayAssignmentTest1.js
@@ -101,8 +101,7 @@ var C1 = (function () {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C2.prototype.C2M1 = function () { return null; };
return C2;
diff --git a/tests/baselines/reference/arrayAssignmentTest2.js b/tests/baselines/reference/arrayAssignmentTest2.js
index aff812247a2..d82dedff29d 100644
--- a/tests/baselines/reference/arrayAssignmentTest2.js
+++ b/tests/baselines/reference/arrayAssignmentTest2.js
@@ -75,8 +75,7 @@ var C1 = (function () {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C2.prototype.C2M1 = function () { return null; };
return C2;
diff --git a/tests/baselines/reference/arrayBestCommonTypes.js b/tests/baselines/reference/arrayBestCommonTypes.js
index 7df39836542..b7ddaa5d6da 100644
--- a/tests/baselines/reference/arrayBestCommonTypes.js
+++ b/tests/baselines/reference/arrayBestCommonTypes.js
@@ -128,8 +128,7 @@ var EmptyTypes;
var derived = (function (_super) {
__extends(derived, _super);
function derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return derived;
}(base));
@@ -188,8 +187,7 @@ var NonEmptyTypes;
var derived = (function (_super) {
__extends(derived, _super);
function derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return derived;
}(base));
diff --git a/tests/baselines/reference/arrayLiteralTypeInference.js b/tests/baselines/reference/arrayLiteralTypeInference.js
index 81155544cab..919d3a5e922 100644
--- a/tests/baselines/reference/arrayLiteralTypeInference.js
+++ b/tests/baselines/reference/arrayLiteralTypeInference.js
@@ -65,16 +65,14 @@ var Action = (function () {
var ActionA = (function (_super) {
__extends(ActionA, _super);
function ActionA() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return ActionA;
}(Action));
var ActionB = (function (_super) {
__extends(ActionB, _super);
function ActionB() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return ActionB;
}(Action));
diff --git a/tests/baselines/reference/arrayLiterals.js b/tests/baselines/reference/arrayLiterals.js
index 53066c70391..530cdedec73 100644
--- a/tests/baselines/reference/arrayLiterals.js
+++ b/tests/baselines/reference/arrayLiterals.js
@@ -70,8 +70,7 @@ var Base = (function () {
var Derived1 = (function (_super) {
__extends(Derived1, _super);
function Derived1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived1;
}(Base));
@@ -79,8 +78,7 @@ var Derived1 = (function (_super) {
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base));
diff --git a/tests/baselines/reference/arrayLiteralsWithRecursiveGenerics.js b/tests/baselines/reference/arrayLiteralsWithRecursiveGenerics.js
index 3c5f4365053..c0f320ac1e5 100644
--- a/tests/baselines/reference/arrayLiteralsWithRecursiveGenerics.js
+++ b/tests/baselines/reference/arrayLiteralsWithRecursiveGenerics.js
@@ -39,8 +39,7 @@ var List = (function () {
var DerivedList = (function (_super) {
__extends(DerivedList, _super);
function DerivedList() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return DerivedList;
}(List));
diff --git a/tests/baselines/reference/arrayOfSubtypeIsAssignableToReadonlyArray.js b/tests/baselines/reference/arrayOfSubtypeIsAssignableToReadonlyArray.js
index aba7a7cbc8c..d1d75e8041c 100644
--- a/tests/baselines/reference/arrayOfSubtypeIsAssignableToReadonlyArray.js
+++ b/tests/baselines/reference/arrayOfSubtypeIsAssignableToReadonlyArray.js
@@ -33,16 +33,14 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(Array));
diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures3.js b/tests/baselines/reference/assignmentCompatWithCallSignatures3.js
index 80a9aa9cf14..c5a1f415437 100644
--- a/tests/baselines/reference/assignmentCompatWithCallSignatures3.js
+++ b/tests/baselines/reference/assignmentCompatWithCallSignatures3.js
@@ -114,24 +114,21 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures4.js b/tests/baselines/reference/assignmentCompatWithCallSignatures4.js
index 5932aec049a..58faf663ea8 100644
--- a/tests/baselines/reference/assignmentCompatWithCallSignatures4.js
+++ b/tests/baselines/reference/assignmentCompatWithCallSignatures4.js
@@ -115,24 +115,21 @@ var Errors;
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures5.js b/tests/baselines/reference/assignmentCompatWithCallSignatures5.js
index 7ea579d87ed..87506cad08f 100644
--- a/tests/baselines/reference/assignmentCompatWithCallSignatures5.js
+++ b/tests/baselines/reference/assignmentCompatWithCallSignatures5.js
@@ -80,24 +80,21 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures6.js b/tests/baselines/reference/assignmentCompatWithCallSignatures6.js
index 0fb5867836c..2c05d5960b2 100644
--- a/tests/baselines/reference/assignmentCompatWithCallSignatures6.js
+++ b/tests/baselines/reference/assignmentCompatWithCallSignatures6.js
@@ -57,24 +57,21 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignatures3.js b/tests/baselines/reference/assignmentCompatWithConstructSignatures3.js
index b933425ffb0..76ad53e4e05 100644
--- a/tests/baselines/reference/assignmentCompatWithConstructSignatures3.js
+++ b/tests/baselines/reference/assignmentCompatWithConstructSignatures3.js
@@ -114,24 +114,21 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignatures4.js b/tests/baselines/reference/assignmentCompatWithConstructSignatures4.js
index e407c3acdb0..f516df153c6 100644
--- a/tests/baselines/reference/assignmentCompatWithConstructSignatures4.js
+++ b/tests/baselines/reference/assignmentCompatWithConstructSignatures4.js
@@ -115,24 +115,21 @@ var Errors;
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignatures5.js b/tests/baselines/reference/assignmentCompatWithConstructSignatures5.js
index 59c816dcc5c..ef7de7f011b 100644
--- a/tests/baselines/reference/assignmentCompatWithConstructSignatures5.js
+++ b/tests/baselines/reference/assignmentCompatWithConstructSignatures5.js
@@ -80,24 +80,21 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignatures6.js b/tests/baselines/reference/assignmentCompatWithConstructSignatures6.js
index b3b349ebc06..3d58ae707a5 100644
--- a/tests/baselines/reference/assignmentCompatWithConstructSignatures6.js
+++ b/tests/baselines/reference/assignmentCompatWithConstructSignatures6.js
@@ -57,24 +57,21 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/assignmentCompatWithNumericIndexer.js b/tests/baselines/reference/assignmentCompatWithNumericIndexer.js
index 6e14fb66ecd..37160506683 100644
--- a/tests/baselines/reference/assignmentCompatWithNumericIndexer.js
+++ b/tests/baselines/reference/assignmentCompatWithNumericIndexer.js
@@ -72,8 +72,7 @@ var Generics;
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/assignmentCompatWithNumericIndexer3.js b/tests/baselines/reference/assignmentCompatWithNumericIndexer3.js
index 3b32f327b07..2e6ecd72741 100644
--- a/tests/baselines/reference/assignmentCompatWithNumericIndexer3.js
+++ b/tests/baselines/reference/assignmentCompatWithNumericIndexer3.js
@@ -59,8 +59,7 @@ b = a; // ok
var B2 = (function (_super) {
__extends(B2, _super);
function B2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B2;
}(A));
diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembers4.js b/tests/baselines/reference/assignmentCompatWithObjectMembers4.js
index ce80efc3c7a..2cc2510c8da 100644
--- a/tests/baselines/reference/assignmentCompatWithObjectMembers4.js
+++ b/tests/baselines/reference/assignmentCompatWithObjectMembers4.js
@@ -108,16 +108,14 @@ var OnlyDerived;
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base));
@@ -169,16 +167,14 @@ var WithBase;
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base));
diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality.js b/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality.js
index d95eb43f0e5..3b12701b3d9 100644
--- a/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality.js
+++ b/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality.js
@@ -103,16 +103,14 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality2.js b/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality2.js
index f4c401979cf..f965d18e2ce 100644
--- a/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality2.js
+++ b/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality2.js
@@ -105,16 +105,14 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
diff --git a/tests/baselines/reference/assignmentCompatWithStringIndexer.js b/tests/baselines/reference/assignmentCompatWithStringIndexer.js
index 54839da4b5a..8d081c90794 100644
--- a/tests/baselines/reference/assignmentCompatWithStringIndexer.js
+++ b/tests/baselines/reference/assignmentCompatWithStringIndexer.js
@@ -82,8 +82,7 @@ var Generics;
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
@@ -94,8 +93,7 @@ var Generics;
var B2 = (function (_super) {
__extends(B2, _super);
function B2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B2;
}(A));
diff --git a/tests/baselines/reference/asyncImportedPromise_es5.js b/tests/baselines/reference/asyncImportedPromise_es5.js
index 396f380db3e..76ffbc833aa 100644
--- a/tests/baselines/reference/asyncImportedPromise_es5.js
+++ b/tests/baselines/reference/asyncImportedPromise_es5.js
@@ -19,8 +19,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var Task = (function (_super) {
__extends(Task, _super);
function Task() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Task;
}(Promise));
diff --git a/tests/baselines/reference/asyncMethodWithSuper_es5.js b/tests/baselines/reference/asyncMethodWithSuper_es5.js
index 1bada582b03..9ceff6bab4e 100644
--- a/tests/baselines/reference/asyncMethodWithSuper_es5.js
+++ b/tests/baselines/reference/asyncMethodWithSuper_es5.js
@@ -61,8 +61,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
// async method with only call/get on 'super' does not require a binding
B.prototype.simple = function () {
diff --git a/tests/baselines/reference/asyncQualifiedReturnType_es5.js b/tests/baselines/reference/asyncQualifiedReturnType_es5.js
index 0081a30d930..dd54f6ee833 100644
--- a/tests/baselines/reference/asyncQualifiedReturnType_es5.js
+++ b/tests/baselines/reference/asyncQualifiedReturnType_es5.js
@@ -13,8 +13,7 @@ var X;
var MyPromise = (function (_super) {
__extends(MyPromise, _super);
function MyPromise() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return MyPromise;
}(Promise));
diff --git a/tests/baselines/reference/awaitClassExpression_es5.js b/tests/baselines/reference/awaitClassExpression_es5.js
index f81b5800929..b207ba08f8d 100644
--- a/tests/baselines/reference/awaitClassExpression_es5.js
+++ b/tests/baselines/reference/awaitClassExpression_es5.js
@@ -17,8 +17,7 @@ function func() {
_a = function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
};
diff --git a/tests/baselines/reference/baseIndexSignatureResolution.js b/tests/baselines/reference/baseIndexSignatureResolution.js
index 6629ef35dda..7e922cf83b2 100644
--- a/tests/baselines/reference/baseIndexSignatureResolution.js
+++ b/tests/baselines/reference/baseIndexSignatureResolution.js
@@ -38,8 +38,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/baseTypeOrderChecking.js b/tests/baselines/reference/baseTypeOrderChecking.js
index 187a354553d..ec96b80a999 100644
--- a/tests/baselines/reference/baseTypeOrderChecking.js
+++ b/tests/baselines/reference/baseTypeOrderChecking.js
@@ -51,8 +51,7 @@ var Class1 = (function () {
var Class2 = (function (_super) {
__extends(Class2, _super);
function Class2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Class2;
}(Class1));
@@ -64,8 +63,7 @@ var Class3 = (function () {
var Class4 = (function (_super) {
__extends(Class4, _super);
function Class4() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Class4;
}(Class3));
diff --git a/tests/baselines/reference/baseTypeWrappingInstantiationChain.js b/tests/baselines/reference/baseTypeWrappingInstantiationChain.js
index bbf57046a97..5f8dcbd0e10 100644
--- a/tests/baselines/reference/baseTypeWrappingInstantiationChain.js
+++ b/tests/baselines/reference/baseTypeWrappingInstantiationChain.js
@@ -41,8 +41,7 @@ var CBaseBase = (function () {
var CBase = (function (_super) {
__extends(CBase, _super);
function CBase() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return CBase;
}(CBaseBase));
@@ -60,8 +59,7 @@ var Wrapper = (function () {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C.prototype.works = function () {
new CBaseBase(this);
diff --git a/tests/baselines/reference/bestCommonTypeOfConditionalExpressions.js b/tests/baselines/reference/bestCommonTypeOfConditionalExpressions.js
index a9e38f0520c..6d0f19dd37d 100644
--- a/tests/baselines/reference/bestCommonTypeOfConditionalExpressions.js
+++ b/tests/baselines/reference/bestCommonTypeOfConditionalExpressions.js
@@ -44,16 +44,14 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base));
diff --git a/tests/baselines/reference/bestCommonTypeOfConditionalExpressions2.js b/tests/baselines/reference/bestCommonTypeOfConditionalExpressions2.js
index 9af685812c2..2e2d0bcb1e2 100644
--- a/tests/baselines/reference/bestCommonTypeOfConditionalExpressions2.js
+++ b/tests/baselines/reference/bestCommonTypeOfConditionalExpressions2.js
@@ -40,16 +40,14 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base));
diff --git a/tests/baselines/reference/bestCommonTypeOfTuple2.js b/tests/baselines/reference/bestCommonTypeOfTuple2.js
index d71b6f17abf..928909f4c38 100644
--- a/tests/baselines/reference/bestCommonTypeOfTuple2.js
+++ b/tests/baselines/reference/bestCommonTypeOfTuple2.js
@@ -46,8 +46,7 @@ var E = (function () {
var F = (function (_super) {
__extends(F, _super);
function F() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return F;
}(C));
diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance2.js b/tests/baselines/reference/callSignatureAssignabilityInInheritance2.js
index 4fd0dc2cefc..0ae7648c7f9 100644
--- a/tests/baselines/reference/callSignatureAssignabilityInInheritance2.js
+++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance2.js
@@ -84,24 +84,21 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance3.js b/tests/baselines/reference/callSignatureAssignabilityInInheritance3.js
index 710725f145b..7a7791280ad 100644
--- a/tests/baselines/reference/callSignatureAssignabilityInInheritance3.js
+++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance3.js
@@ -131,24 +131,21 @@ var Errors;
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance4.js b/tests/baselines/reference/callSignatureAssignabilityInInheritance4.js
index 154aee0693b..19d66ce8d46 100644
--- a/tests/baselines/reference/callSignatureAssignabilityInInheritance4.js
+++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance4.js
@@ -64,24 +64,21 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance5.js b/tests/baselines/reference/callSignatureAssignabilityInInheritance5.js
index 7359d330cd6..1c53de5d26e 100644
--- a/tests/baselines/reference/callSignatureAssignabilityInInheritance5.js
+++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance5.js
@@ -64,24 +64,21 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance6.js b/tests/baselines/reference/callSignatureAssignabilityInInheritance6.js
index 594d2dcafb7..c42e36389ca 100644
--- a/tests/baselines/reference/callSignatureAssignabilityInInheritance6.js
+++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance6.js
@@ -67,24 +67,21 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/castingTuple.js b/tests/baselines/reference/castingTuple.js
index 426889df7de..f0178dcbbf0 100644
--- a/tests/baselines/reference/castingTuple.js
+++ b/tests/baselines/reference/castingTuple.js
@@ -59,8 +59,7 @@ var D = (function () {
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return E;
}(A));
@@ -68,8 +67,7 @@ var E = (function (_super) {
var F = (function (_super) {
__extends(F, _super);
function F() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return F;
}(A));
diff --git a/tests/baselines/reference/chainedAssignment3.js b/tests/baselines/reference/chainedAssignment3.js
index 71b345a311c..3857867043c 100644
--- a/tests/baselines/reference/chainedAssignment3.js
+++ b/tests/baselines/reference/chainedAssignment3.js
@@ -36,8 +36,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.js b/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.js
index 7c428751b28..26d341e1f6a 100644
--- a/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.js
+++ b/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.js
@@ -42,16 +42,14 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(B));
diff --git a/tests/baselines/reference/circularImportAlias.js b/tests/baselines/reference/circularImportAlias.js
index 9d0e7648dcb..6fe5e604e57 100644
--- a/tests/baselines/reference/circularImportAlias.js
+++ b/tests/baselines/reference/circularImportAlias.js
@@ -32,8 +32,7 @@ var B;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(B.a.C));
diff --git a/tests/baselines/reference/circularTypeofWithFunctionModule.js b/tests/baselines/reference/circularTypeofWithFunctionModule.js
index 811e86b21ca..78e9d3f34e7 100644
--- a/tests/baselines/reference/circularTypeofWithFunctionModule.js
+++ b/tests/baselines/reference/circularTypeofWithFunctionModule.js
@@ -32,8 +32,7 @@ var maker;
var Bar = (function (_super) {
__extends(Bar, _super);
function Bar() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar;
}(Foo));
diff --git a/tests/baselines/reference/classAbstractConstructorAssignability.js b/tests/baselines/reference/classAbstractConstructorAssignability.js
index 8738b43bb3f..35d9e75884f 100644
--- a/tests/baselines/reference/classAbstractConstructorAssignability.js
+++ b/tests/baselines/reference/classAbstractConstructorAssignability.js
@@ -28,16 +28,14 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(B));
diff --git a/tests/baselines/reference/classAbstractCrashedOnce.js b/tests/baselines/reference/classAbstractCrashedOnce.js
index 02d31377de8..fe23e60c94f 100644
--- a/tests/baselines/reference/classAbstractCrashedOnce.js
+++ b/tests/baselines/reference/classAbstractCrashedOnce.js
@@ -24,8 +24,7 @@ var foo = (function () {
var bar = (function (_super) {
__extends(bar, _super);
function bar() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
bar.prototype.test = function () {
this.
diff --git a/tests/baselines/reference/classAbstractExtends.js b/tests/baselines/reference/classAbstractExtends.js
index 8ac2cc9de3d..e899cb82d6d 100644
--- a/tests/baselines/reference/classAbstractExtends.js
+++ b/tests/baselines/reference/classAbstractExtends.js
@@ -31,32 +31,28 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(B));
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(B));
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
E.prototype.bar = function () { };
return E;
diff --git a/tests/baselines/reference/classAbstractFactoryFunction.js b/tests/baselines/reference/classAbstractFactoryFunction.js
index 4f612e3d9c6..50e232a9fca 100644
--- a/tests/baselines/reference/classAbstractFactoryFunction.js
+++ b/tests/baselines/reference/classAbstractFactoryFunction.js
@@ -31,8 +31,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/classAbstractGeneric.js b/tests/baselines/reference/classAbstractGeneric.js
index b76117fddfc..96df8f5f19e 100644
--- a/tests/baselines/reference/classAbstractGeneric.js
+++ b/tests/baselines/reference/classAbstractGeneric.js
@@ -39,32 +39,28 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(A)); // error -- inherits abstract methods
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(A)); // error -- inherits abstract methods
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
E.prototype.foo = function () { return this.t; };
return E;
@@ -72,8 +68,7 @@ var E = (function (_super) {
var F = (function (_super) {
__extends(F, _super);
function F() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
F.prototype.bar = function (t) { };
return F;
@@ -81,8 +76,7 @@ var F = (function (_super) {
var G = (function (_super) {
__extends(G, _super);
function G() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
G.prototype.foo = function () { return this.t; };
G.prototype.bar = function (t) { };
diff --git a/tests/baselines/reference/classAbstractInAModule.js b/tests/baselines/reference/classAbstractInAModule.js
index aa66ba540a8..c6a9e206bcc 100644
--- a/tests/baselines/reference/classAbstractInAModule.js
+++ b/tests/baselines/reference/classAbstractInAModule.js
@@ -24,8 +24,7 @@ var M;
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/classAbstractInheritance.js b/tests/baselines/reference/classAbstractInheritance.js
index 0bd5dab31a9..297a80dd99c 100644
--- a/tests/baselines/reference/classAbstractInheritance.js
+++ b/tests/baselines/reference/classAbstractInheritance.js
@@ -35,16 +35,14 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(A));
@@ -56,48 +54,42 @@ var AA = (function () {
var BB = (function (_super) {
__extends(BB, _super);
function BB() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return BB;
}(AA));
var CC = (function (_super) {
__extends(CC, _super);
function CC() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return CC;
}(AA));
var DD = (function (_super) {
__extends(DD, _super);
function DD() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return DD;
}(BB));
var EE = (function (_super) {
__extends(EE, _super);
function EE() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return EE;
}(BB));
var FF = (function (_super) {
__extends(FF, _super);
function FF() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return FF;
}(CC));
var GG = (function (_super) {
__extends(GG, _super);
function GG() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return GG;
}(CC));
diff --git a/tests/baselines/reference/classAbstractInstantiations1.js b/tests/baselines/reference/classAbstractInstantiations1.js
index aef8f58fab2..5abbb9c1baa 100644
--- a/tests/baselines/reference/classAbstractInstantiations1.js
+++ b/tests/baselines/reference/classAbstractInstantiations1.js
@@ -41,16 +41,14 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(B));
diff --git a/tests/baselines/reference/classAbstractInstantiations2.js b/tests/baselines/reference/classAbstractInstantiations2.js
index 2e6cd648dc0..dea4c744ae0 100644
--- a/tests/baselines/reference/classAbstractInstantiations2.js
+++ b/tests/baselines/reference/classAbstractInstantiations2.js
@@ -82,24 +82,21 @@ new x; // okay -- undefined behavior at runtime
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(B)); // error -- not declared abstract
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(B)); // okay
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
E.prototype.bar = function () { return 1; };
return E;
@@ -107,8 +104,7 @@ var E = (function (_super) {
var F = (function (_super) {
__extends(F, _super);
function F() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
F.prototype.bar = function () { return 2; };
return F;
diff --git a/tests/baselines/reference/classAbstractOverrideWithAbstract.js b/tests/baselines/reference/classAbstractOverrideWithAbstract.js
index 5cb07934658..4ecebdf7b32 100644
--- a/tests/baselines/reference/classAbstractOverrideWithAbstract.js
+++ b/tests/baselines/reference/classAbstractOverrideWithAbstract.js
@@ -38,8 +38,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
@@ -52,8 +51,7 @@ var AA = (function () {
var BB = (function (_super) {
__extends(BB, _super);
function BB() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
BB.prototype.bar = function () { };
return BB;
@@ -61,16 +59,14 @@ var BB = (function (_super) {
var CC = (function (_super) {
__extends(CC, _super);
function CC() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return CC;
}(BB)); // error
var DD = (function (_super) {
__extends(DD, _super);
function DD() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
DD.prototype.foo = function () { };
return DD;
diff --git a/tests/baselines/reference/classAbstractSuperCalls.js b/tests/baselines/reference/classAbstractSuperCalls.js
index 44b15710c73..0197f48a429 100644
--- a/tests/baselines/reference/classAbstractSuperCalls.js
+++ b/tests/baselines/reference/classAbstractSuperCalls.js
@@ -42,8 +42,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
B.prototype.bar = function () { _super.prototype.foo.call(this); };
B.prototype.baz = function () { return this.foo; };
@@ -52,8 +51,7 @@ var B = (function (_super) {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C.prototype.foo = function () { return 2; };
C.prototype.qux = function () { return _super.prototype.foo.call(this) || _super.prototype.foo; }; // 2 errors, foo is abstract
@@ -70,8 +68,7 @@ var AA = (function () {
var BB = (function (_super) {
__extends(BB, _super);
function BB() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return BB;
}(AA));
diff --git a/tests/baselines/reference/classAbstractUsingAbstractMethod1.js b/tests/baselines/reference/classAbstractUsingAbstractMethod1.js
index ae6b08e4bca..74b5d62aaf5 100644
--- a/tests/baselines/reference/classAbstractUsingAbstractMethod1.js
+++ b/tests/baselines/reference/classAbstractUsingAbstractMethod1.js
@@ -31,8 +31,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
B.prototype.foo = function () { return 1; };
return B;
@@ -40,8 +39,7 @@ var B = (function (_super) {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(A));
diff --git a/tests/baselines/reference/classAbstractUsingAbstractMethods2.js b/tests/baselines/reference/classAbstractUsingAbstractMethods2.js
index 9f43ee1a6b3..25cf1a307c7 100644
--- a/tests/baselines/reference/classAbstractUsingAbstractMethods2.js
+++ b/tests/baselines/reference/classAbstractUsingAbstractMethods2.js
@@ -41,24 +41,21 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(A));
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
D.prototype.foo = function () { };
return D;
@@ -66,8 +63,7 @@ var D = (function (_super) {
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
E.prototype.foo = function () { };
return E;
@@ -80,24 +76,21 @@ var AA = (function () {
var BB = (function (_super) {
__extends(BB, _super);
function BB() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return BB;
}(AA));
var CC = (function (_super) {
__extends(CC, _super);
function CC() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return CC;
}(AA));
var DD = (function (_super) {
__extends(DD, _super);
function DD() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
DD.prototype.foo = function () { };
return DD;
diff --git a/tests/baselines/reference/classConstructorAccessibility4.js b/tests/baselines/reference/classConstructorAccessibility4.js
index dfbc70de115..4772ac68d11 100644
--- a/tests/baselines/reference/classConstructorAccessibility4.js
+++ b/tests/baselines/reference/classConstructorAccessibility4.js
@@ -51,8 +51,7 @@ var A = (function () {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(A));
@@ -74,8 +73,7 @@ var D = (function () {
var F = (function (_super) {
__extends(F, _super);
function F() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return F;
}(D));
diff --git a/tests/baselines/reference/classConstructorAccessibility5.js b/tests/baselines/reference/classConstructorAccessibility5.js
index b73ecb4a92b..d658349c2a5 100644
--- a/tests/baselines/reference/classConstructorAccessibility5.js
+++ b/tests/baselines/reference/classConstructorAccessibility5.js
@@ -25,8 +25,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Derived.make = function () { new Base(); }; // ok
return Derived;
diff --git a/tests/baselines/reference/classDeclarationMergedInModuleWithContinuation.js b/tests/baselines/reference/classDeclarationMergedInModuleWithContinuation.js
index 83152355a13..c1ecad3a792 100644
--- a/tests/baselines/reference/classDeclarationMergedInModuleWithContinuation.js
+++ b/tests/baselines/reference/classDeclarationMergedInModuleWithContinuation.js
@@ -35,8 +35,7 @@ var M;
var O = (function (_super) {
__extends(O, _super);
function O() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return O;
}(M.N));
diff --git a/tests/baselines/reference/classDoesNotDependOnBaseTypes.js b/tests/baselines/reference/classDoesNotDependOnBaseTypes.js
index ef584afd6e9..076412e164d 100644
--- a/tests/baselines/reference/classDoesNotDependOnBaseTypes.js
+++ b/tests/baselines/reference/classDoesNotDependOnBaseTypes.js
@@ -31,8 +31,7 @@ var StringTreeCollectionBase = (function () {
var StringTreeCollection = (function (_super) {
__extends(StringTreeCollection, _super);
function StringTreeCollection() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return StringTreeCollection;
}(StringTreeCollectionBase));
diff --git a/tests/baselines/reference/classExpression2.js b/tests/baselines/reference/classExpression2.js
index f7405cfd38a..59b62c60cfe 100644
--- a/tests/baselines/reference/classExpression2.js
+++ b/tests/baselines/reference/classExpression2.js
@@ -16,8 +16,7 @@ var D = (function () {
var v = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(D));
diff --git a/tests/baselines/reference/classExpressionExtendingAbstractClass.js b/tests/baselines/reference/classExpressionExtendingAbstractClass.js
index 8673e48d65f..7312ab6567d 100644
--- a/tests/baselines/reference/classExpressionExtendingAbstractClass.js
+++ b/tests/baselines/reference/classExpressionExtendingAbstractClass.js
@@ -22,8 +22,7 @@ var A = (function () {
var C = (function (_super) {
__extends(class_1, _super);
function class_1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return class_1;
}(A));
diff --git a/tests/baselines/reference/classExtendingBuiltinType.js b/tests/baselines/reference/classExtendingBuiltinType.js
index 2a01c1aa8b3..4c95e3008ea 100644
--- a/tests/baselines/reference/classExtendingBuiltinType.js
+++ b/tests/baselines/reference/classExtendingBuiltinType.js
@@ -20,80 +20,70 @@ var __extends = (this && this.__extends) || function (d, b) {
var C1 = (function (_super) {
__extends(C1, _super);
function C1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C1;
}(Object));
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(Function));
var C3 = (function (_super) {
__extends(C3, _super);
function C3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C3;
}(String));
var C4 = (function (_super) {
__extends(C4, _super);
function C4() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C4;
}(Boolean));
var C5 = (function (_super) {
__extends(C5, _super);
function C5() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C5;
}(Number));
var C6 = (function (_super) {
__extends(C6, _super);
function C6() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C6;
}(Date));
var C7 = (function (_super) {
__extends(C7, _super);
function C7() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C7;
}(RegExp));
var C8 = (function (_super) {
__extends(C8, _super);
function C8() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C8;
}(Error));
var C9 = (function (_super) {
__extends(C9, _super);
function C9() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C9;
}(Array));
var C10 = (function (_super) {
__extends(C10, _super);
function C10() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C10;
}(Array));
diff --git a/tests/baselines/reference/classExtendingClass.js b/tests/baselines/reference/classExtendingClass.js
index 4218bfbea98..91e3752980c 100644
--- a/tests/baselines/reference/classExtendingClass.js
+++ b/tests/baselines/reference/classExtendingClass.js
@@ -47,8 +47,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
@@ -67,8 +66,7 @@ var C2 = (function () {
var D2 = (function (_super) {
__extends(D2, _super);
function D2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D2;
}(C2));
diff --git a/tests/baselines/reference/classExtendingClassLikeType.js b/tests/baselines/reference/classExtendingClassLikeType.js
index fdda53a381f..bfc10c23563 100644
--- a/tests/baselines/reference/classExtendingClassLikeType.js
+++ b/tests/baselines/reference/classExtendingClassLikeType.js
@@ -68,8 +68,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var D0 = (function (_super) {
__extends(D0, _super);
function D0() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D0;
}(Base));
@@ -108,8 +107,7 @@ var D3 = (function (_super) {
var D4 = (function (_super) {
__extends(D4, _super);
function D4() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D4;
}(getBase()));
@@ -117,8 +115,7 @@ var D4 = (function (_super) {
var D5 = (function (_super) {
__extends(D5, _super);
function D5() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D5;
}(getBadBase()));
diff --git a/tests/baselines/reference/classExtendingNonConstructor.js b/tests/baselines/reference/classExtendingNonConstructor.js
index d33e6b4edef..574d5004486 100644
--- a/tests/baselines/reference/classExtendingNonConstructor.js
+++ b/tests/baselines/reference/classExtendingNonConstructor.js
@@ -27,56 +27,49 @@ function foo() {
var C1 = (function (_super) {
__extends(C1, _super);
function C1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C1;
}(undefined));
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(true));
var C3 = (function (_super) {
__extends(C3, _super);
function C3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C3;
}(false));
var C4 = (function (_super) {
__extends(C4, _super);
function C4() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C4;
}(42));
var C5 = (function (_super) {
__extends(C5, _super);
function C5() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C5;
}("hello"));
var C6 = (function (_super) {
__extends(C6, _super);
function C6() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C6;
}(x));
var C7 = (function (_super) {
__extends(C7, _super);
function C7() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C7;
}(foo));
diff --git a/tests/baselines/reference/classExtendingNull.js b/tests/baselines/reference/classExtendingNull.js
index d6188aaf988..8d5d73329aa 100644
--- a/tests/baselines/reference/classExtendingNull.js
+++ b/tests/baselines/reference/classExtendingNull.js
@@ -12,16 +12,14 @@ var __extends = (this && this.__extends) || function (d, b) {
var C1 = (function (_super) {
__extends(C1, _super);
function C1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C1;
}(null));
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}((null)));
diff --git a/tests/baselines/reference/classExtendingPrimitive.js b/tests/baselines/reference/classExtendingPrimitive.js
index c23683470d0..53cb45c2081 100644
--- a/tests/baselines/reference/classExtendingPrimitive.js
+++ b/tests/baselines/reference/classExtendingPrimitive.js
@@ -24,32 +24,28 @@ var __extends = (this && this.__extends) || function (d, b) {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(number));
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(string));
var C3 = (function (_super) {
__extends(C3, _super);
function C3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C3;
}(boolean));
var C4 = (function (_super) {
__extends(C4, _super);
function C4() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C4;
}(Void));
@@ -62,32 +58,28 @@ void {};
var C5 = (function (_super) {
__extends(C5, _super);
function C5() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C5;
}(Null));
var C5a = (function (_super) {
__extends(C5a, _super);
function C5a() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C5a;
}(null));
var C6 = (function (_super) {
__extends(C6, _super);
function C6() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C6;
}(undefined));
var C7 = (function (_super) {
__extends(C7, _super);
function C7() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C7;
}(Undefined));
@@ -98,8 +90,7 @@ var E;
var C8 = (function (_super) {
__extends(C8, _super);
function C8() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C8;
}(E));
diff --git a/tests/baselines/reference/classExtendingPrimitive2.js b/tests/baselines/reference/classExtendingPrimitive2.js
index 072dc8138c7..b32dc31a5b4 100644
--- a/tests/baselines/reference/classExtendingPrimitive2.js
+++ b/tests/baselines/reference/classExtendingPrimitive2.js
@@ -20,8 +20,7 @@ void {};
var C5a = (function (_super) {
__extends(C5a, _super);
function C5a() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C5a;
}(null));
diff --git a/tests/baselines/reference/classExtendingQualifiedName.js b/tests/baselines/reference/classExtendingQualifiedName.js
index b5cf4ae1382..fced8c2a373 100644
--- a/tests/baselines/reference/classExtendingQualifiedName.js
+++ b/tests/baselines/reference/classExtendingQualifiedName.js
@@ -23,8 +23,7 @@ var M;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(M.C));
diff --git a/tests/baselines/reference/classExtendingQualifiedName2.js b/tests/baselines/reference/classExtendingQualifiedName2.js
index d1ee8b48b3a..c133ceb87dc 100644
--- a/tests/baselines/reference/classExtendingQualifiedName2.js
+++ b/tests/baselines/reference/classExtendingQualifiedName2.js
@@ -24,8 +24,7 @@ var M;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(M.C));
diff --git a/tests/baselines/reference/classExtendsAcrossFiles.js b/tests/baselines/reference/classExtendsAcrossFiles.js
index 0dcf4103f49..5be0ab8f9c0 100644
--- a/tests/baselines/reference/classExtendsAcrossFiles.js
+++ b/tests/baselines/reference/classExtendsAcrossFiles.js
@@ -37,8 +37,7 @@ exports.b = {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
@@ -63,8 +62,7 @@ exports.a = {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/classExtendsClauseClassMergedWithModuleNotReferingConstructor.js b/tests/baselines/reference/classExtendsClauseClassMergedWithModuleNotReferingConstructor.js
index f1a695c0b2a..cc4870e837b 100644
--- a/tests/baselines/reference/classExtendsClauseClassMergedWithModuleNotReferingConstructor.js
+++ b/tests/baselines/reference/classExtendsClauseClassMergedWithModuleNotReferingConstructor.js
@@ -33,8 +33,7 @@ var Foo;
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/classExtendsClauseClassNotReferringConstructor.js b/tests/baselines/reference/classExtendsClauseClassNotReferringConstructor.js
index f754e140d37..6c3dc789445 100644
--- a/tests/baselines/reference/classExtendsClauseClassNotReferringConstructor.js
+++ b/tests/baselines/reference/classExtendsClauseClassNotReferringConstructor.js
@@ -23,8 +23,7 @@ var Foo;
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/classExtendsEveryObjectType.js b/tests/baselines/reference/classExtendsEveryObjectType.js
index 584b31b7e8e..a19f5d5cdd6 100644
--- a/tests/baselines/reference/classExtendsEveryObjectType.js
+++ b/tests/baselines/reference/classExtendsEveryObjectType.js
@@ -25,16 +25,14 @@ var __extends = (this && this.__extends) || function (d, b) {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(I)); // error
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}({ foo: string })); // error
@@ -42,8 +40,7 @@ var x;
var C3 = (function (_super) {
__extends(C3, _super);
function C3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C3;
}(x)); // error
@@ -54,8 +51,7 @@ var M;
var C4 = (function (_super) {
__extends(C4, _super);
function C4() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C4;
}(M)); // error
@@ -63,16 +59,14 @@ function foo() { }
var C5 = (function (_super) {
__extends(C5, _super);
function C5() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C5;
}(foo)); // error
var C6 = (function (_super) {
__extends(C6, _super);
function C6() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C6;
}([])); // error
diff --git a/tests/baselines/reference/classExtendsEveryObjectType2.js b/tests/baselines/reference/classExtendsEveryObjectType2.js
index e01e90d512d..fbc364ca5da 100644
--- a/tests/baselines/reference/classExtendsEveryObjectType2.js
+++ b/tests/baselines/reference/classExtendsEveryObjectType2.js
@@ -12,16 +12,14 @@ var __extends = (this && this.__extends) || function (d, b) {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}({ foo: string })); // error
var C6 = (function (_super) {
__extends(C6, _super);
function C6() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C6;
}([])); // error
diff --git a/tests/baselines/reference/classExtendsInterface.js b/tests/baselines/reference/classExtendsInterface.js
index 7047eaad658..b5946224317 100644
--- a/tests/baselines/reference/classExtendsInterface.js
+++ b/tests/baselines/reference/classExtendsInterface.js
@@ -17,8 +17,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var A = (function (_super) {
__extends(A, _super);
function A() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return A;
}(Comparable));
@@ -30,8 +29,7 @@ var B = (function () {
var A2 = (function (_super) {
__extends(A2, _super);
function A2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return A2;
}(Comparable2));
diff --git a/tests/baselines/reference/classExtendsInterfaceInExpression.js b/tests/baselines/reference/classExtendsInterfaceInExpression.js
index 64d519d6952..9dcd8dd7279 100644
--- a/tests/baselines/reference/classExtendsInterfaceInExpression.js
+++ b/tests/baselines/reference/classExtendsInterfaceInExpression.js
@@ -20,8 +20,7 @@ function factory(a) {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(factory(A)));
diff --git a/tests/baselines/reference/classExtendsInterfaceInModule.js b/tests/baselines/reference/classExtendsInterfaceInModule.js
index ced164bca10..9da8831a138 100644
--- a/tests/baselines/reference/classExtendsInterfaceInModule.js
+++ b/tests/baselines/reference/classExtendsInterfaceInModule.js
@@ -24,24 +24,21 @@ var __extends = (this && this.__extends) || function (d, b) {
var C1 = (function (_super) {
__extends(C1, _super);
function C1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C1;
}(M.I1));
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(M.I2));
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(Mod.Nested.I));
diff --git a/tests/baselines/reference/classExtendsItself.js b/tests/baselines/reference/classExtendsItself.js
index 654cd35c400..36f2263d671 100644
--- a/tests/baselines/reference/classExtendsItself.js
+++ b/tests/baselines/reference/classExtendsItself.js
@@ -14,24 +14,21 @@ var __extends = (this && this.__extends) || function (d, b) {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(C)); // error
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(D)); // error
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return E;
}(E)); // error
diff --git a/tests/baselines/reference/classExtendsItselfIndirectly.js b/tests/baselines/reference/classExtendsItselfIndirectly.js
index ae5852d91f9..0f3f48d2f2c 100644
--- a/tests/baselines/reference/classExtendsItselfIndirectly.js
+++ b/tests/baselines/reference/classExtendsItselfIndirectly.js
@@ -20,48 +20,42 @@ var __extends = (this && this.__extends) || function (d, b) {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(E)); // error
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return E;
}(D));
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(E2)); // error
var D2 = (function (_super) {
__extends(D2, _super);
function D2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D2;
}(C2));
var E2 = (function (_super) {
__extends(E2, _super);
function E2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return E2;
}(D2));
diff --git a/tests/baselines/reference/classExtendsItselfIndirectly2.js b/tests/baselines/reference/classExtendsItselfIndirectly2.js
index 63eeb5bc178..e215a07c357 100644
--- a/tests/baselines/reference/classExtendsItselfIndirectly2.js
+++ b/tests/baselines/reference/classExtendsItselfIndirectly2.js
@@ -31,8 +31,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(N.E)); // error
@@ -41,8 +40,7 @@ var M;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
@@ -53,8 +51,7 @@ var N;
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return E;
}(M.D));
@@ -65,8 +62,7 @@ var O;
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(Q.E2)); // error
@@ -75,8 +71,7 @@ var O;
var D2 = (function (_super) {
__extends(D2, _super);
function D2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D2;
}(C2));
@@ -87,8 +82,7 @@ var O;
var E2 = (function (_super) {
__extends(E2, _super);
function E2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return E2;
}(P.D2));
diff --git a/tests/baselines/reference/classExtendsItselfIndirectly3.js b/tests/baselines/reference/classExtendsItselfIndirectly3.js
index 4e67909f2d3..f8366d77e13 100644
--- a/tests/baselines/reference/classExtendsItselfIndirectly3.js
+++ b/tests/baselines/reference/classExtendsItselfIndirectly3.js
@@ -27,8 +27,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(E)); // error
@@ -41,8 +40,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
@@ -55,8 +53,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return E;
}(D));
@@ -69,8 +66,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(E2)); // error
@@ -83,8 +79,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var D2 = (function (_super) {
__extends(D2, _super);
function D2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D2;
}(C2));
@@ -97,8 +92,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var E2 = (function (_super) {
__extends(E2, _super);
function E2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return E2;
}(D2));
diff --git a/tests/baselines/reference/classExtendsMultipleBaseClasses.js b/tests/baselines/reference/classExtendsMultipleBaseClasses.js
index a185f6cf40a..cd9c28ad283 100644
--- a/tests/baselines/reference/classExtendsMultipleBaseClasses.js
+++ b/tests/baselines/reference/classExtendsMultipleBaseClasses.js
@@ -22,8 +22,7 @@ var B = (function () {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(A));
diff --git a/tests/baselines/reference/classExtendsShadowedConstructorFunction.js b/tests/baselines/reference/classExtendsShadowedConstructorFunction.js
index a7f4a4bb9d9..ddaadc2dc62 100644
--- a/tests/baselines/reference/classExtendsShadowedConstructorFunction.js
+++ b/tests/baselines/reference/classExtendsShadowedConstructorFunction.js
@@ -25,8 +25,7 @@ var M;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
diff --git a/tests/baselines/reference/classExtendsValidConstructorFunction.js b/tests/baselines/reference/classExtendsValidConstructorFunction.js
index 519074358cc..31bff6e430c 100644
--- a/tests/baselines/reference/classExtendsValidConstructorFunction.js
+++ b/tests/baselines/reference/classExtendsValidConstructorFunction.js
@@ -16,8 +16,7 @@ var x = new foo(); // can be used as a constructor function
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(foo)); // error, cannot extend it though
diff --git a/tests/baselines/reference/classHeritageWithTrailingSeparator.js b/tests/baselines/reference/classHeritageWithTrailingSeparator.js
index d3134a97ccd..12265f569bd 100644
--- a/tests/baselines/reference/classHeritageWithTrailingSeparator.js
+++ b/tests/baselines/reference/classHeritageWithTrailingSeparator.js
@@ -17,8 +17,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
diff --git a/tests/baselines/reference/classImplementsClass2.js b/tests/baselines/reference/classImplementsClass2.js
index d525fb8a6ad..5e3eae46543 100644
--- a/tests/baselines/reference/classImplementsClass2.js
+++ b/tests/baselines/reference/classImplementsClass2.js
@@ -33,8 +33,7 @@ var C = (function () {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C2.prototype.foo = function () {
return 1;
diff --git a/tests/baselines/reference/classImplementsClass3.js b/tests/baselines/reference/classImplementsClass3.js
index 3257e51b5b8..5fd003e93b9 100644
--- a/tests/baselines/reference/classImplementsClass3.js
+++ b/tests/baselines/reference/classImplementsClass3.js
@@ -37,8 +37,7 @@ var C = (function () {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(A));
diff --git a/tests/baselines/reference/classImplementsClass4.js b/tests/baselines/reference/classImplementsClass4.js
index f0b8698c64d..477288972df 100644
--- a/tests/baselines/reference/classImplementsClass4.js
+++ b/tests/baselines/reference/classImplementsClass4.js
@@ -40,8 +40,7 @@ var C = (function () {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(A));
diff --git a/tests/baselines/reference/classImplementsClass5.js b/tests/baselines/reference/classImplementsClass5.js
index bf5d0141a19..0ec258ab77b 100644
--- a/tests/baselines/reference/classImplementsClass5.js
+++ b/tests/baselines/reference/classImplementsClass5.js
@@ -42,8 +42,7 @@ var C = (function () {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(A));
diff --git a/tests/baselines/reference/classImplementsClass6.js b/tests/baselines/reference/classImplementsClass6.js
index f1929cdc798..0771c56415c 100644
--- a/tests/baselines/reference/classImplementsClass6.js
+++ b/tests/baselines/reference/classImplementsClass6.js
@@ -47,8 +47,7 @@ var C = (function () {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(A));
diff --git a/tests/baselines/reference/classIndexer3.js b/tests/baselines/reference/classIndexer3.js
index ab825abcd31..2e55c894645 100644
--- a/tests/baselines/reference/classIndexer3.js
+++ b/tests/baselines/reference/classIndexer3.js
@@ -24,8 +24,7 @@ var C123 = (function () {
var D123 = (function (_super) {
__extends(D123, _super);
function D123() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D123;
}(C123));
diff --git a/tests/baselines/reference/classInheritence.js b/tests/baselines/reference/classInheritence.js
index 11b0c5e3ae2..f68d76fad47 100644
--- a/tests/baselines/reference/classInheritence.js
+++ b/tests/baselines/reference/classInheritence.js
@@ -11,16 +11,14 @@ var __extends = (this && this.__extends) || function (d, b) {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var A = (function (_super) {
__extends(A, _super);
function A() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return A;
}(A));
diff --git a/tests/baselines/reference/classIsSubtypeOfBaseType.js b/tests/baselines/reference/classIsSubtypeOfBaseType.js
index 6caa97781dd..52300987d8e 100644
--- a/tests/baselines/reference/classIsSubtypeOfBaseType.js
+++ b/tests/baselines/reference/classIsSubtypeOfBaseType.js
@@ -29,16 +29,14 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base));
diff --git a/tests/baselines/reference/classOrder2.js b/tests/baselines/reference/classOrder2.js
index 49b2a428e06..63490fa29b1 100644
--- a/tests/baselines/reference/classOrder2.js
+++ b/tests/baselines/reference/classOrder2.js
@@ -28,8 +28,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var A = (function (_super) {
__extends(A, _super);
function A() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
A.prototype.foo = function () { this.bar(); };
return A;
diff --git a/tests/baselines/reference/classOrderBug.js b/tests/baselines/reference/classOrderBug.js
index 1381df2797d..e21a5ed64cf 100644
--- a/tests/baselines/reference/classOrderBug.js
+++ b/tests/baselines/reference/classOrderBug.js
@@ -35,8 +35,7 @@ var baz = (function () {
var foo = (function (_super) {
__extends(foo, _super);
function foo() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return foo;
}(baz));
diff --git a/tests/baselines/reference/classSideInheritance1.js b/tests/baselines/reference/classSideInheritance1.js
index 7898ae8a2b2..9443509032c 100644
--- a/tests/baselines/reference/classSideInheritance1.js
+++ b/tests/baselines/reference/classSideInheritance1.js
@@ -33,8 +33,7 @@ var A = (function () {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(A));
diff --git a/tests/baselines/reference/classWithBaseClassButNoConstructor.js b/tests/baselines/reference/classWithBaseClassButNoConstructor.js
index 6ff5ae2ac5b..c25687d3c74 100644
--- a/tests/baselines/reference/classWithBaseClassButNoConstructor.js
+++ b/tests/baselines/reference/classWithBaseClassButNoConstructor.js
@@ -54,8 +54,7 @@ var Base = (function () {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(Base));
@@ -70,8 +69,7 @@ var Base2 = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(Base2));
@@ -82,8 +80,7 @@ var d2 = new D(1); // ok
var D2 = (function (_super) {
__extends(D2, _super);
function D2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D2;
}(Base2));
@@ -93,8 +90,7 @@ var d4 = new D(1); // ok
var D3 = (function (_super) {
__extends(D3, _super);
function D3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D3;
}(Base2));
diff --git a/tests/baselines/reference/classWithConstructors.js b/tests/baselines/reference/classWithConstructors.js
index 6bb9387f673..f445d22d18f 100644
--- a/tests/baselines/reference/classWithConstructors.js
+++ b/tests/baselines/reference/classWithConstructors.js
@@ -75,8 +75,7 @@ var NonGeneric;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C2));
@@ -104,8 +103,7 @@ var Generics;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C2));
diff --git a/tests/baselines/reference/classWithProtectedProperty.js b/tests/baselines/reference/classWithProtectedProperty.js
index fb07eb3d0b2..2cb8a4e0a50 100644
--- a/tests/baselines/reference/classWithProtectedProperty.js
+++ b/tests/baselines/reference/classWithProtectedProperty.js
@@ -48,8 +48,7 @@ C.g = function () { return ''; };
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
D.prototype.method = function () {
// No errors
diff --git a/tests/baselines/reference/classWithStaticMembers.js b/tests/baselines/reference/classWithStaticMembers.js
index cd23c220231..9e79780d5cc 100644
--- a/tests/baselines/reference/classWithStaticMembers.js
+++ b/tests/baselines/reference/classWithStaticMembers.js
@@ -45,8 +45,7 @@ var r3 = r.foo;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
diff --git a/tests/baselines/reference/classdecl.js b/tests/baselines/reference/classdecl.js
index d4f6bb11ca9..a3059757d2f 100644
--- a/tests/baselines/reference/classdecl.js
+++ b/tests/baselines/reference/classdecl.js
@@ -136,8 +136,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return b;
}(a));
@@ -162,8 +161,7 @@ var m2;
var c = (function (_super) {
__extends(c, _super);
function c() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return c;
}(b));
@@ -179,8 +177,7 @@ var m2;
var c = (function (_super) {
__extends(c, _super);
function c() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return c;
}(m1.b));
diff --git a/tests/baselines/reference/clodulesDerivedClasses.js b/tests/baselines/reference/clodulesDerivedClasses.js
index dbbbe340ba7..f65295627f1 100644
--- a/tests/baselines/reference/clodulesDerivedClasses.js
+++ b/tests/baselines/reference/clodulesDerivedClasses.js
@@ -44,8 +44,7 @@ var Shape;
var Path = (function (_super) {
__extends(Path, _super);
function Path() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Path;
}(Shape));
diff --git a/tests/baselines/reference/collisionSuperAndLocalFunctionInAccessors.js b/tests/baselines/reference/collisionSuperAndLocalFunctionInAccessors.js
index eaf031c2571..85c0e398fbd 100644
--- a/tests/baselines/reference/collisionSuperAndLocalFunctionInAccessors.js
+++ b/tests/baselines/reference/collisionSuperAndLocalFunctionInAccessors.js
@@ -68,8 +68,7 @@ var Foo = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(b.prototype, "prop2", {
get: function () {
@@ -89,8 +88,7 @@ var b = (function (_super) {
var c = (function (_super) {
__extends(c, _super);
function c() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(c.prototype, "prop2", {
get: function () {
diff --git a/tests/baselines/reference/collisionSuperAndLocalFunctionInMethod.js b/tests/baselines/reference/collisionSuperAndLocalFunctionInMethod.js
index 14965b53abd..81c069da169 100644
--- a/tests/baselines/reference/collisionSuperAndLocalFunctionInMethod.js
+++ b/tests/baselines/reference/collisionSuperAndLocalFunctionInMethod.js
@@ -50,8 +50,7 @@ var Foo = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
b.prototype.foo = function () {
function _super() {
@@ -64,8 +63,7 @@ var b = (function (_super) {
var c = (function (_super) {
__extends(c, _super);
function c() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
c.prototype.foo = function () {
var x = function () {
diff --git a/tests/baselines/reference/collisionSuperAndLocalVarInAccessors.js b/tests/baselines/reference/collisionSuperAndLocalVarInAccessors.js
index 55db3a5e625..26f782c0d17 100644
--- a/tests/baselines/reference/collisionSuperAndLocalVarInAccessors.js
+++ b/tests/baselines/reference/collisionSuperAndLocalVarInAccessors.js
@@ -58,8 +58,7 @@ var Foo = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(b.prototype, "prop2", {
get: function () {
@@ -77,8 +76,7 @@ var b = (function (_super) {
var c = (function (_super) {
__extends(c, _super);
function c() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(c.prototype, "prop2", {
get: function () {
diff --git a/tests/baselines/reference/collisionSuperAndLocalVarInMethod.js b/tests/baselines/reference/collisionSuperAndLocalVarInMethod.js
index c5bb6ebcd01..0524d993ba1 100644
--- a/tests/baselines/reference/collisionSuperAndLocalVarInMethod.js
+++ b/tests/baselines/reference/collisionSuperAndLocalVarInMethod.js
@@ -36,8 +36,7 @@ var Foo = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
b.prototype.foo = function () {
var _super = 10; // Should be error
@@ -47,8 +46,7 @@ var b = (function (_super) {
var c = (function (_super) {
__extends(c, _super);
function c() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
c.prototype.foo = function () {
var x = function () {
diff --git a/tests/baselines/reference/collisionSuperAndNameResolution.js b/tests/baselines/reference/collisionSuperAndNameResolution.js
index 5501b3e2df4..cb5636ec904 100644
--- a/tests/baselines/reference/collisionSuperAndNameResolution.js
+++ b/tests/baselines/reference/collisionSuperAndNameResolution.js
@@ -27,8 +27,7 @@ var base = (function () {
var Foo = (function (_super) {
__extends(Foo, _super);
function Foo() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Foo.prototype.x = function () {
console.log(_super); // Error as this doesnt not resolve to user defined _super
diff --git a/tests/baselines/reference/collisionSuperAndParameter1.js b/tests/baselines/reference/collisionSuperAndParameter1.js
index 105fe849767..ed19500f9d4 100644
--- a/tests/baselines/reference/collisionSuperAndParameter1.js
+++ b/tests/baselines/reference/collisionSuperAndParameter1.js
@@ -23,8 +23,7 @@ var Foo = (function () {
var Foo2 = (function (_super) {
__extends(Foo2, _super);
function Foo2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Foo2.prototype.x = function () {
var lambda = function (_super) {
diff --git a/tests/baselines/reference/collisionThisExpressionAndLocalVarWithSuperExperssion.js b/tests/baselines/reference/collisionThisExpressionAndLocalVarWithSuperExperssion.js
index 59b64e4a9ba..9e8132c6883 100644
--- a/tests/baselines/reference/collisionThisExpressionAndLocalVarWithSuperExperssion.js
+++ b/tests/baselines/reference/collisionThisExpressionAndLocalVarWithSuperExperssion.js
@@ -34,8 +34,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
b.prototype.foo = function () {
var _this = this;
@@ -47,8 +46,7 @@ var b = (function (_super) {
var b2 = (function (_super) {
__extends(b2, _super);
function b2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
b2.prototype.foo = function () {
var _this = this;
diff --git a/tests/baselines/reference/commentsInheritance.js b/tests/baselines/reference/commentsInheritance.js
index a8a8d5fa889..3527f5d23bb 100644
--- a/tests/baselines/reference/commentsInheritance.js
+++ b/tests/baselines/reference/commentsInheritance.js
@@ -258,8 +258,7 @@ c2_i = c3_i;
var c4 = (function (_super) {
__extends(c4, _super);
function c4() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return c4;
}(c2));
diff --git a/tests/baselines/reference/comparisonOperatorWithIdenticalObjects.js b/tests/baselines/reference/comparisonOperatorWithIdenticalObjects.js
index fb7a811cba3..a263a30e382 100644
--- a/tests/baselines/reference/comparisonOperatorWithIdenticalObjects.js
+++ b/tests/baselines/reference/comparisonOperatorWithIdenticalObjects.js
@@ -227,16 +227,14 @@ var Base = (function () {
var A2 = (function (_super) {
__extends(A2, _super);
function A2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return A2;
}(Base));
var B2 = (function (_super) {
__extends(B2, _super);
function B2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B2;
}(Base));
diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnCallSignature.js b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnCallSignature.js
index 675235ae324..b8584522b7b 100644
--- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnCallSignature.js
+++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnCallSignature.js
@@ -182,8 +182,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.js b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.js
index ceb386b3e14..93e1e876a7f 100644
--- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.js
+++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.js
@@ -182,8 +182,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnIndexSignature.js b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnIndexSignature.js
index 03494b4f88d..a8973bf2c10 100644
--- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnIndexSignature.js
+++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnIndexSignature.js
@@ -125,8 +125,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedCallSignature.js b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedCallSignature.js
index ee8185802d4..4539538782d 100644
--- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedCallSignature.js
+++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedCallSignature.js
@@ -163,8 +163,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedConstructorSignature.js b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedConstructorSignature.js
index 5a36f91c7ca..5e8412bc361 100644
--- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedConstructorSignature.js
+++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedConstructorSignature.js
@@ -163,8 +163,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnCallSignature.js b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnCallSignature.js
index f23588dcbc5..d30c3586b12 100644
--- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnCallSignature.js
+++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnCallSignature.js
@@ -273,8 +273,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnConstructorSignature.js b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnConstructorSignature.js
index cc6fe9ce640..4235c1352d4 100644
--- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnConstructorSignature.js
+++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnConstructorSignature.js
@@ -235,8 +235,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnIndexSignature.js b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnIndexSignature.js
index d401defc2ed..9a6fecd668d 100644
--- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnIndexSignature.js
+++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnIndexSignature.js
@@ -121,8 +121,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedCallSignature.js b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedCallSignature.js
index b4b531b8084..5721a452486 100644
--- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedCallSignature.js
+++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedCallSignature.js
@@ -178,8 +178,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedConstructorSignature.js b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedConstructorSignature.js
index 69f46e2ccd2..b6bf8a16e61 100644
--- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedConstructorSignature.js
+++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedConstructorSignature.js
@@ -178,8 +178,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnProperty.js b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnProperty.js
index 171f21e77fc..690214fc00f 100644
--- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnProperty.js
+++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnProperty.js
@@ -92,8 +92,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
@@ -115,8 +114,7 @@ var A2 = (function () {
var B2 = (function (_super) {
__extends(B2, _super);
function B2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B2;
}(A2));
diff --git a/tests/baselines/reference/complexClassRelationships.js b/tests/baselines/reference/complexClassRelationships.js
index 523002e5b57..4f48e5fc2c5 100644
--- a/tests/baselines/reference/complexClassRelationships.js
+++ b/tests/baselines/reference/complexClassRelationships.js
@@ -57,8 +57,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Derived.createEmpty = function () {
var item = new Derived();
diff --git a/tests/baselines/reference/complicatedGenericRecursiveBaseClassReference.js b/tests/baselines/reference/complicatedGenericRecursiveBaseClassReference.js
index 1201dcf3d3d..326c0830c4f 100644
--- a/tests/baselines/reference/complicatedGenericRecursiveBaseClassReference.js
+++ b/tests/baselines/reference/complicatedGenericRecursiveBaseClassReference.js
@@ -14,8 +14,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var S18 = (function (_super) {
__extends(S18, _super);
function S18() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return S18;
}(S18));
diff --git a/tests/baselines/reference/computedPropertyNames24_ES5.js b/tests/baselines/reference/computedPropertyNames24_ES5.js
index 00186f40a28..ff9112755bd 100644
--- a/tests/baselines/reference/computedPropertyNames24_ES5.js
+++ b/tests/baselines/reference/computedPropertyNames24_ES5.js
@@ -25,8 +25,7 @@ var Base = (function () {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C.prototype[_super.bar.call(this)] = function () { };
return C;
diff --git a/tests/baselines/reference/computedPropertyNames25_ES5.js b/tests/baselines/reference/computedPropertyNames25_ES5.js
index afc0e20eca9..dad9c5c291a 100644
--- a/tests/baselines/reference/computedPropertyNames25_ES5.js
+++ b/tests/baselines/reference/computedPropertyNames25_ES5.js
@@ -30,8 +30,7 @@ var Base = (function () {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C.prototype.foo = function () {
var obj = (_a = {},
diff --git a/tests/baselines/reference/computedPropertyNames26_ES5.js b/tests/baselines/reference/computedPropertyNames26_ES5.js
index 6b75da57e9a..5db7768270a 100644
--- a/tests/baselines/reference/computedPropertyNames26_ES5.js
+++ b/tests/baselines/reference/computedPropertyNames26_ES5.js
@@ -27,8 +27,7 @@ var Base = (function () {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C.prototype[(_a = {}, _a[_super.bar.call(this)] = 1, _a)[0]] = function () { };
return C;
diff --git a/tests/baselines/reference/computedPropertyNames27_ES5.js b/tests/baselines/reference/computedPropertyNames27_ES5.js
index 3c89ecd50c0..381805659e2 100644
--- a/tests/baselines/reference/computedPropertyNames27_ES5.js
+++ b/tests/baselines/reference/computedPropertyNames27_ES5.js
@@ -19,8 +19,7 @@ var Base = (function () {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C.prototype[(_this = _super.call(this) || this, "prop")] = function () { };
return C;
diff --git a/tests/baselines/reference/computedPropertyNames31_ES5.js b/tests/baselines/reference/computedPropertyNames31_ES5.js
index 7b803e9c987..00cc765f4cc 100644
--- a/tests/baselines/reference/computedPropertyNames31_ES5.js
+++ b/tests/baselines/reference/computedPropertyNames31_ES5.js
@@ -32,8 +32,7 @@ var Base = (function () {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C.prototype.foo = function () {
var _this = this;
diff --git a/tests/baselines/reference/computedPropertyNames43_ES5.js b/tests/baselines/reference/computedPropertyNames43_ES5.js
index 293d017734e..b1bb0fec72c 100644
--- a/tests/baselines/reference/computedPropertyNames43_ES5.js
+++ b/tests/baselines/reference/computedPropertyNames43_ES5.js
@@ -36,8 +36,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(D.prototype, "get1", {
// Computed properties
diff --git a/tests/baselines/reference/computedPropertyNames44_ES5.js b/tests/baselines/reference/computedPropertyNames44_ES5.js
index c990298c4ac..bf940f15014 100644
--- a/tests/baselines/reference/computedPropertyNames44_ES5.js
+++ b/tests/baselines/reference/computedPropertyNames44_ES5.js
@@ -40,8 +40,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(D.prototype, "set1", {
set: function (p) { },
diff --git a/tests/baselines/reference/computedPropertyNames45_ES5.js b/tests/baselines/reference/computedPropertyNames45_ES5.js
index f5a31fffabb..5b5d64f9bf0 100644
--- a/tests/baselines/reference/computedPropertyNames45_ES5.js
+++ b/tests/baselines/reference/computedPropertyNames45_ES5.js
@@ -41,8 +41,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(D.prototype, "set1", {
set: function (p) { },
diff --git a/tests/baselines/reference/conditionalOperatorWithIdenticalBCT.js b/tests/baselines/reference/conditionalOperatorWithIdenticalBCT.js
index a6d00d847f3..408571af42a 100644
--- a/tests/baselines/reference/conditionalOperatorWithIdenticalBCT.js
+++ b/tests/baselines/reference/conditionalOperatorWithIdenticalBCT.js
@@ -63,8 +63,7 @@ var X = (function () {
var A = (function (_super) {
__extends(A, _super);
function A() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return A;
}(X));
@@ -72,8 +71,7 @@ var A = (function (_super) {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(X));
diff --git a/tests/baselines/reference/conditionalOperatorWithoutIdenticalBCT.js b/tests/baselines/reference/conditionalOperatorWithoutIdenticalBCT.js
index 58b050c5ebe..0ac935a582a 100644
--- a/tests/baselines/reference/conditionalOperatorWithoutIdenticalBCT.js
+++ b/tests/baselines/reference/conditionalOperatorWithoutIdenticalBCT.js
@@ -39,8 +39,7 @@ var X = (function () {
var A = (function (_super) {
__extends(A, _super);
function A() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return A;
}(X));
@@ -48,8 +47,7 @@ var A = (function (_super) {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(X));
diff --git a/tests/baselines/reference/constantOverloadFunction.js b/tests/baselines/reference/constantOverloadFunction.js
index 934c7eceb0e..160191c5ca0 100644
--- a/tests/baselines/reference/constantOverloadFunction.js
+++ b/tests/baselines/reference/constantOverloadFunction.js
@@ -28,8 +28,7 @@ var Base = (function () {
var Derived1 = (function (_super) {
__extends(Derived1, _super);
function Derived1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Derived1.prototype.bar = function () { };
return Derived1;
@@ -37,8 +36,7 @@ var Derived1 = (function (_super) {
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Derived2.prototype.baz = function () { };
return Derived2;
@@ -46,8 +44,7 @@ var Derived2 = (function (_super) {
var Derived3 = (function (_super) {
__extends(Derived3, _super);
function Derived3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Derived3.prototype.biz = function () { };
return Derived3;
diff --git a/tests/baselines/reference/constantOverloadFunctionNoSubtypeError.js b/tests/baselines/reference/constantOverloadFunctionNoSubtypeError.js
index 217cf23f9cb..509f9ba70e6 100644
--- a/tests/baselines/reference/constantOverloadFunctionNoSubtypeError.js
+++ b/tests/baselines/reference/constantOverloadFunctionNoSubtypeError.js
@@ -29,8 +29,7 @@ var Base = (function () {
var Derived1 = (function (_super) {
__extends(Derived1, _super);
function Derived1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Derived1.prototype.bar = function () { };
return Derived1;
@@ -38,8 +37,7 @@ var Derived1 = (function (_super) {
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Derived2.prototype.baz = function () { };
return Derived2;
@@ -47,8 +45,7 @@ var Derived2 = (function (_super) {
var Derived3 = (function (_super) {
__extends(Derived3, _super);
function Derived3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Derived3.prototype.biz = function () { };
return Derived3;
diff --git a/tests/baselines/reference/constraintCheckInGenericBaseTypeReference.js b/tests/baselines/reference/constraintCheckInGenericBaseTypeReference.js
index 511c293d417..7908d36a56a 100644
--- a/tests/baselines/reference/constraintCheckInGenericBaseTypeReference.js
+++ b/tests/baselines/reference/constraintCheckInGenericBaseTypeReference.js
@@ -40,8 +40,7 @@ var GenericBase = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(GenericBase));
diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance2.js b/tests/baselines/reference/constructSignatureAssignabilityInInheritance2.js
index 0e14e958b28..6b308d88896 100644
--- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance2.js
+++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance2.js
@@ -84,24 +84,21 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance3.js b/tests/baselines/reference/constructSignatureAssignabilityInInheritance3.js
index cb2cadb7698..09abd6e0868 100644
--- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance3.js
+++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance3.js
@@ -129,24 +129,21 @@ var Errors;
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance4.js b/tests/baselines/reference/constructSignatureAssignabilityInInheritance4.js
index 25c69839117..4e9a8c59bf9 100644
--- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance4.js
+++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance4.js
@@ -74,24 +74,21 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance5.js b/tests/baselines/reference/constructSignatureAssignabilityInInheritance5.js
index dcd972d3a97..91ec3b313bb 100644
--- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance5.js
+++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance5.js
@@ -64,24 +64,21 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance6.js b/tests/baselines/reference/constructSignatureAssignabilityInInheritance6.js
index 69fdebe8f5c..edafb009916 100644
--- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance6.js
+++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance6.js
@@ -67,24 +67,21 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
var OtherDerived = (function (_super) {
__extends(OtherDerived, _super);
function OtherDerived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return OtherDerived;
}(Base));
diff --git a/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType.js b/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType.js
index b16721d0acc..45ed976e191 100644
--- a/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType.js
+++ b/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType.js
@@ -33,16 +33,14 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base));
diff --git a/tests/baselines/reference/constructorHasPrototypeProperty.js b/tests/baselines/reference/constructorHasPrototypeProperty.js
index 956e8cd2e0d..a16694cdbf5 100644
--- a/tests/baselines/reference/constructorHasPrototypeProperty.js
+++ b/tests/baselines/reference/constructorHasPrototypeProperty.js
@@ -47,8 +47,7 @@ var NonGeneric;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
@@ -67,8 +66,7 @@ var Generic;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
diff --git a/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.js b/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.js
index 1b91e8a131a..2e3190c15c8 100644
--- a/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.js
+++ b/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.js
@@ -525,8 +525,7 @@ method2();
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
B.prototype.method2 = function () {
return this.method1(2);
diff --git a/tests/baselines/reference/contextualTypingArrayOfLambdas.js b/tests/baselines/reference/contextualTypingArrayOfLambdas.js
index 365e17afc9b..caf7ed445e5 100644
--- a/tests/baselines/reference/contextualTypingArrayOfLambdas.js
+++ b/tests/baselines/reference/contextualTypingArrayOfLambdas.js
@@ -28,16 +28,14 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(A));
diff --git a/tests/baselines/reference/contextualTypingOfConditionalExpression.js b/tests/baselines/reference/contextualTypingOfConditionalExpression.js
index 7be8079cfd9..a6ce98f61e2 100644
--- a/tests/baselines/reference/contextualTypingOfConditionalExpression.js
+++ b/tests/baselines/reference/contextualTypingOfConditionalExpression.js
@@ -29,16 +29,14 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(A));
diff --git a/tests/baselines/reference/contextualTypingOfConditionalExpression2.js b/tests/baselines/reference/contextualTypingOfConditionalExpression2.js
index 102562a841a..e3bd1643cfb 100644
--- a/tests/baselines/reference/contextualTypingOfConditionalExpression2.js
+++ b/tests/baselines/reference/contextualTypingOfConditionalExpression2.js
@@ -26,16 +26,14 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(A));
diff --git a/tests/baselines/reference/crashInsourcePropertyIsRelatableToTargetProperty.js b/tests/baselines/reference/crashInsourcePropertyIsRelatableToTargetProperty.js
index 5fafe95c1a8..89979da4812 100644
--- a/tests/baselines/reference/crashInsourcePropertyIsRelatableToTargetProperty.js
+++ b/tests/baselines/reference/crashInsourcePropertyIsRelatableToTargetProperty.js
@@ -25,8 +25,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
diff --git a/tests/baselines/reference/declFileClassExtendsNull.js b/tests/baselines/reference/declFileClassExtendsNull.js
index 58bff801774..30ddc3f08bf 100644
--- a/tests/baselines/reference/declFileClassExtendsNull.js
+++ b/tests/baselines/reference/declFileClassExtendsNull.js
@@ -12,8 +12,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var ExtendsNull = (function (_super) {
__extends(ExtendsNull, _super);
function ExtendsNull() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return ExtendsNull;
}(null));
diff --git a/tests/baselines/reference/declFileForFunctionTypeAsTypeParameter.js b/tests/baselines/reference/declFileForFunctionTypeAsTypeParameter.js
index d58dcd1f536..442007d9b9a 100644
--- a/tests/baselines/reference/declFileForFunctionTypeAsTypeParameter.js
+++ b/tests/baselines/reference/declFileForFunctionTypeAsTypeParameter.js
@@ -23,8 +23,7 @@ var X = (function () {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(X));
diff --git a/tests/baselines/reference/declFileGenericClassWithGenericExtendedClass.js b/tests/baselines/reference/declFileGenericClassWithGenericExtendedClass.js
index 2f68300a4bf..47593dc9d68 100644
--- a/tests/baselines/reference/declFileGenericClassWithGenericExtendedClass.js
+++ b/tests/baselines/reference/declFileGenericClassWithGenericExtendedClass.js
@@ -26,8 +26,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/declFileGenericType.js b/tests/baselines/reference/declFileGenericType.js
index 2ed404342d7..b2e99a73ad7 100644
--- a/tests/baselines/reference/declFileGenericType.js
+++ b/tests/baselines/reference/declFileGenericType.js
@@ -91,8 +91,7 @@ exports.g = C.F5();
var h = (function (_super) {
__extends(h, _super);
function h() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return h;
}(C.A));
diff --git a/tests/baselines/reference/declFileWithClassNameConflictingWithClassReferredByExtendsClause.js b/tests/baselines/reference/declFileWithClassNameConflictingWithClassReferredByExtendsClause.js
index c9c569f8676..cd10a9e9456 100644
--- a/tests/baselines/reference/declFileWithClassNameConflictingWithClassReferredByExtendsClause.js
+++ b/tests/baselines/reference/declFileWithClassNameConflictingWithClassReferredByExtendsClause.js
@@ -35,8 +35,7 @@ var X;
var W = (function (_super) {
__extends(W, _super);
function W() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return W;
}(A.B.Base.W));
@@ -55,8 +54,7 @@ var X;
var W = (function (_super) {
__extends(W, _super);
function W() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return W;
}(X.Y.base.W));
diff --git a/tests/baselines/reference/declFileWithExtendsClauseThatHasItsContainerNameConflict.js b/tests/baselines/reference/declFileWithExtendsClauseThatHasItsContainerNameConflict.js
index 3681f9fa859..f3b93efc9eb 100644
--- a/tests/baselines/reference/declFileWithExtendsClauseThatHasItsContainerNameConflict.js
+++ b/tests/baselines/reference/declFileWithExtendsClauseThatHasItsContainerNameConflict.js
@@ -45,8 +45,7 @@ var A;
var ContextMenu = (function (_super) {
__extends(ContextMenu, _super);
function ContextMenu() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return ContextMenu;
}(B.EventManager));
diff --git a/tests/baselines/reference/declarationEmitExpressionInExtends.js b/tests/baselines/reference/declarationEmitExpressionInExtends.js
index 8973fbb1455..726c7b22446 100644
--- a/tests/baselines/reference/declarationEmitExpressionInExtends.js
+++ b/tests/baselines/reference/declarationEmitExpressionInExtends.js
@@ -29,8 +29,7 @@ var Q = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(x));
diff --git a/tests/baselines/reference/declarationEmitExpressionInExtends2.js b/tests/baselines/reference/declarationEmitExpressionInExtends2.js
index ff75df8baba..4081de6d3ed 100644
--- a/tests/baselines/reference/declarationEmitExpressionInExtends2.js
+++ b/tests/baselines/reference/declarationEmitExpressionInExtends2.js
@@ -29,8 +29,7 @@ function getClass(c) {
var MyClass = (function (_super) {
__extends(MyClass, _super);
function MyClass() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return MyClass;
}(getClass(2)));
diff --git a/tests/baselines/reference/declarationEmitExpressionInExtends3.js b/tests/baselines/reference/declarationEmitExpressionInExtends3.js
index fc73eb5dbd0..f36a7e250a2 100644
--- a/tests/baselines/reference/declarationEmitExpressionInExtends3.js
+++ b/tests/baselines/reference/declarationEmitExpressionInExtends3.js
@@ -70,8 +70,7 @@ function getExportedClass(c) {
var MyClass = (function (_super) {
__extends(MyClass, _super);
function MyClass() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return MyClass;
}(getLocalClass(undefined)));
@@ -79,8 +78,7 @@ exports.MyClass = MyClass;
var MyClass2 = (function (_super) {
__extends(MyClass2, _super);
function MyClass2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return MyClass2;
}(getExportedClass(undefined)));
@@ -88,8 +86,7 @@ exports.MyClass2 = MyClass2;
var MyClass3 = (function (_super) {
__extends(MyClass3, _super);
function MyClass3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return MyClass3;
}(getExportedClass(undefined)));
@@ -97,8 +94,7 @@ exports.MyClass3 = MyClass3;
var MyClass4 = (function (_super) {
__extends(MyClass4, _super);
function MyClass4() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return MyClass4;
}(getExportedClass(undefined)));
diff --git a/tests/baselines/reference/declarationEmitExpressionInExtends4.js b/tests/baselines/reference/declarationEmitExpressionInExtends4.js
index ed34544256b..b90c1275197 100644
--- a/tests/baselines/reference/declarationEmitExpressionInExtends4.js
+++ b/tests/baselines/reference/declarationEmitExpressionInExtends4.js
@@ -33,24 +33,21 @@ function getSomething() {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(getSomething()));
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(SomeUndefinedFunction()));
var C3 = (function (_super) {
__extends(C3, _super);
function C3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C3;
}(SomeUndefinedFunction));
diff --git a/tests/baselines/reference/declarationEmitNameConflicts3.js b/tests/baselines/reference/declarationEmitNameConflicts3.js
index c17f624087d..09dcea089a8 100644
--- a/tests/baselines/reference/declarationEmitNameConflicts3.js
+++ b/tests/baselines/reference/declarationEmitNameConflicts3.js
@@ -64,8 +64,7 @@ var M;
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return E;
}(C));
diff --git a/tests/baselines/reference/declarationEmitProtectedMembers.js b/tests/baselines/reference/declarationEmitProtectedMembers.js
index cc4e27895f1..9ae8e8a2437 100644
--- a/tests/baselines/reference/declarationEmitProtectedMembers.js
+++ b/tests/baselines/reference/declarationEmitProtectedMembers.js
@@ -88,8 +88,7 @@ var C1 = (function () {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C2.prototype.f = function () {
return _super.prototype.f.call(this) + this.x;
@@ -103,8 +102,7 @@ var C2 = (function (_super) {
var C3 = (function (_super) {
__extends(C3, _super);
function C3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C3.prototype.f = function () {
return _super.prototype.f.call(this);
diff --git a/tests/baselines/reference/declarationEmitThisPredicates01.js b/tests/baselines/reference/declarationEmitThisPredicates01.js
index 0b364e90e45..ad9b7a70373 100644
--- a/tests/baselines/reference/declarationEmitThisPredicates01.js
+++ b/tests/baselines/reference/declarationEmitThisPredicates01.js
@@ -28,8 +28,7 @@ exports.C = C;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
diff --git a/tests/baselines/reference/declarationEmitThisPredicatesWithPrivateName01.js b/tests/baselines/reference/declarationEmitThisPredicatesWithPrivateName01.js
index aea36311add..fe7995462ef 100644
--- a/tests/baselines/reference/declarationEmitThisPredicatesWithPrivateName01.js
+++ b/tests/baselines/reference/declarationEmitThisPredicatesWithPrivateName01.js
@@ -28,8 +28,7 @@ exports.C = C;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
diff --git a/tests/baselines/reference/declareDottedExtend.js b/tests/baselines/reference/declareDottedExtend.js
index f167928087d..3c7588d2b6c 100644
--- a/tests/baselines/reference/declareDottedExtend.js
+++ b/tests/baselines/reference/declareDottedExtend.js
@@ -21,16 +21,14 @@ var ab = A.B;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(ab.C));
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return E;
}(A.B.C));
diff --git a/tests/baselines/reference/decoratorOnClassMethod12.js b/tests/baselines/reference/decoratorOnClassMethod12.js
index 6d95c696176..7dd5f698182 100644
--- a/tests/baselines/reference/decoratorOnClassMethod12.js
+++ b/tests/baselines/reference/decoratorOnClassMethod12.js
@@ -32,8 +32,7 @@ var M;
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C.prototype.method = function () { };
return C;
diff --git a/tests/baselines/reference/derivedClassFunctionOverridesBaseClassAccessor.js b/tests/baselines/reference/derivedClassFunctionOverridesBaseClassAccessor.js
index 6dcf8f3fd83..7f6b83593ca 100644
--- a/tests/baselines/reference/derivedClassFunctionOverridesBaseClassAccessor.js
+++ b/tests/baselines/reference/derivedClassFunctionOverridesBaseClassAccessor.js
@@ -38,8 +38,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Derived.prototype.x = function () {
return 1;
diff --git a/tests/baselines/reference/derivedClassIncludesInheritedMembers.js b/tests/baselines/reference/derivedClassIncludesInheritedMembers.js
index 2fe5906e746..8224473cb54 100644
--- a/tests/baselines/reference/derivedClassIncludesInheritedMembers.js
+++ b/tests/baselines/reference/derivedClassIncludesInheritedMembers.js
@@ -68,8 +68,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
@@ -90,8 +89,7 @@ var Base2 = (function () {
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base2));
diff --git a/tests/baselines/reference/derivedClassOverridesIndexersWithAssignmentCompatibility.js b/tests/baselines/reference/derivedClassOverridesIndexersWithAssignmentCompatibility.js
index dc63ccb21d8..4753e395390 100644
--- a/tests/baselines/reference/derivedClassOverridesIndexersWithAssignmentCompatibility.js
+++ b/tests/baselines/reference/derivedClassOverridesIndexersWithAssignmentCompatibility.js
@@ -32,8 +32,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
@@ -46,8 +45,7 @@ var Base2 = (function () {
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base2));
diff --git a/tests/baselines/reference/derivedClassOverridesPrivates.js b/tests/baselines/reference/derivedClassOverridesPrivates.js
index 7ab70d93ff2..1a58c038fea 100644
--- a/tests/baselines/reference/derivedClassOverridesPrivates.js
+++ b/tests/baselines/reference/derivedClassOverridesPrivates.js
@@ -29,8 +29,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
@@ -42,8 +41,7 @@ var Base2 = (function () {
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base2));
diff --git a/tests/baselines/reference/derivedClassOverridesProtectedMembers2.js b/tests/baselines/reference/derivedClassOverridesProtectedMembers2.js
index ac9b401a45c..6797eef0e77 100644
--- a/tests/baselines/reference/derivedClassOverridesProtectedMembers2.js
+++ b/tests/baselines/reference/derivedClassOverridesProtectedMembers2.js
@@ -131,8 +131,7 @@ var Base2 = (function () {
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base2));
diff --git a/tests/baselines/reference/derivedClassOverridesProtectedMembers4.js b/tests/baselines/reference/derivedClassOverridesProtectedMembers4.js
index eeaf80061af..06f80997600 100644
--- a/tests/baselines/reference/derivedClassOverridesProtectedMembers4.js
+++ b/tests/baselines/reference/derivedClassOverridesProtectedMembers4.js
@@ -30,16 +30,14 @@ var Base = (function () {
var Derived1 = (function (_super) {
__extends(Derived1, _super);
function Derived1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived1;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived1));
diff --git a/tests/baselines/reference/derivedClassOverridesPublicMembers.js b/tests/baselines/reference/derivedClassOverridesPublicMembers.js
index 92fbc07e774..7943d904dea 100644
--- a/tests/baselines/reference/derivedClassOverridesPublicMembers.js
+++ b/tests/baselines/reference/derivedClassOverridesPublicMembers.js
@@ -129,8 +129,7 @@ var Base2 = (function () {
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base2));
diff --git a/tests/baselines/reference/derivedClassOverridesWithoutSubtype.js b/tests/baselines/reference/derivedClassOverridesWithoutSubtype.js
index f2d8f72edfb..e42ff9c9e1d 100644
--- a/tests/baselines/reference/derivedClassOverridesWithoutSubtype.js
+++ b/tests/baselines/reference/derivedClassOverridesWithoutSubtype.js
@@ -37,8 +37,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
@@ -50,8 +49,7 @@ var Base2 = (function () {
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base2));
diff --git a/tests/baselines/reference/derivedClassTransitivity.js b/tests/baselines/reference/derivedClassTransitivity.js
index 0e88d3664c6..a76ac8101a0 100644
--- a/tests/baselines/reference/derivedClassTransitivity.js
+++ b/tests/baselines/reference/derivedClassTransitivity.js
@@ -36,8 +36,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
D.prototype.foo = function () { }; // ok to drop parameters
return D;
@@ -45,8 +44,7 @@ var D = (function (_super) {
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
E.prototype.foo = function (x) { }; // ok to add optional parameters
return E;
diff --git a/tests/baselines/reference/derivedClassTransitivity2.js b/tests/baselines/reference/derivedClassTransitivity2.js
index 5a3f8f3cf57..a3894863696 100644
--- a/tests/baselines/reference/derivedClassTransitivity2.js
+++ b/tests/baselines/reference/derivedClassTransitivity2.js
@@ -36,8 +36,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
D.prototype.foo = function (x) { }; // ok to drop parameters
return D;
@@ -45,8 +44,7 @@ var D = (function (_super) {
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
E.prototype.foo = function (x, y) { }; // ok to add optional parameters
return E;
diff --git a/tests/baselines/reference/derivedClassTransitivity3.js b/tests/baselines/reference/derivedClassTransitivity3.js
index f6aa6963795..71dfecb346f 100644
--- a/tests/baselines/reference/derivedClassTransitivity3.js
+++ b/tests/baselines/reference/derivedClassTransitivity3.js
@@ -36,8 +36,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
D.prototype.foo = function (x) { }; // ok to drop parameters
return D;
@@ -45,8 +44,7 @@ var D = (function (_super) {
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
E.prototype.foo = function (x, y) { }; // ok to add optional parameters
return E;
diff --git a/tests/baselines/reference/derivedClassTransitivity4.js b/tests/baselines/reference/derivedClassTransitivity4.js
index 8d18e311d88..0030ce702d8 100644
--- a/tests/baselines/reference/derivedClassTransitivity4.js
+++ b/tests/baselines/reference/derivedClassTransitivity4.js
@@ -36,8 +36,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
D.prototype.foo = function () { }; // ok to drop parameters
return D;
@@ -45,8 +44,7 @@ var D = (function (_super) {
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
E.prototype.foo = function (x) { }; // ok to add optional parameters
return E;
diff --git a/tests/baselines/reference/derivedClassWithAny.js b/tests/baselines/reference/derivedClassWithAny.js
index 70885570373..2a199e55861 100644
--- a/tests/baselines/reference/derivedClassWithAny.js
+++ b/tests/baselines/reference/derivedClassWithAny.js
@@ -91,8 +91,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(D.prototype, "X", {
get: function () {
@@ -120,8 +119,7 @@ var D = (function (_super) {
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(E.prototype, "X", {
get: function () { return ''; },
diff --git a/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingProtectedInstance.js b/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingProtectedInstance.js
index 24d43468dcf..0542815c4e4 100644
--- a/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingProtectedInstance.js
+++ b/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingProtectedInstance.js
@@ -46,8 +46,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Derived.prototype.fn = function () {
return '';
diff --git a/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingPublicInstance.js b/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingPublicInstance.js
index a6b7710ec6d..41869cad416 100644
--- a/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingPublicInstance.js
+++ b/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingPublicInstance.js
@@ -56,8 +56,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Derived.prototype.fn = function () {
return '';
diff --git a/tests/baselines/reference/derivedClassWithPrivateStaticShadowingProtectedStatic.js b/tests/baselines/reference/derivedClassWithPrivateStaticShadowingProtectedStatic.js
index 3da7720b77e..10ae3cb35c8 100644
--- a/tests/baselines/reference/derivedClassWithPrivateStaticShadowingProtectedStatic.js
+++ b/tests/baselines/reference/derivedClassWithPrivateStaticShadowingProtectedStatic.js
@@ -45,8 +45,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Derived.fn = function () {
return '';
diff --git a/tests/baselines/reference/derivedClassWithPrivateStaticShadowingPublicStatic.js b/tests/baselines/reference/derivedClassWithPrivateStaticShadowingPublicStatic.js
index 57f474affe7..3f2c2a3b811 100644
--- a/tests/baselines/reference/derivedClassWithPrivateStaticShadowingPublicStatic.js
+++ b/tests/baselines/reference/derivedClassWithPrivateStaticShadowingPublicStatic.js
@@ -58,8 +58,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Derived.fn = function () {
return '';
diff --git a/tests/baselines/reference/derivedClasses.js b/tests/baselines/reference/derivedClasses.js
index 27947b4f05f..3e097a9b139 100644
--- a/tests/baselines/reference/derivedClasses.js
+++ b/tests/baselines/reference/derivedClasses.js
@@ -39,8 +39,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var Red = (function (_super) {
__extends(Red, _super);
function Red() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Red.prototype.shade = function () {
var _this = this;
@@ -59,8 +58,7 @@ var Color = (function () {
var Blue = (function (_super) {
__extends(Blue, _super);
function Blue() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Blue.prototype.shade = function () {
var _this = this;
diff --git a/tests/baselines/reference/derivedGenericClassWithAny.js b/tests/baselines/reference/derivedGenericClassWithAny.js
index e31b18e11e7..1822f3fcc47 100644
--- a/tests/baselines/reference/derivedGenericClassWithAny.js
+++ b/tests/baselines/reference/derivedGenericClassWithAny.js
@@ -64,8 +64,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(D.prototype, "X", {
get: function () {
@@ -93,8 +92,7 @@ var D = (function (_super) {
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(E.prototype, "X", {
get: function () { return ''; } // error
diff --git a/tests/baselines/reference/derivedTypeAccessesHiddenBaseCallViaSuperPropertyAccess.js b/tests/baselines/reference/derivedTypeAccessesHiddenBaseCallViaSuperPropertyAccess.js
index 4430ad5a31b..c17922e05ee 100644
--- a/tests/baselines/reference/derivedTypeAccessesHiddenBaseCallViaSuperPropertyAccess.js
+++ b/tests/baselines/reference/derivedTypeAccessesHiddenBaseCallViaSuperPropertyAccess.js
@@ -34,8 +34,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Derived.prototype.foo = function (x) {
return null;
diff --git a/tests/baselines/reference/derivedTypeDoesNotRequireExtendsClause.js b/tests/baselines/reference/derivedTypeDoesNotRequireExtendsClause.js
index f6415d84965..6fe690fd692 100644
--- a/tests/baselines/reference/derivedTypeDoesNotRequireExtendsClause.js
+++ b/tests/baselines/reference/derivedTypeDoesNotRequireExtendsClause.js
@@ -39,8 +39,7 @@ var Derived = (function () {
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base));
diff --git a/tests/baselines/reference/emitThisInSuperMethodCall.js b/tests/baselines/reference/emitThisInSuperMethodCall.js
index 4bb83a7c172..1f7ed8bfa94 100644
--- a/tests/baselines/reference/emitThisInSuperMethodCall.js
+++ b/tests/baselines/reference/emitThisInSuperMethodCall.js
@@ -43,8 +43,7 @@ var User = (function () {
var RegisteredUser = (function (_super) {
__extends(RegisteredUser, _super);
function RegisteredUser() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
RegisteredUser.prototype.f = function () {
(function () {
diff --git a/tests/baselines/reference/emptyModuleName.js b/tests/baselines/reference/emptyModuleName.js
index 2292f0a494a..3ed21cf217a 100644
--- a/tests/baselines/reference/emptyModuleName.js
+++ b/tests/baselines/reference/emptyModuleName.js
@@ -14,8 +14,7 @@ var A = require("");
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/errorForwardReferenceForwadingConstructor.js b/tests/baselines/reference/errorForwardReferenceForwadingConstructor.js
index 7b05688b8c8..ed2e1aa7f06 100644
--- a/tests/baselines/reference/errorForwardReferenceForwadingConstructor.js
+++ b/tests/baselines/reference/errorForwardReferenceForwadingConstructor.js
@@ -30,8 +30,7 @@ var base = (function () {
var derived = (function (_super) {
__extends(derived, _super);
function derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return derived;
}(base));
diff --git a/tests/baselines/reference/errorSuperPropertyAccess.js b/tests/baselines/reference/errorSuperPropertyAccess.js
index 0fef86493f1..e12a758b053 100644
--- a/tests/baselines/reference/errorSuperPropertyAccess.js
+++ b/tests/baselines/reference/errorSuperPropertyAccess.js
@@ -247,8 +247,7 @@ var SomeDerived2 = (function (_super) {
var SomeDerived3 = (function (_super) {
__extends(SomeDerived3, _super);
function SomeDerived3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
SomeDerived3.fn = function () {
_super.publicStaticMember = 3;
diff --git a/tests/baselines/reference/errorsInGenericTypeReference.js b/tests/baselines/reference/errorsInGenericTypeReference.js
index d3d275ff25b..6dd9f62edcb 100644
--- a/tests/baselines/reference/errorsInGenericTypeReference.js
+++ b/tests/baselines/reference/errorsInGenericTypeReference.js
@@ -135,8 +135,7 @@ var testClass6 = (function () {
var testClass7 = (function (_super) {
__extends(testClass7, _super);
function testClass7() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return testClass7;
}(Foo)); // error: could not find symbol V
diff --git a/tests/baselines/reference/es6ClassTest2.js b/tests/baselines/reference/es6ClassTest2.js
index b3787405ff7..de5657b087e 100644
--- a/tests/baselines/reference/es6ClassTest2.js
+++ b/tests/baselines/reference/es6ClassTest2.js
@@ -314,8 +314,7 @@ var BaseClassWithConstructor = (function () {
var ChildClassWithoutConstructor = (function (_super) {
__extends(ChildClassWithoutConstructor, _super);
function ChildClassWithoutConstructor() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return ChildClassWithoutConstructor;
}(BaseClassWithConstructor));
diff --git a/tests/baselines/reference/es6ClassTest7.js b/tests/baselines/reference/es6ClassTest7.js
index 6e30a1d7879..f786fce4461 100644
--- a/tests/baselines/reference/es6ClassTest7.js
+++ b/tests/baselines/reference/es6ClassTest7.js
@@ -17,8 +17,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var Bar = (function (_super) {
__extends(Bar, _super);
function Bar() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar;
}(M.Foo));
diff --git a/tests/baselines/reference/exportAssignmentOfGenericType1.js b/tests/baselines/reference/exportAssignmentOfGenericType1.js
index 439f74a9c9d..7c1831ecac4 100644
--- a/tests/baselines/reference/exportAssignmentOfGenericType1.js
+++ b/tests/baselines/reference/exportAssignmentOfGenericType1.js
@@ -34,8 +34,7 @@ define(["require", "exports", "exportAssignmentOfGenericType1_0"], function (req
var M = (function (_super) {
__extends(M, _super);
function M() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return M;
}(q));
diff --git a/tests/baselines/reference/exportDeclarationInInternalModule.js b/tests/baselines/reference/exportDeclarationInInternalModule.js
index b6eec928a07..518c6636947 100644
--- a/tests/baselines/reference/exportDeclarationInInternalModule.js
+++ b/tests/baselines/reference/exportDeclarationInInternalModule.js
@@ -32,8 +32,7 @@ var Bbb = (function () {
var Aaa = (function (_super) {
__extends(Aaa, _super);
function Aaa() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Aaa;
}(Bbb));
diff --git a/tests/baselines/reference/extBaseClass1.js b/tests/baselines/reference/extBaseClass1.js
index 508eea66500..b20a463338c 100644
--- a/tests/baselines/reference/extBaseClass1.js
+++ b/tests/baselines/reference/extBaseClass1.js
@@ -37,8 +37,7 @@ var M;
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(B));
@@ -49,8 +48,7 @@ var M;
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(M.B));
@@ -61,8 +59,7 @@ var N;
var C3 = (function (_super) {
__extends(C3, _super);
function C3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C3;
}(M.B));
diff --git a/tests/baselines/reference/extBaseClass2.js b/tests/baselines/reference/extBaseClass2.js
index 14f3d69ef3e..3ab217eb019 100644
--- a/tests/baselines/reference/extBaseClass2.js
+++ b/tests/baselines/reference/extBaseClass2.js
@@ -21,8 +21,7 @@ var N;
var C4 = (function (_super) {
__extends(C4, _super);
function C4() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C4;
}(M.B));
@@ -33,8 +32,7 @@ var M;
var C5 = (function (_super) {
__extends(C5, _super);
function C5() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C5;
}(B));
diff --git a/tests/baselines/reference/extendAndImplementTheSameBaseType.js b/tests/baselines/reference/extendAndImplementTheSameBaseType.js
index 03bf54db78d..74bbf3a27ac 100644
--- a/tests/baselines/reference/extendAndImplementTheSameBaseType.js
+++ b/tests/baselines/reference/extendAndImplementTheSameBaseType.js
@@ -28,8 +28,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
D.prototype.baz = function () { };
return D;
diff --git a/tests/baselines/reference/extendAndImplementTheSameBaseType2.js b/tests/baselines/reference/extendAndImplementTheSameBaseType2.js
index 50db54a05e9..fa7963487d5 100644
--- a/tests/baselines/reference/extendAndImplementTheSameBaseType2.js
+++ b/tests/baselines/reference/extendAndImplementTheSameBaseType2.js
@@ -33,8 +33,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
D.prototype.baz = function () { };
return D;
diff --git a/tests/baselines/reference/extendBaseClassBeforeItsDeclared.js b/tests/baselines/reference/extendBaseClassBeforeItsDeclared.js
index 6cab3a8c7f6..596ab319b2c 100644
--- a/tests/baselines/reference/extendBaseClassBeforeItsDeclared.js
+++ b/tests/baselines/reference/extendBaseClassBeforeItsDeclared.js
@@ -12,8 +12,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var derived = (function (_super) {
__extends(derived, _super);
function derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return derived;
}(base));
diff --git a/tests/baselines/reference/extendClassExpressionFromModule.js b/tests/baselines/reference/extendClassExpressionFromModule.js
index c0cb5d49023..895cdedfaff 100644
--- a/tests/baselines/reference/extendClassExpressionFromModule.js
+++ b/tests/baselines/reference/extendClassExpressionFromModule.js
@@ -31,8 +31,7 @@ var x = foo1;
var y = (function (_super) {
__extends(y, _super);
function y() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return y;
}(x));
diff --git a/tests/baselines/reference/extendConstructSignatureInInterface.js b/tests/baselines/reference/extendConstructSignatureInInterface.js
index 6985657ced3..4bf92dd0315 100644
--- a/tests/baselines/reference/extendConstructSignatureInInterface.js
+++ b/tests/baselines/reference/extendConstructSignatureInInterface.js
@@ -20,8 +20,7 @@ var CStatic;
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return E;
}(CStatic));
diff --git a/tests/baselines/reference/extendNonClassSymbol1.js b/tests/baselines/reference/extendNonClassSymbol1.js
index 829b1ae1a32..b23b601bc29 100644
--- a/tests/baselines/reference/extendNonClassSymbol1.js
+++ b/tests/baselines/reference/extendNonClassSymbol1.js
@@ -19,8 +19,7 @@ var x = A;
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(x)); // error, could not find symbol xs
diff --git a/tests/baselines/reference/extendNonClassSymbol2.js b/tests/baselines/reference/extendNonClassSymbol2.js
index 9a2d4fb2adf..78dfaa91827 100644
--- a/tests/baselines/reference/extendNonClassSymbol2.js
+++ b/tests/baselines/reference/extendNonClassSymbol2.js
@@ -18,8 +18,7 @@ var x = new Foo(); // legal, considered a constructor function
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(Foo)); // error, could not find symbol Foo
diff --git a/tests/baselines/reference/extendingClassFromAliasAndUsageInIndexer.js b/tests/baselines/reference/extendingClassFromAliasAndUsageInIndexer.js
index db2fcdbbf36..da081154d8a 100644
--- a/tests/baselines/reference/extendingClassFromAliasAndUsageInIndexer.js
+++ b/tests/baselines/reference/extendingClassFromAliasAndUsageInIndexer.js
@@ -51,8 +51,7 @@ var Backbone = require("./extendingClassFromAliasAndUsageInIndexer_backbone");
var VisualizationModel = (function (_super) {
__extends(VisualizationModel, _super);
function VisualizationModel() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return VisualizationModel;
}(Backbone.Model));
@@ -68,8 +67,7 @@ var Backbone = require("./extendingClassFromAliasAndUsageInIndexer_backbone");
var VisualizationModel = (function (_super) {
__extends(VisualizationModel, _super);
function VisualizationModel() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return VisualizationModel;
}(Backbone.Model));
diff --git a/tests/baselines/reference/extendsClauseAlreadySeen.js b/tests/baselines/reference/extendsClauseAlreadySeen.js
index db11c06d782..267cd86eed0 100644
--- a/tests/baselines/reference/extendsClauseAlreadySeen.js
+++ b/tests/baselines/reference/extendsClauseAlreadySeen.js
@@ -20,8 +20,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
D.prototype.baz = function () { };
return D;
diff --git a/tests/baselines/reference/extendsClauseAlreadySeen2.js b/tests/baselines/reference/extendsClauseAlreadySeen2.js
index f61317c2d50..76fbc3365af 100644
--- a/tests/baselines/reference/extendsClauseAlreadySeen2.js
+++ b/tests/baselines/reference/extendsClauseAlreadySeen2.js
@@ -20,8 +20,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
D.prototype.baz = function () { };
return D;
diff --git a/tests/baselines/reference/fluentClasses.js b/tests/baselines/reference/fluentClasses.js
index 68a2960b03f..ac44416e133 100644
--- a/tests/baselines/reference/fluentClasses.js
+++ b/tests/baselines/reference/fluentClasses.js
@@ -35,8 +35,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
B.prototype.bar = function () {
return this;
@@ -46,8 +45,7 @@ var B = (function (_super) {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C.prototype.baz = function () {
return this;
diff --git a/tests/baselines/reference/for-inStatements.js b/tests/baselines/reference/for-inStatements.js
index 7176a27ebc9..4f52b5e1456 100644
--- a/tests/baselines/reference/for-inStatements.js
+++ b/tests/baselines/reference/for-inStatements.js
@@ -126,8 +126,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
B.prototype.boz = function () {
for (var x in this.biz()) { }
diff --git a/tests/baselines/reference/for-inStatementsInvalid.js b/tests/baselines/reference/for-inStatementsInvalid.js
index cca8e94dcab..d1181760a36 100644
--- a/tests/baselines/reference/for-inStatementsInvalid.js
+++ b/tests/baselines/reference/for-inStatementsInvalid.js
@@ -107,8 +107,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
B.prototype.boz = function () {
for (var x in this.biz()) { }
diff --git a/tests/baselines/reference/forStatementsMultipleInvalidDecl.js b/tests/baselines/reference/forStatementsMultipleInvalidDecl.js
index 82910ff0435..3666ad930a6 100644
--- a/tests/baselines/reference/forStatementsMultipleInvalidDecl.js
+++ b/tests/baselines/reference/forStatementsMultipleInvalidDecl.js
@@ -68,8 +68,7 @@ var C = (function () {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(C));
diff --git a/tests/baselines/reference/functionImplementationErrors.js b/tests/baselines/reference/functionImplementationErrors.js
index 465ea54b73f..433418af41d 100644
--- a/tests/baselines/reference/functionImplementationErrors.js
+++ b/tests/baselines/reference/functionImplementationErrors.js
@@ -134,16 +134,14 @@ var AnotherClass = (function () {
var Derived1 = (function (_super) {
__extends(Derived1, _super);
function Derived1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived1;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base));
diff --git a/tests/baselines/reference/functionImplementations.js b/tests/baselines/reference/functionImplementations.js
index e26e49c1b7a..86636b84a87 100644
--- a/tests/baselines/reference/functionImplementations.js
+++ b/tests/baselines/reference/functionImplementations.js
@@ -236,8 +236,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
@@ -288,8 +287,7 @@ function f6() {
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base));
diff --git a/tests/baselines/reference/functionSubtypingOfVarArgs.js b/tests/baselines/reference/functionSubtypingOfVarArgs.js
index c604461f32d..55917962184 100644
--- a/tests/baselines/reference/functionSubtypingOfVarArgs.js
+++ b/tests/baselines/reference/functionSubtypingOfVarArgs.js
@@ -32,8 +32,7 @@ var EventBase = (function () {
var StringEvent = (function (_super) {
__extends(StringEvent, _super);
function StringEvent() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
StringEvent.prototype.add = function (listener) {
_super.prototype.add.call(this, listener);
diff --git a/tests/baselines/reference/functionSubtypingOfVarArgs2.js b/tests/baselines/reference/functionSubtypingOfVarArgs2.js
index 38a98a3f114..a676316459f 100644
--- a/tests/baselines/reference/functionSubtypingOfVarArgs2.js
+++ b/tests/baselines/reference/functionSubtypingOfVarArgs2.js
@@ -32,8 +32,7 @@ var EventBase = (function () {
var StringEvent = (function (_super) {
__extends(StringEvent, _super);
function StringEvent() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
StringEvent.prototype.add = function (listener) {
_super.prototype.add.call(this, listener);
diff --git a/tests/baselines/reference/generatedContextualTyping.js b/tests/baselines/reference/generatedContextualTyping.js
index 5c512883a10..2a6911d9cf5 100644
--- a/tests/baselines/reference/generatedContextualTyping.js
+++ b/tests/baselines/reference/generatedContextualTyping.js
@@ -369,16 +369,14 @@ var Base = (function () {
var Derived1 = (function (_super) {
__extends(Derived1, _super);
function Derived1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived1;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base));
diff --git a/tests/baselines/reference/genericBaseClassLiteralProperty.js b/tests/baselines/reference/genericBaseClassLiteralProperty.js
index 25dfb7ae722..a075eff9550 100644
--- a/tests/baselines/reference/genericBaseClassLiteralProperty.js
+++ b/tests/baselines/reference/genericBaseClassLiteralProperty.js
@@ -26,8 +26,7 @@ var BaseClass = (function () {
var SubClass = (function (_super) {
__extends(SubClass, _super);
function SubClass() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
SubClass.prototype.Error = function () {
var x = this._getValue1();
diff --git a/tests/baselines/reference/genericBaseClassLiteralProperty2.js b/tests/baselines/reference/genericBaseClassLiteralProperty2.js
index e39353b6a7f..2b562742bf7 100644
--- a/tests/baselines/reference/genericBaseClassLiteralProperty2.js
+++ b/tests/baselines/reference/genericBaseClassLiteralProperty2.js
@@ -35,8 +35,7 @@ var BaseCollection2 = (function () {
var DataView2 = (function (_super) {
__extends(DataView2, _super);
function DataView2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
DataView2.prototype.fillItems = function (item) {
this._itemsByKey['dummy'] = item;
diff --git a/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference.js b/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference.js
index 53c02a85113..afef6224ba1 100644
--- a/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference.js
+++ b/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference.js
@@ -122,16 +122,14 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Derived));
diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgs2.js b/tests/baselines/reference/genericCallWithObjectTypeArgs2.js
index 3835a4dd787..7b621b3ffd9 100644
--- a/tests/baselines/reference/genericCallWithObjectTypeArgs2.js
+++ b/tests/baselines/reference/genericCallWithObjectTypeArgs2.js
@@ -46,16 +46,14 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base));
diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints2.js b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints2.js
index a16f8bcac68..892cda0ee2d 100644
--- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints2.js
+++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints2.js
@@ -54,8 +54,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints3.js b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints3.js
index 410675804af..addfbc756a8 100644
--- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints3.js
+++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints3.js
@@ -52,16 +52,14 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base));
diff --git a/tests/baselines/reference/genericCallbacksAndClassHierarchy.js b/tests/baselines/reference/genericCallbacksAndClassHierarchy.js
index 3fbb7c8a901..c2ad2ba29a3 100644
--- a/tests/baselines/reference/genericCallbacksAndClassHierarchy.js
+++ b/tests/baselines/reference/genericCallbacksAndClassHierarchy.js
@@ -46,8 +46,7 @@ var M;
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(C1));
diff --git a/tests/baselines/reference/genericClassExpressionInFunction.js b/tests/baselines/reference/genericClassExpressionInFunction.js
index d14b70b6312..dc574dedb00 100644
--- a/tests/baselines/reference/genericClassExpressionInFunction.js
+++ b/tests/baselines/reference/genericClassExpressionInFunction.js
@@ -47,8 +47,7 @@ function B1() {
return (function (_super) {
__extends(class_1, _super);
function class_1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return class_1;
}(A));
@@ -58,8 +57,7 @@ var B2 = (function () {
this.anon = (function (_super) {
__extends(class_2, _super);
function class_2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return class_2;
}(A));
@@ -70,8 +68,7 @@ function B3() {
return (function (_super) {
__extends(Inner, _super);
function Inner() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Inner;
}(A));
@@ -80,16 +77,14 @@ function B3() {
var K = (function (_super) {
__extends(K, _super);
function K() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return K;
}(B1()));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}((new B2().anon)));
@@ -97,8 +92,7 @@ var b3Number = B3();
var S = (function (_super) {
__extends(S, _super);
function S() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return S;
}(b3Number));
diff --git a/tests/baselines/reference/genericClassInheritsConstructorFromNonGenericClass.js b/tests/baselines/reference/genericClassInheritsConstructorFromNonGenericClass.js
index a6c14b9ba0f..1f3a6e17f14 100644
--- a/tests/baselines/reference/genericClassInheritsConstructorFromNonGenericClass.js
+++ b/tests/baselines/reference/genericClassInheritsConstructorFromNonGenericClass.js
@@ -14,16 +14,14 @@ var __extends = (this && this.__extends) || function (d, b) {
var A = (function (_super) {
__extends(A, _super);
function A() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return A;
}(B));
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(C));
diff --git a/tests/baselines/reference/genericClassStaticMethod.js b/tests/baselines/reference/genericClassStaticMethod.js
index 2124f414172..4609e3bc9db 100644
--- a/tests/baselines/reference/genericClassStaticMethod.js
+++ b/tests/baselines/reference/genericClassStaticMethod.js
@@ -26,8 +26,7 @@ var Foo = (function () {
var Bar = (function (_super) {
__extends(Bar, _super);
function Bar() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Bar.getFoo = function () {
};
diff --git a/tests/baselines/reference/genericClasses3.js b/tests/baselines/reference/genericClasses3.js
index 6f10b979c4a..5371e2479aa 100644
--- a/tests/baselines/reference/genericClasses3.js
+++ b/tests/baselines/reference/genericClasses3.js
@@ -31,8 +31,7 @@ var B = (function () {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(B));
diff --git a/tests/baselines/reference/genericDerivedTypeWithSpecializedBase.js b/tests/baselines/reference/genericDerivedTypeWithSpecializedBase.js
index 454bc77ae5b..1b455073196 100644
--- a/tests/baselines/reference/genericDerivedTypeWithSpecializedBase.js
+++ b/tests/baselines/reference/genericDerivedTypeWithSpecializedBase.js
@@ -26,8 +26,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/genericDerivedTypeWithSpecializedBase2.js b/tests/baselines/reference/genericDerivedTypeWithSpecializedBase2.js
index 26749718d43..0abd655e1da 100644
--- a/tests/baselines/reference/genericDerivedTypeWithSpecializedBase2.js
+++ b/tests/baselines/reference/genericDerivedTypeWithSpecializedBase2.js
@@ -26,8 +26,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/genericInheritedDefaultConstructors.js b/tests/baselines/reference/genericInheritedDefaultConstructors.js
index e7c32cbe73f..059a3213b7a 100644
--- a/tests/baselines/reference/genericInheritedDefaultConstructors.js
+++ b/tests/baselines/reference/genericInheritedDefaultConstructors.js
@@ -24,8 +24,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/genericPrototypeProperty2.js b/tests/baselines/reference/genericPrototypeProperty2.js
index ccaf6fa8807..eac025cce9b 100644
--- a/tests/baselines/reference/genericPrototypeProperty2.js
+++ b/tests/baselines/reference/genericPrototypeProperty2.js
@@ -29,8 +29,7 @@ var BaseEvent = (function () {
var MyEvent = (function (_super) {
__extends(MyEvent, _super);
function MyEvent() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return MyEvent;
}(BaseEvent));
@@ -42,8 +41,7 @@ var BaseEventWrapper = (function () {
var MyEventWrapper = (function (_super) {
__extends(MyEventWrapper, _super);
function MyEventWrapper() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return MyEventWrapper;
}(BaseEventWrapper));
diff --git a/tests/baselines/reference/genericPrototypeProperty3.js b/tests/baselines/reference/genericPrototypeProperty3.js
index 85658593705..9e3ede0019d 100644
--- a/tests/baselines/reference/genericPrototypeProperty3.js
+++ b/tests/baselines/reference/genericPrototypeProperty3.js
@@ -28,8 +28,7 @@ var BaseEvent = (function () {
var MyEvent = (function (_super) {
__extends(MyEvent, _super);
function MyEvent() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return MyEvent;
}(BaseEvent));
@@ -41,8 +40,7 @@ var BaseEventWrapper = (function () {
var MyEventWrapper = (function (_super) {
__extends(MyEventWrapper, _super);
function MyEventWrapper() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return MyEventWrapper;
}(BaseEventWrapper));
diff --git a/tests/baselines/reference/genericRecursiveImplicitConstructorErrors2.js b/tests/baselines/reference/genericRecursiveImplicitConstructorErrors2.js
index e567e2a8042..6d65ee5531b 100644
--- a/tests/baselines/reference/genericRecursiveImplicitConstructorErrors2.js
+++ b/tests/baselines/reference/genericRecursiveImplicitConstructorErrors2.js
@@ -57,8 +57,7 @@ var TypeScript2;
var PullTypeSymbol = (function (_super) {
__extends(PullTypeSymbol, _super);
function PullTypeSymbol() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return PullTypeSymbol;
}(PullSymbol));
diff --git a/tests/baselines/reference/genericTypeAssertions2.js b/tests/baselines/reference/genericTypeAssertions2.js
index 31d2b3976db..687d593f01e 100644
--- a/tests/baselines/reference/genericTypeAssertions2.js
+++ b/tests/baselines/reference/genericTypeAssertions2.js
@@ -28,8 +28,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
B.prototype.bar = function () {
return null;
diff --git a/tests/baselines/reference/genericTypeAssertions4.js b/tests/baselines/reference/genericTypeAssertions4.js
index 41a187edb6a..50dbe5debbd 100644
--- a/tests/baselines/reference/genericTypeAssertions4.js
+++ b/tests/baselines/reference/genericTypeAssertions4.js
@@ -40,8 +40,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
B.prototype.bar = function () { return 1; };
return B;
@@ -49,8 +48,7 @@ var B = (function (_super) {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C.prototype.baz = function () { return 1; };
return C;
diff --git a/tests/baselines/reference/genericTypeAssertions6.js b/tests/baselines/reference/genericTypeAssertions6.js
index b776668f2e2..7bbd7351f1d 100644
--- a/tests/baselines/reference/genericTypeAssertions6.js
+++ b/tests/baselines/reference/genericTypeAssertions6.js
@@ -44,8 +44,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
B.prototype.g = function (x) {
var a = x;
diff --git a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.js b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.js
index 39468204a5a..cf19feede34 100644
--- a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.js
+++ b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.js
@@ -60,8 +60,7 @@ var g = function f(x) { var y; return y; };
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
@@ -77,8 +76,7 @@ var M;
var D2 = (function (_super) {
__extends(D2, _super);
function D2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D2;
}(M.E));
diff --git a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.js b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.js
index a41d459b445..973ee231762 100644
--- a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.js
+++ b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.js
@@ -55,16 +55,14 @@ var g = function f(x) { var y; return y; };
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(I));
var D2 = (function (_super) {
__extends(D2, _super);
function D2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D2;
}(M.C));
diff --git a/tests/baselines/reference/genericWithIndexerOfTypeParameterType2.js b/tests/baselines/reference/genericWithIndexerOfTypeParameterType2.js
index c0498b351e1..d6fb98b67ca 100644
--- a/tests/baselines/reference/genericWithIndexerOfTypeParameterType2.js
+++ b/tests/baselines/reference/genericWithIndexerOfTypeParameterType2.js
@@ -31,8 +31,7 @@ define(["require", "exports"], function (require, exports) {
var List = (function (_super) {
__extends(List, _super);
function List() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
List.prototype.Bar = function () { };
return List;
@@ -47,8 +46,7 @@ define(["require", "exports"], function (require, exports) {
var ListItem = (function (_super) {
__extends(ListItem, _super);
function ListItem() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return ListItem;
}(CollectionItem));
diff --git a/tests/baselines/reference/heterogeneousArrayLiterals.js b/tests/baselines/reference/heterogeneousArrayLiterals.js
index e3c50cfa8f7..60a8976722d 100644
--- a/tests/baselines/reference/heterogeneousArrayLiterals.js
+++ b/tests/baselines/reference/heterogeneousArrayLiterals.js
@@ -160,16 +160,14 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
var Derived2 = (function (_super) {
__extends(Derived2, _super);
function Derived2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived2;
}(Base));
diff --git a/tests/baselines/reference/ifDoWhileStatements.js b/tests/baselines/reference/ifDoWhileStatements.js
index af1e3be18ff..483370bee5c 100644
--- a/tests/baselines/reference/ifDoWhileStatements.js
+++ b/tests/baselines/reference/ifDoWhileStatements.js
@@ -177,8 +177,7 @@ var C = (function () {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(C));
diff --git a/tests/baselines/reference/implementClausePrecedingExtends.js b/tests/baselines/reference/implementClausePrecedingExtends.js
index 0dfc867a2f7..df725cde43a 100644
--- a/tests/baselines/reference/implementClausePrecedingExtends.js
+++ b/tests/baselines/reference/implementClausePrecedingExtends.js
@@ -16,8 +16,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
diff --git a/tests/baselines/reference/implementingAnInterfaceExtendingClassWithPrivates2.js b/tests/baselines/reference/implementingAnInterfaceExtendingClassWithPrivates2.js
index 033d6150194..a5a5e02c156 100644
--- a/tests/baselines/reference/implementingAnInterfaceExtendingClassWithPrivates2.js
+++ b/tests/baselines/reference/implementingAnInterfaceExtendingClassWithPrivates2.js
@@ -99,24 +99,21 @@ var Foo = (function () {
var Bar = (function (_super) {
__extends(Bar, _super);
function Bar() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar;
}(Foo));
var Bar2 = (function (_super) {
__extends(Bar2, _super);
function Bar2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar2;
}(Foo));
var Bar3 = (function (_super) {
__extends(Bar3, _super);
function Bar3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar3;
}(Foo));
@@ -131,32 +128,28 @@ var M;
var Baz = (function (_super) {
__extends(Baz, _super);
function Baz() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Baz;
}(Foo));
var Bar = (function (_super) {
__extends(Bar, _super);
function Bar() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar;
}(Foo));
var Bar2 = (function (_super) {
__extends(Bar2, _super);
function Bar2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar2;
}(Foo));
var Bar3 = (function (_super) {
__extends(Bar3, _super);
function Bar3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar3;
}(Foo));
@@ -172,16 +165,14 @@ var M2;
var Baz = (function (_super) {
__extends(Baz, _super);
function Baz() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Baz;
}(Foo));
var Bar = (function (_super) {
__extends(Bar, _super);
function Bar() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar;
}(Foo));
@@ -192,16 +183,14 @@ var M2;
var Bar2 = (function (_super) {
__extends(Bar2, _super);
function Bar2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar2;
}(Foo));
var Bar3 = (function (_super) {
__extends(Bar3, _super);
function Bar3() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar3;
}(Foo));
diff --git a/tests/baselines/reference/implementingAnInterfaceExtendingClassWithProtecteds.js b/tests/baselines/reference/implementingAnInterfaceExtendingClassWithProtecteds.js
index 78cfb6b51b9..d0f74847141 100644
--- a/tests/baselines/reference/implementingAnInterfaceExtendingClassWithProtecteds.js
+++ b/tests/baselines/reference/implementingAnInterfaceExtendingClassWithProtecteds.js
@@ -75,32 +75,28 @@ var Bar4 = (function () {
var Bar5 = (function (_super) {
__extends(Bar5, _super);
function Bar5() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar5;
}(Foo));
var Bar6 = (function (_super) {
__extends(Bar6, _super);
function Bar6() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar6;
}(Foo));
var Bar7 = (function (_super) {
__extends(Bar7, _super);
function Bar7() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar7;
}(Foo));
var Bar8 = (function (_super) {
__extends(Bar8, _super);
function Bar8() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar8;
}(Foo));
diff --git a/tests/baselines/reference/importAsBaseClass.js b/tests/baselines/reference/importAsBaseClass.js
index d9f40f83051..b4f45cac806 100644
--- a/tests/baselines/reference/importAsBaseClass.js
+++ b/tests/baselines/reference/importAsBaseClass.js
@@ -30,8 +30,7 @@ var Greeter = require("./importAsBaseClass_0");
var Hello = (function (_super) {
__extends(Hello, _super);
function Hello() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Hello;
}(Greeter));
diff --git a/tests/baselines/reference/importHelpers.js b/tests/baselines/reference/importHelpers.js
index 6641ef9d212..ae4d3127010 100644
--- a/tests/baselines/reference/importHelpers.js
+++ b/tests/baselines/reference/importHelpers.js
@@ -45,8 +45,7 @@ exports.A = A;
var B = (function (_super) {
tslib_1.__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
@@ -94,8 +93,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/importHelpersAmd.js b/tests/baselines/reference/importHelpersAmd.js
index 89fab70bdba..fea93840fa9 100644
--- a/tests/baselines/reference/importHelpersAmd.js
+++ b/tests/baselines/reference/importHelpersAmd.js
@@ -32,8 +32,7 @@ define(["require", "exports", "tslib", "./a"], function (require, exports, tslib
var B = (function (_super) {
tslib_1.__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(a_1.A));
diff --git a/tests/baselines/reference/importHelpersInIsolatedModules.js b/tests/baselines/reference/importHelpersInIsolatedModules.js
index 2a97d3d2d87..28c00f97554 100644
--- a/tests/baselines/reference/importHelpersInIsolatedModules.js
+++ b/tests/baselines/reference/importHelpersInIsolatedModules.js
@@ -45,8 +45,7 @@ exports.A = A;
var B = (function (_super) {
tslib_1.__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
@@ -79,8 +78,7 @@ var A = (function () {
var B = (function (_super) {
tslib_1.__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/importHelpersNoHelpers.js b/tests/baselines/reference/importHelpersNoHelpers.js
index d5f8db60f97..e22d1f4353d 100644
--- a/tests/baselines/reference/importHelpersNoHelpers.js
+++ b/tests/baselines/reference/importHelpersNoHelpers.js
@@ -39,8 +39,7 @@ exports.A = A;
var B = (function (_super) {
tslib_1.__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
@@ -88,8 +87,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/importHelpersNoModule.js b/tests/baselines/reference/importHelpersNoModule.js
index 5891922f9f2..41df9710f33 100644
--- a/tests/baselines/reference/importHelpersNoModule.js
+++ b/tests/baselines/reference/importHelpersNoModule.js
@@ -37,8 +37,7 @@ exports.A = A;
var B = (function (_super) {
tslib_1.__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
@@ -86,8 +85,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/importHelpersOutFile.js b/tests/baselines/reference/importHelpersOutFile.js
index b4c2040aa71..a45f6285782 100644
--- a/tests/baselines/reference/importHelpersOutFile.js
+++ b/tests/baselines/reference/importHelpersOutFile.js
@@ -35,8 +35,7 @@ define("b", ["require", "exports", "tslib", "a"], function (require, exports, ts
var B = (function (_super) {
tslib_1.__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(a_1.A));
@@ -47,8 +46,7 @@ define("c", ["require", "exports", "tslib", "a"], function (require, exports, ts
var C = (function (_super) {
tslib_2.__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(a_2.A));
diff --git a/tests/baselines/reference/importHelpersSystem.js b/tests/baselines/reference/importHelpersSystem.js
index 552bd0ed404..20f2d299c52 100644
--- a/tests/baselines/reference/importHelpersSystem.js
+++ b/tests/baselines/reference/importHelpersSystem.js
@@ -51,8 +51,7 @@ System.register(["tslib", "./a"], function (exports_1, context_1) {
B = (function (_super) {
tslib_1.__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(a_1.A));
diff --git a/tests/baselines/reference/importShadowsGlobalName.js b/tests/baselines/reference/importShadowsGlobalName.js
index b4950b039f3..34cc0604e7a 100644
--- a/tests/baselines/reference/importShadowsGlobalName.js
+++ b/tests/baselines/reference/importShadowsGlobalName.js
@@ -31,8 +31,7 @@ define(["require", "exports", "Foo"], function (require, exports, Error) {
var Bar = (function (_super) {
__extends(Bar, _super);
function Bar() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Bar;
}(Error));
diff --git a/tests/baselines/reference/importUsedInExtendsList1.js b/tests/baselines/reference/importUsedInExtendsList1.js
index 956e20a1045..a40c3a51a78 100644
--- a/tests/baselines/reference/importUsedInExtendsList1.js
+++ b/tests/baselines/reference/importUsedInExtendsList1.js
@@ -31,8 +31,7 @@ var foo = require("./importUsedInExtendsList1_require");
var Sub = (function (_super) {
__extends(Sub, _super);
function Sub() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Sub;
}(foo.Super));
diff --git a/tests/baselines/reference/indexerConstraints2.js b/tests/baselines/reference/indexerConstraints2.js
index c8b910abb2d..d7357f021d0 100644
--- a/tests/baselines/reference/indexerConstraints2.js
+++ b/tests/baselines/reference/indexerConstraints2.js
@@ -42,8 +42,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
@@ -56,8 +55,7 @@ var F = (function () {
var G = (function (_super) {
__extends(G, _super);
function G() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return G;
}(F));
@@ -70,8 +68,7 @@ var H = (function () {
var I = (function (_super) {
__extends(I, _super);
function I() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return I;
}(H));
@@ -84,8 +81,7 @@ var J = (function () {
var K = (function (_super) {
__extends(K, _super);
function K() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return K;
}(J));
diff --git a/tests/baselines/reference/indirectSelfReference.js b/tests/baselines/reference/indirectSelfReference.js
index c1c77ec5fc9..2f4f37b9b53 100644
--- a/tests/baselines/reference/indirectSelfReference.js
+++ b/tests/baselines/reference/indirectSelfReference.js
@@ -11,16 +11,14 @@ var __extends = (this && this.__extends) || function (d, b) {
var a = (function (_super) {
__extends(a, _super);
function a() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return a;
}(b));
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return b;
}(a));
diff --git a/tests/baselines/reference/indirectSelfReferenceGeneric.js b/tests/baselines/reference/indirectSelfReferenceGeneric.js
index 366ad1f0af5..9171bb0eeb6 100644
--- a/tests/baselines/reference/indirectSelfReferenceGeneric.js
+++ b/tests/baselines/reference/indirectSelfReferenceGeneric.js
@@ -11,16 +11,14 @@ var __extends = (this && this.__extends) || function (d, b) {
var a = (function (_super) {
__extends(a, _super);
function a() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return a;
}(b));
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return b;
}(a));
diff --git a/tests/baselines/reference/infinitelyExpandingTypesNonGenericBase.js b/tests/baselines/reference/infinitelyExpandingTypesNonGenericBase.js
index 9b145b55d04..ad1a063bfb0 100644
--- a/tests/baselines/reference/infinitelyExpandingTypesNonGenericBase.js
+++ b/tests/baselines/reference/infinitelyExpandingTypesNonGenericBase.js
@@ -43,8 +43,7 @@ var Base = (function () {
var A = (function (_super) {
__extends(A, _super);
function A() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return A;
}(Base));
diff --git a/tests/baselines/reference/inheritFromGenericTypeParameter.js b/tests/baselines/reference/inheritFromGenericTypeParameter.js
index 5db269f7c58..40e6abd3e53 100644
--- a/tests/baselines/reference/inheritFromGenericTypeParameter.js
+++ b/tests/baselines/reference/inheritFromGenericTypeParameter.js
@@ -11,8 +11,7 @@ var __extends = (this && this.__extends) || function (d, b) {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(T));
diff --git a/tests/baselines/reference/inheritSameNamePrivatePropertiesFromSameOrigin.js b/tests/baselines/reference/inheritSameNamePrivatePropertiesFromSameOrigin.js
index 7f3e872245b..a0874eb1c72 100644
--- a/tests/baselines/reference/inheritSameNamePrivatePropertiesFromSameOrigin.js
+++ b/tests/baselines/reference/inheritSameNamePrivatePropertiesFromSameOrigin.js
@@ -24,16 +24,14 @@ var B = (function () {
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(B));
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(B));
diff --git a/tests/baselines/reference/inheritance.js b/tests/baselines/reference/inheritance.js
index c4acea22260..cbfef2d3382 100644
--- a/tests/baselines/reference/inheritance.js
+++ b/tests/baselines/reference/inheritance.js
@@ -53,16 +53,14 @@ var B2 = (function () {
var D1 = (function (_super) {
__extends(D1, _super);
function D1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D1;
}(B1));
var D2 = (function (_super) {
__extends(D2, _super);
function D2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D2;
}(B2));
@@ -74,8 +72,7 @@ var N = (function () {
var ND = (function (_super) {
__extends(ND, _super);
function ND() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return ND;
}(N));
@@ -89,8 +86,7 @@ var Good = (function () {
var Baad = (function (_super) {
__extends(Baad, _super);
function Baad() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Baad.prototype.f = function () { return 0; };
Baad.prototype.g = function (n) { return 0; };
diff --git a/tests/baselines/reference/inheritance1.js b/tests/baselines/reference/inheritance1.js
index f555d5bf694..86de0b76350 100644
--- a/tests/baselines/reference/inheritance1.js
+++ b/tests/baselines/reference/inheritance1.js
@@ -75,8 +75,7 @@ var Control = (function () {
var Button = (function (_super) {
__extends(Button, _super);
function Button() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Button.prototype.select = function () { };
return Button;
@@ -84,8 +83,7 @@ var Button = (function (_super) {
var TextBox = (function (_super) {
__extends(TextBox, _super);
function TextBox() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
TextBox.prototype.select = function () { };
return TextBox;
@@ -93,16 +91,14 @@ var TextBox = (function (_super) {
var ImageBase = (function (_super) {
__extends(ImageBase, _super);
function ImageBase() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return ImageBase;
}(Control));
var Image1 = (function (_super) {
__extends(Image1, _super);
function Image1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Image1;
}(Control));
diff --git a/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollision.js b/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollision.js
index 2ed366d7b8a..57a9c897583 100644
--- a/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollision.js
+++ b/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollision.js
@@ -25,16 +25,14 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C.prototype.myMethod = function () { };
return C;
diff --git a/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js b/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js
index 369c6b20a14..83c5aa3e4cd 100644
--- a/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js
+++ b/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js
@@ -25,16 +25,14 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C.prototype.myMethod = function () { };
return C;
diff --git a/tests/baselines/reference/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js b/tests/baselines/reference/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js
index d884364d95c..b11b6e318a7 100644
--- a/tests/baselines/reference/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js
+++ b/tests/baselines/reference/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js
@@ -25,16 +25,14 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
C.prototype.myMethod = function () { };
return C;
diff --git a/tests/baselines/reference/inheritanceMemberAccessorOverridingAccessor.js b/tests/baselines/reference/inheritanceMemberAccessorOverridingAccessor.js
index c1289f99a78..09ea08899d9 100644
--- a/tests/baselines/reference/inheritanceMemberAccessorOverridingAccessor.js
+++ b/tests/baselines/reference/inheritanceMemberAccessorOverridingAccessor.js
@@ -40,8 +40,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(b.prototype, "x", {
get: function () {
diff --git a/tests/baselines/reference/inheritanceMemberAccessorOverridingMethod.js b/tests/baselines/reference/inheritanceMemberAccessorOverridingMethod.js
index 665b547154d..59d2abdaab2 100644
--- a/tests/baselines/reference/inheritanceMemberAccessorOverridingMethod.js
+++ b/tests/baselines/reference/inheritanceMemberAccessorOverridingMethod.js
@@ -31,8 +31,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(b.prototype, "x", {
get: function () {
diff --git a/tests/baselines/reference/inheritanceMemberAccessorOverridingProperty.js b/tests/baselines/reference/inheritanceMemberAccessorOverridingProperty.js
index a9a92003542..98a95747a8e 100644
--- a/tests/baselines/reference/inheritanceMemberAccessorOverridingProperty.js
+++ b/tests/baselines/reference/inheritanceMemberAccessorOverridingProperty.js
@@ -26,8 +26,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(b.prototype, "x", {
get: function () {
diff --git a/tests/baselines/reference/inheritanceMemberFuncOverridingAccessor.js b/tests/baselines/reference/inheritanceMemberFuncOverridingAccessor.js
index 17541ee163d..0d54e5d42fa 100644
--- a/tests/baselines/reference/inheritanceMemberFuncOverridingAccessor.js
+++ b/tests/baselines/reference/inheritanceMemberFuncOverridingAccessor.js
@@ -37,8 +37,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
b.prototype.x = function () {
return "20";
diff --git a/tests/baselines/reference/inheritanceMemberFuncOverridingMethod.js b/tests/baselines/reference/inheritanceMemberFuncOverridingMethod.js
index a154d0426a9..9af25c6fdb8 100644
--- a/tests/baselines/reference/inheritanceMemberFuncOverridingMethod.js
+++ b/tests/baselines/reference/inheritanceMemberFuncOverridingMethod.js
@@ -28,8 +28,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
b.prototype.x = function () {
return "20";
diff --git a/tests/baselines/reference/inheritanceMemberFuncOverridingProperty.js b/tests/baselines/reference/inheritanceMemberFuncOverridingProperty.js
index be10895642e..5c77ce08101 100644
--- a/tests/baselines/reference/inheritanceMemberFuncOverridingProperty.js
+++ b/tests/baselines/reference/inheritanceMemberFuncOverridingProperty.js
@@ -23,8 +23,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
b.prototype.x = function () {
return "20";
diff --git a/tests/baselines/reference/inheritanceMemberPropertyOverridingAccessor.js b/tests/baselines/reference/inheritanceMemberPropertyOverridingAccessor.js
index 6895077abda..82c7a94d17c 100644
--- a/tests/baselines/reference/inheritanceMemberPropertyOverridingAccessor.js
+++ b/tests/baselines/reference/inheritanceMemberPropertyOverridingAccessor.js
@@ -37,8 +37,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return b;
}(a));
diff --git a/tests/baselines/reference/inheritanceMemberPropertyOverridingMethod.js b/tests/baselines/reference/inheritanceMemberPropertyOverridingMethod.js
index 00c1093053b..e6929218e63 100644
--- a/tests/baselines/reference/inheritanceMemberPropertyOverridingMethod.js
+++ b/tests/baselines/reference/inheritanceMemberPropertyOverridingMethod.js
@@ -26,8 +26,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return b;
}(a));
diff --git a/tests/baselines/reference/inheritanceMemberPropertyOverridingProperty.js b/tests/baselines/reference/inheritanceMemberPropertyOverridingProperty.js
index 6cbb7ae7e8c..85764cddc52 100644
--- a/tests/baselines/reference/inheritanceMemberPropertyOverridingProperty.js
+++ b/tests/baselines/reference/inheritanceMemberPropertyOverridingProperty.js
@@ -21,8 +21,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return b;
}(a));
diff --git a/tests/baselines/reference/inheritanceOfGenericConstructorMethod1.js b/tests/baselines/reference/inheritanceOfGenericConstructorMethod1.js
index 370e27514c1..28fe8144509 100644
--- a/tests/baselines/reference/inheritanceOfGenericConstructorMethod1.js
+++ b/tests/baselines/reference/inheritanceOfGenericConstructorMethod1.js
@@ -21,8 +21,7 @@ var A = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/inheritanceOfGenericConstructorMethod2.js b/tests/baselines/reference/inheritanceOfGenericConstructorMethod2.js
index a61b6bafabd..0cc71e168f4 100644
--- a/tests/baselines/reference/inheritanceOfGenericConstructorMethod2.js
+++ b/tests/baselines/reference/inheritanceOfGenericConstructorMethod2.js
@@ -40,8 +40,7 @@ var N;
var D1 = (function (_super) {
__extends(D1, _super);
function D1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D1;
}(M.C1));
@@ -49,8 +48,7 @@ var N;
var D2 = (function (_super) {
__extends(D2, _super);
function D2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D2;
}(M.C2));
diff --git a/tests/baselines/reference/inheritanceStaticAccessorOverridingAccessor.js b/tests/baselines/reference/inheritanceStaticAccessorOverridingAccessor.js
index 9f71208e5db..bb91ee5f9ea 100644
--- a/tests/baselines/reference/inheritanceStaticAccessorOverridingAccessor.js
+++ b/tests/baselines/reference/inheritanceStaticAccessorOverridingAccessor.js
@@ -40,8 +40,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(b, "x", {
get: function () {
diff --git a/tests/baselines/reference/inheritanceStaticAccessorOverridingMethod.js b/tests/baselines/reference/inheritanceStaticAccessorOverridingMethod.js
index 2e0c3dc90d0..363852a84bf 100644
--- a/tests/baselines/reference/inheritanceStaticAccessorOverridingMethod.js
+++ b/tests/baselines/reference/inheritanceStaticAccessorOverridingMethod.js
@@ -31,8 +31,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(b, "x", {
get: function () {
diff --git a/tests/baselines/reference/inheritanceStaticAccessorOverridingProperty.js b/tests/baselines/reference/inheritanceStaticAccessorOverridingProperty.js
index 95bf94572b1..ba8df7a5f0b 100644
--- a/tests/baselines/reference/inheritanceStaticAccessorOverridingProperty.js
+++ b/tests/baselines/reference/inheritanceStaticAccessorOverridingProperty.js
@@ -26,8 +26,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Object.defineProperty(b, "x", {
get: function () {
diff --git a/tests/baselines/reference/inheritanceStaticFuncOverridingAccessor.js b/tests/baselines/reference/inheritanceStaticFuncOverridingAccessor.js
index 25d75bea5af..e464029fba5 100644
--- a/tests/baselines/reference/inheritanceStaticFuncOverridingAccessor.js
+++ b/tests/baselines/reference/inheritanceStaticFuncOverridingAccessor.js
@@ -37,8 +37,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
b.x = function () {
return "20";
diff --git a/tests/baselines/reference/inheritanceStaticFuncOverridingAccessorOfFuncType.js b/tests/baselines/reference/inheritanceStaticFuncOverridingAccessorOfFuncType.js
index 5c39c10e738..cc825cfa9b5 100644
--- a/tests/baselines/reference/inheritanceStaticFuncOverridingAccessorOfFuncType.js
+++ b/tests/baselines/reference/inheritanceStaticFuncOverridingAccessorOfFuncType.js
@@ -32,8 +32,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
b.x = function () {
return "20";
diff --git a/tests/baselines/reference/inheritanceStaticFuncOverridingMethod.js b/tests/baselines/reference/inheritanceStaticFuncOverridingMethod.js
index c37caf8d53c..466c65fa7d5 100644
--- a/tests/baselines/reference/inheritanceStaticFuncOverridingMethod.js
+++ b/tests/baselines/reference/inheritanceStaticFuncOverridingMethod.js
@@ -28,8 +28,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
b.x = function () {
return "20";
diff --git a/tests/baselines/reference/inheritanceStaticFuncOverridingProperty.js b/tests/baselines/reference/inheritanceStaticFuncOverridingProperty.js
index eb185d56d0b..dfc0ce2c13f 100644
--- a/tests/baselines/reference/inheritanceStaticFuncOverridingProperty.js
+++ b/tests/baselines/reference/inheritanceStaticFuncOverridingProperty.js
@@ -23,8 +23,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
b.x = function () {
return "20";
diff --git a/tests/baselines/reference/inheritanceStaticFuncOverridingPropertyOfFuncType.js b/tests/baselines/reference/inheritanceStaticFuncOverridingPropertyOfFuncType.js
index 0779cc10d37..da7850f2071 100644
--- a/tests/baselines/reference/inheritanceStaticFuncOverridingPropertyOfFuncType.js
+++ b/tests/baselines/reference/inheritanceStaticFuncOverridingPropertyOfFuncType.js
@@ -23,8 +23,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
b.x = function () {
return "20";
diff --git a/tests/baselines/reference/inheritanceStaticFunctionOverridingInstanceProperty.js b/tests/baselines/reference/inheritanceStaticFunctionOverridingInstanceProperty.js
index 4934947233f..d5916a9d452 100644
--- a/tests/baselines/reference/inheritanceStaticFunctionOverridingInstanceProperty.js
+++ b/tests/baselines/reference/inheritanceStaticFunctionOverridingInstanceProperty.js
@@ -23,8 +23,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
b.x = function () {
return new b().x;
diff --git a/tests/baselines/reference/inheritanceStaticMembersCompatible.js b/tests/baselines/reference/inheritanceStaticMembersCompatible.js
index 27a65d513fd..b4cae99b64b 100644
--- a/tests/baselines/reference/inheritanceStaticMembersCompatible.js
+++ b/tests/baselines/reference/inheritanceStaticMembersCompatible.js
@@ -21,8 +21,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return b;
}(a));
diff --git a/tests/baselines/reference/inheritanceStaticMembersIncompatible.js b/tests/baselines/reference/inheritanceStaticMembersIncompatible.js
index 7cfafdf1f9d..38c637dd8d1 100644
--- a/tests/baselines/reference/inheritanceStaticMembersIncompatible.js
+++ b/tests/baselines/reference/inheritanceStaticMembersIncompatible.js
@@ -21,8 +21,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return b;
}(a));
diff --git a/tests/baselines/reference/inheritanceStaticPropertyOverridingAccessor.js b/tests/baselines/reference/inheritanceStaticPropertyOverridingAccessor.js
index 1840a7829e8..49dc86fc500 100644
--- a/tests/baselines/reference/inheritanceStaticPropertyOverridingAccessor.js
+++ b/tests/baselines/reference/inheritanceStaticPropertyOverridingAccessor.js
@@ -36,8 +36,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return b;
}(a));
diff --git a/tests/baselines/reference/inheritanceStaticPropertyOverridingMethod.js b/tests/baselines/reference/inheritanceStaticPropertyOverridingMethod.js
index 8e498273b86..bcd63537540 100644
--- a/tests/baselines/reference/inheritanceStaticPropertyOverridingMethod.js
+++ b/tests/baselines/reference/inheritanceStaticPropertyOverridingMethod.js
@@ -26,8 +26,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return b;
}(a));
diff --git a/tests/baselines/reference/inheritanceStaticPropertyOverridingProperty.js b/tests/baselines/reference/inheritanceStaticPropertyOverridingProperty.js
index c003eaa60b4..c1bdd9b66a2 100644
--- a/tests/baselines/reference/inheritanceStaticPropertyOverridingProperty.js
+++ b/tests/baselines/reference/inheritanceStaticPropertyOverridingProperty.js
@@ -21,8 +21,7 @@ var a = (function () {
var b = (function (_super) {
__extends(b, _super);
function b() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return b;
}(a));
diff --git a/tests/baselines/reference/inheritedConstructorWithRestParams.js b/tests/baselines/reference/inheritedConstructorWithRestParams.js
index ca6a379816f..c9db1756676 100644
--- a/tests/baselines/reference/inheritedConstructorWithRestParams.js
+++ b/tests/baselines/reference/inheritedConstructorWithRestParams.js
@@ -32,8 +32,7 @@ var Base = (function () {
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/inheritedConstructorWithRestParams2.js b/tests/baselines/reference/inheritedConstructorWithRestParams2.js
index b323aefbd48..9a1b13a8434 100644
--- a/tests/baselines/reference/inheritedConstructorWithRestParams2.js
+++ b/tests/baselines/reference/inheritedConstructorWithRestParams2.js
@@ -53,16 +53,14 @@ var BaseBase2 = (function () {
var Base = (function (_super) {
__extends(Base, _super);
function Base() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Base;
}(BaseBase));
var Derived = (function (_super) {
__extends(Derived, _super);
function Derived() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Derived;
}(Base));
diff --git a/tests/baselines/reference/inheritedModuleMembersForClodule.js b/tests/baselines/reference/inheritedModuleMembersForClodule.js
index 1de6f5f638a..7ba382e8c47 100644
--- a/tests/baselines/reference/inheritedModuleMembersForClodule.js
+++ b/tests/baselines/reference/inheritedModuleMembersForClodule.js
@@ -38,8 +38,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
@@ -54,8 +53,7 @@ var D;
var E = (function (_super) {
__extends(E, _super);
function E() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
E.bar = function () {
return this.foo();
diff --git a/tests/baselines/reference/instanceOfAssignability.js b/tests/baselines/reference/instanceOfAssignability.js
index f78378f0885..b8f39c5b0e2 100644
--- a/tests/baselines/reference/instanceOfAssignability.js
+++ b/tests/baselines/reference/instanceOfAssignability.js
@@ -115,16 +115,14 @@ var Animal = (function () {
var Mammal = (function (_super) {
__extends(Mammal, _super);
function Mammal() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Mammal;
}(Animal));
var Giraffe = (function (_super) {
__extends(Giraffe, _super);
function Giraffe() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Giraffe;
}(Mammal));
diff --git a/tests/baselines/reference/instancePropertiesInheritedIntoClassType.js b/tests/baselines/reference/instancePropertiesInheritedIntoClassType.js
index cf056e768d8..8dc5227685f 100644
--- a/tests/baselines/reference/instancePropertiesInheritedIntoClassType.js
+++ b/tests/baselines/reference/instancePropertiesInheritedIntoClassType.js
@@ -69,8 +69,7 @@ var NonGeneric;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
@@ -102,8 +101,7 @@ var Generic;
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
diff --git a/tests/baselines/reference/instanceSubtypeCheck2.js b/tests/baselines/reference/instanceSubtypeCheck2.js
index e70dc7b6481..914f3796001 100644
--- a/tests/baselines/reference/instanceSubtypeCheck2.js
+++ b/tests/baselines/reference/instanceSubtypeCheck2.js
@@ -21,8 +21,7 @@ var C1 = (function () {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(C1));
diff --git a/tests/baselines/reference/instanceofWithStructurallyIdenticalTypes.js b/tests/baselines/reference/instanceofWithStructurallyIdenticalTypes.js
index de2789caa68..54a574238e5 100644
--- a/tests/baselines/reference/instanceofWithStructurallyIdenticalTypes.js
+++ b/tests/baselines/reference/instanceofWithStructurallyIdenticalTypes.js
@@ -128,8 +128,7 @@ var A = (function () {
var A1 = (function (_super) {
__extends(A1, _super);
function A1() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return A1;
}(A));
@@ -141,8 +140,7 @@ var A2 = (function () {
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(A));
diff --git a/tests/baselines/reference/instantiatedReturnTypeContravariance.js b/tests/baselines/reference/instantiatedReturnTypeContravariance.js
index 83ad38e64f0..bc496a63632 100644
--- a/tests/baselines/reference/instantiatedReturnTypeContravariance.js
+++ b/tests/baselines/reference/instantiatedReturnTypeContravariance.js
@@ -47,8 +47,7 @@ var c = (function () {
var d = (function (_super) {
__extends(d, _super);
function d() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
d.prototype.foo = function () {
return null;
diff --git a/tests/baselines/reference/interfaceClassMerging.js b/tests/baselines/reference/interfaceClassMerging.js
index 6111e7f8cee..6542376a19b 100644
--- a/tests/baselines/reference/interfaceClassMerging.js
+++ b/tests/baselines/reference/interfaceClassMerging.js
@@ -57,8 +57,7 @@ var Foo = (function () {
var Bar = (function (_super) {
__extends(Bar, _super);
function Bar() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Bar.prototype.method = function (a) {
return this.optionalProperty;
diff --git a/tests/baselines/reference/interfaceClassMerging2.js b/tests/baselines/reference/interfaceClassMerging2.js
index 499bd219905..70a62da4131 100644
--- a/tests/baselines/reference/interfaceClassMerging2.js
+++ b/tests/baselines/reference/interfaceClassMerging2.js
@@ -53,8 +53,7 @@ var Foo = (function () {
var Bar = (function (_super) {
__extends(Bar, _super);
function Bar() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Bar.prototype.classBarMethod = function () {
return this;
diff --git a/tests/baselines/reference/interfaceExtendsClass1.js b/tests/baselines/reference/interfaceExtendsClass1.js
index 70ceaa8acd3..8324a001f91 100644
--- a/tests/baselines/reference/interfaceExtendsClass1.js
+++ b/tests/baselines/reference/interfaceExtendsClass1.js
@@ -32,8 +32,7 @@ var Control = (function () {
var Button = (function (_super) {
__extends(Button, _super);
function Button() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
Button.prototype.select = function () { };
return Button;
@@ -41,8 +40,7 @@ var Button = (function (_super) {
var TextBox = (function (_super) {
__extends(TextBox, _super);
function TextBox() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
TextBox.prototype.select = function () { };
return TextBox;
@@ -50,8 +48,7 @@ var TextBox = (function (_super) {
var Image = (function (_super) {
__extends(Image, _super);
function Image() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return Image;
}(Control));
diff --git a/tests/baselines/reference/interfaceExtendsClassWithPrivate1.js b/tests/baselines/reference/interfaceExtendsClassWithPrivate1.js
index 5e6695dd200..1179ff101df 100644
--- a/tests/baselines/reference/interfaceExtendsClassWithPrivate1.js
+++ b/tests/baselines/reference/interfaceExtendsClassWithPrivate1.js
@@ -43,8 +43,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
D.prototype.foo = function (x) { return x; };
D.prototype.other = function (x) { return x; };
diff --git a/tests/baselines/reference/interfaceImplementation8.js b/tests/baselines/reference/interfaceImplementation8.js
index f3bfa4db6a5..afb5a795264 100644
--- a/tests/baselines/reference/interfaceImplementation8.js
+++ b/tests/baselines/reference/interfaceImplementation8.js
@@ -64,24 +64,21 @@ var C3 = (function () {
var C4 = (function (_super) {
__extends(C4, _super);
function C4() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C4;
}(C1));
var C5 = (function (_super) {
__extends(C5, _super);
function C5() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C5;
}(C2));
var C6 = (function (_super) {
__extends(C6, _super);
function C6() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C6;
}(C3));
@@ -93,8 +90,7 @@ var C7 = (function () {
var C8 = (function (_super) {
__extends(C8, _super);
function C8() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C8;
}(C7));
diff --git a/tests/baselines/reference/invalidModuleWithStatementsOfEveryKind.js b/tests/baselines/reference/invalidModuleWithStatementsOfEveryKind.js
index 75bf3f91884..6e9b09c906f 100644
--- a/tests/baselines/reference/invalidModuleWithStatementsOfEveryKind.js
+++ b/tests/baselines/reference/invalidModuleWithStatementsOfEveryKind.js
@@ -95,8 +95,7 @@ var Y;
var BB = (function (_super) {
__extends(BB, _super);
function BB() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return BB;
}(A));
@@ -111,8 +110,7 @@ var Y2;
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(AA));
@@ -146,8 +144,7 @@ var YY;
var BB = (function (_super) {
__extends(BB, _super);
function BB() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return BB;
}(A));
@@ -162,8 +159,7 @@ var YY2;
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(AA));
@@ -197,8 +193,7 @@ var YYY;
var BB = (function (_super) {
__extends(BB, _super);
function BB() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return BB;
}(A));
@@ -213,8 +208,7 @@ var YYY2;
var B = (function (_super) {
__extends(B, _super);
function B() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return B;
}(AA));
diff --git a/tests/baselines/reference/invalidMultipleVariableDeclarations.js b/tests/baselines/reference/invalidMultipleVariableDeclarations.js
index b4fbd6f3698..340429cc398 100644
--- a/tests/baselines/reference/invalidMultipleVariableDeclarations.js
+++ b/tests/baselines/reference/invalidMultipleVariableDeclarations.js
@@ -67,8 +67,7 @@ var C = (function () {
var C2 = (function (_super) {
__extends(C2, _super);
function C2() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C2;
}(C));
diff --git a/tests/baselines/reference/invalidReturnStatements.js b/tests/baselines/reference/invalidReturnStatements.js
index 1409b1c59a8..a6b07b7d7bd 100644
--- a/tests/baselines/reference/invalidReturnStatements.js
+++ b/tests/baselines/reference/invalidReturnStatements.js
@@ -41,8 +41,7 @@ var C = (function () {
var D = (function (_super) {
__extends(D, _super);
function D() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return D;
}(C));
diff --git a/tests/baselines/reference/isolatedModulesImportExportElision.js b/tests/baselines/reference/isolatedModulesImportExportElision.js
index baf2d1de129..6f1d38dcbb5 100644
--- a/tests/baselines/reference/isolatedModulesImportExportElision.js
+++ b/tests/baselines/reference/isolatedModulesImportExportElision.js
@@ -26,8 +26,7 @@ var ns = require("module");
var C = (function (_super) {
__extends(C, _super);
function C() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
return C;
}(module_2.c2.C));
diff --git a/tests/baselines/reference/jsxViaImport.js b/tests/baselines/reference/jsxViaImport.js
index c149d4e3c3d..604787af744 100644
--- a/tests/baselines/reference/jsxViaImport.js
+++ b/tests/baselines/reference/jsxViaImport.js
@@ -35,8 +35,7 @@ var BaseComponent = require("BaseComponent");
var TestComponent = (function (_super) {
__extends(TestComponent, _super);
function TestComponent() {
- var _this = _super.apply(this, arguments) || this;
- return _this;
+ return _super.apply(this, arguments) || this;
}
TestComponent.prototype.render = function () {
return