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

Updates #47694

Change-Id: I2ce5aaa4493259790712a8a49e5b03472c8a7400
Reviewed-on: https://go-review.googlesource.com/c/go/+/369094
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
This commit is contained in:
Robert Griesemer 2021-12-03 10:04:49 -08:00
parent 9ae0b35fad
commit ba83aa7caa

View file

@ -406,18 +406,11 @@ Do not send CLs removing the interior tags from such phrases.
</dd>
</dl>
<dl id="go/ast"><dt><a href="/pkg/go/ast/">go/ast</a></dt>
<dl id="go/constant"><dt><a href="/pkg/go/constant/">go/constant</a></dt>
<dd>
<p>
TODO: Mention new generics APIs.
</p>
</dd>
</dl>
<dl id="go/types"><dt><a href="/pkg/go/types/">go/types</a></dt>
<dd>
<p>
TODO: Mention new generics APIs.
<p><!-- https://golang.org/issue/46211, CL 320491 -->
The new <a href="/pkg/go/constant/#Kind.String"><code>Kind.String</code></a>
method returns a human-readable name for the receiver kind.
</p>
</dd>
</dl>