> I'm not sure what the original problem is, but just in case it's not
> obvious, the code would fail (as Nicola notes below) because it would
> raise an exception and crash as it iterates past the Object class -
> NSLog() uses the -description method to log the class 'cl', but Object
> does not respond ot that method. I don't know where Object would
> appear in the iterated list (I'd have expected it to be right at one
> end).
> 
> Perhaps we should add a category of Object in GNUstep-base, to implement
> -description for it?

interesting idea :-) 

technically we also need to add respondsToSelector:

I'm not sure what's best - maybe being able to remove Object and company
from libobjc would be the real solution :-)


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

Reply via email to