Describe the bug
smart-rename pass not renames property inside MemberExpression
Input code
function test({foo: f, bar: b}) {
console.log(f, b, f[b]);
}
Steps to reproduce
Run wakaru with input code and smart-rename pass is switched to on.
Expected behavior
in f[b] f is renamed to foo and b is renamed to bar.
function test({foo, bar}) {
console.log(foo, bar, foo[bar]);
}
Actual behavior
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]);
}