Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(158)

Issue 5477047: code review 5477047: spec: examples of untyped boolean, string constants (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by rsc
Modified:
13 years, 6 months ago
Reviewers:
CC:
golang-dev, r
Visibility:
Public.

Description

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.

Patch Set 1 #

Patch Set 2 : diff -r c0f7c53dcfce https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r c0f7c53dcfce https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 1f598c0b0571 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M doc/go_spec.html View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 6 months ago (2011-12-09 03:26:17 UTC) #1
r
LGTM
13 years, 6 months ago (2011-12-09 04:55:22 UTC) #2
rsc
13 years, 6 months ago (2011-12-09 05:13:22 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=17637b1b63fe ***

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
http://codereview.appspot.com/5477047
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b