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
{{ message }}
Repository navigation
cmd/compile: anonymous interface conversion not working #33602
This bug requires that both interfaces in a and b be anonymous. Somehow they are being unified (by the linker?) and the test in package b is using the anonymous interface from package a, and failing because the unexported methods must match packages.
I suspect we qualify the unexported methods with only the package name, not the package path. The two anonymous interfaces here have the same linker name when using just the package names.
Activity
cuonglm commentedon Aug 12, 2019
Seems strange, in https://go-review.googlesource.com/c/go/+/170157, I did use package path qualified.
cuonglm commentedon Aug 12, 2019
@randall77 Seems it was fixed on tip, broken with
go1.12.7.randall77 commentedon Aug 12, 2019
Right, thanks.
Dup of issue 29612.