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

Unified Diff: tests/language_strong/issue_23914_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 | « tests/corelib_strong/set_test.dart ('k') | tests/language_strong/recursive_generic_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5ba0335af986f4bc9f9a94ad0c7c7615242fe9d7 100644
--- a/tests/language_strong/issue_23914_test.dart
+++ b/tests/language_strong/issue_23914_test.dart
@@ -4,6 +4,9 @@
import 'dart:collection';
+class C extends LinkedListEntry<C> {}
+
main() {
- var a = new List.unmodifiable(new LinkedList());
+ var ll = new LinkedList<C>();
+ var a = new List.unmodifiable(ll);
}
« no previous file with comments | « tests/corelib_strong/set_test.dart ('k') | tests/language_strong/recursive_generic_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698