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

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

Issue 10545028: Issue 3182. When TypeNode element found, but it is not Type, report only this error (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 f39c7f21002c33770132746ec6878411d65dfc06..36d967efc55f2aa2067811b8c4ea5f1f85b5f43f 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
@@ -135,6 +135,7 @@ public enum ResolverErrorCode implements ErrorCode {
NOT_A_LABEL("\"%s\" is not a label"),
NOT_A_STATIC_FIELD("\"%s\" is not a static field"),
NOT_A_STATIC_METHOD("\"%s\" is not a static method"),
+ NOT_A_TYPE("type \"%s\" expected, but \"%s\" found"),
NOT_AN_INSTANCE_FIELD("%s is not an instance field"),
REDIRECTED_CONSTRUCTOR_CYCLE("Redirected constructor call has a cycle."),
PARAMETER_INIT_OUTSIDE_CONSTRUCTOR("Parameter initializers can only be used in constructors"),

Powered by Google App Engine
This is Rietveld 408576698