Index: runtime/lib/mirrors_impl.dart |
diff --git a/runtime/lib/mirrors_impl.dart b/runtime/lib/mirrors_impl.dart |
index 6e4f76162d0896e04adc62149b9e6df2de0d1b99..7ece1602aa0b2609efe8afb5974648e5d83cbd1d 100644 |
--- a/runtime/lib/mirrors_impl.dart |
+++ b/runtime/lib/mirrors_impl.dart |
@@ -320,7 +320,7 @@ class _LocalClosureMirrorImpl extends _LocalInstanceMirrorImpl |
completer.complete( |
_apply(this, positionalArguments)); |
} catch (exception) { |
- completer.completeException(exception); |
+ completer.completeError(exception); |
} |
return completer.future; |
} |
@@ -518,7 +518,7 @@ class _LocalClassMirrorImpl extends _LocalObjectMirrorImpl |
completer.complete( |
_invokeConstructor(this, constructorName, positionalArguments)); |
} catch (exception) { |
- completer.completeException(exception); |
+ completer.completeError(exception); |
} |
return completer.future; |
} |
@@ -952,7 +952,7 @@ class _Mirrors { |
try { |
completer.complete(currentMirrorSystem()); |
} catch (exception) { |
- completer.completeException(exception); |
+ completer.completeError(exception); |
} |
} else { |
// Make a remote mirror system |