| 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 3d2a235d00e9379085d02ae70a9531d94ab2b17f..53ccc3cec9e4421e546d56deba3f5d9f41268f25 100644
|
| --- a/lib/compiler/implementation/lib/coreimpl_patch.dart
|
| +++ b/lib/compiler/implementation/lib/coreimpl_patch.dart
|
| @@ -4,7 +4,19 @@
|
|
|
| // Patch file for dart:core classes.
|
|
|
| -// Path for Object implementation.
|
| +// Patch for 'print' function.
|
| +patch class Logger {
|
| + patch static void print(var obj) {
|
| + if (obj is String) {
|
| + Primitives.printString(obj);
|
| + } else {
|
| + Primitives.printString(obj.toString());
|
| + }
|
| + }
|
| +}
|
| +
|
| +
|
| +// Patch for Object implementation.
|
| // TODO(ager): Split out into object_patch.dart and allow #source
|
| // in patch files?
|
| patch class ObjectImplementation {
|
|
|