Index: runtime/lib/array_patch.dart |
diff --git a/runtime/lib/array_patch.dart b/runtime/lib/array_patch.dart |
index b1e5398127e89dac7626a4171c507d640f128828..463b0b77927ee13ad0f4ae8922124838f728105c 100644 |
--- a/runtime/lib/array_patch.dart |
+++ b/runtime/lib/array_patch.dart |
@@ -47,10 +47,6 @@ class List<E> { |
list.add(e); |
} |
if (growable) return list; |
- if (list.length == 0) { |
- // Avoid getting an immutable list from makeListFixedLength. |
- return new _List<E>(0); |
- } |
return makeListFixedLength(list); |
} |