From febbef593e8d77500d0e330db91a7be1a71d05e9 Mon Sep 17 00:00:00 2001
From: Keith Randall
Date: Mon, 15 Nov 2021 14:42:42 -0800
Subject: [PATCH] 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
---
doc/go1.18.html | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
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
--
2.50.0