If selector types are not available, ask the NSDistantObject to get them.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2997 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-09-30 12:34:30 +00:00
parent a8bc29436b
commit 0614a58401

View file

@ -1139,8 +1139,6 @@ static int messages_received_count;
NSParameterAssert (is_valid);
[[self retain] autorelease];
op = [self newSendingRequestRmc];
seq_num = [op sequenceNumber];
/* get the method types from the selector */
#if NeXT_runtime
@ -1151,9 +1149,15 @@ static int messages_received_count;
#else
type = sel_get_type(sel);
#endif
if (type == 0 || *type == '\0') {
type = [[object methodSignatureForSelector: sel] methodType];
}
NSParameterAssert(type);
NSParameterAssert(*type);
op = [self newSendingRequestRmc];
seq_num = [op sequenceNumber];
/* Send the types that we're using, so that the performer knows
exactly what qualifiers we're using.
If all selectors included qualifiers, and if I could make