Skip to content
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

Incorrect result when the name of a method is equal to the name of any parameter with deconstruction #86

Closed
AngusFu opened this issue Dec 29, 2017 · 1 comment

Comments

@AngusFu
Copy link

AngusFu commented Dec 29, 2017

In the screenshot below, object method name options is equal to the name of the first argument options. It seems that the first line in the function body (const { input } = options) was wrongly transformed.

Code
image

However, if I slightly change the first line statement, it turns fine:

Code

image

@AngusFu
Copy link
Author

AngusFu commented Dec 29, 2017

Adding: According to this repo and its dist file, it seems "buble": "^0.13.1" worked correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant