1
0
mirror of https://github.com/golang/go synced 2024-11-23 12:40:11 -07:00

doc/go1.18: add documentation for changes to go/token

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>
This commit is contained in:
Robert Griesemer 2021-12-03 10:11:53 -08:00
parent ba83aa7caa
commit 821bf04f2a

View 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 -->