-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Destructuring an object with a string computed property throws an error #3145
Comments
i am facing something similar
for code like: |
Created internal Google issue b/119638231 |
@prateekbh in your case the failure is happening in code that is not part of closure-compiler. If this failure has only recently started happening, that is because we recently moved the transpilation of destructuring assignments later in the compilation process. Probably it previously happened before the exection of |
@trueadm it looks like we need to update We haven't done that yet, because in the closure-compiler code it is only used within |
We will be fixing |
@trueadm correction: I somehow thought I was looking at your stack trace when I was still looking at the one from @prateekbh I see your failure is in We'll fix |
@trueadm I've submitted a fix for the crash internally. It will be pushed to GitHub tomorrow. |
@lauraharker Thank you :) |
Given the current test case:
The following error is thrown:
The text was updated successfully, but these errors were encountered: