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 55ec6475109c61ae3b1f82eeb98665ccf28398c3..32c65007a30bbbd0f2d5905de6512325df82ce66 100644 |
--- a/pkg/compiler/lib/src/serialization/json_serializer.dart |
+++ b/pkg/compiler/lib/src/serialization/json_serializer.dart |
@@ -113,7 +113,7 @@ class PrettyPrintEncoder implements ValueVisitor { |
@override |
void visitConstant(ConstantValue value, String indentation) { |
- buffer.write('Constant(${value.id}):${value.constant.getText()}'); |
+ buffer.write('Constant(${value.id}):${value.constant.toDartText()}'); |
} |
@override |