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

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
Index: runtime/lib/mirrors_impl.dart
===================================================================
--- runtime/lib/mirrors_impl.dart (revision 25346)
+++ runtime/lib/mirrors_impl.dart (working copy)
@@ -206,7 +206,7 @@
_n(memberName),
_unwarpAsyncPositionals(positionalArguments));
return new Future.value(reflect(result));
- } on MirroredError catch(e) {
+ } catch(e) {
return new Future.error(e);
}
}
@@ -216,7 +216,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);
}
}
@@ -237,7 +237,7 @@
_n(memberName),
unwrappedValue);
return new Future.value(reflect(result));
- } on MirroredError catch(e) {
+ } catch(e) {
return new Future.error(e);
}
}
@@ -563,7 +563,7 @@
_n(constructorName),
_unwarpAsyncPositionals(positionalArguments));
return new Future.value(reflect(result));
- } on MirroredError catch(e) {
+ } catch(e) {
return new Future.error(e);
}
}

Powered by Google App Engine
This is Rietveld 408576698