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 <iant@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
This commit is contained in:
Ian Lance Taylor 2021-12-21 12:04:57 -08:00
parent a1ce5503c7
commit 60f2c12a85

View file

@ -587,10 +587,10 @@ Do not send CLs removing the interior tags from such phrases.
<dl id="go/types"><dt><a href="/pkg/go/types/">go/types</a></dt>
<dd>
<p><!-- https://golang.org/issue/46648 -->
The new <a href="/pkg/go/types/#Config.GoVersion"><code>Config.GoVersion</code></a>
field sets the accepted Go language version.
</p>
<p><!-- https://golang.org/issue/46648 -->
The new <a href="/pkg/go/types/#Config.GoVersion"><code>Config.GoVersion</code></a>
field sets the accepted Go language version.
</p>
<p><!-- https://golang.org/issue/47916 -->
Per the proposal
@ -669,7 +669,10 @@ Do not send CLs removing the interior tags from such phrases.
<li><!-- CL 353089 -->
The new type <a href="/pkg/go/types/#Context"><code>Context</code></a> and factory function
<a href="/pkg/go/types/#NewContext"><code>NewContext</code></a>
are added to facilitate sharing of identical type instances across type-checked packages.
are added to facilitate sharing of identical type instances
across type-checked packages, via the new
<a href="/pkg/go/types/#Config.Context"><code>Config.Context</code></a>
field.
</li>
</ul>
</dd>