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

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

Issue 2837963002: Fix for indirect recursion in resynthesizing function type aliases. (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
« no previous file with comments | « pkg/analyzer/lib/src/summary/resynthesize.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/resynthesize_common.dart
diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart
index ae7800c1bf4c4ca7efabbe1c43705ee8a851fef3..e45e9bab08100793b5f26da86a3b4f2ad115572a 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
@@ -14317,6 +14317,16 @@ typedef void F<T extends F>();
''');
}
+ test_typedef_type_parameters_bound_recursive2() {
+ shouldCompareLibraryElements = false;
+ var library = checkLibrary('typedef void F<T extends List<F>>();');
+ checkElementText(
+ library,
+ r'''
+typedef void F<T extends List<F>>();
+''');
+ }
+
test_typedef_type_parameters_f_bound_complex() {
var library = checkLibrary('typedef U F<T extends List<U>, U>(T t);');
if (isStrongMode) {
« no previous file with comments | « pkg/analyzer/lib/src/summary/resynthesize.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698