go/types, types2: error messages don't distinguish between different types with the same names #48295
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
produces:
The error message reports the same type (
T
) for the variable and the constant, which is confusing.Maybe we can detect cases like these and provide additional information, such as where the types are declared.
Not urgent as this is a rare scenario.
The text was updated successfully, but these errors were encountered: