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

Issue 6643043: code review 6643043: reflect: make Index and Slice accept strings

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

Description

reflect: make Index and Slice accept strings Fixes issue 3284.

Patch Set 1 #

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

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

Total comments: 4

Patch Set 4 : diff -r 3350c94fe6b7 https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 5 : diff -r 3350c94fe6b7 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 3350c94fe6b7 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -3 lines) Patch
M src/pkg/reflect/all_test.go View 1 2 3 1 chunk +23 lines, -1 line 0 comments Download
M src/pkg/reflect/value.go View 1 2 3 4 5 3 chunks +26 lines, -2 lines 0 comments Download

Messages

Total messages: 9
eds
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 10 months ago (2012-10-08 23:01:42 UTC) #1
r
i could have sworn i already did this, but obviously not http://codereview.appspot.com/6643043/diff/4001/src/pkg/reflect/all_test.go File src/pkg/reflect/all_test.go (right): ...
12 years, 10 months ago (2012-10-09 05:19:42 UTC) #2
eds
Hello golang-dev@googlegroups.com, r@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2012-10-09 05:56:23 UTC) #3
r
LGTM leaving for rsc http://codereview.appspot.com/6643043/diff/9001/src/pkg/reflect/value.go File src/pkg/reflect/value.go (right): http://codereview.appspot.com/6643043/diff/9001/src/pkg/reflect/value.go#newcode1480 src/pkg/reflect/value.go:1480: panic("reflect.Value.Slice: string index out of ...
12 years, 10 months ago (2012-10-09 06:30:13 UTC) #4
rsc
LGTM Please fix the error and re-hg mail https://codereview.appspot.com/6643043/diff/9001/src/pkg/reflect/value.go File src/pkg/reflect/value.go (right): https://codereview.appspot.com/6643043/diff/9001/src/pkg/reflect/value.go#newcode1480 src/pkg/reflect/value.go:1480: panic("reflect.Value.Slice: ...
12 years, 10 months ago (2012-10-09 17:02:01 UTC) #5
eds
Hello golang-dev@googlegroups.com, r@golang.org, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2012-10-09 18:22:31 UTC) #6
eds
Ping
12 years, 10 months ago (2012-10-12 20:13:04 UTC) #7
r
LGTM leaving for rsc
12 years, 10 months ago (2012-10-14 21:34:37 UTC) #8
rsc
12 years, 9 months ago (2012-10-21 21:02:20 UTC) #9
*** Submitted as http://code.google.com/p/go/source/detail?r=d264297d1d8f ***

reflect: make Index and Slice accept strings

Fixes issue 3284.

R=golang-dev, r, rsc
CC=golang-dev
http://codereview.appspot.com/6643043

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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