{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/2631","labels_url":"https://api.github.com/repos/babel/babel/issues/2631/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/2631/comments","events_url":"https://api.github.com/repos/babel/babel/issues/2631/events","html_url":"https://github.com/babel/babel/issues/2631","id":114153918,"number":2631,"title":"6.0: Spread destructuring in arrow-function params no longer work","user":{"login":"joshq00","id":5642190,"avatar_url":"https://avatars.githubusercontent.com/u/5642190?v=3","gravatar_id":"","url":"https://api.github.com/users/joshq00","html_url":"https://github.com/joshq00","followers_url":"https://api.github.com/users/joshq00/followers","following_url":"https://api.github.com/users/joshq00/following{/other_user}","gists_url":"https://api.github.com/users/joshq00/gists{/gist_id}","starred_url":"https://api.github.com/users/joshq00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshq00/subscriptions","organizations_url":"https://api.github.com/users/joshq00/orgs","repos_url":"https://api.github.com/users/joshq00/repos","events_url":"https://api.github.com/users/joshq00/events{/privacy}","received_events_url":"https://api.github.com/users/joshq00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-29T21:41:26Z","updated_at":"2015-11-01T16:04:31Z","closed_at":null,"body":"**test-spread.js**\r\n```es6\r\nexport default ( arg ) => {\r\n\tlet { title, ...other } = arg;\r\n\t// do something\r\n};\r\n```\r\nworks fine\r\n\r\n======\r\n\r\n**test-fn-spread.js**\r\n```es6\r\nexport default ( { title, ...other } ) => {\r\n\t// do something\r\n};\r\n```\r\nfails with the output\r\n```\r\nSyntaxError: test-fn-spread.js: Binding rvalue (1:26)\r\n> 1 | export default ( { title, ...other } ) => {\r\n    |                           ^\r\n  2 | \t// do something\r\n  3 | };\r\n```"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/152840547","html_url":"https://github.com/babel/babel/issues/2631#issuecomment-152840547","issue_url":"https://api.github.com/repos/babel/babel/issues/2631","id":152840547,"user":{"login":"fundon","id":27926,"avatar_url":"https://avatars.githubusercontent.com/u/27926?v=3","gravatar_id":"","url":"https://api.github.com/users/fundon","html_url":"https://github.com/fundon","followers_url":"https://api.github.com/users/fundon/followers","following_url":"https://api.github.com/users/fundon/following{/other_user}","gists_url":"https://api.github.com/users/fundon/gists{/gist_id}","starred_url":"https://api.github.com/users/fundon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fundon/subscriptions","organizations_url":"https://api.github.com/users/fundon/orgs","repos_url":"https://api.github.com/users/fundon/repos","events_url":"https://api.github.com/users/fundon/events{/privacy}","received_events_url":"https://api.github.com/users/fundon/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T16:04:31Z","updated_at":"2015-11-01T16:04:31Z","body":"Same issue:\r\n\r\n```js\r\n\r\nexport default class Database {\r\n\r\n  constructor({ dialect, driver, dsn, logger }) {\r\n\r\n    this.dialect = dialect\r\n    this.driver = driver\r\n    this.dsn = dsn\r\n    this.logger = logger\r\n\r\n    Object.defineProperty(this.driver, 'db', {\r\n      configurable: true,\r\n      enumerable: false,\r\n      writable: true,\r\n      value: this\r\n    })\r\n  }\r\n\r\n}\r\n\r\n```"}}