We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When transforming a function with two objects that have the same field:
function fn(a, b) { console.log(a.foo, b.foo); }
Lebab produces the following:
function fn({foo}, {foo}) { console.log(foo, foo); }
The same problem happens when there's an inner function that has object parameter with the same field:
function fn(a) { function inner(b) { console.log(a.foo, b.foo); } }
Again Lebab produces:
function fn({foo}) { function inner({foo}) { console.log(foo, foo); } }
destructParamTest.js contains skipped tests for these scenarios.
destructParamTest.js
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
When transforming a function with two objects that have the same field:
Lebab produces the following:
The same problem happens when there's an inner function that has object parameter with the same field:
Again Lebab produces:
destructParamTest.js
contains skipped tests for these scenarios.The text was updated successfully, but these errors were encountered: