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

Unified Diff: runtime/lib/mirrors_impl.dart

Issue 19819003: Make reflective invocations raise NoSuchMethodErrors in the cases where non-reflective invocations … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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/mirrors.cc ('k') | runtime/tests/vm/dart/isolate_mirror_local_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/mirrors_impl.dart
===================================================================
--- runtime/lib/mirrors_impl.dart (revision 25386)
+++ runtime/lib/mirrors_impl.dart (working copy)
@@ -212,7 +212,7 @@
_n(memberName),
_unwarpAsyncPositionals(positionalArguments));
return new Future.value(reflect(result));
- } on MirroredError catch(e) {
+ } catch(e) {
return new Future.error(e);
}
}
@@ -222,7 +222,7 @@
var result = this._invokeGetter(_reflectee,
_n(memberName));
return new Future.value(reflect(result));
- } on MirroredError catch(e) {
+ } catch(e) {
return new Future.error(e);
}
}
@@ -243,7 +243,7 @@
_n(memberName),
unwrappedValue);
return new Future.value(reflect(result));
- } on MirroredError catch(e) {
+ } catch(e) {
return new Future.error(e);
}
}
@@ -574,7 +574,7 @@
_n(constructorName),
_unwarpAsyncPositionals(positionalArguments));
return new Future.value(reflect(result));
- } on MirroredError catch(e) {
+ } catch(e) {
return new Future.error(e);
}
}
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/tests/vm/dart/isolate_mirror_local_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698