From 6f3b84a7575c65aa2f4fd9753c03d0cc03a7638e Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Wed, 7 May 2014 08:42:08 -0700 Subject: [PATCH] spec: clarify type properties If the underlying type of a type T is a boolean, numeric, or string type, then T is also a boolean, numeric, or string type, respectively. Not a language change. Fixes #7551. LGTM=iant, rsc, robert.hencke, r R=r, rsc, iant, ken, robert.hencke CC=golang-codereviews https://golang.org/cl/100130044 --- doc/go_spec.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index e6831e9091..496a7b2c3b 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -1771,9 +1771,9 @@ last non-empty expression list.

A type declaration binds an identifier, the type name, to a new type -that has the same underlying type as -an existing type. The new type is different from -the existing type. +that has the same underlying type as an existing type, +and operations defined for the existing type are also defined for the new type. +The new type is different from the existing type.

-- 
2.50.0