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

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

Issue 10991064: Issue 5350. Type variable should be accessible in instance field (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 f6dc3b94dd3b2a988145f09d9e608498fd0402dc..48360a5764c2c774b2a9eff25174d3b650ff1d73 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
@@ -181,6 +181,8 @@ public enum ResolverErrorCode implements ErrorCode {
"Parameter initializers cannot be used with redirected constructors"),
// TODO(zundel): error message needs JUnit test
PARAMETER_NOT_MATCH_FIELD("Could not match parameter initializer '%s' with any field"),
+ REDIRECTION_CONSTRUCTOR_TARGET_TYPE(
+ "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"),
RETHROW_NOT_IN_CATCH("Re-throw not in a catch block"),

Powered by Google App Engine
This is Rietveld 408576698