Skip to content

Commit 381c026

Browse files
committed
Accept correct baseline (microsoft#7967)
1 parent c621a9e commit 381c026

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/baselines/reference/superInObjectLiterals_ES5.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ var __extends = (this && this.__extends) || function (d, b) {
6565
function __() { this.constructor = d; }
6666
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
6767
};
68+
var _this = this;
6869
var obj = {
6970
__proto__: {
7071
method: function () {
@@ -87,7 +88,7 @@ var obj = {
8788
_super.method.call(this);
8889
},
8990
p3: function () {
90-
_super.method.call(this);
91+
_super.method.call(_this);
9192
}
9293
};
9394
var A = (function () {

0 commit comments

Comments
 (0)