sweet-js/sweet-core

object destructuring shorthand broken for hygiene

michaelficarra opened this issue · 0 comments

let { a } = b;

gets compiled to

let { a_316 } = b;

but should instead be

let { a: a_316 } = b;

This leads to some very confusing differences between using the shorthand notation and the longhand notation. 😠