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

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

Issue 2835903003: Issue 29388. Resynthesize non-generic types for ReferenceInfo lazily. (Closed)
Patch Set: Created 3 years, 8 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 aee2ada282422f0fdd95c5ef0a6f4678ae632f6f..ae7800c1bf4c4ca7efabbe1c43705ee8a851fef3 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
@@ -14307,6 +14307,16 @@ class D {
}
}
+ test_typedef_type_parameters_bound_recursive() {
+ shouldCompareLibraryElements = false;
+ var library = checkLibrary('typedef void F<T extends F>();');
+ checkElementText(
+ library,
+ r'''
+typedef void F<T extends F>();
+''');
+ }
+
test_typedef_type_parameters_f_bound_complex() {
var library = checkLibrary('typedef U F<T extends List<U>, U>(T t);');
if (isStrongMode) {

Powered by Google App Engine
This is Rietveld 408576698