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

Unified Diff: pkg/kernel/lib/text/ast_to_text.dart

Issue 2893803003: Add metadata annotations to library definitions. (Closed)
Patch Set: Created 3 years, 7 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/kernel/lib/binary/ast_to_binary.dart ('k') | runtime/vm/kernel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/text/ast_to_text.dart
diff --git a/pkg/kernel/lib/text/ast_to_text.dart b/pkg/kernel/lib/text/ast_to_text.dart
index 77ec83584b06b49fdc9c85a4d1b14f06e3b4bca5..cd42481da3670f8288a263807c63f4d178154cc1 100644
--- a/pkg/kernel/lib/text/ast_to_text.dart
+++ b/pkg/kernel/lib/text/ast_to_text.dart
@@ -265,6 +265,7 @@ class Printer extends Visitor<Null> {
}
void writeLibraryFile(Library library) {
+ writeAnnotationList(library.annotations);
writeWord('library');
if (library.name != null) {
writeWord(library.name);
@@ -308,6 +309,7 @@ class Printer extends Visitor<Null> {
}
writeWord('external');
}
+ writeAnnotationList(library.annotations);
writeWord('library');
if (library.name != null) {
writeWord(library.name);
« no previous file with comments | « pkg/kernel/lib/binary/ast_to_binary.dart ('k') | runtime/vm/kernel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698