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

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

Issue 10537043: Issue 3308. Support for operator equals (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/TypeErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
index 2accf071ee8d98db1d6b9b11746f7491b368eae7..75ea7f9016f281a985472570b280172415adac89 100644
--- a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
@@ -47,6 +47,7 @@ public enum TypeErrorCode implements ErrorCode {
NOT_A_FUNCTION("\"%s\" is not a function"),
NOT_A_MEMBER_OF("\"%s\" is not a member of %s"),
NOT_A_METHOD_IN("\"%s\" is not a method in %s"),
+ OPERATOR_EQUALS_BOOL_RETURN_TYPE("operator 'equals' should return bool type"),
OPERATOR_NEGATE_NUM_RETURN_TYPE("operator 'negate' should return numeric type"),
OPERATOR_WRONG_OPERAND_TYPE("operand of \"%s\" must be assignable to \"%s\""),
OVERRIDING_INHERITED_STATIC_MEMBER("overriding inherited static member %s of %s"),

Powered by Google App Engine
This is Rietveld 408576698