You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
When an inline comment is parsed, it is returned a structure that is different compared to other comments or compared to other drivers:
It is returned a <SameLineNoopscontaining roleComment> having position and containing a <NoopSameLine roleComment> without position.
The comment token itself contains a leading # character what does not happen for regular python comments.
The issue is not (only) about the dashboard but about the response I get from bblfsh.
I found the unexpected behavior with lookout using the typos-checker analyzer when reviewing this comment, wrongly placed in a wrong line (because the comment node seems to have no position as it also happened in the dashboard).
I was testing this, and could not reproduce with the latest versions - all kinds of comments only appear once. BUT I found another problem: some comments doesn't appear in the semantic output. I'm investigating that.
Activity
juanjux commentedon Sep 19, 2018
For what I'm seeing, the dashboard is not using Semantic UAST so it's normal that the structure is different among languages.
dpordomingo commentedon Sep 19, 2018
The issue is not (only) about the dashboard but about the response I get from bblfsh.
I found the unexpected behavior with
lookoutusing thetypos-checkeranalyzer when reviewing this comment, wrongly placed in a wrong line (because the comment node seems to have nopositionas it also happened in the dashboard).The bblfsh I'm runing to get that behaviour is:
Should I configure my env in a different way to use bblfsh with Semantic UAST?
juanjux commentedon Jan 31, 2019
I was testing this, and could not reproduce with the latest versions - all kinds of comments only appear once. BUT I found another problem: some comments doesn't appear in the semantic output. I'm investigating that.