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

Unified Diff: tests/corelib_strong/set_test.dart

Issue 2779843004: Fix top-level inference errors for most of the newly failing tests. (Closed)
Patch Set: Created 3 years, 9 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/corelib_strong/corelib_strong.status ('k') | tests/language_strong/bailout4_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib_strong/set_test.dart
diff --git a/tests/corelib_strong/set_test.dart b/tests/corelib_strong/set_test.dart
index c98e402b2096d758ed6821cb3262f055cb30402f..71f30c4bb2628268973a635e15e3e824e147b851 100644
--- a/tests/corelib_strong/set_test.dart
+++ b/tests/corelib_strong/set_test.dart
@@ -376,7 +376,7 @@ Function customHash(int mod) => (CE e) => e.id % mod;
CECompare customCompare(int mod) => (CE e1, CE e2) =>
(e1.id % mod) - (e2.id % mod);
bool validKey(Object o) => o is CE;
-final customId = new Map.identity();
+final customId = new Map<dynamic, dynamic>.identity();
int counter = 0;
int identityCompare(e1, e2) {
if (identical(e1, e2)) return 0;
« no previous file with comments | « tests/corelib_strong/corelib_strong.status ('k') | tests/language_strong/bailout4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698