runtime: display fully-qualified types when strings are equal in unequal type panic #11634
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
go version devel +bd45bce Wed Jul 8 01:20:02 2015 +0000 linux/amd64
Ubuntu 15.04, amd64
Created a test case to see what would happen when vendoring the same package twice in two different repositories.
go15vendortest has a copy of vendortedthing under the vendor directory
it also pulls in go15vendortest2 which has its own copy of vendoredthing under the vendor directory
A type exception with a way to tell which type came from which package.
panic: interface conversion: interface is vendoredthing.Data, not vendoredthing.Data
I know why this is happening because I created it on purpose, but there seems to be no way to display where these types came from.
The text was updated successfully, but these errors were encountered: