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
We can see that the flow_mapping node is missing from the CST. Section 7.4.1 of YAML 1.2.2 specification contains explicit direction about how to handle cases like these.
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)tree-sitter 0.24.3 (bdfe32402e85673bbc693216f0a6ef72c98bb665)
Describe the bug
YAML fragment:
CST:

We can see that the flow_mapping node is missing from the CST. Section 7.4.1 of YAML 1.2.2 specification contains explicit direction about how to handle cases like these.
Block style of this syntax parses correctly:
YAML fragment:
CST:

Steps To Reproduce/Bad Parse Tree
https://tree-sitter.github.io/tree-sitter/playground
Expected Behavior/Parse Tree
Having flow_mapping node wrapping the flow_pairs nodes
Repro
No response
The text was updated successfully, but these errors were encountered: