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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.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_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java
index 89b81c2f17ffc5fa14926b81a69619b9061ff539..90303049c8e47cc38f69af7b922962d6bc6b7dce 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java
@@ -705,7 +705,7 @@ public class CompileTimeErrorCodeTest extends ResolverTestCase {
resolve(source);
assertErrors(
CompileTimeErrorCode.CONST_EVAL_THROWS_EXCEPTION,
- StaticWarningCode.UNDEFINED_OPERATOR);
+ StaticTypeWarningCode.UNDEFINED_OPERATOR);
// no verify(), '~null' is not resolved
}
@@ -714,7 +714,7 @@ public class CompileTimeErrorCodeTest extends ResolverTestCase {
resolve(source);
assertErrors(
CompileTimeErrorCode.CONST_EVAL_THROWS_EXCEPTION,
- StaticWarningCode.UNDEFINED_OPERATOR);
+ StaticTypeWarningCode.UNDEFINED_OPERATOR);
// no verify(), '-null' is not resolved
}
@@ -2775,7 +2775,7 @@ public class CompileTimeErrorCodeTest extends ResolverTestCase {
} else {
assertErrors(
CompileTimeErrorCode.CONST_EVAL_THROWS_EXCEPTION,
- StaticWarningCode.UNDEFINED_OPERATOR);
+ StaticTypeWarningCode.UNDEFINED_OPERATOR);
// no verify(), 'null x' is not resolved
}
reset();

Powered by Google App Engine
This is Rietveld 408576698