{"action":"closed","issue":{"url":"https://api.github.com/repos/eslint/espree/issues/187","labels_url":"https://api.github.com/repos/eslint/espree/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/eslint/espree/issues/187/comments","events_url":"https://api.github.com/repos/eslint/espree/issues/187/events","html_url":"https://github.com/eslint/espree/issues/187","id":100341392,"number":187,"title":"Rest Params and Arrow Functions Not working","user":{"login":"xjamundx","id":246143,"avatar_url":"https://avatars.githubusercontent.com/u/246143?v=3","gravatar_id":"","url":"https://api.github.com/users/xjamundx","html_url":"https://github.com/xjamundx","followers_url":"https://api.github.com/users/xjamundx/followers","following_url":"https://api.github.com/users/xjamundx/following{/other_user}","gists_url":"https://api.github.com/users/xjamundx/gists{/gist_id}","starred_url":"https://api.github.com/users/xjamundx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xjamundx/subscriptions","organizations_url":"https://api.github.com/users/xjamundx/orgs","repos_url":"https://api.github.com/users/xjamundx/repos","events_url":"https://api.github.com/users/xjamundx/events{/privacy}","received_events_url":"https://api.github.com/users/xjamundx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/espree/labels/accepted","name":"accepted","color":"207de5"},{"url":"https://api.github.com/repos/eslint/espree/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"xjamundx","id":246143,"avatar_url":"https://avatars.githubusercontent.com/u/246143?v=3","gravatar_id":"","url":"https://api.github.com/users/xjamundx","html_url":"https://github.com/xjamundx","followers_url":"https://api.github.com/users/xjamundx/followers","following_url":"https://api.github.com/users/xjamundx/following{/other_user}","gists_url":"https://api.github.com/users/xjamundx/gists{/gist_id}","starred_url":"https://api.github.com/users/xjamundx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xjamundx/subscriptions","organizations_url":"https://api.github.com/users/xjamundx/orgs","repos_url":"https://api.github.com/users/xjamundx/repos","events_url":"https://api.github.com/users/xjamundx/events{/privacy}","received_events_url":"https://api.github.com/users/xjamundx/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-11T15:40:58Z","updated_at":"2015-08-13T15:33:07Z","closed_at":"2015-08-13T15:33:07Z","body":"```\r\n require('./espree').parse('(a, ...b) => a[0]', {ecmaFeatures: { arrowFunctions: true, restParams: true }})\r\nError: Line 1: Unexpected token =>\r\n    at throwError (/Users/jamuferguson/dev/espree/espree.js:2070:17)\r\n    at throwUnexpected (/Users/jamuferguson/dev/espree/espree.js:2133:5)\r\n    at reinterpretAsDestructuredParameter (/Users/jamuferguson/dev/espree/espree.js:3453:9)\r\n    at reinterpretAsCoverFormalsList (/Users/jamuferguson/dev/espree/espree.js:3312:13)\r\n    at parseAssignmentExpression (/Users/jamuferguson/dev/espree/espree.js:3534:22)\r\n    at parseExpression (/Users/jamuferguson/dev/espree/espree.js:3568:16)\r\n    at parseExpressionStatement (/Users/jamuferguson/dev/espree/espree.js:3763:16)\r\n    at parseStatement (/Users/jamuferguson/dev/espree/espree.js:4290:44)\r\n    at parseSourceElement (/Users/jamuferguson/dev/espree/espree.js:5176:16)\r\n    at parseSourceElements (/Users/jamuferguson/dev/espree/espree.js:5209:25)\r\n```\r\n\r\nThis is possibly related to #132 and was discovered while working on eslint/eslint#3353"}}