Index: runtime/lib/growable_array.dart |
diff --git a/runtime/lib/growable_array.dart b/runtime/lib/growable_array.dart |
index 27699e2efe384a2f6f9bee51e1844c91b6acabbc..e1a858364b035e1c726ecd26c9da234cfeb3f1be 100644 |
--- a/runtime/lib/growable_array.dart |
+++ b/runtime/lib/growable_array.dart |
@@ -320,8 +320,8 @@ class _GrowableObjectArray<T> implements List<T> { |
return new ListIterator<T>(this); |
} |
- List<T> toList() { |
- return new List<T>.from(this); |
+ List<T> toList({ bool growable: false }) { |
+ return new List<T>.from(this, growable: growable); |
} |
Set<T> toSet() { |