Chained destructurings emit invalid code
Open
bug
- Dominant language
- JavaScript
- Stars
- 874
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
Examples:
```js
({a,b} = {c,d} = {a:1,b:2,c:3,d:4});
var a,b,c,d; [a,b] = [c,d] = [1,2];
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the two chained destructuring examples in the issue and inspect the generated JavaScript. Trace how the compiler handles chained object and array assignments; done means both examples emit valid JavaScript while preserving their assignment behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100