From: Robert Griesemer Date: Tue, 4 Aug 2015 18:52:01 +0000 (-0700) Subject: spec: fix inconsistency of visibility rules for method names X-Git-Tag: go1.5rc1~16 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=05614bfcfa28f199d1e62df294a914daa3b76d8c;p=gostls13.git spec: fix inconsistency of visibility rules for method names Inconsistency identified by Anmol Sethi (anmol@aubble.com). Fixes #10341. Change-Id: I1a1f5b22aad29b56280f81026feaa37a61b3e0a9 Reviewed-on: https://go-review.googlesource.com/13132 Reviewed-by: Ian Lance Taylor Reviewed-by: Rob Pike Reviewed-by: Russ Cox --- diff --git a/doc/go_spec.html b/doc/go_spec.html index b3d50888ad..2508945146 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -2097,7 +2097,8 @@ parentheses) where T is a type name. The type denoted by Tbase type; it must not be a pointer or interface type and it must be declared in the same package as the method. The method is said to be bound to the base type and the method name -is visible only within selectors for that type. +is visible only within selectors for type T +or *T.