x/tools/cmd/goimports: prefer rand/v2 where applicable #66407
Labels
FrozenDueToAge
gopls/imports
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
cmd/goimports and gopls' goimports integration do not select rand/v2 in the following scenario, resulting in a type error:
https://go.dev/play/p/pNTZiwDiG8F
This issue is related to #58382 and #41800, where the goimports does not prefer a the latest version of a module. However, goimports treats standard library packages differently, and so this bug will require a separate fix.
The text was updated successfully, but these errors were encountered: