From: Keith Randall
Date: Mon, 15 Nov 2021 22:42:42 +0000 (-0800)
Subject: doc: mention generics in release notes
X-Git-Tag: go1.18beta1~306
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=febbef593e8d77500d0e330db91a7be1a71d05e9;p=gostls13.git
doc: mention generics in release notes
Also mention local types restriction.
We probably want to say more at some point, this is just a
placeholder to start.
Update #47631
Change-Id: I828e451e1e8504d21cb55c7132e9cb330b160a54
Reviewed-on: https://go-review.googlesource.com/c/go/+/364134
Trust: Keith Randall
Reviewed-by: Robert Griesemer
---
diff --git a/doc/go1.18.html b/doc/go1.18.html
index e266889cad..1ad651ffe8 100644
--- a/doc/go1.18.html
+++ b/doc/go1.18.html
@@ -29,6 +29,24 @@ Do not send CLs removing the interior tags from such phrases.
TODO: complete this section
+Generics
+
+
+Go 1.18 includes an implementation of generics as described
+by the
+proposal.
+
+
+
+ The current generics implementation has the following limitations:
+
+ -
+ The Go compiler cannot currently handle type declarations inside generic functions
+ or methods. We hope to provide support for this feature in Go 1.19.
+
+
+
+
Ports
FreeBSD