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

Unified Diff: sdk/lib/core/string.dart

Issue 12441003: Rename String.concat to operator+. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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/core/string.dart
diff --git a/sdk/lib/core/string.dart b/sdk/lib/core/string.dart
index d780314f2e0a9c59b775303bd0103293a7eca493..fc19f46fae669fa8eae29d961570b0a7fb935cb8 100644
--- a/sdk/lib/core/string.dart
+++ b/sdk/lib/core/string.dart
@@ -135,6 +135,11 @@ abstract class String implements Comparable<String>, Pattern {
* var strings = ['foo', 'bar', 'geez'];
* var concatenated = strings.join();
*/
+ String operator +(String other);
+
+ /**
+ * *Deprecated* Use [operator+] instead.
+ */
floitsch 2013/03/08 23:46:48 use @deprecated.
String concat(String other);
/**

Powered by Google App Engine
This is Rietveld 408576698