{"action":"opened","issue":{"url":"https://api.github.com/repos/babel/babel/issues/1699","labels_url":"https://api.github.com/repos/babel/babel/issues/1699/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/1699/comments","events_url":"https://api.github.com/repos/babel/babel/issues/1699/events","html_url":"https://github.com/babel/babel/issues/1699","id":85755909,"number":1699,"title":"Issue parsing `!yield`","user":{"login":"julien-f","id":298721,"avatar_url":"https://avatars.githubusercontent.com/u/298721?v=3","gravatar_id":"","url":"https://api.github.com/users/julien-f","html_url":"https://github.com/julien-f","followers_url":"https://api.github.com/users/julien-f/followers","following_url":"https://api.github.com/users/julien-f/following{/other_user}","gists_url":"https://api.github.com/users/julien-f/gists{/gist_id}","starred_url":"https://api.github.com/users/julien-f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julien-f/subscriptions","organizations_url":"https://api.github.com/users/julien-f/orgs","repos_url":"https://api.github.com/users/julien-f/repos","events_url":"https://api.github.com/users/julien-f/events{/privacy}","received_events_url":"https://api.github.com/users/julien-f/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-06T14:11:19Z","updated_at":"2015-06-06T14:11:19Z","closed_at":null,"body":"```javascript\r\n// Compiles correctly.\r\nfunction *foo () {\r\n  return yield\r\n}\r\nfunction *bar () {\r\n  return !(yield)\r\n}\r\n\r\n// Does not compile.\r\nfunction *baz () {\r\n  return !yield\r\n}\r\n```\r\n\r\nError:\r\n\r\n```\r\nnode_modules/babel/node_modules/babel-core/lib/babel/transformation/file/index.js:597\r\n      throw err;\r\n            ^\r\nSyntaxError: plop.js: Unexpected token (10:10)\r\n   8 | // Does not compile.\r\n   9 | function *baz () {\r\n> 10 |   return !yield\r\n     |           ^\r\n  11 | }\r\n  12 | \r\n    at Parser.pp.raise (node_modules/babel/node_modules/babel-core/lib/acorn/src/location.js:73:13)\r\n    at Parser.pp.unexpected (node_modules/babel/node_modules/babel-core/lib/acorn/src/parseutil.js:87:8)\r\n    at Parser.pp.parseExprAtom (node_modules/babel/node_modules/babel-core/lib/acorn/src/expression.js:278:34)\r\n    at Parser.parseExprAtom (node_modules/babel/node_modules/babel-core/node_modules/acorn-jsx/inject.js:624:24)\r\n    at Parser.pp.parseExprSubscripts (node_modules/babel/node_modules/babel-core/lib/acorn/src/expression.js:217:19)\r\n    at Parser.pp.parseMaybeUnary (node_modules/babel/node_modules/babel-core/lib/acorn/src/expression.js:199:19)\r\n    at Parser.pp.parseMaybeUnary (node_modules/babel/node_modules/babel-core/lib/acorn/src/expression.js:193:26)\r\n    at Parser.pp.parseExprOps (node_modules/babel/node_modules/babel-core/lib/acorn/src/expression.js:155:19)\r\n    at Parser.pp.parseMaybeConditional (node_modules/babel/node_modules/babel-core/lib/acorn/src/expression.js:138:19)\r\n    at Parser.pp.parseMaybeAssign (node_modules/babel/node_modules/babel-core/lib/acorn/src/expression.js:106:19)\r\n```"}}