Question about comparing...

nicolas cellier ncellier at ifrance.com
Sun Mar 26 19:32:30 UTC 2006


Le Dimanche 26 Mars 2006 20:47, Adrian Lienhard a écrit :
> On Mar 26, 2006, at 20:30 , Stéphane Ducasse wrote:
> > Hi
> >
> > I was wondering wether it was me
> > but I tried
> >
> >  Date today = 'nil'
> >
> > and I get a DNU. I thought that = should be more robust and that
> > we should not expect to have both objects of the same class.
>
> yes, I would expect the same. In a 3.9a 7020 image this works
> correctly. Which image version do you have?
>
> Adrian

I profit from this one to remind you that

1 i = nil

still fail in a 3.9a 7020 image, and this is related to

http://bugs.impara.de/view.php?id=2688

Complex should check for #isNumberExtension before sending 
#adaptToComplex:andSend:, or otherwise trap the DNU...

Nicolas




More information about the Squeak-dev mailing list