x/tools/gopls: either stop trimming the AST or don't print the confusing errors that result #51948
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
In the latest version of gopls i get errors like
17:19:07 falling back to safe trimming due to type errors: [/usr/local/google/home/pjw/go/pkg/mod/github.com/google/go-cmp@v0.5.7/cmp/options.go:469:24: invalid operation: signed shift count iota (untyped int constant 0) requires go1.13 or later
that result from trimming the AST.
I am running go 1.18.
These are confusing, so either they or their cause should be suppressed. Was AST trimming put in for some sort of performance improvement?
The text was updated successfully, but these errors were encountered: