cmd/compile: cannot use .this ( type *T[interface{}]) as type T[go.shape.interface {}_0] in T[go.shape.interface {}_0].Method #50486
Labels
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.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?The gotip playground
What did you do?
https://gotipplay.golang.org/p/vuF7acfKTIv
What did you expect to see?
No Error.
What did you see instead?
If I remove ToSeq or Map method of Iterator, the error goes away.
The text was updated successfully, but these errors were encountered: