Skip to content

Commit b53e816

Browse files
griesemerezz-no
authored andcommitted
doc: add release note for go/types.Info.FileVersions
For golang#62605. Change-Id: I3c06b835c874c1be5aa5293e3906bdd06c021d87 Reviewed-on: https://go-review.googlesource.com/c/go/+/546836 Auto-Submit: Robert Griesemer <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Robert Griesemer <[email protected]> TryBot-Bypass: Robert Griesemer <[email protected]>
1 parent 2a97b4f commit b53e816

File tree

1 file changed

+26
-32
lines changed

1 file changed

+26
-32
lines changed

doc/go1.22.html

Lines changed: 26 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -368,38 +368,6 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
368368
</dd>
369369
</dl><!-- go/ast -->
370370

371-
<dl id="go/types"><dt><a href="/pkg/go/types/">go/types</a></dt>
372-
<dd>
373-
<p><!-- https://go.dev/issue/62037 -->
374-
TODO: <a href="https://go.dev/issue/62037">https://go.dev/issue/62037</a>: add Info.PkgName method
375-
</p>
376-
377-
<p><!-- https://go.dev/issue/62605 -->
378-
TODO: <a href="https://go.dev/issue/62605">https://go.dev/issue/62605</a>: Export Info.FileVersions for access to file-specific version information
379-
</p>
380-
381-
<p><!-- https://go.dev/issue/63223 -->
382-
TODO: <a href="https://go.dev/issue/63223">https://go.dev/issue/63223</a>: API changes to support explicit Alias nodes
383-
</p>
384-
385-
<p><!-- CL 540056 -->
386-
TODO: <a href="https://go.dev/cl/540056">https://go.dev/cl/540056</a>: go/types: export Info.FileVersions; modified api/next/62605.txt
387-
</p>
388-
389-
<p><!-- https://go.dev/issue/61035 -->
390-
TODO: <a href="https://go.dev/issue/61035">https://go.dev/issue/61035</a>: go/types, types2: fix SizesFor(&#34;gc&#34;, ...) to match actual gc behavior
391-
</p>
392-
393-
<p><!-- CL 541575 -->
394-
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
395-
</p>
396-
397-
<p><!-- CL 541737 -->
398-
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
399-
</p>
400-
</dd>
401-
</dl><!-- go/types -->
402-
403371
<dl id="go/version"><dt><a href="/pkg/go/version/">go/version</a></dt>
404372
<dd>
405373
<p><!-- https://go.dev/issue/62039 -->
@@ -540,13 +508,39 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
540508

541509
<dl id="go/types"><dt><a href="/pkg/go/types/">go/types</a></dt>
542510
<dd>
511+
<p><!-- https://go.dev/issue/62037 -->
512+
TODO: <a href="https://go.dev/issue/62037">https://go.dev/issue/62037</a>: add Info.PkgName method
513+
</p>
514+
515+
<p><!-- https://go.dev/issue/63223 -->
516+
TODO: <a href="https://go.dev/issue/63223">https://go.dev/issue/63223</a>: API changes to support explicit Alias nodes
517+
</p>
518+
519+
<p><!-- https://go.dev/issue/61035 -->
520+
TODO: <a href="https://go.dev/issue/61035">https://go.dev/issue/61035</a>: go/types, types2: fix SizesFor(&#34;gc&#34;, ...) to match actual gc behavior
521+
</p>
522+
523+
<p><!-- CL 541575 -->
524+
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
525+
</p>
526+
527+
<p><!-- CL 541737 -->
528+
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
529+
</p>
530+
543531
<p><!-- https://go.dev/issue/64295, CL 544035 -->
544532
The start position (<a href="/pkg/go/types#Scope.Pos">Pos</a>)
545533
of the lexical environment block (<a href="/pkg/go/types#Scope">Scope</a>)
546534
that represents a function body has changed:
547535
it used to start at the opening curly brace of the function body,
548536
but now starts at the function's <code>func</code> token.
549537
</p>
538+
539+
<p><!-- https://go.dev/issue/62605, CL 540056 -->
540+
The <a href="/pkg/go/types#Info"><code>Info</code></a> struct now exports the
541+
<a href="/pkg/go/types#Info.FileVersions"><code>FileVersions</code></a> map
542+
which provides per-file Go version information.
543+
</p>
550544
</dd>
551545
</dl>
552546

0 commit comments

Comments
 (0)