mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
When trying to find the types of a method, lookup the untyped slot.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36056 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6f84df52c2
commit
4d097f3d9b
1 changed files with 1 additions and 2 deletions
|
@ -1407,8 +1407,7 @@ GSObjCGetVal(NSObject *self, const char *key, SEL sel,
|
|||
|
||||
cls = [self class];
|
||||
type_slot = objc_get_slot(cls, @selector(retain));
|
||||
typed = GSSelectorFromNameAndTypes(sel_getName(sel),
|
||||
type_slot->types);
|
||||
typed = GSSelectorFromNameAndTypes(sel_getName(sel), NULL);
|
||||
slot = objc_get_slot(cls, typed);
|
||||
if (strcmp(slot->types, type_slot->types) == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue