mirror of
https://github.com/golang/go.git
synced 2025-05-31 23:25:39 +00:00
For #46477. For #68545. Change-Id: I54a36f24167a1f909a865f8f6cf416d7378faa4e Reviewed-on: https://go-review.googlesource.com/c/go/+/632055 Reviewed-by: Robert Griesemer <gri@google.com> TryBot-Bypass: Robert Griesemer <gri@google.com> Auto-Submit: Robert Griesemer <gri@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
372 B
372 B
Changes to the language
Go 1.24 now fully supports generic type aliases: a type alias
may be parameterized like a defined type.
See the language spec for details.
For now, the feature can be disabled by setting GOEXPERIMENT=noaliastypeparams
;
but the aliastypeparams
setting will be removed for Go 1.25.