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

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

Issue 2765343002: Always apply new type arguments in InterfaceTypeImpl.substitute2(). (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 | « pkg/analyzer/lib/src/dart/element/type.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/summary/top_level_inference_test.dart
diff --git a/pkg/analyzer/test/src/summary/top_level_inference_test.dart b/pkg/analyzer/test/src/summary/top_level_inference_test.dart
index ebf8deafb10ecdce5fc1d32b5a41f91737ddc2b0..e5426bc95d9e2a9e2aac1a4ea53b9801c5734856 100644
--- a/pkg/analyzer/test/src/summary/top_level_inference_test.dart
+++ b/pkg/analyzer/test/src/summary/top_level_inference_test.dart
@@ -1522,10 +1522,12 @@ typedef F<T>();
class A<T> {
F<T> get x => null;
+ List<F<T>> get y => null;
}
class B extends A<int> {
get x => null;
+ get y => null;
}
''');
checkElementText(
@@ -1534,9 +1536,11 @@ class B extends A<int> {
typedef dynamic F<T>();
class A<T> {
F<T> get x {}
+ List<F<T>> get y {}
}
class B extends A<int> {
F<int> get x {}
+ List<F<int>> get y {}
}
''');
}
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/type.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698