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:
Justin Ridgewell
2018-04-22 13:49:19 -04:00
committed by GitHub
parent 0a257e8972
commit 890a45216f
72 changed files with 2178 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
"use strict";
const Base = {
set test(v) {
throw new Error("not called");
throw new Error("called");
}
};

View File

@@ -1,7 +1,7 @@
"use strict";
const Base = {
set test(v) {
throw new Error("not called");
throw new Error("called");
}
};

View File

@@ -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");
}
};