{"action":"opened","issue":{"url":"https://api.github.com/repos/feross/standard/issues/119","labels_url":"https://api.github.com/repos/feross/standard/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/feross/standard/issues/119/comments","events_url":"https://api.github.com/repos/feross/standard/issues/119/events","html_url":"https://github.com/feross/standard/issues/119","id":69580389,"number":119,"title":"Error with generator method with a symbol name ","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-04-20T12:52:17Z","updated_at":"2015-04-20T12:52:17Z","closed_at":null,"body":"`standard` prints `indx.js:0:0: Cannot read property 'toString' of undefined` with the following code:\r\n\r\n```javascript\r\nconsole.log(class {\r\n  * [Symbol.iterator] () {}\r\n})\r\n```\r\n\r\nThere are no errors if is an object literal instead of a class:\r\n\r\n```javascript\r\nconsole.log({\r\n  * [Symbol.iterator] () {}\r\n})\r\n```\r\n\r\nAnd if the computed property name is not a symbol but a plain string I get the incorrect but different error message `2:12: Expected spaces around *.`:\r\n\r\n```javascript\r\nconsole.log(class {\r\n  * ['foo'] () {}\r\n})\r\n```"}}