From ba519019d2f39df29060eec104b47c7c9ea720b2 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Mon, 4 Dec 2023 11:38:50 -0800 Subject: [PATCH] doc: add release note for changes to go/types/SizesFor For #61035. Change-Id: I27e2c44f9275b508d9dccc50da80896384a4c8fc Reviewed-on: https://go-review.googlesource.com/c/go/+/546837 TryBot-Bypass: Robert Griesemer Reviewed-by: Alan Donovan Reviewed-by: Robert Griesemer Auto-Submit: Robert Griesemer --- doc/go1.22.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/go1.22.html b/doc/go1.22.html index dc752a9ffedc20..c1535cc275aaf1 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -516,8 +516,11 @@

Minor changes to the library

TODO: https://go.dev/issue/63223: API changes to support explicit Alias nodes

-

- TODO: https://go.dev/issue/61035: go/types, types2: fix SizesFor("gc", ...) to match actual gc behavior +

+ The implementation of SizesFor has been adjusted to compute + the same type sizes as the compiler when the compiler argument for SizesFor is "gc". + The default Sizes implementation used by the type checker is now + types.SizesFor("gc", "amd64").