Index: pkg/analyzer/test/src/summary/element_text.dart |
diff --git a/pkg/analyzer/test/src/summary/element_text.dart b/pkg/analyzer/test/src/summary/element_text.dart |
index b6bbae25abeb2f9ad516726d4dbcec40cc4e1b89..c7897de4f32758a5f1824bb48b24292a6075658e 100644 |
--- a/pkg/analyzer/test/src/summary/element_text.dart |
+++ b/pkg/analyzer/test/src/summary/element_text.dart |
@@ -361,6 +361,17 @@ class _ElementWriter { |
writeExpression(e.key); |
buffer.write(': '); |
writeExpression(e.value); |
+ } else if (e is MethodInvocation) { |
+ if (e.target != null) { |
+ writeExpression(e.target); |
+ buffer.write(e.operator); |
+ } |
+ writeExpression(e.methodName); |
+ if (e.typeArguments != null) { |
+ writeList('<', '>', e.typeArguments.arguments, ', ', writeExpression); |
+ } |
+ writeList('(', ')', e.argumentList.arguments, ', ', writeExpression, |
+ includeEmpty: true); |
} else if (e is NamedExpression) { |
writeExpression(e.name); |
buffer.write(e.expression); |