aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Chase <drchase@google.com>2022-12-01 13:39:23 -0500
committerDavid Chase <drchase@google.com>2022-12-05 19:25:34 +0000
commitb45cb0ce863f3cf91a1847d44a9474aad2a6c592 (patch)
tree5c45a66ce07b7dcd99e3e3f692da0e187b2740eb
parent298635896911337aa6f5957716621dbebbf307d0 (diff)
downloadgo-b45cb0ce863f3cf91a1847d44a9474aad2a6c592.tar.gz
go-b45cb0ce863f3cf91a1847d44a9474aad2a6c592.zip
doc: 1.20 compiler changes
This adds the nonPGO, non-coverage compiler changes for the 1.20 release. There's not that much user visible change. For #54202. Change-Id: Ib2964ed5f7e73bb89c720d09b868ab79682f5070 Reviewed-on: https://go-review.googlesource.com/c/go/+/454536 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: David Chase <drchase@google.com>
-rw-r--r--doc/go1.20.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/go1.20.html b/doc/go1.20.html
index 26f65f28d0..b39c49ff11 100644
--- a/doc/go1.20.html
+++ b/doc/go1.20.html
@@ -306,7 +306,18 @@ Do not send CLs removing the interior tags from such phrases.
</p>
<p>
- TODO: complete this section
+ The Go 1.20 compiler upgraded its front-end to use a new way of handling the
+ compiler's internal data, which fixes several generic-types bugs and enables
+ local types in generic functions and methods.
+</p>
+
+<p><!-- https://go.dev/issue/56103, CL 445598 -->
+ The compiler now <a href="https://go.dev/issue/56103">disallows anonymous interface cycles</a>.
+</p>
+
+<p><!-- https://go.dev/issue/49569 -->
+ Relative to Go 1.19, generated code performance is generally slightly improved,
+ build wall times are slightly increased, build user times are slightly decreased.
</p>
<h2 id="linker">Linker</h2>