Describe the bug
Consider this piece of code:
function f (x) {
let {toto} = x;
return toto
}
It is minified into:
function
f(a){let{b}=a;return b}
which is not correct.
Expected behavior
Js_of_ocaml 5.4.0 outputs this result which is correct
function
f(a){let{toto:b}=a;return b}
Versions
This is with Js_of_ocaml 5.6.0.