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

Issue 1278041: code review 1278041: spec: index of non-addressable array is not addressable (Closed)

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

Description

spec: index of non-addressable array is not addressable Motivated by: func f() []int func g() [10]int f()[1] = 1 // ok g()[1] = 1 // ERROR

Patch Set 1 #

Patch Set 2 : code review 1278041: spec: index of non-addressable array is not addressable #

Patch Set 3 : code review 1278041: spec: index of non-addressable array is not addressable #

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

Messages

Total messages: 3
rsc
Hello gri (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 11 months ago (2010-05-24 20:08:39 UTC) #1
gri
LGTM On Mon, May 24, 2010 at 1:08 PM, <rsc@golang.org> wrote: > Reviewers: gri, > ...
14 years, 11 months ago (2010-05-24 21:04:06 UTC) #2
rsc
14 years, 11 months ago (2010-05-24 21:31:45 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=5d6eb0da4990 ***

spec: index of non-addressable array is not addressable

Motivated by:

func f() []int
func g() [10]int

f()[1] = 1  // ok
g()[1] = 1 // ERROR

R=gri
CC=golang-dev
http://codereview.appspot.com/1278041
Sign in to reply to this message.

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