Index: pkg/compiler/lib/src/serialization/constant_serialization.dart |
diff --git a/pkg/compiler/lib/src/serialization/constant_serialization.dart b/pkg/compiler/lib/src/serialization/constant_serialization.dart |
index afaa3b4199b0bd6a5e729317748c55ffa5b2bf4c..b0413471d19c067789d628ef961057682e25264d 100644 |
--- a/pkg/compiler/lib/src/serialization/constant_serialization.dart |
+++ b/pkg/compiler/lib/src/serialization/constant_serialization.dart |
@@ -170,7 +170,7 @@ class ConstantSerializer |
@override |
void visitDeferred(DeferredConstantExpression exp, ObjectEncoder encoder) { |
throw new UnsupportedError( |
- "ConstantSerializer.visitDeferred: ${exp.getText()}"); |
+ "ConstantSerializer.visitDeferred: ${exp.toDartText()}"); |
} |
} |