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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java

Issue 15813002: Issue 8801. Report problems for missing [] or []= (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweak for problem description, report only one problem Created 7 years, 7 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/error/StaticWarningCode.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java
index 6f6e52162a44b2c588c3fac9c4f9c9eb09b55a9d..f5d9b4d1c604c6177d0c4d1808b9c88525de7f47 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java
@@ -495,18 +495,6 @@ public enum StaticWarningCode implements ErrorCode {
UNDEFINED_IDENTIFIER("Undefined name '%s'"),
/**
- * 12.30 Identifier Reference: It is as static warning if an identifier expression of the form
- * <i>id</i> occurs inside a top level or static function (be it function, method, getter, or
- * setter) or variable initializer and there is no declaration <i>d</i> with name <i>id</i> in the
- * lexical scope enclosing the expression.
- *
- * @param operator the name of the operator
- * @param enclosingType the name of the enclosing type where the operator is being looked for
- */
- // TODO(jwren) tests needed for this error code
- UNDEFINED_OPERATOR("There is no such operator '%s' in '%s'"),
-
- /**
* 12.14.2 Binding Actuals to Formals: Furthermore, each <i>q<sub>i</sub></i>, <i>1<=i<=l</i>,
* must have a corresponding named parameter in the set {<i>p<sub>n+1</sub></i> ...
* <i>p<sub>n+k</sub></i>} or a static warning occurs.

Powered by Google App Engine
This is Rietveld 408576698