Files
Huáng JùnliàngandGitHub 980dcb8b01 Memoize class binding when compiling private methods and static elements (#15701)
* add test cases

* fix: memoise class binding when lowering static elements and private methods

* update test fixtures

* update test fixtures
2023-07-19 17:59:21 -04:00

18 lines
442 B
JavaScript

var _class;
var _self = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("self");
var _getA = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("getA");
var A = /*#__PURE__*/babelHelpers.createClass(function A() {
"use strict";
babelHelpers.classCallCheck(this, A);
});
_class = A;
Object.defineProperty(A, _self, {
writable: true,
value: _class
});
Object.defineProperty(A, _getA, {
writable: true,
value: () => _class
});