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 has been 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.
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>
havingposition
and containing a<NoopSameLine roleComment>
withoutposition
.The comment token itself contains a leading
#
character what does not happen for regular python comments.addendum:
This issue might be related to these similar ones in other languages drivers:
bblfsh/javascript-driver#36 bblfsh/go-driver#28 bblfsh/java-driver#86
The text was updated successfully, but these errors were encountered: