x/tools/gopls: trying to marshal unsupported type map[K]V SA1026 #52467
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
gopls version
go env
What did you do?
https://go.dev/play/p/YDN24ULS4iV
Called
json.Marshal
on a generic map.What did you expect to see?
No lint error.
What did you see instead?
Lint error
trying to marshal unsupported type map[K]V
Editor and settings
The text was updated successfully, but these errors were encountered: