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

Issue 7304089: code review 7304089: go/types: print, println accept 0 or more arguments (Closed)

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

Description

go/types: print, println accept 0 or more arguments

Patch Set 1 #

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

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

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

Patch Set 5 : diff -r 140452485d03 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -5 lines) Patch
M src/pkg/go/types/builtins.go View 1 2 chunks +9 lines, -3 lines 0 comments Download
M src/pkg/go/types/testdata/builtins.src View 1 1 chunk +26 lines, -0 lines 0 comments Download
M src/pkg/go/types/universe.go View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6
gri
Hello adonovan@google.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
12 years, 4 months ago (2013-02-13 02:10:21 UTC) #1
gri
Hello adonovan@google.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 4 months ago (2013-02-13 02:11:53 UTC) #2
adonovan
LGTM. (FWIW, the arity of print and println are nowhere specified, so the old code ...
12 years, 4 months ago (2013-02-13 03:08:13 UTC) #3
gri
No, that's not correct. The arity is defined in universe.go, which I adjusted. I found ...
12 years, 4 months ago (2013-02-13 03:10:38 UTC) #4
gri
*** Submitted as https://code.google.com/p/go/source/detail?r=3b702853541b *** go/types: print, println accept 0 or more arguments R=adonovan CC=golang-dev ...
12 years, 4 months ago (2013-02-13 03:40:48 UTC) #5
adonovan
12 years, 4 months ago (2013-02-13 04:50:54 UTC) #6
(I meant: not specified in the language spec.)


On 12 February 2013 22:10, Robert Griesemer <gri@golang.org> wrote:

> No, that's not correct. The arity is defined in universe.go, which I
> adjusted. I found this bug because the old code didn't accept a
> print().
> - gri
>
> On Tue, Feb 12, 2013 at 7:08 PM, Alan Donovan <adonovan@google.com> wrote:
> > LGTM.
> >
> > (FWIW, the arity of print and println are nowhere specified, so the old
> code
> > was arguably just as correct.)
> >
> >
> > 2013/2/12 <gri@golang.org>
> >
> >> Hello adonovan@google.com (cc: golang-dev@googlegroups.com),
> >>
> >> Please take another look.
> >>
> >>
> >> https://codereview.appspot.com/7304089/
> >
> >
>
Sign in to reply to this message.

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