Skip to content

Commit

Permalink
doc: add release note for go/types/PkgNameOf
Browse files Browse the repository at this point in the history
For golang#62037.

Change-Id: Id1d02f88205e5ea62662e78c8313731ec9e55b1e
Reviewed-on: https://go-review.googlesource.com/c/go/+/546975
Reviewed-by: Alan Donovan <[email protected]>
TryBot-Bypass: Robert Griesemer <[email protected]>
Reviewed-by: Robert Griesemer <[email protected]>
Auto-Submit: Robert Griesemer <[email protected]>
  • Loading branch information
griesemer authored and ezz-no committed Feb 17, 2024
1 parent 7dec408 commit e40cc4f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions doc/go1.22.html
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,9 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>

<dl id="go/types"><dt><a href="/pkg/go/types/">go/types</a></dt>
<dd>
<p><!-- https://go.dev/issue/62037 -->
TODO: <a href="https://go.dev/issue/62037">https://go.dev/issue/62037</a>: add Info.PkgName method
<p><!-- https://go.dev/issue/62037, CL 541575 -->
The new helper method <a href="/pkg/go/types#Info.PkgNameOf"><code>PkgNameOf</code></a> returns the local package name
for the given import declaration.
</p>

<p><!-- https://go.dev/issue/63223 -->
Expand All @@ -523,10 +524,6 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
<code>types.SizesFor("gc", "amd64")</code>.
</p>

<p><!-- CL 541575 -->
TODO: <a href="https://go.dev/cl/541575">https://go.dev/cl/541575</a>: go/types, types2: implement Info.PkgNameOf; modified api/next/62037.txt
</p>

<p><!-- CL 541737 -->
TODO: <a href="https://go.dev/cl/541737">https://go.dev/cl/541737</a>: go/types, types2: implement Alias proposal (export API); modified api/next/63223.txt
</p>
Expand Down

0 comments on commit e40cc4f

Please sign in to comment.