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
I’m not sure whether "syntax_type"should be in SCOPE_ATTRS, or the attribute is erroneously added to scope nodes in TSGs — seems to me it’s the former, but I’ll leave that up to you.
The text was updated successfully, but these errors were encountered:
Thanks for the report! For which language are you getting these errors? And is this using a released version or the repo's main branch?
In principle, setting syntax_type in scope nodes doesn't make much sense, but we also allow source_node on all nodes it seems, which is kind of similar.
Not sure about the source language — this came from an internal report so I’ll try to chase that down. I’m pretty sure it’s one of the languages in this repo (Java/JS/Py/TS). It’s tree-sitter-stack-graphs 0.8.1
We’re seeing a lot of these messages in standard-error:
These are emitted here, and stem from the fact that
"syntax_type"
is not included inSCOPE_ATTRS
:stack-graphs/tree-sitter-stack-graphs/src/lib.rs
Lines 431 to 432 in 7b15ca4
I’m not sure whether
"syntax_type"
should be inSCOPE_ATTRS
, or the attribute is erroneously added toscope
nodes in TSGs — seems to me it’s the former, but I’ll leave that up to you.The text was updated successfully, but these errors were encountered: