cmd/compile: wrong instantiation of imported type causes typechecker error #48716
Labels
FrozenDueToAge
generics
Issue is related to generics
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
The reproducer is quite complex, so I pushed it into the repo https://github.com/tdakkota/goissue-48716.
I tried to simplify it, but had no success. It seems bug appears only if
Map
interface is imported from another package.What did you expect to see?
Successful compilation.
What did you see instead?
The text was updated successfully, but these errors were encountered: