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

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

Issue 10553007: Remove support for String operator + from dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update co19 status 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
Index: dart/lib/compiler/implementation/lib/string_helper.dart
diff --git a/dart/lib/compiler/implementation/lib/string_helper.dart b/dart/lib/compiler/implementation/lib/string_helper.dart
index 1b9af7b4bfbe034bffca6f1559cc0049af55320b..06ad48291e8d3184ccb03ed04a841409a0ddc9cb 100644
--- a/dart/lib/compiler/implementation/lib/string_helper.dart
+++ b/dart/lib/compiler/implementation/lib/string_helper.dart
@@ -133,3 +133,7 @@ stringSplitUnchecked(receiver, pattern) {
throw "StringImplementation.split(Pattern) UNIMPLEMENTED";
}
}
+
+stringJoinUnchecked(array, separator) {
+ return JS('String', @'#.join(#)', array, separator);
+}

Powered by Google App Engine
This is Rietveld 408576698