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

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

Issue 184663004: Follow factory redirections when checking case expressions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. (500) Created 6 years, 10 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
« no previous file with comments | « tests/compiler/dart2js/resolver_test.dart ('k') | tests/language/language.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_checker_test.dart
diff --git a/tests/compiler/dart2js/type_checker_test.dart b/tests/compiler/dart2js/type_checker_test.dart
index 88e1ce7926dc655976eda32fd621a5e2fe931226..59cd00826cf7d8cb8ec99b04129a421c15531918 100644
--- a/tests/compiler/dart2js/type_checker_test.dart
+++ b/tests/compiler/dart2js/type_checker_test.dart
@@ -151,11 +151,6 @@ testSwitch() {
warnings: [NOT_ASSIGNABLE, NOT_ASSIGNABLE]);
analyze("switch (1.5) { case 1: break; case 2: break; }",
warnings: [NOT_ASSIGNABLE, NOT_ASSIGNABLE]);
-
- analyze("switch (null) { case '': break; case 2: break; }",
- infos: [MessageKind.SWITCH_CASE_TYPES_NOT_EQUAL_CASE,
- MessageKind.SWITCH_CASE_TYPES_NOT_EQUAL_CASE],
- errors: [MessageKind.SWITCH_CASE_TYPES_NOT_EQUAL]);
}
testOperators() {
« no previous file with comments | « tests/compiler/dart2js/resolver_test.dart ('k') | tests/language/language.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698