Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
btracey opened this Issue May 25, 2014 · 2 comments

Comments

Projects
None yet
5 participants
@btracey
Copy link
Contributor

btracey commented May 25, 2014

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

This comment has been minimized.

Copy link
Contributor

ianlancetaylor commented May 26, 2014

Comment 1:

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

@btracey btracey added new labels May 26, 2014

@bradfitz bradfitz removed the new label Dec 18, 2014

@rsc rsc added this to the Unplanned milestone Apr 10, 2015

@rsc rsc removed release-none labels Apr 10, 2015

@rsc rsc changed the title cmd/gc: Report more errors on failed interface satisfaction cmd/compile: Report more errors on failed interface satisfaction Jun 8, 2015

@odeke-em odeke-em changed the title cmd/compile: Report more errors on failed interface satisfaction cmd/compile: report all missing methods on failed interface satisfaction Oct 3, 2016

@zwass

This comment has been minimized.

Copy link

zwass commented Oct 3, 2016

Note that this is especially well explained in #13551, but I also opened #17282 as I found the behavior confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.