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
smart-rename pass not renames property inside MemberExpression
function test({foo: f, bar: b}) { console.log(f, b, f[b]); }
Run wakaru with input code and smart-rename pass is switched to on.
in f[b] f is renamed to foo and b is renamed to bar.
f[b]
f
foo
b
bar
function test({foo, bar}) { console.log(foo, bar, foo[bar]); }
in f[b] f is renamed to foo, but b is NOT renamed to bar.
function test({foo, bar}) { console.log(foo, bar, foo[b]); }
The text was updated successfully, but these errors were encountered:
7d3a3c2
Nice catch. Thanks for the report.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
smart-rename pass not renames property inside MemberExpression
Input code
Steps to reproduce
Run wakaru with input code and smart-rename pass is switched to on.
Expected behavior
in
f[b]
f
is renamed tofoo
andb
is renamed tobar
.Actual behavior
in
f[b]
f
is renamed tofoo
, butb
is NOT renamed tobar
.The text was updated successfully, but these errors were encountered: