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

Unified Diff: runtime/lib/string.dart

Issue 10562038: Remove obsolete String + code (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 | « runtime/lib/string.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/string.dart
===================================================================
--- runtime/lib/string.dart (revision 8799)
+++ runtime/lib/string.dart (working copy)
@@ -233,20 +233,6 @@
}
/**
- * TODO(hausner): remove support for operator + and native method plus().
- */
- String plus(String other) native "String_plus";
-
- /**
- * Convert argument obj to string and concat it with this string.
- * Returns concatenated string.
- * TODO(hausner): remove support for +.
- */
- String operator +(Object obj) {
- return this.plus(obj.toString());
- }
-
- /**
* Convert all objects in [values] to strings and concat them
* into a result string.
*/
« no previous file with comments | « runtime/lib/string.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698