Index: sdk/lib/_internal/compiler/implementation/util/link.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/util/link.dart b/sdk/lib/_internal/compiler/implementation/util/link.dart |
index 9cc81cc997731c679efa5e73808dc67b06005754..87caf3fd7ca816ef42f5e1ff4ba0a11c75e22505 100644 |
--- a/sdk/lib/_internal/compiler/implementation/util/link.dart |
+++ b/sdk/lib/_internal/compiler/implementation/util/link.dart |
@@ -38,7 +38,7 @@ class Link<T> extends Iterable<T> { |
void printOn(StringBuffer buffer, [separatedBy]) { |
} |
- List toList() => new List<T>.fixedLength(0); |
+ List toList({ bool growable: false }) => growable ? <T>[] : new List<T>(0); |
bool get isEmpty => true; |