* Not depending on return value of super(). Fixes #9020. * Feedback from nicolo-ribaudo * Feedback -- fixing bad call to replaceWithMultiple
This commit is contained in:
committed by
Nicolò Ribaudo
parent
8b132c0889
commit
d305419da6
@@ -15,9 +15,10 @@ class Foo extends function () {} {
|
||||
};
|
||||
|
||||
if (true) {
|
||||
console.log(_this2 = super(), foo());
|
||||
console.log((super(), _this2 = this), foo());
|
||||
} else {
|
||||
_this2 = super();
|
||||
super();
|
||||
_this2 = this;
|
||||
console.log(foo());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user