| Index: pkg/compiler/lib/src/elements/modelx.dart
|
| diff --git a/pkg/compiler/lib/src/elements/modelx.dart b/pkg/compiler/lib/src/elements/modelx.dart
|
| index 5a4cc108d06d9626a42e4e8f401a27d6aec80cd3..fcdd5763928368adb3a151fe7e81847383990bf8 100644
|
| --- a/pkg/compiler/lib/src/elements/modelx.dart
|
| +++ b/pkg/compiler/lib/src/elements/modelx.dart
|
| @@ -1411,8 +1411,8 @@ abstract class ConstantVariableMixin implements VariableElement {
|
| assert(invariant(this, constantCache == null || constantCache == value,
|
| message: "Constant has already been computed for $this. "
|
| "Existing constant: "
|
| - "${constantCache != null ? constantCache.getText() : ''}, "
|
| - "New constant: ${value != null ? value.getText() : ''}."));
|
| + "${constantCache != null ? constantCache.toDartText() : ''}, "
|
| + "New constant: ${value != null ? value.toDartText() : ''}."));
|
| constantCache = value;
|
| }
|
| }
|
|
|