spec: type inference doesn't work for struct literals #50482
Labels
FrozenDueToAge
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.
Milestone
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
)?go env
OutputWhat did you do?
What did you expect to see?
0
What did you see instead?
cannot use generic type A[T any] without instantiation
The text was updated successfully, but these errors were encountered: