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

Issue 4634125: code review 4634125: reflect: allow Len on String values. (Closed)

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

Description

reflect: allow Len on String values. It's probably just an oversight that it doesn't work, perhaps caused by analogy with Cap.

Patch Set 1 #

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

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

Messages

Total messages: 3
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 8 months ago (2011-07-04 01:34:23 UTC) #1
dsymonds
LGTM no test?
13 years, 8 months ago (2011-07-04 01:41:20 UTC) #2
r
13 years, 8 months ago (2011-07-04 01:45:38 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=ba5a6e6631b1 ***

reflect: allow Len on String values.
It's probably just an oversight that it doesn't work,
perhaps caused by analogy with Cap.

R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/4634125
Sign in to reply to this message.

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