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

Unified Diff: runtime/lib/invocation_mirror_patch.dart

Issue 11612002: Invoke noSuchMethod instead of immediately throwing NoSuchMethodError when (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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 | « no previous file | runtime/vm/code_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/invocation_mirror_patch.dart
===================================================================
--- runtime/lib/invocation_mirror_patch.dart (revision 16218)
+++ runtime/lib/invocation_mirror_patch.dart (working copy)
@@ -64,28 +64,28 @@
}
bool get isMethod {
- if (_memberName == null) {
+ if (_type == null) {
_setMemberNameAndType();
}
return _type == _METHOD;
}
bool get isAccessor {
- if (_memberName == null) {
+ if (_type == null) {
_setMemberNameAndType();
}
return _type != _METHOD;
}
bool get isGetter {
- if (_memberName == null) {
+ if (_type == null) {
_setMemberNameAndType();
}
return _type == _GETTER;
}
bool get isSetter {
- if (_memberName == null) {
+ if (_type == null) {
_setMemberNameAndType();
}
return _type == _SETTER;
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698