doc: fix typo of gotypesalias

This commit is contained in:
Benjamin Peterson 2024-03-01 10:21:29 -08:00
parent b5a64ba62e
commit 2a66fce273
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ for the explicit representation of [type aliases](/ref/spec#Type_declarations).
Whether the type checker produces `Alias` types or not is controlled by the Whether the type checker produces `Alias` types or not is controlled by the
[`gotypesalias` setting](/pkg/go/types#Alias). [`gotypesalias` setting](/pkg/go/types#Alias).
For Go 1.22 it defaults to `gotypesalias=0`. For Go 1.22 it defaults to `gotypesalias=0`.
For Go 1.23, `gotypealias=1` will become the default. For Go 1.23, `gotypesalias=1` will become the default.
This setting will be removed in a future release, Go 1.24 at the earliest. This setting will be removed in a future release, Go 1.24 at the earliest.
Go 1.22 changed the default minimum TLS version supported by both servers Go 1.22 changed the default minimum TLS version supported by both servers