{"action":"created","issue":{"url":"https://api.github.com/repos/borela/naomi/issues/166","repository_url":"https://api.github.com/repos/borela/naomi","labels_url":"https://api.github.com/repos/borela/naomi/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/borela/naomi/issues/166/comments","events_url":"https://api.github.com/repos/borela/naomi/issues/166/events","html_url":"https://github.com/borela/naomi/issues/166","id":347655329,"node_id":"MDU6SXNzdWUzNDc2NTUzMjk=","number":166,"title":"Comment is not allowed before default value in function definition","user":{"login":"StreetStrider","id":2124761,"node_id":"MDQ6VXNlcjIxMjQ3NjE=","avatar_url":"https://avatars3.githubusercontent.com/u/2124761?v=4","gravatar_id":"","url":"https://api.github.com/users/StreetStrider","html_url":"https://github.com/StreetStrider","followers_url":"https://api.github.com/users/StreetStrider/followers","following_url":"https://api.github.com/users/StreetStrider/following{/other_user}","gists_url":"https://api.github.com/users/StreetStrider/gists{/gist_id}","starred_url":"https://api.github.com/users/StreetStrider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StreetStrider/subscriptions","organizations_url":"https://api.github.com/users/StreetStrider/orgs","repos_url":"https://api.github.com/users/StreetStrider/repos","events_url":"https://api.github.com/users/StreetStrider/events{/privacy}","received_events_url":"https://api.github.com/users/StreetStrider/received_events","type":"User","site_admin":false},"labels":[{"id":362469001,"node_id":"MDU6TGFiZWwzNjI0NjkwMDE=","url":"https://api.github.com/repos/borela/naomi/labels/bug","name":"bug","color":"ee0701","default":true},{"id":804700866,"node_id":"MDU6TGFiZWw4MDQ3MDA4NjY=","url":"https://api.github.com/repos/borela/naomi/labels/priority:%20high","name":"priority: high","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-04T23:25:19Z","updated_at":"2018-08-05T14:37:45Z","closed_at":null,"author_association":"NONE","body":"Found a minor thing. Looks like comment is not allowed inside round brackets in function definition it is before default value.\r\n```js\r\nfunction f (x /**/ = 1) { var y = 2 }\r\n```\r\nWhere `var` is destyled.\r\nI tried to feed that to Node and it works OK, so I presume the syntax is correct, thus highlighting must follow."},"comment":{"url":"https://api.github.com/repos/borela/naomi/issues/comments/410524435","html_url":"https://github.com/borela/naomi/issues/166#issuecomment-410524435","issue_url":"https://api.github.com/repos/borela/naomi/issues/166","id":410524435,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDUyNDQzNQ==","user":{"login":"StreetStrider","id":2124761,"node_id":"MDQ6VXNlcjIxMjQ3NjE=","avatar_url":"https://avatars3.githubusercontent.com/u/2124761?v=4","gravatar_id":"","url":"https://api.github.com/users/StreetStrider","html_url":"https://github.com/StreetStrider","followers_url":"https://api.github.com/users/StreetStrider/followers","following_url":"https://api.github.com/users/StreetStrider/following{/other_user}","gists_url":"https://api.github.com/users/StreetStrider/gists{/gist_id}","starred_url":"https://api.github.com/users/StreetStrider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StreetStrider/subscriptions","organizations_url":"https://api.github.com/users/StreetStrider/orgs","repos_url":"https://api.github.com/users/StreetStrider/repos","events_url":"https://api.github.com/users/StreetStrider/events{/privacy}","received_events_url":"https://api.github.com/users/StreetStrider/received_events","type":"User","site_admin":false},"created_at":"2018-08-05T14:37:45Z","updated_at":"2018-08-05T14:37:45Z","author_association":"NONE","body":":+1: "}}
{"actor":{"display_login":"StreetStrider"}}