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 399bdbfb7157eacc0765d29ccae38985b611c53c..55ec6475109c61ae3b1f82eeb98665ccf28398c3 100644 |
--- a/pkg/compiler/lib/src/serialization/json_serializer.dart |
+++ b/pkg/compiler/lib/src/serialization/json_serializer.dart |
@@ -14,8 +14,8 @@ class JsonSerializationEncoder implements SerializationEncoder { |
const JsonSerializationEncoder(); |
String encode(ObjectValue objectValue) { |
- return new JsonEncoder.withIndent(' ').convert( |
- const JsonValueEncoder().convert(objectValue)); |
+ return new JsonEncoder.withIndent(' ') |
+ .convert(const JsonValueEncoder().convert(objectValue)); |
} |
} |
@@ -120,6 +120,7 @@ class PrettyPrintEncoder implements ValueVisitor { |
void visitDouble(DoubleValue value, String indentation) { |
buffer.write(value.value); |
} |
+ |
@override |
void visitElement(ElementValue value, String indentation) { |
buffer.write('Element(${value.id}):${value.element}'); |
@@ -209,4 +210,4 @@ class PrettyPrintEncoder implements ValueVisitor { |
void visitUri(UriValue value, String indentation) { |
buffer.write('Uri(${value.value})'); |
} |
-} |
+} |