-
Notifications
You must be signed in to change notification settings - Fork 156
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
The wrong processing of destructuring #642
Comments
This is being an issue for me right now.
get's transpiled into
which throws Any ETA on when this can be solved? |
Hello, Thank you for your example. We have plans to fix it. However, I cannot give you any precise time frames. |
@Farfurix this bug is making testcafe practically unusable for us right now. Is there any workaround until you fixed it? |
Okay i just found out myself. |
Hello, Yes, We have plans to fix this issue. However, I cannot give you any estimates at the moment. Stay tuned for our updates here. |
We need to transform the destructuring to fix this issue. This is a complex task. Here is how babel accomplishes it: https://github.com/babel/babel/blob/master/packages/babel-plugin-transform-destructuring/src/index.js |
Another example occurs with Angular 9 + ngx-pipes within the ShufflePipe class This: Becomes this: |
… other transformers (close DevExpress#642)
If
location
declared inside function or passed as function parameter we should not process it.It needs for fix #640 (comment)
Update! The origin issue was transfered to #2283
The text was updated successfully, but these errors were encountered: