x/tools/gopls/internal/analysis/modernize: the conversion of variadic functions to slices.ContainsFunc
causes type errors
#73269
Labels
Milestone
Go version
go version devel go1.25-559b5d814f Tue Apr 8 08:25:47 2025 -0700 darwin/arm64
Output of
go env
in your module/workspace:go env
What did you do?
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/[email protected] -fix ./...
What did you see happen?
modernize
's conversion of variadic functions toslices.ContainsFunc
causes type errors.What did you expect to see?
Variadic functions should not be converted to
slices.ContainsFunc
.cf. CL 663436
The text was updated successfully, but these errors were encountered: