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

Issue 6354102: code review 6354102: cmd/gc: avoid an internal error on invalid type switch. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by remyoudompheng
Modified:
12 years, 10 months ago
Reviewers:
CC:
golang-dev, r, remy_archlinux.org
Visibility:
Public.

Description

cmd/gc: avoid an internal error on invalid type switch. The error was caused by a call to implements() even when the type switch variable was not an interface. Fixes issue 3786.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/cmd/gc/swt.c View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
remyoudompheng
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, remy@archlinux.org), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 10 months ago (2012-07-12 21:21:17 UTC) #1
r
LGTM
12 years, 10 months ago (2012-07-12 21:25:25 UTC) #2
remyoudompheng
12 years, 10 months ago (2012-07-12 21:31:42 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=254232c99b3e ***

cmd/gc: avoid an internal error on invalid type switch.

The error was caused by a call to implements() even when
the type switch variable was not an interface.

Fixes issue 3786.

R=golang-dev, r
CC=golang-dev, remy
http://codereview.appspot.com/6354102
Sign in to reply to this message.

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