From: Robert Griesemer Date: Tue, 8 Jun 2010 00:40:21 +0000 (-0700) Subject: go spec: rename "assignment compatible" -> "assignable" X-Git-Tag: weekly.2010-06-09~14 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=440cc95470b804ebe2ca9046a4442cdd3d2e0f10;p=gostls13.git go spec: rename "assignment compatible" -> "assignable" R=r, rsc CC=golang-dev https://golang.org/cl/1590041 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index dc9bd64972..9e0994707e 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -648,7 +648,7 @@ type defined by its declaration. Variables of interface type also have a distinct dynamic type, which is the actual type of the value stored in the variable at run-time. The dynamic type may vary during execution but is always -assignment compatible +assignable to the static type of the interface variable. For non-interface types, the dynamic type is always the static type.

@@ -1002,9 +1002,8 @@ For the last parameter only, instead of a type one may write ... or ... T to indicate that the function may be invoked with zero or more additional arguments. If the type T is present in the parameter declaration, the additional -arguments must all be -assignment compatible -with type T; otherwise they may be of any type. +arguments must all be assignable +to T; otherwise they may be of any type.

@@ -1322,11 +1321,11 @@ is different from []string.
 

-

Assignment compatibility

+

Assignability

-A value x is assignment compatible with type T -(x can be assigned to T) in any of these cases: +A value x is assignable to a variable of type T +("x is assignable to T") in any of these cases: