You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The go2go playground is not actively supported anymore.
But we should probably add a test case for the compiler, just to cover this.
cc: @ianlancetaylor
cherrymui
changed the title
cmd/go2go: bad runtime type identity for generics instantiated with anonymous struct literals with tags
test: add test case for runtime type identity for generics instantiated with anonymous struct literals with tags
Jun 7, 2021
This program should print 2: https://go2goplay.golang.org/p/CC066DjHD5x
cmd/compile gets this right, but cmd/go2go prints 1.
/cc @ianlancetaylor @griesemer (thx @dominikh for test case)
The text was updated successfully, but these errors were encountered: