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.

Duplication of IDENTIFIER role #96

Closed

Description

@zurk

I found it in the output of this example https://gist.github.com/zurk/8f7dd974347925ae62c31d9441491613 for issue #94.

for self token we have role duplication:

<self>: ['IDENTIFIER', 'QUALIFIED', 'IDENTIFIER', 'EXPRESSION']

or for class1:
<class1>: ['IDENTIFIER', 'QUALIFIED', 'IDENTIFIER', 'EXPRESSION']

Activity

  1. juanjux commented on Sep 21, 2017

    @juanjux
    Contributor

    Yes, I think that with the current UAST it will be unavoidable to have some duplicated roles, trough I'm pretty sure most of the current ones can be eliminated. There is a feature request in the SDK to automatically eliminate duplicates (bblfsh/sdk#174) but I don't want to implement it yet precisely to detect these easily avoidable cases.

  2. self-assigned this
    on Sep 21, 2017
  3. zurk commented on Sep 22, 2017

    @zurk
    Author

    Ok, got it!
    It is not a big problem, so fix it when you are ready.

  4. juanjux commented on Oct 4, 2017

    @juanjux
    Contributor

    Fixed by #112, thanks for reporting.

  5. juanjux commented on Oct 4, 2017

    @juanjux
    Contributor

    Reopening, I checked that there are still some duplicated IDENTIFIER roles.

  6. reopened this on Oct 4, 2017
  7. juanjux commented on Oct 5, 2017

    @juanjux
    Contributor

    Fixed by #122.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions