| Index: lib/compiler/implementation/lib/core_patch.dart
|
| diff --git a/lib/compiler/implementation/lib/core_patch.dart b/lib/compiler/implementation/lib/core_patch.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..aea4c6c7c2e0df68062931c651de31cddc668398
|
| --- /dev/null
|
| +++ b/lib/compiler/implementation/lib/core_patch.dart
|
| @@ -0,0 +1,16 @@
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// Patch file for dart:core classes.
|
| +
|
| +// Patch for Object implementation.
|
| +patch class Object {
|
| + patch String toString() {
|
| + return Primitives.objectToString(this);
|
| + }
|
| +
|
| + patch void noSuchMethod(String name, List args) {
|
| + throw new NoSuchMethodException(this, name, args);
|
| + }
|
| +}
|
|
|