Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

incorrect parsing of bind rest property #309

Closed
gsathya opened this issue Jan 17, 2017 · 0 comments · Fixed by #339
Closed

incorrect parsing of bind rest property #309

gsathya opened this issue Jan 17, 2017 · 0 comments · Fixed by #339

Comments

@gsathya
Copy link
Member

gsathya commented Jan 17, 2017

Input Code

var {...{z}} = { z: 1}; console.log(z);

Babylon/Babel Configuration

Presets - stage3

Expected Behavior

→ ./out.gn/x64.debug/d8 --harmony-object-rest-spread -e "var {...{z}} = { z: 1}; print(z);"                                         
1

Current Behavior

SyntaxError

Your Environment

software version
Babylon
node
npm
Operating System
danez added a commit that referenced this issue Jan 31, 2017
@danez danez added the Has PR label Jan 31, 2017
danez added a commit that referenced this issue Feb 10, 2017
danez added a commit that referenced this issue Feb 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants