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

Issue 6443100: code review 6443100: cmd/gc: mark broken type declarations as broken. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by DMorsing
Modified:
11 years, 8 months ago
Reviewers:
dgryski
CC:
golang-dev, dave_cheney.net, minux1, rsc
Visibility:
Public.

Description

cmd/gc: mark broken type declarations as broken. This fixes a spurious 'invalid recursive type' error, and stops the compiler from emitting errors on uses of the invalid type. Fixes issue 3766.

Patch Set 1 #

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

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

Total comments: 1

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M src/cmd/gc/typecheck.c View 1 1 chunk +1 line, -0 lines 0 comments Download
A test/fixedbugs/bug451.go View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 9
DMorsing
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, rsc@golang.org), I'd like you to review this change to https://code.google.com/p/go/
11 years, 8 months ago (2012-08-07 21:52:04 UTC) #1
dave_cheney.net
Thanks for fixing this bug. Please fix the date in the comment. On 08/08/2012, at ...
11 years, 8 months ago (2012-08-07 22:00:08 UTC) #2
minux1
it seems the badtype.go file should go to test/fixedbugs/bug???.go http://codereview.appspot.com/6443100/diff/3003/test/badtype.go File test/badtype.go (right): http://codereview.appspot.com/6443100/diff/3003/test/badtype.go#newcode3 test/badtype.go:3: ...
11 years, 8 months ago (2012-08-08 07:23:44 UTC) #3
DMorsing
Hello golang-dev@googlegroups.com, dave@cheney.net, minux.ma@gmail.com (cc: golang-dev@googlegroups.com, rsc@golang.org), Please take another look.
11 years, 8 months ago (2012-08-08 15:43:30 UTC) #4
DMorsing
ping.
11 years, 8 months ago (2012-08-23 15:42:59 UTC) #5
rsc
LGTM
11 years, 8 months ago (2012-08-31 17:01:31 UTC) #6
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=6429097c1c0f *** cmd/gc: mark broken type declarations as broken. This fixes a ...
11 years, 8 months ago (2012-08-31 17:02:34 UTC) #7
dgryski
This change appears to have overwritten bug451.go, added by nigeltao as part of https://codereview.appspot.com/6450163 On ...
11 years, 8 months ago (2012-08-31 19:23:44 UTC) #8
rsc
11 years, 8 months ago (2012-08-31 19:27:42 UTC) #9
On Fri, Aug 31, 2012 at 3:23 PM,  <dgryski@gmail.com> wrote:
> This change appears to have overwritten bug451.go, added by nigeltao as
> part of https://codereview.appspot.com/6450163

Oops, thanks. http://codereview.appspot.com/6497066
Sign in to reply to this message.

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