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

Unified Diff: runtime/lib/mirrors_impl.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « runtime/lib/math_patch.dart ('k') | runtime/lib/regexp.cc » ('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 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;
}
« no previous file with comments | « runtime/lib/math_patch.dart ('k') | runtime/lib/regexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698