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

Unified Diff: tests/compiler/dart2js_extra/type_argument_factory_crash_test.dart

Issue 11664006: Make Map.keys/values Iterables. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Add TODO that map.keys should return a Set. Created 7 years, 12 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: tests/compiler/dart2js_extra/type_argument_factory_crash_test.dart
diff --git a/tests/compiler/dart2js_extra/type_argument_factory_crash_test.dart b/tests/compiler/dart2js_extra/type_argument_factory_crash_test.dart
index f6de717fb84e6069fa14fcfc54a7017e9279e123..c357c2db1c486057ecda91228947dc4c08f10551 100644
--- a/tests/compiler/dart2js_extra/type_argument_factory_crash_test.dart
+++ b/tests/compiler/dart2js_extra/type_argument_factory_crash_test.dart
@@ -12,6 +12,6 @@ void main() {
Expect.isFalse(o is List<int>);
// Enable these two lines, the compiler doesn't crash.
- // Expect.isTrue(o.keys is List<int>);
- // Expect.isFalse(o.keys is List<String>);
+ // Expect.isTrue(o.keys is Iterable<int>);
+ // Expect.isFalse(o.keys is Iterable<String>);
}
« no previous file with comments | « tests/compiler/dart2js/resolver_test.dart ('k') | tests/compiler/dart2js_extra/type_argument_factory_nocrash_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698