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
This isn't API so it can be done after 1.5. Feel free to change the milestone if you want to fix for 1.5 anyway.
rsc
changed the title
x/tools/go/types: Interface implementation errors are not descriptive.
go/types: interface implementation error should give a missing method
Apr 10, 2015
Consider this very simple play.golang.org program.
Running this program using the current Go compiler produces some very helpful output:
However the same program checked via
golang.org/x/tools/go/types.Check
produces a much less helpful error:Note the lacking specifics of
*S does not implement X (missing foo method)
in the above error.The text was updated successfully, but these errors were encountered: