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

Issue 8494045: code review 8494045: reflect: document the unreliability of StringHeader and... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by r
Modified:
12 years ago
Reviewers:
bradfitz
CC:
golang-dev, adg, dvyukov
Visibility:
Public.

Description

reflect: document the unreliability of StringHeader and SliceHeader

Patch Set 1 #

Patch Set 2 : diff -r 2314ae3b7b8c https://code.google.com/p/go/ #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M src/pkg/reflect/value.go View 1 chunk +10 lines, -2 lines 2 comments Download

Messages

Total messages: 7
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
12 years, 1 month ago (2013-04-08 01:37:20 UTC) #1
adg
LGTM
12 years, 1 month ago (2013-04-08 01:39:08 UTC) #2
dvyukov
LGTM
12 years, 1 month ago (2013-04-08 01:41:35 UTC) #3
r
Anyone else? -rob
12 years, 1 month ago (2013-04-08 01:42:00 UTC) #4
r
*** Submitted as https://code.google.com/p/go/source/detail?r=1f43d831c825 *** reflect: document the unreliability of StringHeader and SliceHeader R=golang-dev, adg, ...
12 years, 1 month ago (2013-04-08 01:42:36 UTC) #5
bradfitz
https://codereview.appspot.com/8494045/diff/4002/src/pkg/reflect/value.go File src/pkg/reflect/value.go (right): https://codereview.appspot.com/8494045/diff/4002/src/pkg/reflect/value.go#newcode1706 src/pkg/reflect/value.go:1706: // a separate, correctly typed pointer to the underlying ...
12 years, 1 month ago (2013-04-08 02:56:58 UTC) #6
r
12 years ago (2013-04-08 04:06:41 UTC) #7
Message was sent while issue was closed.
https://codereview.appspot.com/8494045/diff/4002/src/pkg/reflect/value.go
File src/pkg/reflect/value.go (right):

https://codereview.appspot.com/8494045/diff/4002/src/pkg/reflect/value.go#new...
src/pkg/reflect/value.go:1706: // a separate, correctly typed pointer to the
underlying data.
On 2013/04/08 02:56:58, bradfitz wrote:
> s/correctly typed/correctly-typed/ ?

it's correct as is. we're not making an adjective.

> "so programs must keep a separate string or correctly-typed pointer to..."

it's a pointer to the data. if you (not you, but some other you) need that
explained to you, and you don't understand that a string includes a pointer, you
shouldn't be within a hundred yards of this type.
Sign in to reply to this message.

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