{"action":"created","issue":{"url":"https://api.github.com/repos/bblfsh/javascript-driver/issues/36","repository_url":"https://api.github.com/repos/bblfsh/javascript-driver","labels_url":"https://api.github.com/repos/bblfsh/javascript-driver/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/bblfsh/javascript-driver/issues/36/comments","events_url":"https://api.github.com/repos/bblfsh/javascript-driver/issues/36/events","html_url":"https://github.com/bblfsh/javascript-driver/issues/36","id":360942668,"node_id":"MDU6SXNzdWUzNjA5NDI2Njg=","number":36,"title":"Driver returns twice the same comment","user":{"login":"dpordomingo","id":2437584,"node_id":"MDQ6VXNlcjI0Mzc1ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2437584?v=4","gravatar_id":"","url":"https://api.github.com/users/dpordomingo","html_url":"https://github.com/dpordomingo","followers_url":"https://api.github.com/users/dpordomingo/followers","following_url":"https://api.github.com/users/dpordomingo/following{/other_user}","gists_url":"https://api.github.com/users/dpordomingo/gists{/gist_id}","starred_url":"https://api.github.com/users/dpordomingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpordomingo/subscriptions","organizations_url":"https://api.github.com/users/dpordomingo/orgs","repos_url":"https://api.github.com/users/dpordomingo/repos","events_url":"https://api.github.com/users/dpordomingo/events{/privacy}","received_events_url":"https://api.github.com/users/dpordomingo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-17T16:15:28Z","updated_at":"2018-11-29T12:49:10Z","closed_at":null,"author_association":"MEMBER","body":"If it's parsed the following example:\r\n\r\n```javascript\r\na = 1; //comment here\r\n/* block comment */\r\n```\r\n\r\nIt is returned each comment twice with different `internalRole`\r\n\r\n![image](https://user-images.githubusercontent.com/2437584/45635498-64e68800-baa5-11e8-8062-d31d5705e850.png)\r\n\r\n***addendum:***\r\nThis issue might be related to these similar ones in other languages drivers:\r\nhttps://github.com/bblfsh/go-driver/issues/28 https://github.com/bblfsh/python-driver/issues/167 https://github.com/bblfsh/java-driver/issues/86\r\n"},"comment":{"url":"https://api.github.com/repos/bblfsh/javascript-driver/issues/comments/442821810","html_url":"https://github.com/bblfsh/javascript-driver/issues/36#issuecomment-442821810","issue_url":"https://api.github.com/repos/bblfsh/javascript-driver/issues/36","id":442821810,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjgyMTgxMA==","user":{"login":"dennwc","id":676724,"node_id":"MDQ6VXNlcjY3NjcyNA==","avatar_url":"https://avatars3.githubusercontent.com/u/676724?v=4","gravatar_id":"","url":"https://api.github.com/users/dennwc","html_url":"https://github.com/dennwc","followers_url":"https://api.github.com/users/dennwc/followers","following_url":"https://api.github.com/users/dennwc/following{/other_user}","gists_url":"https://api.github.com/users/dennwc/gists{/gist_id}","starred_url":"https://api.github.com/users/dennwc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennwc/subscriptions","organizations_url":"https://api.github.com/users/dennwc/orgs","repos_url":"https://api.github.com/users/dennwc/repos","events_url":"https://api.github.com/users/dennwc/events{/privacy}","received_events_url":"https://api.github.com/users/dennwc/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T12:49:10Z","updated_at":"2018-11-29T12:49:10Z","author_association":"MEMBER","body":"@bzz This is exactly the problem I talked about when reffering to DAGs. There are two pointers to the same comment node in the native AST."}}
{"actor":{"display_login":"dennwc"}}