GoLand not recognising updates to Go 1.22 that fixes the long-standing “for” loop gotcha with accidental sharing of loop variables between iteration. I only have Go 1.22 on my PC

已回答

That warning shouldn't be coming up.

When I run the `go` command from the command line I get the expected results though.

0

Hi,

We've fixed this problem in 2023.3.6 and 2024.1 RC (https://www.jetbrains.com/go/nextversion/) versions of GoLand.

0

请先登录再写评论。