Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(363)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 173890043: code review 173890043: cmd/gc: omit non-explicit capacity in errors with map/c...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by cmang
Modified:
11 years ago
Reviewers:
CC:
rsc, bradfitz, golang-codereviews
Visibility:
Public.
cmd/gc: omit non-explicit capacity in errors with map/chan make Fixes issue 9083.

Patch Set 1 #

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

Patch Set 3 : diff -r e45c4110ec9029d33de2293c4cad7b3bb0f26224 https://code.google.com/p/go #

Patch Set 4 : diff -r e45c4110ec9029d33de2293c4cad7b3bb0f26224 https://code.google.com/p/go #

Created: 11 years, 2 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -1 line) Patch
M src/cmd/gc/fmt.c View 1 1 chunk +1 line, -1 line 0 comments Download
A test/fixedbugs/issue9083.go View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
Total messages: 7
|
cmang
Hello rsc@golang.org (cc: bradfitz@golang.org, golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 2 months ago (2014年11月10日 19:43:39 UTC) #1
Hello rsc@golang.org (cc: bradfitz@golang.org,
golang-codereviews@googlegroups.com),
I'd like you to review this change to
https://code.google.com/p/go 
Sign in to reply to this message.
rsc
that works? i'm a little surprised that isideal somehow distinguishes implicit from explicit. it doesn't ...
11 years, 2 months ago (2014年11月10日 19:47:20 UTC) #2
that works? i'm a little surprised that isideal somehow distinguishes
implicit from explicit.
it doesn't for slices; why does it for maps and chans?
Sign in to reply to this message.
rsc
that works? i'm a little surprised that isideal somehow distinguishes implicit from explicit. it doesn't ...
11 years, 2 months ago (2014年11月10日 19:47:21 UTC) #3
that works? i'm a little surprised that isideal somehow distinguishes
implicit from explicit.
it doesn't for slices; why does it for maps and chans?
Sign in to reply to this message.
rsc
there should also be a test.
11 years, 2 months ago (2014年11月10日 19:47:37 UTC) #4
there should also be a test.
Sign in to reply to this message.
cmang
On 2014年11月10日 19:47:20, rsc wrote: > that works? i'm a little surprised that isideal somehow ...
11 years, 2 months ago (2014年11月10日 20:27:26 UTC) #5
On 2014年11月10日 19:47:20, rsc wrote:
> that works? i'm a little surprised that isideal somehow distinguishes
> implicit from explicit.
> it doesn't for slices; why does it for maps and chans?
isideal can distinguish because the constant 0 is made using nodintconst(0) when
typechecking maps and channels. nodintconst makes a literal node with an ideal
type, whereas using the numeric literal '0' or even an untyped constant integer
will use defaultlit and give it type TINT. This doesn't matter for slices,
because make(T) is not a valid syntax for slices.
Sign in to reply to this message.
cmang
On 2014年11月10日 19:47:37, rsc wrote: > there should also be a test. Added a test ...
11 years, 2 months ago (2014年11月10日 20:56:37 UTC) #6
On 2014年11月10日 19:47:37, rsc wrote:
> there should also be a test.
Added a test case, PTAL.
Sign in to reply to this message.
gobot
R=close To the author of this CL: The Go project has moved to Gerrit Code ...
11 years ago (2014年12月19日 05:16:03 UTC) #7
R=close
To the author of this CL:
The Go project has moved to Gerrit Code Review.
If this CL should be continued, please see the latest version of
https://golang.org/doc/contribute.html for instructions on
how to set up Git and the Go project's Gerrit codereview plugin,
and then create a new change with your current code.
If there has been discussion on this CL, please give a link to it
(golang.org/cl/173890043 is best) in the description in your
new CL.
Thanks very much.
Sign in to reply to this message.
|
Powered by Google App Engine
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /