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

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: Address review comment. 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
« no previous file with comments | « corelib/src/print.dart ('k') | lib/compiler/implementation/lib/coreimpl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/lib/core.dart
diff --git a/lib/compiler/implementation/lib/core.dart b/lib/compiler/implementation/lib/core.dart
index 641fbbb2d5eac25fa819080b335405682d268435..009ea2d884831f3d485ec248ae15207872f61320 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');
@@ -41,11 +42,3 @@
#source('../../../../corelib/src/strings.dart');
#source('errors.dart');
#source('mock.dart');
-
-void print(var obj) {
- if (obj is String) {
- Primitives.printString(obj);
- } else {
- Primitives.printString(obj.toString());
- }
-}
« no previous file with comments | « corelib/src/print.dart ('k') | lib/compiler/implementation/lib/coreimpl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698