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

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

Issue 2762743002: Include type arguments for non-synthetic FunctionTypeImpl(s) into displayName. (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
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 23d113b5cb54d9274c638a63cb16f525c3ce756c..f22a214273364cf04f014d7713eb69b770ae3ff7 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
@@ -9768,7 +9768,7 @@ F f;
library,
r'''
typedef dynamic F<T extends num>(T p);
-F f;
+F<num> f;
''');
} else {
checkElementText(
@@ -13715,14 +13715,14 @@ F f;
library,
r'''
typedef U F<T, U>(T t);
-F f;
+F<int, String> f;
''');
} else {
checkElementText(
library,
r'''
typedef U F<T, U>(T t);
-F f;
+F<int, String> f;
''');
}
}
« pkg/analyzer/lib/src/dart/element/type.dart ('K') | « 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