]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.18: mention new go/types/Config.Context field
authorIan Lance Taylor <iant@golang.org>
Tue, 21 Dec 2021 20:04:57 +0000 (12:04 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 21 Dec 2021 22:26:48 +0000 (22:26 +0000)
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>
doc/go1.18.html

index f0b4a923fb0213b7c8a27b744de1ad4e21054858..5f4cc591b75ed9094afa6764f02c427d3bc0f268 100644 (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>