Update super property get/set/call in loose mode (#7774)
* Update super property get/set/call in loose mode Follows the plan laid out in https://github.com/babel/babel/pull/7553#issuecomment-381434519. With #7691, this closes #7553, closes #4312. * Post #7772 * Memoized property
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
const Base = {
|
||||
set test(v) {
|
||||
throw new Error("not called");
|
||||
throw new Error("called");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
const Base = {
|
||||
set test(v) {
|
||||
throw new Error("not called");
|
||||
throw new Error("called");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || functio
|
||||
|
||||
const Base = {
|
||||
set test(v) {
|
||||
throw new Error("not called");
|
||||
throw new Error("called");
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user