From: Robert Griesemer Date: Mon, 4 Dec 2023 20:35:35 +0000 (-0800) Subject: doc: add release note for go/types/PkgNameOf X-Git-Tag: go1.22rc1~96 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=49f022cfa382e7326d2a6e3237dbed1ac43ae7b6;p=gostls13.git doc: add release note for go/types/PkgNameOf For #62037. Change-Id: Id1d02f88205e5ea62662e78c8313731ec9e55b1e Reviewed-on: https://go-review.googlesource.com/c/go/+/546975 Reviewed-by: Alan Donovan TryBot-Bypass: Robert Griesemer Reviewed-by: Robert Griesemer Auto-Submit: Robert Griesemer --- diff --git a/doc/go1.22.html b/doc/go1.22.html index c1535cc275..7642ff5bfd 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -508,8 +508,9 @@ Do not send CLs removing the interior tags from such phrases.
go/types
-

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

+ The new helper method PkgNameOf returns the local package name + for the given import declaration.

@@ -523,10 +524,6 @@ Do not send CLs removing the interior tags from such phrases. types.SizesFor("gc", "amd64").

-

- 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