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

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

Issue 10627020: Fix for issue 2437 (Closed) Base URL: http://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
===================================================================
--- compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java (revision 9032)
+++ compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java (working copy)
@@ -44,6 +44,8 @@
CANNOT_RESOLVE_SUPER_CONSTRUCTOR("cannot resolve method '%s'"),
CANNOT_RESOLVE_IMPLICIT_CALL_TO_SUPER_CONSTRUCTOR(
"super type %s does not have a default constructor"),
+ CANNOT_USE_TYPE("Cannot reference the type '%s' in this context"),
+ CANNOT_USE_TYPE_VARIABLE("Cannot reference the type variable '%s' in this context"),
CIRCULAR_REFERENCE(
"Circular reference detected: compile-time constants cannot reference themselves."),
CONST_REQUIRES_VALUE("Constant fields must have an initial value"),

Powered by Google App Engine
This is Rietveld 408576698