I wrote some code that produced the following error in:
call.go:83: wrong type of argument 0 to Return for *mock_codesearch.MockCodesearcher.FindManifestsByNodeName: codesearch.Result is not assignable to codesearch.Result
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 to google3/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:
changed the title
Disambiguate package short names in "is not assignable" compile errorsAug 30, 2015