diff --git a/doc/go_spec.html b/doc/go_spec.html index f58c323216..d72460da8e 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -3316,7 +3316,7 @@ argument that is the receiver of the method.
MethodExpr = ReceiverType "." MethodName .
-ReceiverType = TypeName | "(" "*" TypeName ")" .
+ReceiverType = TypeName | "(" "*" TypeName ")" | "(" ReceiverType ")" .
@@ -3353,13 +3353,15 @@ func(tv T, a int) int
That function may be called normally with an explicit receiver, so -these three invocations are equivalent: +these five invocations are equivalent:
t.Mv(7) T.Mv(t, 7) -f := T.Mv; f(t, 7) +(T).Mv(t, t) +f1 := T.Mv; f1(t, 7) +f2 := (T).Mv; f2(t, 7)