mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Accepted baselines.
This commit is contained in:
+2
-1
@@ -38,7 +38,8 @@ var A;
|
||||
var Point3d = (function (_super) {
|
||||
__extends(Point3d, _super);
|
||||
function Point3d() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Point3d;
|
||||
}(Point));
|
||||
|
||||
+2
-1
@@ -41,7 +41,8 @@ var A;
|
||||
var Point3d = (function (_super) {
|
||||
__extends(Point3d, _super);
|
||||
function Point3d() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Point3d;
|
||||
}(Point));
|
||||
|
||||
@@ -22,7 +22,8 @@ var __extends = (this && this.__extends) || function (d, b) {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
|
||||
@@ -22,7 +22,8 @@ var __extends = (this && this.__extends) || function (d, b) {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
|
||||
@@ -35,7 +35,8 @@ var B = (function () {
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this;
|
||||
_this = _super.apply(this, arguments) || this;
|
||||
this.raw = "edge";
|
||||
this.ro = "readonly please";
|
||||
}
|
||||
|
||||
@@ -57,7 +57,8 @@ var B = (function () {
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this;
|
||||
_this = _super.apply(this, arguments) || this;
|
||||
this.ro = "readonly please";
|
||||
}
|
||||
Object.defineProperty(C.prototype, "concreteWithNoBody", {
|
||||
@@ -77,7 +78,8 @@ var WrongTypeProperty = (function () {
|
||||
var WrongTypePropertyImpl = (function (_super) {
|
||||
__extends(WrongTypePropertyImpl, _super);
|
||||
function WrongTypePropertyImpl() {
|
||||
_super.apply(this, arguments);
|
||||
var _this;
|
||||
_this = _super.apply(this, arguments) || this;
|
||||
this.num = "nope, wrong";
|
||||
}
|
||||
return WrongTypePropertyImpl;
|
||||
@@ -90,7 +92,8 @@ var WrongTypeAccessor = (function () {
|
||||
var WrongTypeAccessorImpl = (function (_super) {
|
||||
__extends(WrongTypeAccessorImpl, _super);
|
||||
function WrongTypeAccessorImpl() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
Object.defineProperty(WrongTypeAccessorImpl.prototype, "num", {
|
||||
get: function () { return "nope, wrong"; },
|
||||
@@ -102,7 +105,8 @@ var WrongTypeAccessorImpl = (function (_super) {
|
||||
var WrongTypeAccessorImpl2 = (function (_super) {
|
||||
__extends(WrongTypeAccessorImpl2, _super);
|
||||
function WrongTypeAccessorImpl2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this;
|
||||
_this = _super.apply(this, arguments) || this;
|
||||
this.num = "nope, wrong";
|
||||
}
|
||||
return WrongTypeAccessorImpl2;
|
||||
|
||||
@@ -34,7 +34,8 @@ var Point = (function () {
|
||||
var ColoredPoint = (function (_super) {
|
||||
__extends(ColoredPoint, _super);
|
||||
function ColoredPoint(x, y, color) {
|
||||
_super.call(this, x, y);
|
||||
var _this;
|
||||
_this = _super.call(this, x, y) || this;
|
||||
this.color = color;
|
||||
}
|
||||
ColoredPoint.prototype.toString = function () {
|
||||
|
||||
@@ -38,7 +38,8 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
|
||||
@@ -46,7 +46,8 @@ var Backbone = require("./aliasUsage1_backbone");
|
||||
var VisualizationModel = (function (_super) {
|
||||
__extends(VisualizationModel, _super);
|
||||
function VisualizationModel() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return VisualizationModel;
|
||||
}(Backbone.Model));
|
||||
|
||||
@@ -40,7 +40,8 @@ var Backbone = require("./aliasUsageInArray_backbone");
|
||||
var VisualizationModel = (function (_super) {
|
||||
__extends(VisualizationModel, _super);
|
||||
function VisualizationModel() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return VisualizationModel;
|
||||
}(Backbone.Model));
|
||||
|
||||
@@ -39,7 +39,8 @@ var Backbone = require("./aliasUsageInFunctionExpression_backbone");
|
||||
var VisualizationModel = (function (_super) {
|
||||
__extends(VisualizationModel, _super);
|
||||
function VisualizationModel() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return VisualizationModel;
|
||||
}(Backbone.Model));
|
||||
|
||||
@@ -43,7 +43,8 @@ var Backbone = require("./aliasUsageInGenericFunction_backbone");
|
||||
var VisualizationModel = (function (_super) {
|
||||
__extends(VisualizationModel, _super);
|
||||
function VisualizationModel() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return VisualizationModel;
|
||||
}(Backbone.Model));
|
||||
|
||||
@@ -45,7 +45,8 @@ var Backbone = require("./aliasUsageInIndexerOfClass_backbone");
|
||||
var VisualizationModel = (function (_super) {
|
||||
__extends(VisualizationModel, _super);
|
||||
function VisualizationModel() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return VisualizationModel;
|
||||
}(Backbone.Model));
|
||||
|
||||
@@ -40,7 +40,8 @@ var Backbone = require("./aliasUsageInObjectLiteral_backbone");
|
||||
var VisualizationModel = (function (_super) {
|
||||
__extends(VisualizationModel, _super);
|
||||
function VisualizationModel() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return VisualizationModel;
|
||||
}(Backbone.Model));
|
||||
|
||||
@@ -43,7 +43,8 @@ var Backbone = require("./aliasUsageInOrExpression_backbone");
|
||||
var VisualizationModel = (function (_super) {
|
||||
__extends(VisualizationModel, _super);
|
||||
function VisualizationModel() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return VisualizationModel;
|
||||
}(Backbone.Model));
|
||||
|
||||
@@ -43,7 +43,8 @@ var Backbone = require("./aliasUsageInTypeArgumentOfExtendsClause_backbone");
|
||||
var VisualizationModel = (function (_super) {
|
||||
__extends(VisualizationModel, _super);
|
||||
function VisualizationModel() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return VisualizationModel;
|
||||
}(Backbone.Model));
|
||||
@@ -64,7 +65,8 @@ var C = (function () {
|
||||
var D = (function (_super) {
|
||||
__extends(D, _super);
|
||||
function D() {
|
||||
_super.apply(this, arguments);
|
||||
var _this;
|
||||
_this = _super.apply(this, arguments) || this;
|
||||
this.x = moduleA;
|
||||
}
|
||||
return D;
|
||||
|
||||
@@ -39,7 +39,8 @@ var Backbone = require("./aliasUsageInVarAssignment_backbone");
|
||||
var VisualizationModel = (function (_super) {
|
||||
__extends(VisualizationModel, _super);
|
||||
function VisualizationModel() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return VisualizationModel;
|
||||
}(Backbone.Model));
|
||||
|
||||
@@ -22,7 +22,8 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
|
||||
@@ -38,7 +38,8 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
@@ -51,7 +52,8 @@ var Base2 = (function () {
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Base2));
|
||||
|
||||
@@ -28,7 +28,8 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
|
||||
@@ -101,7 +101,8 @@ var C1 = (function () {
|
||||
var C2 = (function (_super) {
|
||||
__extends(C2, _super);
|
||||
function C2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
C2.prototype.C2M1 = function () { return null; };
|
||||
return C2;
|
||||
|
||||
@@ -75,7 +75,8 @@ var C1 = (function () {
|
||||
var C2 = (function (_super) {
|
||||
__extends(C2, _super);
|
||||
function C2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
C2.prototype.C2M1 = function () { return null; };
|
||||
return C2;
|
||||
|
||||
@@ -128,7 +128,8 @@ var EmptyTypes;
|
||||
var derived = (function (_super) {
|
||||
__extends(derived, _super);
|
||||
function derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return derived;
|
||||
}(base));
|
||||
@@ -187,7 +188,8 @@ var NonEmptyTypes;
|
||||
var derived = (function (_super) {
|
||||
__extends(derived, _super);
|
||||
function derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return derived;
|
||||
}(base));
|
||||
|
||||
@@ -65,14 +65,16 @@ var Action = (function () {
|
||||
var ActionA = (function (_super) {
|
||||
__extends(ActionA, _super);
|
||||
function ActionA() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return ActionA;
|
||||
}(Action));
|
||||
var ActionB = (function (_super) {
|
||||
__extends(ActionB, _super);
|
||||
function ActionB() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return ActionB;
|
||||
}(Action));
|
||||
|
||||
@@ -70,7 +70,8 @@ var Base = (function () {
|
||||
var Derived1 = (function (_super) {
|
||||
__extends(Derived1, _super);
|
||||
function Derived1() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived1;
|
||||
}(Base));
|
||||
@@ -78,7 +79,8 @@ var Derived1 = (function (_super) {
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Base));
|
||||
|
||||
@@ -39,7 +39,8 @@ var List = (function () {
|
||||
var DerivedList = (function (_super) {
|
||||
__extends(DerivedList, _super);
|
||||
function DerivedList() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return DerivedList;
|
||||
}(List));
|
||||
|
||||
@@ -33,14 +33,16 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
}(Array));
|
||||
|
||||
@@ -116,8 +116,8 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
var _this = this;
|
||||
_super.call(this, function () { return _this; });
|
||||
var _this;
|
||||
_this = _super.call(this, function () { return _this; }) || this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
@@ -158,8 +158,8 @@ var M2;
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
var _this = this;
|
||||
_super.call(this, function () { return _this; });
|
||||
var _this;
|
||||
_this = _super.call(this, function () { return _this; }) || this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
|
||||
@@ -114,21 +114,24 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
var OtherDerived = (function (_super) {
|
||||
__extends(OtherDerived, _super);
|
||||
function OtherDerived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return OtherDerived;
|
||||
}(Base));
|
||||
|
||||
@@ -115,21 +115,24 @@ var Errors;
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
var OtherDerived = (function (_super) {
|
||||
__extends(OtherDerived, _super);
|
||||
function OtherDerived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return OtherDerived;
|
||||
}(Base));
|
||||
|
||||
@@ -80,21 +80,24 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
var OtherDerived = (function (_super) {
|
||||
__extends(OtherDerived, _super);
|
||||
function OtherDerived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return OtherDerived;
|
||||
}(Base));
|
||||
|
||||
@@ -57,21 +57,24 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
var OtherDerived = (function (_super) {
|
||||
__extends(OtherDerived, _super);
|
||||
function OtherDerived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return OtherDerived;
|
||||
}(Base));
|
||||
|
||||
@@ -114,21 +114,24 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
var OtherDerived = (function (_super) {
|
||||
__extends(OtherDerived, _super);
|
||||
function OtherDerived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return OtherDerived;
|
||||
}(Base));
|
||||
|
||||
@@ -115,21 +115,24 @@ var Errors;
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
var OtherDerived = (function (_super) {
|
||||
__extends(OtherDerived, _super);
|
||||
function OtherDerived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return OtherDerived;
|
||||
}(Base));
|
||||
|
||||
@@ -80,21 +80,24 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
var OtherDerived = (function (_super) {
|
||||
__extends(OtherDerived, _super);
|
||||
function OtherDerived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return OtherDerived;
|
||||
}(Base));
|
||||
|
||||
@@ -57,21 +57,24 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
var OtherDerived = (function (_super) {
|
||||
__extends(OtherDerived, _super);
|
||||
function OtherDerived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return OtherDerived;
|
||||
}(Base));
|
||||
|
||||
@@ -72,7 +72,8 @@ var Generics;
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
|
||||
@@ -59,7 +59,8 @@ b = a; // ok
|
||||
var B2 = (function (_super) {
|
||||
__extends(B2, _super);
|
||||
function B2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B2;
|
||||
}(A));
|
||||
|
||||
@@ -108,14 +108,16 @@ var OnlyDerived;
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Base));
|
||||
@@ -167,14 +169,16 @@ var WithBase;
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Base));
|
||||
|
||||
@@ -103,14 +103,16 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
|
||||
@@ -105,14 +105,16 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
|
||||
@@ -82,7 +82,8 @@ var Generics;
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
@@ -93,7 +94,8 @@ var Generics;
|
||||
var B2 = (function (_super) {
|
||||
__extends(B2, _super);
|
||||
function B2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B2;
|
||||
}(A));
|
||||
|
||||
@@ -118,7 +118,8 @@ value;
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.call(this);
|
||||
var _this;
|
||||
_this = _super.call(this) || this;
|
||||
_super.prototype. = value;
|
||||
}
|
||||
Derived.prototype.foo = function () { _super.prototype. = value; };
|
||||
|
||||
@@ -19,7 +19,8 @@ var __extends = (this && this.__extends) || function (d, b) {
|
||||
var Task = (function (_super) {
|
||||
__extends(Task, _super);
|
||||
function Task() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Task;
|
||||
}(Promise));
|
||||
|
||||
@@ -61,7 +61,8 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
// async method with only call/get on 'super' does not require a binding
|
||||
B.prototype.simple = function () {
|
||||
|
||||
@@ -13,7 +13,8 @@ var X;
|
||||
var MyPromise = (function (_super) {
|
||||
__extends(MyPromise, _super);
|
||||
function MyPromise() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return MyPromise;
|
||||
}(Promise));
|
||||
|
||||
@@ -43,7 +43,8 @@ Point.origin = new Point(0, 0);
|
||||
var Point3D = (function (_super) {
|
||||
__extends(Point3D, _super);
|
||||
function Point3D(x, y, z, m) {
|
||||
_super.call(this, x, y);
|
||||
var _this;
|
||||
_this = _super.call(this, x, y) || this;
|
||||
this.z = z;
|
||||
}
|
||||
Point3D.prototype.getDist = function () {
|
||||
|
||||
@@ -17,7 +17,8 @@ function func() {
|
||||
_a = function (_super) {
|
||||
__extends(D, _super);
|
||||
function D() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return D;
|
||||
};
|
||||
|
||||
@@ -43,14 +43,16 @@ var C = (function () {
|
||||
var ELoc = (function (_super) {
|
||||
__extends(ELoc, _super);
|
||||
function ELoc(x) {
|
||||
_super.call(this, 0, x);
|
||||
var _this;
|
||||
_this = _super.call(this, 0, x) || this;
|
||||
}
|
||||
return ELoc;
|
||||
}(C));
|
||||
var ELocVar = (function (_super) {
|
||||
__extends(ELocVar, _super);
|
||||
function ELocVar(x) {
|
||||
_super.call(this, 0, loc);
|
||||
var _this;
|
||||
_this = _super.call(this, 0, loc) || this;
|
||||
}
|
||||
ELocVar.prototype.m = function () {
|
||||
var loc = 10;
|
||||
@@ -60,7 +62,8 @@ var ELocVar = (function (_super) {
|
||||
var D = (function (_super) {
|
||||
__extends(D, _super);
|
||||
function D(z) {
|
||||
_super.call(this, this.z);
|
||||
var _this;
|
||||
_this = _super.call(this, this.z) || this;
|
||||
this.z = z;
|
||||
}
|
||||
return D;
|
||||
@@ -68,7 +71,8 @@ var D = (function (_super) {
|
||||
var E = (function (_super) {
|
||||
__extends(E, _super);
|
||||
function E(z) {
|
||||
_super.call(this, 0, this.z);
|
||||
var _this;
|
||||
_this = _super.call(this, 0, this.z) || this;
|
||||
this.z = z;
|
||||
}
|
||||
return E;
|
||||
@@ -76,7 +80,8 @@ var E = (function (_super) {
|
||||
var F = (function (_super) {
|
||||
__extends(F, _super);
|
||||
function F(z) {
|
||||
_super.call(this, "hello", this.z);
|
||||
var _this;
|
||||
_this = _super.call(this, "hello", this.z) || this;
|
||||
this.z = z;
|
||||
}
|
||||
return F;
|
||||
|
||||
@@ -38,7 +38,8 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
|
||||
@@ -51,7 +51,8 @@ var Class1 = (function () {
|
||||
var Class2 = (function (_super) {
|
||||
__extends(Class2, _super);
|
||||
function Class2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Class2;
|
||||
}(Class1));
|
||||
@@ -63,7 +64,8 @@ var Class3 = (function () {
|
||||
var Class4 = (function (_super) {
|
||||
__extends(Class4, _super);
|
||||
function Class4() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Class4;
|
||||
}(Class3));
|
||||
|
||||
@@ -41,7 +41,8 @@ var CBaseBase = (function () {
|
||||
var CBase = (function (_super) {
|
||||
__extends(CBase, _super);
|
||||
function CBase() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return CBase;
|
||||
}(CBaseBase));
|
||||
@@ -59,7 +60,8 @@ var Wrapper = (function () {
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
C.prototype.works = function () {
|
||||
new CBaseBase(this);
|
||||
|
||||
@@ -36,6 +36,7 @@ var B = (function () {
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
var _this;
|
||||
this.x;
|
||||
any;
|
||||
}
|
||||
|
||||
@@ -44,14 +44,16 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Base));
|
||||
|
||||
@@ -40,14 +40,16 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Base));
|
||||
|
||||
@@ -46,7 +46,8 @@ var E = (function () {
|
||||
var F = (function (_super) {
|
||||
__extends(F, _super);
|
||||
function F() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return F;
|
||||
}(C));
|
||||
@@ -59,7 +60,8 @@ var C1 = (function () {
|
||||
var D1 = (function (_super) {
|
||||
__extends(D1, _super);
|
||||
function D1() {
|
||||
_super.apply(this, arguments);
|
||||
var _this;
|
||||
_this = _super.apply(this, arguments) || this;
|
||||
this.i = "bar";
|
||||
}
|
||||
return D1;
|
||||
|
||||
@@ -84,21 +84,24 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
var OtherDerived = (function (_super) {
|
||||
__extends(OtherDerived, _super);
|
||||
function OtherDerived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return OtherDerived;
|
||||
}(Base));
|
||||
|
||||
@@ -131,21 +131,24 @@ var Errors;
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
var OtherDerived = (function (_super) {
|
||||
__extends(OtherDerived, _super);
|
||||
function OtherDerived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return OtherDerived;
|
||||
}(Base));
|
||||
|
||||
@@ -64,21 +64,24 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
var OtherDerived = (function (_super) {
|
||||
__extends(OtherDerived, _super);
|
||||
function OtherDerived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return OtherDerived;
|
||||
}(Base));
|
||||
|
||||
@@ -64,21 +64,24 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
var OtherDerived = (function (_super) {
|
||||
__extends(OtherDerived, _super);
|
||||
function OtherDerived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return OtherDerived;
|
||||
}(Base));
|
||||
|
||||
@@ -67,21 +67,24 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
var Derived2 = (function (_super) {
|
||||
__extends(Derived2, _super);
|
||||
function Derived2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
}(Derived));
|
||||
var OtherDerived = (function (_super) {
|
||||
__extends(OtherDerived, _super);
|
||||
function OtherDerived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return OtherDerived;
|
||||
}(Base));
|
||||
|
||||
@@ -99,8 +99,9 @@ var C = (function () {
|
||||
var D = (function (_super) {
|
||||
__extends(D, _super);
|
||||
function D() {
|
||||
_super.call(this, 1, 2);
|
||||
_super.apply(this, [1, 2].concat(a));
|
||||
var _this;
|
||||
_this = _super.call(this, 1, 2) || this;
|
||||
_this = _super.apply(this, [1, 2].concat(a)) || this;
|
||||
}
|
||||
D.prototype.foo = function () {
|
||||
_super.prototype.foo.call(this, 1, 2);
|
||||
|
||||
@@ -22,8 +22,8 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
var _this = this;
|
||||
_super.call(this, { test: function () { return _this.someMethod(); } });
|
||||
var _this;
|
||||
_this = _super.call(this, { test: function () { return _this.someMethod(); } }) || this;
|
||||
}
|
||||
B.prototype.someMethod = function () { };
|
||||
return B;
|
||||
|
||||
@@ -59,7 +59,8 @@ var D = (function () {
|
||||
var E = (function (_super) {
|
||||
__extends(E, _super);
|
||||
function E() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return E;
|
||||
}(A));
|
||||
@@ -67,7 +68,8 @@ var E = (function (_super) {
|
||||
var F = (function (_super) {
|
||||
__extends(F, _super);
|
||||
function F() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return F;
|
||||
}(A));
|
||||
|
||||
@@ -36,7 +36,8 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
|
||||
+4
-2
@@ -42,14 +42,16 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
}(B));
|
||||
|
||||
@@ -49,14 +49,16 @@ var Foo;
|
||||
var Bar = (function (_super) {
|
||||
__extends(Bar, _super);
|
||||
function Bar() {
|
||||
_super.call(this);
|
||||
var _this;
|
||||
_this = _super.call(this) || this;
|
||||
}
|
||||
return Bar;
|
||||
}(Foo.Object));
|
||||
var Baz = (function (_super) {
|
||||
__extends(Baz, _super);
|
||||
function Baz() {
|
||||
_super.call(this);
|
||||
var _this;
|
||||
_this = _super.call(this) || this;
|
||||
}
|
||||
return Baz;
|
||||
}(Object));
|
||||
|
||||
@@ -24,7 +24,8 @@ var Based = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.call(this);
|
||||
var _this;
|
||||
_this = _super.call(this) || this;
|
||||
this;
|
||||
this.x = 10;
|
||||
var that = this;
|
||||
|
||||
@@ -24,8 +24,9 @@ var Based = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
var _this;
|
||||
this.x = 100;
|
||||
_super.call(this);
|
||||
_this = _super.call(this) || this;
|
||||
this.x = 10;
|
||||
var that = this;
|
||||
}
|
||||
|
||||
@@ -29,13 +29,14 @@ var Based = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
var _this;
|
||||
var innver = (function () {
|
||||
function innver() {
|
||||
this.y = true;
|
||||
}
|
||||
return innver;
|
||||
}());
|
||||
_super.call(this);
|
||||
_this = _super.call(this) || this;
|
||||
this.x = 10;
|
||||
var that = this;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ var Based = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
var _this = this;
|
||||
var _this;
|
||||
(function () {
|
||||
_this; // No error
|
||||
});
|
||||
@@ -43,8 +43,8 @@ var Derived = (function (_super) {
|
||||
(function () {
|
||||
_this; // No error
|
||||
})();
|
||||
_super.call(this);
|
||||
_super.call(this);
|
||||
_this = _super.call(this) || this;
|
||||
_this = _super.call(this) || this;
|
||||
this.x = 10;
|
||||
var that = this;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,8 @@ var Based = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.call(this, this.x);
|
||||
var _this;
|
||||
_this = _super.call(this, this.x) || this;
|
||||
}
|
||||
return Derived;
|
||||
}(Based));
|
||||
|
||||
@@ -28,9 +28,9 @@ var Base = (function () {
|
||||
var Super = (function (_super) {
|
||||
__extends(Super, _super);
|
||||
function Super() {
|
||||
var _this = this;
|
||||
var _this;
|
||||
(function () { return _this; }); // No Error
|
||||
_super.call(this);
|
||||
_this = _super.call(this) || this;
|
||||
}
|
||||
return Super;
|
||||
}(Base));
|
||||
|
||||
@@ -23,8 +23,8 @@ var Base = (function () {
|
||||
var Super = (function (_super) {
|
||||
__extends(Super, _super);
|
||||
function Super() {
|
||||
var _this = this;
|
||||
_super.call(this, (function () { return _this; })); // No error
|
||||
var _this;
|
||||
_this = _super.call(this, (function () { return _this; })) || this; // No error
|
||||
}
|
||||
return Super;
|
||||
}(Base));
|
||||
|
||||
@@ -28,8 +28,9 @@ var Base = (function () {
|
||||
var Super = (function (_super) {
|
||||
__extends(Super, _super);
|
||||
function Super() {
|
||||
var _this;
|
||||
var that = this;
|
||||
_super.call(this);
|
||||
_this = _super.call(this) || this;
|
||||
}
|
||||
return Super;
|
||||
}(Base));
|
||||
|
||||
@@ -32,7 +32,8 @@ var B;
|
||||
var D = (function (_super) {
|
||||
__extends(D, _super);
|
||||
function D() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return D;
|
||||
}(B.a.C));
|
||||
|
||||
@@ -32,7 +32,8 @@ var maker;
|
||||
var Bar = (function (_super) {
|
||||
__extends(Bar, _super);
|
||||
function Bar() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return Bar;
|
||||
}(Foo));
|
||||
|
||||
@@ -28,14 +28,16 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
}(B));
|
||||
|
||||
@@ -24,7 +24,8 @@ var foo = (function () {
|
||||
var bar = (function (_super) {
|
||||
__extends(bar, _super);
|
||||
function bar() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
bar.prototype.test = function () {
|
||||
this.
|
||||
|
||||
@@ -31,28 +31,32 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
}(B));
|
||||
var D = (function (_super) {
|
||||
__extends(D, _super);
|
||||
function D() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return D;
|
||||
}(B));
|
||||
var E = (function (_super) {
|
||||
__extends(E, _super);
|
||||
function E() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
E.prototype.bar = function () { };
|
||||
return E;
|
||||
|
||||
@@ -31,7 +31,8 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
|
||||
@@ -39,28 +39,32 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
}(A)); // error -- inherits abstract methods
|
||||
var D = (function (_super) {
|
||||
__extends(D, _super);
|
||||
function D() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return D;
|
||||
}(A)); // error -- inherits abstract methods
|
||||
var E = (function (_super) {
|
||||
__extends(E, _super);
|
||||
function E() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
E.prototype.foo = function () { return this.t; };
|
||||
return E;
|
||||
@@ -68,7 +72,8 @@ var E = (function (_super) {
|
||||
var F = (function (_super) {
|
||||
__extends(F, _super);
|
||||
function F() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
F.prototype.bar = function (t) { };
|
||||
return F;
|
||||
@@ -76,7 +81,8 @@ var F = (function (_super) {
|
||||
var G = (function (_super) {
|
||||
__extends(G, _super);
|
||||
function G() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
G.prototype.foo = function () { return this.t; };
|
||||
G.prototype.bar = function (t) { };
|
||||
|
||||
@@ -24,7 +24,8 @@ var M;
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
|
||||
@@ -35,14 +35,16 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
}(A));
|
||||
@@ -54,42 +56,48 @@ var AA = (function () {
|
||||
var BB = (function (_super) {
|
||||
__extends(BB, _super);
|
||||
function BB() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return BB;
|
||||
}(AA));
|
||||
var CC = (function (_super) {
|
||||
__extends(CC, _super);
|
||||
function CC() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return CC;
|
||||
}(AA));
|
||||
var DD = (function (_super) {
|
||||
__extends(DD, _super);
|
||||
function DD() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return DD;
|
||||
}(BB));
|
||||
var EE = (function (_super) {
|
||||
__extends(EE, _super);
|
||||
function EE() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return EE;
|
||||
}(BB));
|
||||
var FF = (function (_super) {
|
||||
__extends(FF, _super);
|
||||
function FF() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return FF;
|
||||
}(CC));
|
||||
var GG = (function (_super) {
|
||||
__extends(GG, _super);
|
||||
function GG() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return GG;
|
||||
}(CC));
|
||||
|
||||
@@ -41,14 +41,16 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
}(B));
|
||||
|
||||
@@ -82,21 +82,24 @@ new x; // okay -- undefined behavior at runtime
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
}(B)); // error -- not declared abstract
|
||||
var D = (function (_super) {
|
||||
__extends(D, _super);
|
||||
function D() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return D;
|
||||
}(B)); // okay
|
||||
var E = (function (_super) {
|
||||
__extends(E, _super);
|
||||
function E() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
E.prototype.bar = function () { return 1; };
|
||||
return E;
|
||||
@@ -104,7 +107,8 @@ var E = (function (_super) {
|
||||
var F = (function (_super) {
|
||||
__extends(F, _super);
|
||||
function F() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
F.prototype.bar = function () { return 2; };
|
||||
return F;
|
||||
|
||||
@@ -38,7 +38,8 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
@@ -51,7 +52,8 @@ var AA = (function () {
|
||||
var BB = (function (_super) {
|
||||
__extends(BB, _super);
|
||||
function BB() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
BB.prototype.bar = function () { };
|
||||
return BB;
|
||||
@@ -59,14 +61,16 @@ var BB = (function (_super) {
|
||||
var CC = (function (_super) {
|
||||
__extends(CC, _super);
|
||||
function CC() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return CC;
|
||||
}(BB)); // error
|
||||
var DD = (function (_super) {
|
||||
__extends(DD, _super);
|
||||
function DD() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
DD.prototype.foo = function () { };
|
||||
return DD;
|
||||
|
||||
@@ -42,7 +42,8 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
B.prototype.bar = function () { _super.prototype.foo.call(this); };
|
||||
B.prototype.baz = function () { return this.foo; };
|
||||
@@ -51,7 +52,8 @@ var B = (function (_super) {
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _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
|
||||
@@ -68,7 +70,8 @@ var AA = (function () {
|
||||
var BB = (function (_super) {
|
||||
__extends(BB, _super);
|
||||
function BB() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return BB;
|
||||
}(AA));
|
||||
|
||||
@@ -31,7 +31,8 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
B.prototype.foo = function () { return 1; };
|
||||
return B;
|
||||
@@ -39,7 +40,8 @@ var B = (function (_super) {
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
}(A));
|
||||
|
||||
@@ -41,21 +41,24 @@ var A = (function () {
|
||||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
}(A));
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
}(A));
|
||||
var D = (function (_super) {
|
||||
__extends(D, _super);
|
||||
function D() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
D.prototype.foo = function () { };
|
||||
return D;
|
||||
@@ -63,7 +66,8 @@ var D = (function (_super) {
|
||||
var E = (function (_super) {
|
||||
__extends(E, _super);
|
||||
function E() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
E.prototype.foo = function () { };
|
||||
return E;
|
||||
@@ -76,21 +80,24 @@ var AA = (function () {
|
||||
var BB = (function (_super) {
|
||||
__extends(BB, _super);
|
||||
function BB() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return BB;
|
||||
}(AA));
|
||||
var CC = (function (_super) {
|
||||
__extends(CC, _super);
|
||||
function CC() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return CC;
|
||||
}(AA));
|
||||
var DD = (function (_super) {
|
||||
__extends(DD, _super);
|
||||
function DD() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
DD.prototype.foo = function () { };
|
||||
return DD;
|
||||
|
||||
@@ -77,7 +77,8 @@ var BaseC = (function () {
|
||||
var DerivedA = (function (_super) {
|
||||
__extends(DerivedA, _super);
|
||||
function DerivedA(x) {
|
||||
_super.call(this, x);
|
||||
var _this;
|
||||
_this = _super.call(this, x) || this;
|
||||
this.x = x;
|
||||
}
|
||||
DerivedA.prototype.createInstance = function () { new DerivedA(5); };
|
||||
@@ -88,7 +89,8 @@ var DerivedA = (function (_super) {
|
||||
var DerivedB = (function (_super) {
|
||||
__extends(DerivedB, _super);
|
||||
function DerivedB(x) {
|
||||
_super.call(this, x);
|
||||
var _this;
|
||||
_this = _super.call(this, x) || this;
|
||||
this.x = x;
|
||||
}
|
||||
DerivedB.prototype.createInstance = function () { new DerivedB(7); };
|
||||
@@ -99,7 +101,8 @@ var DerivedB = (function (_super) {
|
||||
var DerivedC = (function (_super) {
|
||||
__extends(DerivedC, _super);
|
||||
function DerivedC(x) {
|
||||
_super.call(this, x);
|
||||
var _this;
|
||||
_this = _super.call(this, x) || this;
|
||||
this.x = x;
|
||||
}
|
||||
DerivedC.prototype.createInstance = function () { new DerivedC(9); };
|
||||
|
||||
@@ -51,7 +51,8 @@ var A = (function () {
|
||||
var C = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
}(A));
|
||||
@@ -73,7 +74,8 @@ var D = (function () {
|
||||
var F = (function (_super) {
|
||||
__extends(F, _super);
|
||||
function F() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return F;
|
||||
}(D));
|
||||
|
||||
@@ -25,7 +25,8 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
Derived.make = function () { new Base(); }; // ok
|
||||
return Derived;
|
||||
|
||||
@@ -59,7 +59,8 @@ c3.p; // protected, error
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived(p) {
|
||||
_super.call(this, p);
|
||||
var _this;
|
||||
_this = _super.call(this, p) || this;
|
||||
this.p; // OK
|
||||
}
|
||||
return Derived;
|
||||
|
||||
@@ -59,7 +59,8 @@ c3.p; // protected, error
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived(p) {
|
||||
_super.call(this, p);
|
||||
var _this;
|
||||
_this = _super.call(this, p) || this;
|
||||
this.p; // OK
|
||||
}
|
||||
return Derived;
|
||||
|
||||
@@ -28,7 +28,8 @@ var Base = (function () {
|
||||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived(p) {
|
||||
_super.call(this, p);
|
||||
var _this;
|
||||
_this = _super.call(this, p) || this;
|
||||
this.p = p;
|
||||
this.p; // OK
|
||||
}
|
||||
|
||||
@@ -35,7 +35,8 @@ var M;
|
||||
var O = (function (_super) {
|
||||
__extends(O, _super);
|
||||
function O() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return O;
|
||||
}(M.N));
|
||||
|
||||
@@ -31,7 +31,8 @@ var StringTreeCollectionBase = (function () {
|
||||
var StringTreeCollection = (function (_super) {
|
||||
__extends(StringTreeCollection, _super);
|
||||
function StringTreeCollection() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return StringTreeCollection;
|
||||
}(StringTreeCollectionBase));
|
||||
|
||||
@@ -16,7 +16,8 @@ var D = (function () {
|
||||
var v = (function (_super) {
|
||||
__extends(C, _super);
|
||||
function C() {
|
||||
_super.apply(this, arguments);
|
||||
var _this = _super.apply(this, arguments) || this;
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
}(D));
|
||||
|
||||
@@ -15,14 +15,16 @@ var __extends = (this && this.__extends) || function (d, b) {
|
||||
var C = (function (_super) {
|
||||
__extends(class_1, _super);
|
||||
function class_1() {
|
||||
_super.apply(this, arguments);
|
||||
var _this;
|
||||
_this = _super.apply(this, arguments) || this;
|
||||
this.c = 3;
|
||||
}
|
||||
return class_1;
|
||||
}((function (_super) {
|
||||
__extends(class_2, _super);
|
||||
function class_2() {
|
||||
_super.apply(this, arguments);
|
||||
var _this;
|
||||
_this = _super.apply(this, arguments) || this;
|
||||
this.b = 2;
|
||||
}
|
||||
return class_2;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user