Skip to content

Switching between "modes" results in inconsistent results #354

Closed

Description

@smacker

Both images show part of the UAST for the same line of code. But they are different after random clicking between semantic/annotated/native switcher.

screenshot 2019-03-04 at 13 05 02

screenshot 2019-03-04 at 13 06 25

Activity

  1. carlosms commented on Mar 5, 2019

    @carlosms
    Contributor

    We need to find if this is something we do in gitbase-web or if it's bblfshd returning different data.
    Can this be reproduced? Do you have the repo/file that caused this?

  2. smacker commented on Mar 5, 2019

    @smacker
    ContributorAuthor

    It is easily reproducible on https://gitbase-playground-staging.srcd.run/
    Just run default query, open code for the first file, enable UAST. After that:

    1. click on parser.Parse()
    2. change the mode to any other one
    3. repeat 2 previous steps N times with different modes
    4. come back to "semantic mode", click on parser.Parse() => tree is different from what it looked like after the first parsing.

    I didn't investigate the cause of the issue. But most probably it's a frontend issue.

  3. added
    empathy-sessionsIssue filed as as part of empathy sessions
    bugSomething isn't working
    on Mar 5, 2019
  4. self-assigned this
    on Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingempathy-sessionsIssue filed as as part of empathy sessions

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions