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
This file t.go
t.go
package main type ( Alias1 = bool Alias2 = int ) func main() { }
is apparently valid: go run t.go successfully executes it (golang version 1.22.2). But tree-sitter-go 0.23.4 produces this syntax tree:
go run t.go
(source_file (package_clause (package_identifier)) (type_declaration (type_alias name: (type_identifier) type: (type_identifier)) (type_alias name: (type_identifier) type: (type_identifier)) (MISSING "source_file_token1")) (function_declaration name: (identifier) parameters: (parameter_list) body: (block)))
Since the file is valid, I would expect no MISSING node.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This file
t.go
is apparently valid:
go run t.go
successfully executes it (golang version 1.22.2). But tree-sitter-go 0.23.4 produces this syntax tree:Since the file is valid, I would expect no MISSING node.
The text was updated successfully, but these errors were encountered: