I think this patch is correct.  This was my first contact
with the ObjC runtime and I remember that I found the code
counter intuitive.  But I probably got confused by
the the conversion from 
        receiver -> metaclass.
and got distracted by other problems.

Wim Oudshoorn.


Adam Fedor <[EMAIL PROTECTED]> writes:
> I'm wondering if this fix will create some new problem:
> 
> diff -c -r1.15 GSFFCallInvocation.m
> *** GSFFCallInvocation.m        17 Dec 2001 14:31:42 -0000      1.15
> --- GSFFCallInvocation.m        2 Jan 2002 18:07:28 -0000
> ***************
> *** 215,221 ****
>              return class_get_instance_method (object_get_class
>                                                  (receiver), sel);
>            }
> !       else if (object_is_meta_class (receiver))
>            {
>              return class_get_class_method (object_get_meta_class
>                                               (receiver), sel);
> --- 215,221 ----
>              return class_get_instance_method (object_get_class
>                                                  (receiver), sel);
>            }
> !       else if (object_is_class (receiver))
>            {
>              return class_get_class_method (object_get_meta_class
>                                               (receiver), sel);
>
> 
> -----------------------------------------------------------------------------------



_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to