cmd/compile: disambiguate package short names in "is not assignable" compile errors #12399
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
Milestone
I wrote some code that produced the following error in:
I was confused because those two types are the same. Then I realized that on the left, codesearch referred to
google3/releasetools/rpdb/common/codesearch
while on the right it referred togoogle3/social/automation/tools/actuators/codesearch
.When the short package names are the same, the long name should be used in this "is not assignable" error message, as is done in other cases.
The text was updated successfully, but these errors were encountered: