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

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

Issue 9303033: Two different classes may have the same *name*. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: null.toString() is also broken Created 8 years, 11 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: dart/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
diff --git a/dart/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java b/dart/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
index 67ff41bf28759ca565cda88b450087a60d6cfd00..6b71dc4cf4a582820920902febd9171bfdd2d997 100644
--- a/dart/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
+++ b/dart/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
@@ -82,6 +82,7 @@ public enum ResolverErrorCode implements ErrorCode {
EXPECTED_CONSTANT_EXPRESSION("Expected constant expression"),
EXPECTED_CONSTANT_EXPRESSION_BOOLEAN("Expected constant expression of type bool, got %s"),
EXPECTED_CONSTANT_EXPRESSION_INT("Expected constant expression of type int, got %s"),
+ EXPECTED_CONSTANT_EXPRESSION_STRING("Expected constant expression of type String, got %s"),
EXPECTED_CONSTANT_EXPRESSION_NUMBER("Expected constant expression of type num, got %s"),
EXPECTED_CONSTANT_EXPRESSION_STRING_NUMBER_BOOL(
"Expected constant expression of type String, num or bool, got %s"),

Powered by Google App Engine
This is Rietveld 408576698