Nicolò Ribaudo
8ad6b75cde
Use function rather than var to compile private methods ( #12990 )
2021-03-11 02:08:31 +01:00
Huáng Jùnliàng
ac758f7d70
Ensure static private method init run before static property ( #12918 )
2021-03-04 00:02:23 +01:00
Huáng Jùnliàng
bdb207cb75
Class static private field destructure set ( #12917 )
...
* fix: support static private field destructure set ([C.#p] = [0])
* 🚧
* fix: add compatibility warning for older @babel/helper versions
* refactor: extract common routines among classPrivateFiled helpers
* More 🚧
2021-03-03 16:38:16 -05:00
Tim McClure
3e4889d649
Class Private Static Accessors ( #10217 )
...
* Remove error for static private accessors
* Private static accessors strict
* Add loose mode support
* Move `value` decl for early return
* Reuse getter/setter template
* Reuse getter/setter templates
* Use `buildUndefinedNode` in accessor templates
* Extract `isAccessor` variable
2019-09-06 18:08:10 +02:00