]> Cypherpunks repositories - gostls13.git/commitdiff
doc/godebug: correct gotypealias=1 deprecation
authorRuss Cox <rsc@golang.org>
Tue, 14 May 2024 19:27:33 +0000 (15:27 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 15 May 2024 12:20:56 +0000 (12:20 +0000)
Per the note earlier in the page, GODEBUGs are maintained for a
minimum of two years (four Go releases). Not said but certainly
implied is that they are maintained for four Go releases from the
point where people started needing to use them.

Since people would start needing gotypesalias=0 in Go 1.23,
it can be removed in Go 1.27.

Change-Id: Ifad63a1fff63c3f96f2ee192ca74bd1ce8bdb61f
Reviewed-on: https://go-review.googlesource.com/c/go/+/585457
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
doc/godebug.md

index 704ebe3a2f5fef5a70b5fa9b6880a9c89a189255..7dbdfa9a783be555e12af1c544fbddf6332f582a 100644 (file)
@@ -175,7 +175,7 @@ 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, `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.27 at the earliest.
 
 Go 1.22 changed the default minimum TLS version supported by both servers
 and clients to TLS 1.2. The default can be reverted to TLS 1.0 using the