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

Issue 7625050: code review 7625050: cmd/gc: accept ideal float as indices. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by remyoudompheng
Modified:
12 years, 1 month ago
Reviewers:
CC:
golang-dev, DMorsing, rsc
Visibility:
Public.

Description

cmd/gc: accept ideal float as indices. Fixes issue 4813.

Patch Set 1 #

Patch Set 2 : diff -r 15d86e64b42e https://go.googlecode.com/hg/ #

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

Total comments: 1

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

Total comments: 4

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

Patch Set 6 : diff -r 8e013d7f67a4 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -24 lines) Patch
M src/cmd/gc/typecheck.c View 1 2 3 4 5 4 chunks +28 lines, -5 lines 0 comments Download
A test/fixedbugs/issue4813.go View 1 2 1 chunk +52 lines, -0 lines 0 comments Download
M test/index.go View 1 11 chunks +50 lines, -19 lines 0 comments Download

Messages

Total messages: 9
remyoudompheng
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 1 month ago (2013-03-13 07:56:04 UTC) #1
remyoudompheng
https://codereview.appspot.com/7625050/diff/5001/src/cmd/gc/typecheck.c File src/cmd/gc/typecheck.c (right): https://codereview.appspot.com/7625050/diff/5001/src/cmd/gc/typecheck.c#newcode296 src/cmd/gc/typecheck.c:296: defaultlit(np, types[TINT]); If we don't want to accept a[1.0<<s ...
12 years, 1 month ago (2013-03-13 07:58:48 UTC) #2
DMorsing
https://codereview.appspot.com/7625050/diff/11001/src/cmd/gc/typecheck.c File src/cmd/gc/typecheck.c (right): https://codereview.appspot.com/7625050/diff/11001/src/cmd/gc/typecheck.c#newcode280 src/cmd/gc/typecheck.c:280: indexlit(Node **np) Why is this function needed? Couldn't calls ...
12 years, 1 month ago (2013-03-13 12:44:22 UTC) #3
rsc
I echo Daniel's question about indexlit. Please add a comment explaining what the goal is ...
12 years, 1 month ago (2013-03-15 04:03:02 UTC) #4
remyoudompheng
Hello golang-dev@googlegroups.com, daniel.morsing@gmail.com, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 1 month ago (2013-03-20 21:23:30 UTC) #5
remyoudompheng
https://codereview.appspot.com/7625050/diff/11001/src/cmd/gc/typecheck.c File src/cmd/gc/typecheck.c (right): https://codereview.appspot.com/7625050/diff/11001/src/cmd/gc/typecheck.c#newcode280 src/cmd/gc/typecheck.c:280: indexlit(Node **np) On 2013/03/13 12:44:22, DMorsing wrote: > Why ...
12 years, 1 month ago (2013-03-20 21:34:36 UTC) #6
DMorsing
LGTM
12 years, 1 month ago (2013-03-21 08:12:45 UTC) #7
rsc
LGTM
12 years, 1 month ago (2013-03-21 20:02:29 UTC) #8
remyoudompheng
12 years, 1 month ago (2013-03-21 23:38:28 UTC) #9
*** Submitted as https://code.google.com/p/go/source/detail?r=7a6736903d57 ***

cmd/gc: accept ideal float as indices.

Fixes issue 4813.

R=golang-dev, daniel.morsing, rsc
CC=golang-dev
https://codereview.appspot.com/7625050
Sign in to reply to this message.

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