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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java

Issue 18140004: Report EQUALITY_CANNOT_BE_EQUALITY_OPERAND (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Additional test Created 7 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: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
index 8395a2def7f8d6579c4159df00101b049f1b2d7b..ecc485d37f07eb6c5a88f05054092f70a5cef7fc 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
@@ -49,6 +49,8 @@ public enum ParserErrorCode implements ErrorCode {
DIRECTIVE_AFTER_DECLARATION("Directives must appear before any declarations"),
DUPLICATE_LABEL_IN_SWITCH_STATEMENT("The label %s was already used in this switch statement"),
DUPLICATED_MODIFIER("The modifier '%s' was already specified."),
+ EQUALITY_CANNOT_BE_EQUALITY_OPERAND(
+ "Equality expression cannot be operand of another equality expression."),
EXPECTED_CASE_OR_DEFAULT("Expected 'case' or 'default'"),
EXPECTED_CLASS_MEMBER("Expected a class member"),
EXPECTED_EXECUTABLE("Expected a method, getter, setter or operator declaration"),

Powered by Google App Engine
This is Rietveld 408576698