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 parser fails to identify discrete parameter declarations and combines them under a single one. This behavior only occurs in unnamed parameters and when using the language built-in type map.
This isn't really solvable without the external scanner or reserved words api, I think the latter is a better solution but no clue when that could land.
Description
The parser fails to identify discrete parameter declarations and combines them under a single one. This behavior only occurs in unnamed parameters and when using the language built-in type
map
.To reproduce
go mod init treesitter-error
create a
main.go
file with contents:I am using the latest stable version of neovim, with the latest version of the go parser. The tree looks like this:
The text was updated successfully, but these errors were encountered: