Skip to content

Commit

Permalink
doc: 1.20 compiler changes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dr2chase committed Dec 5, 2022
1 parent 2986358 commit b45cb0c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion doc/go1.20.html
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,18 @@ <h2 id="compiler">Compiler</h2>
</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>
Expand Down

0 comments on commit b45cb0c

Please sign in to comment.