Index: sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
index 1c1e4920dbf0511057e3a10a6c2f10b06d87cfc8..891e202b9caba4687ec91490d2caaf9a48b1f4e1 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
@@ -254,7 +254,8 @@ class JSArray<E> implements List<E> { |
String toString() => Collections.collectionToString(this); |
- List<E> toList() => new List<E>.from(this); |
+ List<E> toList({ bool growable: false }) => |
+ new List<E>.from(this, growable: growable); |
Set<E> toSet() => new Set<E>.from(this); |