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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java

Issue 10983089: Issue 3968. Report error if cycle in redirecting factory constructors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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
Index: compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
index 48360a5764c2c774b2a9eff25174d3b650ff1d73..7b7c295820e92bc6acf4a5a9dafb71044ac89c34 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
@@ -185,6 +185,7 @@ public enum ResolverErrorCode implements ErrorCode {
"Target of redirecting factory constructor is not a type"),
REDIRECTION_CONSTRUCTOR_TARGET_MUST_BE_CONST(
"Target of constant redirecting factory constructor also should be constant"),
+ REDIRECTION_CONSTRUCTOR_CYCLE("Cycle in redirecting constructors"),
RETHROW_NOT_IN_CATCH("Re-throw not in a catch block"),
STATIC_FINAL_REQUIRES_VALUE("Static final fields must have an initial value"),
STATIC_METHOD_MUST_HAVE_BODY("Static method must have a body"),

Powered by Google App Engine
This is Rietveld 408576698