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

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

Issue 10873096: Issue 3904. Allow using class literal in expressions (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 fcc7c90b7d988c878159a67755f529da20381e0a..173c195a87dd05d06f3bfa4a4a9a1516f199d2e2 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
@@ -133,7 +133,6 @@ public enum ResolverErrorCode implements ErrorCode {
INVALID_RETURN_IN_CONSTRUCTOR("Generative constructors cannot return arbitrary expressions"),
// TODO(zundel): error message needs JUnit test (reachable code?)
INVALID_TYPE_NAME_IN_CONSTRUCTOR("Invalid type in constructor name"),
- IS_A_CLASS("%s is a class and cannot be used as an expression"),
// TODO(zundel): error message needs JUnit test (reachable code?)
IS_A_CONSTRUCTOR("%s.%s is a constructor, expected a method"),
IS_AN_INSTANCE_FIELD("%s.%s is an instance field, not a static method"),

Powered by Google App Engine
This is Rietveld 408576698