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

Unified Diff: pkg/analyzer/test/src/summary/resynthesize_common.dart

Issue 2376213003: Instantiate parameterized types of type parameters with 'dynamic' type arguments. (Closed)
Patch Set: Created 4 years, 3 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: pkg/analyzer/test/src/summary/resynthesize_common.dart
diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart
index aeebef56cdca03312352a3af89f60571ac764202..5f1d5e997377157e1939616c3ce244359d767a19 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
@@ -3574,10 +3574,14 @@ C c;
''');
}
- test_instantiateToBounds_boundRefersToItself() {
+ solo_test_instantiateToBounds_boundRefersToItself() {
Brian Wilkerson 2016/09/29 20:39:09 Remove "solo_".
Jennifer Messerly 2016/09/30 00:22:38 remove "solo_"?
checkLibrary('''
-class C<T extends C<T>> {}
+class C<T extends C<int>> {}
C c;
+var c2 = new C();
+class B {
+ var c3 = new C();
+}
''');
}

Powered by Google App Engine
This is Rietveld 408576698