Invalid argument for the len function - IDE complaining about syntax errors concerning valid use of Go generics
已完成
The slices.Filter function returns a slice of generics: `[]T`. This is valid and builds but the syntax is being complained about by GoLand. Do I have a setting misconfigured? The IDE is set up to use Go 1.18.3
请先登录再写评论。
What version of GoLand are you using? If it is 2022.3.1, please share slices.Filter definition.
Wow, updating to the latest version fixed this. Thanks for your comment.