You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gopls implementation subcommand doesn't report the built-in error interface as a result for query on a type that satisfies the interface:
xtools$ git log | head -n 1
commit 40fb89cd55bdb68faa88c52593caafb733cdc880
xtools$ cat a.go
package tools
type E int
func (E) Error() string { return "" }
type MyError interface{ Error() string }
xtools$ go run ./gopls implementation ./a.go:#21
/Users/adonovan/w/xtools/a.go:7:6-13
xtools$ nl -ba /Users/adonovan/w/xtools/a.go | grep 7
7 type MyError interface{ Error() string }
It should.
The text was updated successfully, but these errors were encountered:
gopherbot
added
Tools
This label describes issues relating to any tools in the x/tools repository.
gopls
Issues related to the Go language server, gopls.
labels
Apr 10, 2023
The gopls implementation subcommand doesn't report the built-in
error
interface as a result for query on a type that satisfies the interface:It should.
The text was updated successfully, but these errors were encountered: