From 49f022cfa382e7326d2a6e3237dbed1ac43ae7b6 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Mon, 4 Dec 2023 12:35:35 -0800 Subject: [PATCH] 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 --- doc/go1.22.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/doc/go1.22.html b/doc/go1.22.html index c1535cc275a..7642ff5bfd7 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