Index: runtime/lib/errors_patch.dart |
diff --git a/runtime/lib/errors_patch.dart b/runtime/lib/errors_patch.dart |
index 1058a7a8e7026e8df3bf7f923651fb06d0458736..37ab0659319d95bb1d85918a5b805a661768aacb 100644 |
--- a/runtime/lib/errors_patch.dart |
+++ b/runtime/lib/errors_patch.dart |
@@ -25,7 +25,7 @@ patch class NoSuchMethodError { |
if (numPositionalArguments == 0) { |
positionalArguments = []; |
} else { |
- positionalArguments = arguments.getRange(0, numPositionalArguments); |
+ positionalArguments = arguments.sublist(0, numPositionalArguments); |
} |
Map<String, dynamic> namedArguments = new Map<String, dynamic>(); |
for (int i = 0; i < numNamedArguments; i++) { |