bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: valueForKey: on an NSArray


From: Jonathan B. Leffert
Subject: Re: valueForKey: on an NSArray
Date: Fri, 5 Apr 2002 12:53:31 -0800
User-agent: Mutt/1.2i

On Fri, Apr 05, 2002 at 09:37:33AM +0100, Richard Frith-Macdonald wrote:

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

Sorry about the vagueness.  I did mean "throws an exception and I think it
shouldn't."  It was late and I had no business near a computer :-).

> 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.

AFAIK, the behavior is correct, I was mistaking EOF/GDL behavior for
Foundation behavior.

Jonathan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]