Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Unified Diff: runtime/lib/invocation_mirror_patch.dart

Issue 139663003: Fix 16099: Invocation's positionalArguments contains an immutable array. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/array.dart ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/invocation_mirror_patch.dart
===================================================================
--- runtime/lib/invocation_mirror_patch.dart (revision 31843)
+++ runtime/lib/invocation_mirror_patch.dart (working copy)
@@ -67,7 +67,8 @@
return _positionalArguments = const [];
}
// Exclude receiver.
- _positionalArguments = _arguments.sublist(1, numPositionalArguments);
+ _positionalArguments =
+ new _ImmutableList._from(_arguments, 1, numPositionalArguments - 1);
}
return _positionalArguments;
}
« no previous file with comments | « runtime/lib/array.dart ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698