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; |