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); |