From 529939072eef730c82333344f321972874758be8 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 16 Dec 2021 17:54:27 -0800 Subject: [PATCH] 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 --- doc/go1.18.html | 5 +++++ 1 file changed, 5 insertions(+) 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. +