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've noticed similar behavior when traversing the tree through the Node interface vs using the TreeCursor. The TreeCursor seems to find the correct Field and the Node.FieldNameForChild doesn't.
When selecting ruby language and when doing this query
If we take the tree we will get this tree:
As we can see there are 3 field names
receiver
,method
andarguments
Now iterating or
namedChildCount
ofcall
node with following codewe get results
As we can see order is messed up (
method
should be on index 1, on index 0 it should bereceiver
)field name
receiver
is also missing.The text was updated successfully, but these errors were encountered: