Invalid argument for the len function - IDE complaining about syntax errors concerning valid use of Go generics

Completed

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

0
2 comments

What version of GoLand are you using? If it is 2022.3.1, please share slices.Filter definition. 

1

Wow, updating to the latest version fixed this. Thanks for your comment.

0

Please sign in to leave a comment.