Gwenael Casaccio <[EMAIL PROTECTED]> writes:

> 
> On 10/21/08 4:54 PM, Marcus Denker wrote:
> >
> > On 21.10.2008, at 16:45, David Pennell wrote:
> >
> >> shouldn't that be #refersToLiteral ?
> >>
> >
> > Yes! Sorry for writing the wrong bug-report...
> >
> > #refersToLiteral:
> >
> 
> I'll fix the bug report ;) and then I resent a new SLICE
> 

OK, i see this one is testing using identity == which is fast,
works well only for Symbols, but should cover 99.9% of its use.
For the fun of it, it could even work with:

  (Float class>>#initialize) refersToLiteral: Float pi.

which surprisingly is false until you execute (Float initialize).

My aim was just to check for relationship with
http://bugs.squeak.org/view.php?id=6797 , but it does not seem related.

Cheers


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to