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

Issue 207103: code review 207103: specification of []int(string) and []byte(string). (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years ago by r
Modified:
15 years ago
Reviewers:
CC:
rsc, iant, gri, ken2, golang-dev
Visibility:
Public.

Description

specification of []int(string) and []byte(string). also clarify other string conversions.

Patch Set 1 #

Patch Set 2 : code review 207103: specification of []int(string) and []byte(string). #

Total comments: 3

Patch Set 3 : code review 207103: specification of []int(string) and []byte(string). #

Total comments: 6

Patch Set 4 : code review 207103: specification of []int(string) and []byte(string). #

Total comments: 1

Patch Set 5 : code review 207103: specification of []int(string) and []byte(string). #

Patch Set 6 : code review 207103: specification of []int(string) and []byte(string). #

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

Messages

Total messages: 16
r
Hello rsc, iant, gri, ken2 (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years ago (2010-02-16 06:30:29 UTC) #1
iant
http://codereview.appspot.com/207103/diff/1001/1002 File doc/go_spec.html (right): http://codereview.appspot.com/207103/diff/1001/1002#newcode3256 doc/go_spec.html:3256: Converting a slice of any other integer type into ...
15 years ago (2010-02-16 06:51:04 UTC) #2
r2
On Feb 16, 2010, at 5:51 PM, iant@golang.org wrote: > > http://codereview.appspot.com/207103/diff/1001/1002 > File doc/go_spec.html ...
15 years ago (2010-02-16 06:53:20 UTC) #3
rog
> Currently both compilers support only conversions from []byte and []int. > Converting from other ...
15 years ago (2010-02-16 09:26:46 UTC) #4
gri
http://codereview.appspot.com/207103/diff/1001/1002 File doc/go_spec.html (right): http://codereview.appspot.com/207103/diff/1001/1002#newcode3276 doc/go_spec.html:3276: Converting a string to a slice of any other ...
15 years ago (2010-02-16 17:45:56 UTC) #5
r
Hello rsc, iant, gri, ken2 (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-02-16 23:56:22 UTC) #6
rsc
I like the wording. Restriction to []int and []byte works for me. http://codereview.appspot.com/207103/diff/2001/3001 File doc/go_spec.html ...
15 years ago (2010-02-17 00:01:55 UTC) #7
r
http://codereview.appspot.com/207103/diff/2001/3001 File doc/go_spec.html (right): http://codereview.appspot.com/207103/diff/2001/3001#newcode3251 doc/go_spec.html:3251: the slice value is <code>nil</code>, the result is the ...
15 years ago (2010-02-17 00:04:26 UTC) #8
rsc
LGTM
15 years ago (2010-02-17 00:06:30 UTC) #9
gri
http://codereview.appspot.com/207103/diff/2001/3001 File doc/go_spec.html (right): http://codereview.appspot.com/207103/diff/2001/3001#newcode3271 doc/go_spec.html:3271: If the string is empty, the result is <code>nil</code>. ...
15 years ago (2010-02-17 00:06:43 UTC) #10
r
Hello rsc, iant, gri, ken2 (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-02-17 00:10:13 UTC) #11
rsc
LGTM http://codereview.appspot.com/207103/diff/2005/2006 File doc/go_spec.html (right): http://codereview.appspot.com/207103/diff/2005/2006#newcode3877 doc/go_spec.html:3877: For values of a string type, the "range" ...
15 years ago (2010-02-17 00:12:51 UTC) #12
gri
LGTM
15 years ago (2010-02-17 00:15:11 UTC) #13
r
Hello rsc, iant, gri, ken2 (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-02-17 00:24:23 UTC) #14
rsc
LGTM
15 years ago (2010-02-17 00:25:32 UTC) #15
r
15 years ago (2010-02-17 00:26:16 UTC) #16
*** Submitted as http://code.google.com/p/go/source/detail?r=5f9d8b156c8b ***

specification of []int(string) and []byte(string).
also clarify other string conversions.

R=rsc, iant, gri, ken2
CC=golang-dev
http://codereview.appspot.com/207103
Sign in to reply to this message.

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