Skip to content

Commit 60f2c12

Browse files
doc/go1.18: mention new go/types/Config.Context field
For #47694 For #47916 Change-Id: Ieeffaf161da744adfdb4da8aac58a64c109ebcab Reviewed-on: https://go-review.googlesource.com/c/go/+/373775 Trust: Ian Lance Taylor <[email protected]> Reviewed-by: Robert Findley <[email protected]>
1 parent a1ce550 commit 60f2c12

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

doc/go1.18.html

+8-5
Original file line numberDiff line numberDiff line change
@@ -587,10 +587,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
587587

588588
<dl id="go/types"><dt><a href="/pkg/go/types/">go/types</a></dt>
589589
<dd>
590-
<p><!-- https://golang.org/issue/46648 -->
591-
The new <a href="/pkg/go/types/#Config.GoVersion"><code>Config.GoVersion</code></a>
592-
field sets the accepted Go language version.
593-
</p>
590+
<p><!-- https://golang.org/issue/46648 -->
591+
The new <a href="/pkg/go/types/#Config.GoVersion"><code>Config.GoVersion</code></a>
592+
field sets the accepted Go language version.
593+
</p>
594594

595595
<p><!-- https://golang.org/issue/47916 -->
596596
Per the proposal
@@ -669,7 +669,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
669669
<li><!-- CL 353089 -->
670670
The new type <a href="/pkg/go/types/#Context"><code>Context</code></a> and factory function
671671
<a href="/pkg/go/types/#NewContext"><code>NewContext</code></a>
672-
are added to facilitate sharing of identical type instances across type-checked packages.
672+
are added to facilitate sharing of identical type instances
673+
across type-checked packages, via the new
674+
<a href="/pkg/go/types/#Config.Context"><code>Config.Context</code></a>
675+
field.
673676
</li>
674677
</ul>
675678
</dd>

0 commit comments

Comments
 (0)