{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/6340","repository_url":"https://api.github.com/repos/babel/babel","labels_url":"https://api.github.com/repos/babel/babel/issues/6340/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/6340/comments","events_url":"https://api.github.com/repos/babel/babel/issues/6340/events","html_url":"https://github.com/babel/babel/issues/6340","id":261710410,"number":6340,"title":"let [a, ...[b, c, ...d]] = \"hello\"; console.log(a, b, c, d) Unexpected token (1:11)","user":{"login":"graingert","id":413772,"avatar_url":"https://avatars3.githubusercontent.com/u/413772?v=4","gravatar_id":"","url":"https://api.github.com/users/graingert","html_url":"https://github.com/graingert","followers_url":"https://api.github.com/users/graingert/followers","following_url":"https://api.github.com/users/graingert/following{/other_user}","gists_url":"https://api.github.com/users/graingert/gists{/gist_id}","starred_url":"https://api.github.com/users/graingert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graingert/subscriptions","organizations_url":"https://api.github.com/users/graingert/orgs","repos_url":"https://api.github.com/users/graingert/repos","events_url":"https://api.github.com/users/graingert/events{/privacy}","received_events_url":"https://api.github.com/users/graingert/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-09-29T17:28:26Z","updated_at":"2017-10-03T08:05:52Z","closed_at":"2017-09-29T17:51:21Z","author_association":"CONTRIBUTOR","body":"Choose one: is this a bug report or feature request? bug-ish\r\n\r\n<!--- Provide a general summary of the issue in the title above -->\r\n\r\n### Input Code\r\n```sh\r\nnode -v\r\n8.6.0\r\nnode -e 'let [a, ...[b, c, ...d]] = \"hello\"; console.log(a, b, c, d)'\r\nh e l [ 'l', 'o' ]\r\n```\r\n\r\nhttps://babeljs.io/repl/#?babili=false&browsers=&build=&builtIns=false&code_lz=DYUwLgBA2ghgNBAdMqAjBBjBzEBMC6-EAvBAEQAWIwwA9mQNwQa0B2AzraInQOYAU8COmYJcASgZA&debug=false&circleciRepo=&evaluate=true&lineWrap=true&presets=es2015%2Ces2015-loose%2Ces2016%2Ces2017%2Creact%2Cstage-0%2Cstage-1%2Cstage-2%2Cstage-3&prettier=true&targets=&version=6.26.0\r\n\r\n### Babel Configuration (.babelrc, package.json, cli command)\r\nsee repl URL\r\n\r\n### Expected Behavior\r\nNot really sure\r\n\r\n### Current Behavior\r\nSyntaxError\r\n\r\n### Possible Solution\r\nIs this node that's wrong of Babel?\r\n\r\nIf it is node that's wrong, It'd still like to be able to parse those invalid statements to I can convert them into valid ones.\r\n\r\n### Context\r\nI can't webpack stuff that uses this construct.\r\n\r\n### Your Environment\r\nSee REPL URL"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/333770026","html_url":"https://github.com/babel/babel/issues/6340#issuecomment-333770026","issue_url":"https://api.github.com/repos/babel/babel/issues/6340","id":333770026,"user":{"login":"graingert","id":413772,"avatar_url":"https://avatars3.githubusercontent.com/u/413772?v=4","gravatar_id":"","url":"https://api.github.com/users/graingert","html_url":"https://github.com/graingert","followers_url":"https://api.github.com/users/graingert/followers","following_url":"https://api.github.com/users/graingert/following{/other_user}","gists_url":"https://api.github.com/users/graingert/gists{/gist_id}","starred_url":"https://api.github.com/users/graingert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graingert/subscriptions","organizations_url":"https://api.github.com/users/graingert/orgs","repos_url":"https://api.github.com/users/graingert/repos","events_url":"https://api.github.com/users/graingert/events{/privacy}","received_events_url":"https://api.github.com/users/graingert/received_events","type":"User","site_admin":false},"created_at":"2017-10-03T08:05:52Z","updated_at":"2017-10-03T08:05:52Z","author_association":"CONTRIBUTOR","body":"Oh woops, I got confused, those tests are failing property spread"}}
{"actor":{"display_login":"graingert"}}