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

Unified Diff: tests/corelib_strong/set_test.dart

Issue 2456803004: fixes #27586, prefer context type in generic inference (Closed)
Patch Set: fix 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 | « pkg/dev_compiler/tool/sdk_expected_errors.txt ('k') | tests/language_strong/issue_23914_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 e205ce6c48714ae1c4443fa944a2e80b02fd1577..c98e402b2096d758ed6821cb3262f055cb30402f 100644
--- a/tests/corelib_strong/set_test.dart
+++ b/tests/corelib_strong/set_test.dart
@@ -428,8 +428,8 @@ void testIntSetFrom(setFrom) {
}
void testCESetFrom(setFrom) {
- List<Object> ceList = [new CE(2), new CE(3), new CE(5),
- new CE(7), new CE(11), new CE(13)];
+ var ceList = [new CE(2), new CE(3), new CE(5),
+ new CE(7), new CE(11), new CE(13)];
Set<CE> set1 = setFrom(ceList);
Expect.listEquals(ceList, set1.toList()..sort());
« no previous file with comments | « pkg/dev_compiler/tool/sdk_expected_errors.txt ('k') | tests/language_strong/issue_23914_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698