{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/4622","repository_url":"https://api.github.com/repos/babel/babel","labels_url":"https://api.github.com/repos/babel/babel/issues/4622/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/4622/comments","events_url":"https://api.github.com/repos/babel/babel/issues/4622/events","html_url":"https://github.com/babel/babel/issues/4622","id":180393076,"number":4622,"title":"transform-flow-comments regression with 6.16.x","user":{"login":"dchambers","id":283294,"avatar_url":"https://avatars.githubusercontent.com/u/283294?v=3","gravatar_id":"","url":"https://api.github.com/users/dchambers","html_url":"https://github.com/dchambers","followers_url":"https://api.github.com/users/dchambers/followers","following_url":"https://api.github.com/users/dchambers/following{/other_user}","gists_url":"https://api.github.com/users/dchambers/gists{/gist_id}","starred_url":"https://api.github.com/users/dchambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchambers/subscriptions","organizations_url":"https://api.github.com/users/dchambers/orgs","repos_url":"https://api.github.com/users/dchambers/repos","events_url":"https://api.github.com/users/dchambers/events{/privacy}","received_events_url":"https://api.github.com/users/dchambers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-30T20:16:30Z","updated_at":"2016-09-30T21:06:47Z","closed_at":null,"body":"After upgrading from Babel `6.14.0` to `6.16.3` (happens with `6.16.0` too) the 'babel-plugin-transform-flow-comments' plugin seems to have a small regression which causes classes with typed member variables, for example:\r\n\r\n~~~es6\r\n/* @flow */\r\n\r\nclass C {\r\n  x: number\r\n}\r\n\r\nnew C();\r\n~~~\r\n\r\nto error like so:\r\n\r\n~~~bash\r\n/home/dominicc/dev/C.js:6\r\n  x /*: number*/;\r\n                ^\r\nSyntaxError: Unexpected token ;\r\n~~~\r\n"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/250852366","html_url":"https://github.com/babel/babel/issues/4622#issuecomment-250852366","issue_url":"https://api.github.com/repos/babel/babel/issues/4622","id":250852366,"user":{"login":"dchambers","id":283294,"avatar_url":"https://avatars.githubusercontent.com/u/283294?v=3","gravatar_id":"","url":"https://api.github.com/users/dchambers","html_url":"https://github.com/dchambers","followers_url":"https://api.github.com/users/dchambers/followers","following_url":"https://api.github.com/users/dchambers/following{/other_user}","gists_url":"https://api.github.com/users/dchambers/gists{/gist_id}","starred_url":"https://api.github.com/users/dchambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchambers/subscriptions","organizations_url":"https://api.github.com/users/dchambers/orgs","repos_url":"https://api.github.com/users/dchambers/repos","events_url":"https://api.github.com/users/dchambers/events{/privacy}","received_events_url":"https://api.github.com/users/dchambers/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T21:06:47Z","updated_at":"2016-09-30T21:06:47Z","body":"Sound good :+1: "}}
{"actor":{"display_login":"dchambers"}}