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

Unified Diff: sdk/lib/_internal/lib/collection_dev_patch.dart

Issue 27112002: Make print interceptable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: sdk/lib/_internal/lib/collection_dev_patch.dart
diff --git a/sdk/lib/_internal/lib/collection_dev_patch.dart b/sdk/lib/_internal/lib/collection_dev_patch.dart
index f224f24aab6db81fdd02fe889ed215cbb223c6e5..9b7e4c4b79ca6bdb2f9ee1bd476d573936ef3afe 100644
--- a/sdk/lib/_internal/lib/collection_dev_patch.dart
+++ b/sdk/lib/_internal/lib/collection_dev_patch.dart
@@ -6,3 +6,7 @@ patch class Symbol implements core.Symbol {
patch const Symbol(String name)
: this._name = name;
}
+
+patch void internalPrint(Object object) {
+ Primitives.printString(object.toString());
+}

Powered by Google App Engine
This is Rietveld 408576698