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

Unified Diff: runtime/lib/array.dart

Issue 13945009: Make default argument to Iterable.join be "". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 8 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 | « no previous file | runtime/lib/growable_array.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/array.dart
diff --git a/runtime/lib/array.dart b/runtime/lib/array.dart
index 78a6ccbc0e7b9e90b6c7a3941f95bf312989672e..37efab9c7f4d7d7ebba390d179f0a7049ac21d89 100644
--- a/runtime/lib/array.dart
+++ b/runtime/lib/array.dart
@@ -106,7 +106,7 @@ class _ObjectArray<E> implements List<E> {
IterableMixinWorkaround.forEach(this, f);
}
- String join([String separator]) {
+ String join([String separator = ""]) {
return IterableMixinWorkaround.joinList(this, separator);
}
@@ -357,7 +357,7 @@ class _ImmutableArray<E> implements List<E> {
return IterableMixinWorkaround.mapList(this, f);
}
- String join([String separator]) {
+ String join([String separator = ""]) {
return IterableMixinWorkaround.joinList(this, separator);
}
« no previous file with comments | « no previous file | runtime/lib/growable_array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698