| Index: dart/runtime/lib/invocation_mirror_patch.dart
|
| diff --git a/dart/runtime/lib/invocation_mirror_patch.dart b/dart/runtime/lib/invocation_mirror_patch.dart
|
| index 0e2ebae71dca4ccb1166dc04cf6d18186606186c..cce75f433e11077532f8779e0a7904a281f0f74f 100644
|
| --- a/dart/runtime/lib/invocation_mirror_patch.dart
|
| +++ b/dart/runtime/lib/invocation_mirror_patch.dart
|
| @@ -126,8 +126,11 @@ class _InvocationMirror implements Invocation {
|
| List arguments)
|
| native "InvocationMirror_invoke";
|
|
|
| - invokeOn(Object receiver) {
|
| + _invokeOn(Object receiver) {
|
| return _invoke(receiver, _functionName, _argumentsDescriptor, _arguments);
|
| }
|
| -}
|
|
|
| + // TODO(ahe): This is a hack. See _LocalInstanceMirrorImpl.delegate
|
| + // in mirrors_impl.dart
|
| + static final _invokeOnClosure = (x, y) => y._invokeOn(x);
|
| +}
|
|
|