This is very similar to #151 and is occurring on the current master version.
Input
function foo(arg) {
const {
x: [x],
y: [y],
} = arg;
return x;
}
Output
function foo(a){return b}
REPL
Compared with the following correct behaviour:
Input
function foo(arg) {
const {
x: [x],
y: [y],
} = arg;
return x + y;
}
Output
function foo(a){const{x:[b],y:[c]}=a;return b+c}
REPL
This is very similar to #151 and is occurring on the current master version.
Input
Output
REPL
Compared with the following correct behaviour:
Input
Output
REPL