mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
a49335f72a
Adds a `Destructure` instruction closely following the design of the TS-based compiler. The main change is fairly small: the TS compiler doesn't support rest spreads that are not identifiers, such as the `...y[]` in `const [x, ...[y]] = z`. I added support for this in the Rust compiler.