-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/compile: wrong instantiation of imported type causes typechecker error #48716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I can't reproduce this with:
|
Hmm, did you go to the sets directory and run 'go test'. I am able to reproduce at current master, including 3bbc823:
I am working on it (roughly know where the problem is, but not fixed yet). |
Oh right, I only did |
Change https://golang.org/cl/355250 mentions this issue: |
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: