]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.18: add documentation for changes to go/token
authorRobert Griesemer <gri@golang.org>
Fri, 3 Dec 2021 18:11:53 +0000 (10:11 -0800)
committerRobert Griesemer <gri@golang.org>
Sat, 4 Dec 2021 01:07:21 +0000 (01:07 +0000)
Updates #47694

Change-Id: I232fb20b3a77409b84c15f9ec1586e480f0f6390
Reviewed-on: https://go-review.googlesource.com/c/go/+/369095
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
doc/go1.18.html

index 5b0520e9d623116911c21345113e3dc6caf445a0..5f32d642831455b8ad9ea765cda528311208e3bf 100644 (file)
@@ -415,6 +415,18 @@ Do not send CLs removing the interior tags from such phrases.
   </dd>
 </dl>
 
+<dl id="go/token"><dt><a href="/pkg/go/token/">go/token</a></dt>
+  <dd>
+    <p><!-- https://golang.org/issue/47781, CL 324992 -->
+      The new constant <a href="/pkg/go/token/#TILDE"><code>TILDE</code></a>
+      represents the <code>~</code> token per the proposal
+      <a href="https://go.googlesource.com/proposal/+/master/design/47781-parameterized-go-ast.md">
+        Additions to go/ast and go/token to support parameterized functions and types
+      </a>.
+    </p>
+  </dd>
+</dl>
+
 <dl id="image/draw"><dt><a href="/pkg/image/draw/">image/draw</a></dt>
   <dd>
     <p><!-- CL 340049 -->