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 0449014e120afccec87512bd4410c98a1be362dd..746fb82833a000a53e8f9b0d020d817450a43623 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
@@ -9435,6 +9435,13 @@ typedef dynamic F(dynamic x, dynamic y); |
'''); |
} |
+ test_typedef_parameters_named() async { |
+ var library = await checkLibrary('typedef F({y, z, x});'); |
+ checkElementText(library, r''' |
+typedef dynamic F({dynamic y}, {dynamic z}, {dynamic x}); |
+'''); |
+ } |
+ |
test_typedef_return_type() async { |
var library = await checkLibrary('typedef int F();'); |
checkElementText(library, r''' |