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

Unified Diff: tests/language_strong/issue_23914_test.dart

Issue 2456803004: fixes #27586, prefer context type in generic inference (Closed)
Patch Set: wip Created 3 years, 11 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/language_strong/issue_23914_test.dart
diff --git a/tests/language_strong/issue_23914_test.dart b/tests/language_strong/issue_23914_test.dart
index 072f912b74cff3b0bbde89667b3ba30ea84ac71d..cdee96111a10f07305d966799577cf24a9c53564 100644
--- a/tests/language_strong/issue_23914_test.dart
+++ b/tests/language_strong/issue_23914_test.dart
@@ -5,5 +5,6 @@
import 'dart:collection';
main() {
- var a = new List.unmodifiable(new LinkedList());
+ var ll = new LinkedList();
+ var a = new List.unmodifiable(ll);
}

Powered by Google App Engine
This is Rietveld 408576698