Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1499)

Unified Diff: runtime/lib/print_patch.dart

Issue 10868043: Move print to corelib. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Make it pass all tests. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/lib/print_patch.dart
diff --git a/tests/compiler/dart2js_extra/panda_lib.dart b/runtime/lib/print_patch.dart
similarity index 71%
copy from tests/compiler/dart2js_extra/panda_lib.dart
copy to runtime/lib/print_patch.dart
index 24bdd8843fe55bea9ad2062d502d1e29e6754020..48bb9a9d711fa6349789295631e5b0574541b71e 100644
--- a/tests/compiler/dart2js_extra/panda_lib.dart
+++ b/runtime/lib/print_patch.dart
@@ -2,9 +2,8 @@
// 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.
-#library("panda_lib");
-
-class Panda {
- Panda() {
+patch class Logger {
+ /* patch */ static void print(Object obj) {
+ builtin.print(obj);
}
}

Powered by Google App Engine
This is Rietveld 408576698