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

Unified Diff: lib/compiler/implementation/lib/core.dart

Issue 10887024: Move print to corelib. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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: lib/compiler/implementation/lib/core.dart
diff --git a/lib/compiler/implementation/lib/core.dart b/lib/compiler/implementation/lib/core.dart
index 506a58d13f7e079d567edea89f6934c1f7ceb288..8b640a45bd026ccf4381f1438ee7718cb9a32e0b 100644
--- a/lib/compiler/implementation/lib/core.dart
+++ b/lib/compiler/implementation/lib/core.dart
@@ -32,6 +32,7 @@
#source('../../../../corelib/src/object.dart');
#source('../../../../corelib/src/options.dart');
#source('../../../../corelib/src/pattern.dart');
+#source('../../../../corelib/src/print.dart');
#source('../../../../corelib/src/queue.dart');
#source('../../../../corelib/src/regexp.dart');
#source('../../../../corelib/src/set.dart');
@@ -40,11 +41,3 @@
#source('../../../../corelib/src/string_buffer.dart');
#source('../../../../corelib/src/strings.dart');
#source('mock.dart');
-
-void print(var obj) {
- if (obj is String) {
- Primitives.printString(obj);
- } else {
- Primitives.printString(obj.toString());
- }
-}

Powered by Google App Engine
This is Rietveld 408576698