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

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

Issue 10928145: Patch print directly in corelib instead of going through coreimpl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « lib/compiler/implementation/lib/coreimpl.dart ('k') | lib/core/print.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b274c6ed4235e79301f2c95424764beb465d3df0..d417582887ac0cffab9ef916861fe79873866465 100644
--- a/lib/compiler/implementation/lib/coreimpl_patch.dart
+++ b/lib/compiler/implementation/lib/coreimpl_patch.dart
@@ -4,18 +4,6 @@
// Patch file for dart:coreimpl classes.
-// Patch for 'print' function.
-patch class PrintImplementation {
- patch static void print(var obj) {
- if (obj is String) {
- Primitives.printString(obj);
- } else {
- Primitives.printString(obj.toString());
- }
- }
-}
-
-
// Patch for String implementation.
// TODO(ager): Split out into date_patch.dart and allow #source
// in patch files?
« no previous file with comments | « lib/compiler/implementation/lib/coreimpl.dart ('k') | lib/core/print.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698