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

Unified Diff: runtime/lib/mirrors_impl.dart

Issue 11827017: Update remaining usages of Completer.completeException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 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 | « pkg/webdriver/lib/webdriver.dart ('k') | samples/dartcombat/state.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « pkg/webdriver/lib/webdriver.dart ('k') | samples/dartcombat/state.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698