We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tree-sitter --version
No response
Error parsing const fields in a mutable struct
const
mutable struct
Source:
mutable struct Foo const x::Int end
Tree:
(source_file ; [0, 0] - [3, 0] (struct_definition ; [0, 0] - [2, 3] (type_head ; [0, 15] - [0, 18] (identifier)) ; [0, 15] - [0, 18] (ERROR ; [1, 4] - [1, 16] (typed_expression ; [1, 10] - [1, 16] (identifier) ; [1, 10] - [1, 11] (identifier))))) ; [1, 13] - [1, 16]
Should probably be parsed as (const_statement (typed_expression))?
(const_statement (typed_expression))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)No response
Describe the bug
Error parsing
const
fields in amutable struct
Steps To Reproduce/Bad Parse Tree
Source:
Tree:
Expected Behavior/Parse Tree
Should probably be parsed as
(const_statement (typed_expression))
?Repro
No response
The text was updated successfully, but these errors were encountered: