X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fgodebug.md;h=e4978b9d26334e3279db1715ed99ed3797b2092f;hb=30de0b5ef4dda725f29fbdb88e1429a6dd3ae8cd;hp=380107cf66f4897ca845cad7f7709ff3412736c5;hpb=42bd21be1cf54876ce24c489852721049ef293e2;p=gostls13.git diff --git a/doc/godebug.md b/doc/godebug.md index 380107cf66..e4978b9d26 100644 --- a/doc/godebug.md +++ b/doc/godebug.md @@ -143,6 +143,13 @@ patterns and unescape both patterns and request paths by segment. This behavior can be controlled by the [`httpmuxgo121` setting](/pkg/net/http/#ServeMux). +Go 1.22 added the [Alias type](/pkg/go/types#Alias) to [go/types](/pkg/go/types) +for the explicit representation of [type aliases](/ref/spec#Type_declarations). +Whether the type checker produces `Alias` types or not is controlled by the +[`gotypesalias` setting](/pkg/go/types#Alias). +For Go 1.22 it defaults to `gotypesalias=0`. +For Go 1.23, `gotypealias=1` will become the default. +This setting will be removed in a future release, Go 1.24 at the earliest. ### Go 1.21