| Index: lib/compiler/implementation/lib/coreimpl_patch.dart
|
| diff --git a/lib/compiler/implementation/lib/coreimpl_patch.dart b/lib/compiler/implementation/lib/coreimpl_patch.dart
|
| index d48cafe2a2e68d31c025f486d57a4788a957aaa8..5e5659ac332681c3018f032c151d898f685de302 100644
|
| --- a/lib/compiler/implementation/lib/coreimpl_patch.dart
|
| +++ b/lib/compiler/implementation/lib/coreimpl_patch.dart
|
| @@ -4,6 +4,20 @@
|
|
|
| // Patch file for dart:core classes.
|
|
|
| +// Path for Object implementation.
|
| +// TODO(ager): Split out into object_patch.dart and allow #source
|
| +// in patch files?
|
| +patch class ObjectImplementation {
|
| + patch static String toStringImpl(Object object) {
|
| + return Primitives.objectToString(object);
|
| + }
|
| +
|
| + patch static void noSuchMethodImpl(Object object, String name, List args) {
|
| + throw new NoSuchMethodException(object, name, args);
|
| + }
|
| +}
|
| +
|
| +
|
| // Patch for Date implementation.
|
| // TODO(ager): Split out into date_patch.dart and allow #source
|
| // in patch files?
|
|
|