Index: sdk/lib/io/options.dart |
diff --git a/sdk/lib/io/options.dart b/sdk/lib/io/options.dart |
index cf42b35f09e08433a3f43e867f0b475854fde168..91a8e5841e6e46d1743d3608919b00a9e19f6e4f 100644 |
--- a/sdk/lib/io/options.dart |
+++ b/sdk/lib/io/options.dart |
@@ -47,7 +47,7 @@ class _OptionsImpl implements Options { |
List<String> get arguments { |
if (_arguments == null) { |
// On first access make a copy of the native arguments. |
- _arguments = _nativeArguments.getRange(0, _nativeArguments.length); |
+ _arguments = _nativeArguments.sublist(0, _nativeArguments.length); |
} |
return _arguments; |
} |