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

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: Rebuild dom libraries. 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') | sdk/lib/collection/list.dart » ('J')
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 aad4e38126f37e07938699b4dc2b071c5bec343f..6899b2840c00ef3925354c031a6520dfe8cd27e7 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') | sdk/lib/collection/list.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698