]> Cypherpunks repositories - gostls13.git/commitdiff
spec: refer to "not defined type" rather than "unnamed type" in conversions
authorRobert Griesemer <gri@golang.org>
Thu, 9 Feb 2017 21:22:37 +0000 (13:22 -0800)
committerRobert Griesemer <gri@golang.org>
Fri, 10 Feb 2017 01:23:13 +0000 (01:23 +0000)
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>
doc/go_spec.html

index 603c1e75b47a9816830f0be79812b0b57d90b3af..69e880090e8d241043ada7c608ab7b6201cd54cf 100644 (file)
@@ -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>