Index: runtime/lib/invocation_mirror_patch.dart |
diff --git a/runtime/lib/invocation_mirror_patch.dart b/runtime/lib/invocation_mirror_patch.dart |
index 6a55ca2dff7bb0fe2a62c493764795493aab633a..c498eac3295201549688ffe324c366754e2e59c7 100644 |
--- a/runtime/lib/invocation_mirror_patch.dart |
+++ b/runtime/lib/invocation_mirror_patch.dart |
@@ -56,9 +56,9 @@ class _InvocationMirror implements InvocationMirror { |
List get positionalArguments { |
if (_positionalArguments == null) { |
+ int numPositionalArguments = _argumentsDescriptor[1]; |
// Exclude receiver. |
- int numPositionalArguments = _argumentsDescriptor[1] - 1; |
- _positionalArguments = _arguments.getRange(1, numPositionalArguments); |
+ _positionalArguments = _arguments.sublist(1, numPositionalArguments); |
} |
return _positionalArguments; |
} |