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

Issue 1957045: code review 1957045: gc: permit omission of low slice bound (defaulting to 0) (Closed)

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

Description

gc: permit omission of low slice bound (defaulting to 0) Fixes issue 382.

Patch Set 1 #

Patch Set 2 : code review 1957045: gc: permit omission of lo slice bound (defaulting to 0) #

Total comments: 2

Patch Set 3 : code review 1957045: gc: permit omission of lo slice bound (defaulting to 0) #

Patch Set 4 : code review 1957045: gc: permit omission of lo slice bound (defaulting to 0) #

Patch Set 5 : code review 1957045: gc: permit omission of lo slice bound (defaulting to 0) #

Patch Set 6 : code review 1957045: gc: permit omission of lo slice bound (defaulting to 0) #

Patch Set 7 : code review 1957045: gc: permit omission of lo slice bound (defaulting to 0) #

Patch Set 8 : code review 1957045: gc: permit omission of lo slice bound (defaulting to 0) #

Total comments: 1

Patch Set 9 : code review 1957045: gc: permit omission of low slice bound (defaulting to 0) #

Patch Set 10 : code review 1957045: gc: permit omission of low slice bound (defaulting to 0) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -17 lines) Patch
M src/cmd/gc/go.y View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M src/cmd/gc/typecheck.c View 1 2 1 chunk +6 lines, -8 lines 0 comments Download
M src/cmd/gc/walk.c View 1 2 3 4 5 6 7 8 4 chunks +17 lines, -5 lines 0 comments Download

Messages

Total messages: 24
bytbox
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 7 months ago (2010-08-20 12:54:36 UTC) #1
gri1
This is a (albeit backward-compatible) language change. While there's nothing wrong in principle with this ...
14 years, 7 months ago (2010-08-20 16:37:42 UTC) #2
bytbox
Ok, sorry. Holding. On 8/20/10, Robert Griesemer <gri@google.com> wrote: > This is a (albeit backward-compatible) ...
14 years, 7 months ago (2010-08-20 16:40:12 UTC) #3
gri
The Go team has decided to accept this language change. There should probably be some ...
14 years, 6 months ago (2010-08-31 17:52:11 UTC) #4
cw
please change the commit comment to refer to issue 382 (not 381)
14 years, 6 months ago (2010-08-31 18:02:55 UTC) #5
cw
FWIW, using (a variant of) this, I get some problems. imgproc.go:391: internal compiler error: fault
14 years, 6 months ago (2010-08-31 18:55:07 UTC) #6
rsc1
Is there something interesting on imgproc.go:391? On Tue, Aug 31, 2010 at 14:55, <cw@f00f.org> wrote: ...
14 years, 6 months ago (2010-08-31 19:26:31 UTC) #7
cw
On Tue, Aug 31, 2010 at 03:26:27PM -0400, Russ Cox wrote: > Is there something ...
14 years, 6 months ago (2010-08-31 20:56:11 UTC) #8
cw
more details Program received signal SIGSEGV, Segmentation fault. conv (n=0x0, t=0x66eae8) at walk.c:2200 2200 if(eqtype(n->type, ...
14 years, 6 months ago (2010-08-31 21:02:33 UTC) #9
r
Please fix the CL description to spell 'low' correctly.
14 years, 6 months ago (2010-08-31 22:22:46 UTC) #10
bytbox
Hello golang-dev@googlegroups.com, gri, cw, rsc1, r (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 6 months ago (2010-08-31 22:33:06 UTC) #11
bytbox
That changes the documentation, but does not fix the string slice bug. On 8/31/10, bytbox@gmail.com ...
14 years, 6 months ago (2010-08-31 22:34:45 UTC) #12
gri
FYI. If you separate the go_doc changes from the compiler changes, we can get them ...
14 years, 6 months ago (2010-09-01 22:22:39 UTC) #13
rsc1
Yes, please move the compiler files into a new CL. On Wed, Sep 1, 2010 ...
14 years, 6 months ago (2010-09-02 01:11:59 UTC) #14
gri
ping. I'd like to move forward with this. If I don't hear from you within ...
14 years, 6 months ago (2010-09-07 17:50:57 UTC) #15
bytbox
Ok, here's the go_spec CL: http://codereview.appspot.com/2163042 Fixing string slices.
14 years, 6 months ago (2010-09-07 20:39:11 UTC) #16
bytbox
Hello golang-dev@googlegroups.com, gri, cw, rsc1, r (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 6 months ago (2010-09-07 21:15:07 UTC) #17
bytbox
On 09/07/2010 05:15 PM, bytbox@gmail.com wrote: > Hello golang-dev@googlegroups.com, gri, cw, rsc1, r (cc: > ...
14 years, 6 months ago (2010-09-07 21:16:23 UTC) #18
cw
On Tue, Sep 07, 2010 at 05:18:26PM -0400, Scott Lawrence wrote: > This (seems) to ...
14 years, 6 months ago (2010-09-07 21:31:52 UTC) #19
cw
LGTM (pending tests). Certainly it's working here.
14 years, 6 months ago (2010-09-07 21:38:45 UTC) #20
rsc1
LGTM Will submit now so that I can work on related code.
14 years, 6 months ago (2010-09-08 18:03:33 UTC) #21
rsc1
LGTM Will submit now so that I can work on related code.
14 years, 6 months ago (2010-09-08 18:03:35 UTC) #22
bytbox
On 2010/09/08 18:03:35, rsc1 wrote: > LGTM > > Will submit now so that I ...
14 years, 6 months ago (2010-09-08 19:59:38 UTC) #23
rsc
14 years, 6 months ago (2010-09-09 02:20:32 UTC) #24
*** Submitted as http://code.google.com/p/go/source/detail?r=38696f783f07 ***

gc: implement new slice spec
Fixes issue 382.

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

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