- VSCode Version: 1.36.0
- OS Version: Windows 10 18362.175
Steps to Reproduce:
- Write code like function
f({x}, y) {}.
- Select Remove destructuring from “Show fixes”.
- it is refactored to
f(y) {}, which might cause problems because the function signature is changed.
I guess that it might be better refactored to something like f(_, y) {}.
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
f({x}, y) {}.f(y) {}, which might cause problems because the function signature is changed.I guess that it might be better refactored to something like
f(_, y) {}.Does this issue occur when all extensions are disabled?: Yes