golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
122.84k stars 17.51k forks source link

cmd/compile: report all missing methods on failed interface satisfaction #8095

Open btracey opened 10 years ago

btracey commented 10 years ago
If a type does not implement an interface, the compiler currently only reports one
error. It would be nice if it reported more errors.

http://play.golang.org/p/ayvTDLAJiZ
ianlancetaylor commented 10 years ago

Comment 1:

Labels changed: added repo-main, release-none.

zwass commented 7 years ago

Note that this is especially well explained in https://github.com/golang/go/issues/13551, but I also opened #17282 as I found the behavior confusing.