From 53393062ba95299e82ecaa3a0af69315e414e624 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Mon, 4 Dec 2023 11:13:32 -0800 Subject: [PATCH] doc: add release note for go/types.Info.FileVersions For #62605. Change-Id: I3c06b835c874c1be5aa5293e3906bdd06c021d87 Reviewed-on: https://go-review.googlesource.com/c/go/+/546836 Auto-Submit: Robert Griesemer Reviewed-by: Michael Knyszek Reviewed-by: Robert Griesemer TryBot-Bypass: Robert Griesemer --- doc/go1.22.html | 58 ++++++++++++++++++++++--------------------------- 1 file changed, 26 insertions(+), 32 deletions(-) diff --git a/doc/go1.22.html b/doc/go1.22.html index a7dd391aeb5..dc752a9ffed 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -368,38 +368,6 @@ Do not send CLs removing the interior tags from such phrases. -
go/types
-
-

- TODO: https://go.dev/issue/62037: add Info.PkgName method -

- -

- TODO: https://go.dev/issue/62605: Export Info.FileVersions for access to file-specific version information -

- -

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

- -

- TODO: https://go.dev/cl/540056: go/types: export Info.FileVersions; modified api/next/62605.txt -

- -

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

- -

- TODO: https://go.dev/cl/541575: go/types, types2: implement Info.PkgNameOf; modified api/next/62037.txt -

- -

- TODO: https://go.dev/cl/541737: go/types, types2: implement Alias proposal (export API); modified api/next/63223.txt -

-
-
-
go/version

@@ -540,6 +508,26 @@ Do not send CLs removing the interior tags from such phrases.

go/types
+

+ TODO: https://go.dev/issue/62037: add Info.PkgName method +

+ +

+ 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 +

+ +

+ TODO: https://go.dev/cl/541575: go/types, types2: implement Info.PkgNameOf; modified api/next/62037.txt +

+ +

+ TODO: https://go.dev/cl/541737: go/types, types2: implement Alias proposal (export API); modified api/next/63223.txt +

+

The start position (Pos) of the lexical environment block (Scope) @@ -547,6 +535,12 @@ Do not send CLs removing the interior tags from such phrases. it used to start at the opening curly brace of the function body, but now starts at the function's func token.

+ +

+ The Info struct now exports the + FileVersions map + which provides per-file Go version information. +