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

Issue 12580044: code review 12580044: test: fix return.go to remove unused labels (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by iant
Modified:
11 years, 10 months ago
Reviewers:
bradfitz
CC:
golang-dev, bradfitz
Visibility:
Public.

Description

test: fix return.go to remove unused labels The gc compiler only gives an error about an unused label if it has not given any errors in an earlier pass. Remove all unused labels in this test because they don't test anything useful and they cause gccgo to give unexpected errors.

Patch Set 1 #

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -4 lines) Patch
M test/return.go View 4 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 3
iant
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 10 months ago (2013-08-07 18:12:59 UTC) #1
bradfitz
LGTM On Wed, Aug 7, 2013 at 11:12 AM, <iant@golang.org> wrote: > Reviewers: golang-dev1, > ...
11 years, 10 months ago (2013-08-07 18:14:33 UTC) #2
iant
11 years, 10 months ago (2013-08-07 18:19:10 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=d5bc54fe16de ***

test: fix return.go to remove unused labels

The gc compiler only gives an error about an unused label if
it has not given any errors in an earlier pass.  Remove all
unused labels in this test because they don't test anything
useful and they cause gccgo to give unexpected errors.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/12580044
Sign in to reply to this message.

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