-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getters and setters with computed names emit invalid code #69
Labels
Comments
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 9d0e728. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
emits
The text was updated successfully, but these errors were encountered: