Skip to content

Commit

Permalink
Accepting new baselines after master merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ahejlsberg committed Jun 17, 2015
1 parent 26fd879 commit 5b9a1b5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions tests/baselines/reference/classExtendingBuiltinType.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ class C10 extends Array<number> { }
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var C1 = (function (_super) {
__extends(C1, _super);
Expand Down
3 changes: 1 addition & 2 deletions tests/baselines/reference/classExtendingClassLikeType.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ class D5 extends getBadBase() {
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
// Error, no Base constructor function
var D0 = (function (_super) {
Expand Down
3 changes: 1 addition & 2 deletions tests/baselines/reference/classExtendingNonConstructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ class C7 extends foo { }
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var x;
function foo() {
Expand Down
3 changes: 1 addition & 2 deletions tests/baselines/reference/classExtendingNull.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ class C2 extends (null) { }
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var C1 = (function (_super) {
__extends(C1, _super);
Expand Down

0 comments on commit 5b9a1b5

Please sign in to comment.