]> Cypherpunks repositories - gostls13.git/commit
spec: clarify rules for type set construction of an interface
authorRobert Griesemer <gri@golang.org>
Tue, 15 Mar 2022 17:15:53 +0000 (10:15 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 19 Apr 2022 23:42:38 +0000 (23:42 +0000)
commit0e08b02ac54c9232759704812f41a5836f920cff
tree3bc36507d0d8d20b33e10e534f66bc786e8223c5
parent104742fddae061b52c38e221697cf20ebd09bf10
spec: clarify rules for type set construction of an interface

Be explicit that we always mean non-interface types when we
talk about sets of types.

Also, clarify that the quantification "all non-interface types"
means all such types in all possible programs, not just the
current program.

Per suggestion from Philip Wadler.

Change-Id: Ibc7b5823164e547bfcee85d4e523e58c7c27ac8a
Reviewed-on: https://go-review.googlesource.com/c/go/+/398655
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
doc/go_spec.html