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
The problem with this one is that the comment before o is a child of the parameter list that's distinct from the parameter itself. So the comment is child 1 while the param is child 2. The lookup on on x goes through the fall func_7(obj), which sets up a scope where obj is the 1th argument, and the parameter list sets up a lookup on those arguments based on the position of the child. Except in this case, o is not the 1th child, so it resolves to the wrong place -- the non-existent 2th argument of the call.
I can't see any way to fix this within the current tree-sitter framework.
This test fails (but should pass) because the comment steals the parameter's lunch.
🎩 @BekaValentine
The text was updated successfully, but these errors were encountered: