Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Issue 8247007: Detect re-throws outside of a catch block. (Closed)

Created:
9 years, 2 months ago by jat
Modified:
9 years, 2 months ago
Reviewers:
mmendez, John Lenz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Detect re-throws outside of a catch block. R=johnlenz Committed: https://code.google.com/p/dart/source/detail?r=407

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -3 lines) Patch
M compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java View 1 chunk +1 line, -0 lines 0 comments Download
M compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java View 1 2 chunks +12 lines, -0 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/ast/DartToSourceVisitorTest.java View 1 chunk +11 lines, -1 line 0 comments Download
M tests/language/language.status View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jat
9 years, 2 months ago (2011-10-12 21:13:31 UTC) #1
John Lenz
LGTM
9 years, 2 months ago (2011-10-12 21:25:07 UTC) #2
mmendez
I don't think that we should be checking this in the parser since it is ...
9 years, 2 months ago (2011-10-12 21:25:39 UTC) #3
jat
9 years, 2 months ago (2011-10-12 22:14:51 UTC) #4
jat
I still do not like the idea of moving the check out of the parser ...
9 years, 2 months ago (2011-10-12 22:19:49 UTC) #5
mmendez
LGTM I'm not crazy about doing that in the TypeAnalyzer either. We need to revisit ...
9 years, 2 months ago (2011-10-13 15:48:28 UTC) #6
jat
On 2011/10/13 15:48:28, mmendez wrote: > LGTM Committed at r407. > I'm not crazy about ...
9 years, 2 months ago (2011-10-13 18:39:36 UTC) #7
jat
9 years, 2 months ago (2011-10-14 18:06:42 UTC) #8
On 2011/10/13 18:39:36, jat wrote:
> On 2011/10/13 15:48:28, mmendez wrote:
> > Could you follow up with a test that ensure that we rethrow the correct
> > exception instance?  I'm not sure if we have a test for that already or not.
> 
> Yes, in a separate CL.

RethrowTest added in r448.

Powered by Google App Engine
This is Rietveld 408576698