-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.genericsIssue is related to genericsIssue is related to generics
Milestone
Description
This is not a generics proposal, but reporting a bug in the generics branch. First presented in golang-nuts.
What version of Go are you using (go version
)?
generics branch (from https://go2goplay.golang.org/)
Does this issue reproduce with the latest release?
No, just generics branch
What operating system and processor architecture are you using (go env
)?
N/A (in https://go2goplay.golang.org/)
What did you do?
Assigned a generic type to an interface satisfied by a struct embedded in it.
https://go2goplay.golang.org/p/fOJIhgnbOxC
What did you expect to see?
It would implement the interface, and compile.
What did you see instead?
It doesn't implement the interface, and therefore doesn't compile.
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.genericsIssue is related to genericsIssue is related to generics