cmd/compile: poor error message when invoking method on embedded type #15711
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Please answer these questions before submitting your issue. Thanks!
go version
)?go1.6.2
go env
)?The playground
https://play.golang.org/p/hsjwmQwtsb
Relevant snippet:
The
.common
bit is unexpected and an implementation detail. Runninggodoc testing Fail
shows a simple methodfunc (c *T) Fail()
, and the fact thattesting.T
embedstesting.common
does not seem useful.The text was updated successfully, but these errors were encountered: