Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Driver returns more than one the same comment #28

Open
dpordomingo opened this issue Sep 17, 2018 · 0 comments
Open

Driver returns more than one the same comment #28

dpordomingo opened this issue Sep 17, 2018 · 0 comments

Comments

@dpordomingo
Copy link
Member

dpordomingo commented Sep 17, 2018

If it's parsed the following example:

package main

// inline comment.
const a=3

It is returned 4 nodes having Comment role instead of only one

  • internal_type: CommentGroup
    internalRole: Comments
    roles: Comment, List
  • internal_type: CommentGroup
    internalRole: Doc
    roles: Comment, List
  • internal_type: Comment
    internalRole: List
    roles: Comment

image

addendum:
This issue might be related to these similar ones in other languages drivers:
bblfsh/javascript-driver#36 bblfsh/python-driver#167 bblfsh/java-driver#86

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant