diff options
author | Ian Lance Taylor <iant@golang.org> | 2021-12-21 12:04:57 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-12-21 22:26:48 +0000 |
commit | 60f2c12a85470c87ef9c49d6f79458f575612e0d (patch) | |
tree | 420013b84b917b51877711ada7066b90670743e4 /doc | |
parent | a1ce5503c7a9518c96a231e3ff867d5c994afda2 (diff) | |
download | go-60f2c12a85470c87ef9c49d6f79458f575612e0d.tar.gz go-60f2c12a85470c87ef9c49d6f79458f575612e0d.zip |
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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go1.18.html | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/go1.18.html b/doc/go1.18.html index f0b4a923fb..5f4cc591b7 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -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> |