From: Ian Lance Taylor Date: Fri, 17 Dec 2021 01:54:27 +0000 (-0800) Subject: doc/go1.18: document union element restriction X-Git-Tag: go1.18beta2~208 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=529939072eef730c82333344f321972874758be8;p=gostls13.git doc/go1.18: document union element restriction For #47694 Change-Id: I9af871a4a45b002e72629904011aac8f076617f1 Reviewed-on: https://go-review.googlesource.com/c/go/+/372974 Trust: Ian Lance Taylor Run-TryBot: Ian Lance Taylor TryBot-Result: Gopher Robot Reviewed-by: Robert Griesemer --- diff --git a/doc/go1.18.html b/doc/go1.18.html index 2ec5fae8c7..5f6476908a 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -103,6 +103,11 @@ Do not send CLs removing the interior tags from such phrases. embedding a type parameter in an interface type is not permitted. Whether these will ever be permitted is unclear at present. +
  • + A union element with more than one term may not contain an + interface type with a non-empty method set. Whether this will + ever be permitted is unclear at present. +