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 38edfc6bd4104892fb7bb992ecd94bcbf0a6a253..12d012a1e07dd49b5862c54c99ac148c4f049dbd 100644 |
--- a/pkg/kernel/lib/text/ast_to_text.dart |
+++ b/pkg/kernel/lib/text/ast_to_text.dart |
@@ -681,6 +681,7 @@ class Printer extends Visitor<Null> { |
writeAnnotationList(node.annotations); |
writeIndentation(); |
writeModifier(node.isStatic, 'static'); |
+ writeModifier(node.isCovariant, 'covariant'); |
writeModifier(node.isFinal, 'final'); |
writeModifier(node.isConst, 'const'); |
// Only show implicit getter/setter modifiers in cases where they are |
@@ -1419,6 +1420,7 @@ class Printer extends Visitor<Null> { |
void writeVariableDeclaration(VariableDeclaration node, |
{bool useVarKeyword: false}) { |
if (showOffsets) writeWord("[${node.fileOffset}]"); |
+ writeModifier(node.isCovariant, 'covariant'); |
writeModifier(node.isFinal, 'final'); |
writeModifier(node.isConst, 'const'); |
if (node.type != null) { |