{"action":"closed","issue":{"url":"https://api.github.com/repos/ternjs/acorn/issues/336","labels_url":"https://api.github.com/repos/ternjs/acorn/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/ternjs/acorn/issues/336/comments","events_url":"https://api.github.com/repos/ternjs/acorn/issues/336/events","html_url":"https://github.com/ternjs/acorn/issues/336","id":112240981,"number":336,"title":"Yield not allowed in arrow function parameters","user":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-10-19T21:53:00Z","updated_at":"2015-11-04T15:57:11Z","closed_at":"2015-11-04T15:57:11Z","body":"Currently, this parses ok:\r\n\r\n```js\r\nfunction *g() { (x = yield) => {} }\r\n```\r\n\r\n\r\nAccording to [the spec](http://www.ecma-international.org/ecma-262/6.0/#sec-arrow-function-definitions-static-semantics-early-errors), `yield` should not be allowed in arrow function parameters."}}