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

Unified Diff: dart/tests/compiler/dart2js/type_checker_test.dart

Issue 11416004: Reject deprecated language features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: abstract class in resolver test Created 8 years, 1 month 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/tests/compiler/dart2js/type_checker_test.dart
diff --git a/dart/tests/compiler/dart2js/type_checker_test.dart b/dart/tests/compiler/dart2js/type_checker_test.dart
index 59209ff3dfdf41b10007aad93dff94e6cfdbfbd3..f76731daaa5505f09b83a82163032de275a4fbf5 100644
--- a/dart/tests/compiler/dart2js/type_checker_test.dart
+++ b/dart/tests/compiler/dart2js/type_checker_test.dart
@@ -124,7 +124,7 @@ testOperators() {
analyze("{ bool b = (1 ${op} false); }", MessageKind.NOT_ASSIGNABLE);
analyze("{ bool b = (true ${op} 2); }", MessageKind.NOT_ASSIGNABLE);
}
- for (final op in ['>', '<', '<=', '>=', '==', '!=', '===', '!==']) {
+ for (final op in ['>', '<', '<=', '>=', '==', '!=']) {
analyze("{ bool b = 1 ${op} 2; }");
analyze("{ int i = 1 ${op} 2; }", MessageKind.NOT_ASSIGNABLE);
analyze("{ int i; bool b = (i = true) ${op} 2; }",

Powered by Google App Engine
This is Rietveld 408576698