On Friday, April 5, 2002, at 08:59 AM, Jonathan B. Leffert wrote:

> Given an NSArray *a, the following explodes
>
> [a valueForKey: @"foo"];

I'm not sure what you mean by 'explodes', but the correct behavior here 
is for
an exception to be raised.

In GNUstep this is an NSGenericException.  I have also tried it under 
MacOS-X,
where the (undocumented) NSUnknownKeyException is raised.

The code for this was updated relatively recently, so if you are getting 
a crash
or something odd instead of the correct exception, please make sure you 
have
an up to date copy of GNUstep installed.


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

Reply via email to