x/tools/gopls/internal/analysis/simplifyrange: adapt for go1.23 range over func #67239
Labels
gopls/analysis
Issues related to running analysis in gopls
gopls
Issues related to the Go language server, gopls.
Refactoring
Issues related to refactoring tools
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
When it sees
for _ = range x { ... }
, thesimplifyrange
analyzer in gopls offers a suggested fix to remove the_ =
part. This is not legal in go1.23 if x is a func.The text was updated successfully, but these errors were encountered: