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

Unified Diff: lib/compiler/implementation/lib/core.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: lib/compiler/implementation/lib/core.dart
diff --git a/lib/compiler/implementation/lib/core.dart b/lib/compiler/implementation/lib/core.dart
index c227c18b373e3c3173a3102d39bb20d91f1a2c0f..c1263a29a052ce054de0497f2b8c9dbbfe19943e 100644
--- a/lib/compiler/implementation/lib/core.dart
+++ b/lib/compiler/implementation/lib/core.dart
@@ -31,6 +31,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');
@@ -39,11 +40,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