x/tools/gopls: don't suggest simplification of "for _ = range x" if x is a func #67394
Labels
gopls
Issues related to the Go language server, gopls.
Refactoring
Issues related to refactoring tools
Milestone
Currently, the spec requires that a
for _ = range f
statement must have the blank variables (one for Seq, two for Seq2). Gopls currently suggests a simplification tofor range f
. It should not do that.But first wait for a decision on this proposal:
The text was updated successfully, but these errors were encountered: