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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java

Issue 8247007: Detect re-throws outside of a catch block. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
===================================================================
--- compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java (revision 375)
+++ compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java (working copy)
@@ -165,6 +165,7 @@
PARAMETER_INIT_WITH_REDIR_CONSTRUCTOR(
"Parameter initializers cannot be used with redirected constructors"),
PARAMETER_NOT_MATCH_FIELD("Could not match parameter initializer '%s' with any field"),
+ RETHROW_NOT_IN_CATCH("Re-throw not in a catch block"),
STATIC_FINAL_REQUIRES_VALUE("Static final fields must have an initial value"),
STATIC_MEMBER_ACCESSED_THROUGH_INSTANCE(
"static member %s of %s cannot be accessed through an instance"),
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698