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

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

Issue 2978093002: Resynthesize top-level functions from Kernel. (Closed)
Patch Set: Created 3 years, 5 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/element_text.dart
diff --git a/pkg/analyzer/test/src/summary/element_text.dart b/pkg/analyzer/test/src/summary/element_text.dart
index 7a7dcbe31d311c1b0a242a8770a42d1081394902..b6d8c15a3aa37a3f20e73852f2c03392a2beb085 100644
--- a/pkg/analyzer/test/src/summary/element_text.dart
+++ b/pkg/analyzer/test/src/summary/element_text.dart
@@ -424,6 +424,9 @@ class _ElementWriter {
}
void writeFunctionElement(FunctionElement e) {
+ writeDocumentation(e);
+ writeMetadata(e, '', '\n');
+
writeIf(e.isExternal, 'external ');
writeType2(e.returnType);
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/test/src/summary/resynthesize_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698