cmd/compile: Type confusion vulnerability on identically named generic structs #54456
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
generics
Issue is related to generics
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
This issue affects the latest version. I have tested Go 1.18 and Go 1.18.5, in addition to Go 1.19, both of which are affected as well.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Compile and execute the following program: https://go.dev/play/p/54u9Z1S7oUZ
What did you expect to see?
The following output:
What did you see instead?
The text was updated successfully, but these errors were encountered: