Index: runtime/lib/mirrors_impl.dart |
diff --git a/runtime/lib/mirrors_impl.dart b/runtime/lib/mirrors_impl.dart |
index 8b57657778c359d08d3dddddc9a4564ee97e0d09..6e4f76162d0896e04adc62149b9e6df2de0d1b99 100644 |
--- a/runtime/lib/mirrors_impl.dart |
+++ b/runtime/lib/mirrors_impl.dart |
@@ -156,8 +156,8 @@ abstract class _LocalObjectMirrorImpl extends _LocalVMObjectMirrorImpl |
try { |
completer.complete( |
_invoke(this, memberName, positionalArguments)); |
- } catch (exception) { |
- completer.completeException(exception); |
+ } catch (exception, s) { |
+ completer.completeError(exception, s); |
} |
return completer.future; |
} |
@@ -167,8 +167,8 @@ abstract class _LocalObjectMirrorImpl extends _LocalVMObjectMirrorImpl |
Completer<InstanceMirror> completer = new Completer<InstanceMirror>(); |
try { |
completer.complete(_getField(this, fieldName)); |
- } catch (exception) { |
- completer.completeException(exception); |
+ } catch (exception, s) { |
+ completer.completeError(exception, s); |
} |
return completer.future; |
} |
@@ -180,8 +180,8 @@ abstract class _LocalObjectMirrorImpl extends _LocalVMObjectMirrorImpl |
Completer<InstanceMirror> completer = new Completer<InstanceMirror>(); |
try { |
completer.complete(_setField(this, fieldName, arg)); |
- } catch (exception) { |
- completer.completeException(exception); |
+ } catch (exception, s) { |
+ completer.completeError(exception, s); |
} |
return completer.future; |
} |