From: Robert Griesemer Date: Tue, 13 Mar 2012 03:27:27 +0000 (-0700) Subject: go spec: fix inaccuracy in type identity definition X-Git-Tag: weekly.2012-03-13~11 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=82fc28c0f5a5af9fd18c0c49a65aa6a44ede1aa3;p=gostls13.git go spec: fix inaccuracy in type identity definition Pointed out by Steven Blenkinsop (steven099@gmail.com) via golang-nuts. R=r, dsymonds CC=golang-dev https://golang.org/cl/5783087 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 04b9b244ce..808255a38a 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -1321,7 +1321,7 @@ Two types are either identical or different.

Two named types are identical if their type names originate in the same -type declaration. +TypeSpec. A named and an unnamed type are always different. Two unnamed types are identical if the corresponding type literals are identical, that is, if they have the same literal structure and corresponding components have identical types. In detail: