From: Robert Griesemer Date: Wed, 11 May 2022 22:08:38 +0000 (-0700) Subject: spec: correct assignment rules with respect to type parameters X-Git-Tag: go1.19beta1~289 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7e11ff38160da714b3528d58021aefa42c7ed7e3;p=gostls13.git spec: correct assignment rules with respect to type parameters Fixes #52628. Change-Id: If4261abc25868d62f7689253d40f872692c23a4d Reviewed-on: https://go-review.googlesource.com/c/go/+/405755 Reviewed-by: Ian Lance Taylor Reviewed-by: Robert Griesemer --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 70efddf626..f6e87fe8a4 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1920,7 +1920,8 @@ A value x of type V is assignable to a
  • V and T have identical -underlying types and at least one of V +underlying types +but are not type parameters and at least one of V or T is not a named type.