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

Issue 9774043: code review 9774043: go.tools/ssa: fix debug printing (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by gri
Modified:
13 years, 1 month ago
Reviewers:
r, rsc
CC:
adonovan, r, golang-dev
Visibility:
Public.

Description

go.tools/ssa: fix debug printing

Patch Set 1 #

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M ssa/promote.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18
gri
Hello adonovan (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.tools
13 years, 1 month ago (2013-05-25 16:03:59 UTC) #1
r
LGTM
13 years, 1 month ago (2013-05-25 16:27:14 UTC) #2
gri
*** Submitted as https://code.google.com/p/go/source/detail?r=7730491448d2&repo=tools *** go.tools/ssa: fix debug printing R=adonovan, r CC=golang-dev https://codereview.appspot.com/9774043
13 years, 1 month ago (2013-05-25 16:52:07 UTC) #3
adonovan
This particular bug pattern has cropped up literally dozens of times since the go/types accessors ...
13 years, 1 month ago (2013-05-25 18:25:55 UTC) #4
r
does vet catch it? -rob
13 years, 1 month ago (2013-05-25 18:30:42 UTC) #5
adonovan
On 25 May 2013 14:30, Rob Pike <r@golang.org> wrote: > does vet catch it? > ...
13 years, 1 month ago (2013-05-29 16:22:02 UTC) #6
rsc
vet should catch it (printing a method value) in Printf. wrappers should be named appropriately ...
13 years, 1 month ago (2013-05-29 17:39:10 UTC) #7
adonovan
Am I using the wrong vet tool then? % cat a.go package p import "fmt" ...
13 years, 1 month ago (2013-05-29 17:51:25 UTC) #8
rsc
I meant vet should, not vet does. As in, there's no reason it can't, and ...
13 years, 1 month ago (2013-05-29 17:54:08 UTC) #9
adonovan
On 29 May 2013 13:54, Russ Cox <rsc@golang.org> wrote: > I meant vet should, not ...
13 years, 1 month ago (2013-05-29 17:55:52 UTC) #10
rsc
On Wed, May 29, 2013 at 1:55 PM, Alan Donovan <adonovan@google.com> wrote: > Arguably any ...
13 years, 1 month ago (2013-05-29 18:07:54 UTC) #11
adonovan
On 29 May 2013 14:07, Russ Cox <rsc@golang.org> wrote: > On Wed, May 29, 2013 ...
13 years, 1 month ago (2013-05-29 18:57:57 UTC) #12
rsc
That only works if you assume complete source to all dependencies. That's a new assumption, ...
13 years, 1 month ago (2013-05-29 19:06:14 UTC) #13
adonovan
Not really; like the typechecker, the SSA builder can be run in a mode where ...
13 years, 1 month ago (2013-05-29 20:28:28 UTC) #14
rsc
Part of the reason interfaces are great is that they encourage making your code follow ...
13 years, 1 month ago (2013-05-29 21:32:36 UTC) #15
adonovan
On 29 May 2013 17:32, Russ Cox <rsc@golang.org> wrote: > Part of the reason interfaces ...
13 years, 1 month ago (2013-05-29 21:49:30 UTC) #16
rsc
On Wed, May 29, 2013 at 5:49 PM, Alan Donovan <adonovan@google.com> wrote: > Perhaps you're ...
13 years, 1 month ago (2013-05-30 00:18:06 UTC) #17
r
13 years, 1 month ago (2013-05-30 01:34:17 UTC) #18
define 'handle the imported ones automatically' and 'whine about the
exported ones'. in fact, define 'ones'.
Sign in to reply to this message.

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