Minor fixes for unknown selectors in DO

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2998 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-09-30 13:01:54 +00:00
parent 0614a58401
commit 4dae5226e8
2 changed files with 4 additions and 2 deletions

View file

@ -1151,6 +1151,9 @@ static int messages_received_count;
#endif
if (type == 0 || *type == '\0') {
type = [[object methodSignatureForSelector: sel] methodType];
if (type) {
sel_register_typed_name(sel_get_name(sel), type);
}
}
NSParameterAssert(type);
NSParameterAssert(*type);