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

Issue 6448097: code review 6448097: cmd/gc: Don't claim type assertion would help when it wont. (Closed)

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

Description

cmd/gc: Don't claim type assertion would help when it wont. Fixes issue 3465.

Patch Set 1 #

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

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

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

Total comments: 1

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

Patch Set 6 : diff -r 9876d0195923 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M src/cmd/gc/subr.c View 1 1 chunk +1 line, -1 line 0 comments Download
M test/interface/explicit.go View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10
DMorsing
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 9 months ago (2012-08-01 16:31:56 UTC) #1
rsc
Looks good but please add a test case. interface/*.go is probably a good place to ...
12 years, 9 months ago (2012-08-03 19:15:22 UTC) #2
DMorsing
PTAL
12 years, 9 months ago (2012-08-03 20:25:31 UTC) #3
remyoudompheng
http://codereview.appspot.com/6448097/diff/2003/test/interface/explicit.go File test/interface/explicit.go (right): http://codereview.appspot.com/6448097/diff/2003/test/interface/explicit.go#newcode43 test/interface/explicit.go:43: t = i // ERROR "assignment$" i suppose the ...
12 years, 9 months ago (2012-08-03 20:28:43 UTC) #4
DMorsing
On 2012/08/03 20:28:43, remyoudompheng wrote: > http://codereview.appspot.com/6448097/diff/2003/test/interface/explicit.go > File test/interface/explicit.go (right): > > http://codereview.appspot.com/6448097/diff/2003/test/interface/explicit.go#newcode43 > ...
12 years, 9 months ago (2012-08-05 14:42:47 UTC) #5
iant
On 2012/08/05 14:42:47, DMorsing wrote: > > I'm not sure how to test this on ...
12 years, 9 months ago (2012-08-05 17:14:08 UTC) #6
DMorsing
Hello golang-dev@googlegroups.com, rsc@golang.org, remyoudompheng@gmail.com, iant@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 9 months ago (2012-08-05 18:24:47 UTC) #7
DMorsing
ping?
12 years, 9 months ago (2012-08-15 13:23:12 UTC) #8
iant
LGTM
12 years, 9 months ago (2012-08-15 23:52:40 UTC) #9
iant
12 years, 9 months ago (2012-08-15 23:53:10 UTC) #10
*** Submitted as http://code.google.com/p/go/source/detail?r=b76339cc168a ***

cmd/gc: Don't claim type assertion would help when it wont.

Fixes issue 3465.

R=golang-dev, rsc, remyoudompheng, iant
CC=golang-dev
http://codereview.appspot.com/6448097

Committer: Ian Lance Taylor <iant@golang.org>
Sign in to reply to this message.

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