Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart b/sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart |
| index 4135a52ef6f5ffbba9e128b745906a3593e03d41..cc398a67a1f915d47052984fcd98c863f5915e6b 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart |
| @@ -90,7 +90,9 @@ class PrettyPrinter implements Visitor { |
| params.forEach((k, v) { |
| String value; |
| if (v != null) { |
| - value = v |
| + var str = v; |
| + if (v is Token) str = v.value; |
| + value = str |
| .replaceAll("<", "<") |
| .replaceAll(">", ">") |
| .replaceAll('"', "'"); |