Open adrianheine opened 6 years ago
See also #20 about getters and setters in general.
I think the only way to support this concisely is by using Object.defineProperty which isn't supported in IE8.
Would still be better than invalid code.
We could just bail if target is IE8 and we try to transpile getters or setters.
Note that in class bodies computed getters and setters throw an error, and I implemented my last suggestion in 9d0e728e507c4bfb73f0aaacf465f7b265a17b66.
emits