Index: pkg/pathos/lib/path.dart |
diff --git a/pkg/pathos/lib/path.dart b/pkg/pathos/lib/path.dart |
index 2b6fe471ee181dec6a5d49b34ba4306e3c737ffe..d60ac76f8710599c3fa83c4ecd04065e8dda4a5f 100644 |
--- a/pkg/pathos/lib/path.dart |
+++ b/pkg/pathos/lib/path.dart |
@@ -730,5 +730,6 @@ class _ParsedPath { |
} |
_ParsedPath clone() => new _ParsedPath( |
- style, root, new List.from(parts), new List.from(separators)); |
+ style, root, new List.from(parts, growable: true), |
+ new List.from(separators, growable: true)); |
} |