aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2017-02-09 13:22:37 -0800
committerRobert Griesemer <gri@golang.org>2017-02-10 01:23:13 +0000
commit866f63e84eb7096e64b7a39b993c2ca3e943e425 (patch)
treeb6eb9e97048f26e037fc120050e00a17af41334b
parent3fd3171c2c2b3f55cb9692b45f2ebb842e9b0b42 (diff)
downloadgo-866f63e84eb7096e64b7a39b993c2ca3e943e425.tar.xz
spec: refer to "not defined type" rather than "unnamed type" in conversions
We missed this in https://golang.org/cl/36213. Thanks to Chris Hines for pointing it out. For #18130. Change-Id: I6279ab19966c4391c4b4458b21fd2527d3f949dd Reviewed-on: https://go-review.googlesource.com/36691 Reviewed-by: Ian Lance Taylor <iant@golang.org>
-rw-r--r--doc/go_spec.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 603c1e75b4..69e880090e 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -1,6 +1,6 @@
<!--{
"Title": "The Go Programming Language Specification",
- "Subtitle": "Version of February 7, 2017",
+ "Subtitle": "Version of February 9, 2017",
"Path": "/ref/spec"
}-->
@@ -3908,7 +3908,8 @@ in any of these cases:
</li>
<li>
ignoring struct tags (see below),
- <code>x</code>'s type and <code>T</code> are unnamed pointer types
+ <code>x</code>'s type and <code>T</code> are pointer types
+ that are not <a href="#Type_definitions">defined types</a>,
and their pointer base types have identical underlying types.
</li>
<li>