Chromium Code Reviews| Index: runtime/lib/typeddata.dart |
| diff --git a/runtime/lib/typeddata.dart b/runtime/lib/typeddata.dart |
| index 75cd3624843055d63b5d7b0e72816ba01d9b1512..c2805676c7aa5f74d06a100552704a894a778de9 100644 |
| --- a/runtime/lib/typeddata.dart |
| +++ b/runtime/lib/typeddata.dart |
| @@ -461,8 +461,8 @@ abstract class _TypedListBase { |
| "Cannot remove from a non-extendable array"); |
| } |
|
Søren Gjesse
2013/04/24 09:00:49
Is it documented in toList that the default is a g
Lasse Reichstein Nielsen
2013/04/24 09:30:57
Yes. It's defined the same way on Iterable, so the
|
| - List toList() { |
| - return new List.from(this); |
| + List toList({bool growable: true}) { |
| + return new List.from(this, growable: growable); |
| } |
| Set toSet() { |