Index: pkg/compiler/lib/src/mirrors/dart2js_instance_mirrors.dart |
diff --git a/pkg/compiler/lib/src/mirrors/dart2js_instance_mirrors.dart b/pkg/compiler/lib/src/mirrors/dart2js_instance_mirrors.dart |
index 039f5af2de77ebb4afa8e97cd41086ebf74eb1dc..0c9006054ba6b3b4856edfeae859b178e6deb17c 100644 |
--- a/pkg/compiler/lib/src/mirrors/dart2js_instance_mirrors.dart |
+++ b/pkg/compiler/lib/src/mirrors/dart2js_instance_mirrors.dart |
@@ -73,9 +73,9 @@ class Dart2JsConstantMirror extends Object |
String toString() { |
if (_constant != null) { |
- return _constant.getText(); |
+ return _constant.toDartText(); |
} else { |
- return _value.unparse(); |
+ return _value.toDartText(); |
} |
} |