]> Cypherpunks repositories - gostls13.git/commit
spec: examples of untyped boolean, string constants
authorRuss Cox <rsc@golang.org>
Fri, 9 Dec 2011 05:13:19 +0000 (00:13 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 9 Dec 2011 05:13:19 +0000 (00:13 -0500)
commitef1c5357277f66d71e127e954991d4342da8c5c7
tree96a7b21823dc63a192c73291bc066f715effbf60
parent6a47bb4974ae6908ba34e16c6a0fd6b6e2d15909
spec: examples of untyped boolean, string constants

This is a spec correction, not a language change.
The implementations have behaved like this for years
(and there are tests to that effect), and elsewhere in
the spec true and false are defined to be untyped
boolean constants.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5477047
doc/go_spec.html