Index: pkg/compiler/lib/src/serialization/json_serializer.dart |
diff --git a/pkg/compiler/lib/src/serialization/json_serializer.dart b/pkg/compiler/lib/src/serialization/json_serializer.dart |
index ba995bde28babd1f15a71b45549438c199707d20..b075e5b608ec2516982e726b82f948a1c91482b3 100644 |
--- a/pkg/compiler/lib/src/serialization/json_serializer.dart |
+++ b/pkg/compiler/lib/src/serialization/json_serializer.dart |
@@ -108,7 +108,7 @@ class JsonValueEncoder implements ValueVisitor { |
} |
/// [ValueVisitor] that generates a verbose JSON-like output. |
-class PrettyPrintEncoder implements ValueVisitor { |
+class PrettyPrintEncoder implements ValueVisitor<dynamic, String> { |
StringBuffer buffer; |
String toText(Value value) { |