| Index: dart/lib/compiler/implementation/lib/core_patch.dart
|
| diff --git a/dart/lib/compiler/implementation/lib/core_patch.dart b/dart/lib/compiler/implementation/lib/core_patch.dart
|
| index eeabd1c3c27df7e4cde6766b5e0102871c515ec8..72f4ddff434a871ab787207276244abe0b1cacd3 100644
|
| --- a/dart/lib/compiler/implementation/lib/core_patch.dart
|
| +++ b/dart/lib/compiler/implementation/lib/core_patch.dart
|
| @@ -72,14 +72,7 @@ patch class double {
|
| }
|
|
|
| patch class NoSuchMethodError {
|
| - patch static String safeToString(Object object) {
|
| - if (object is int || object is double || object is bool || null == object) {
|
| - return object.toString();
|
| - }
|
| - if (object is String) {
|
| - String escaped = object.replaceAll('"', '\\"');
|
| - return '"$escaped"';
|
| - }
|
| + patch static String _objectToString(Object object) {
|
| return Primitives.objectToString(object);
|
| }
|
| }
|
|
|