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

Driver returns more than one the same comment #28

@dpordomingo

Description

@dpordomingo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions