Little bug in tuples traits.

Lee Salzman lsalzman1 at cox.net
Sun Oct 24 05:02:11 PDT 2004


Simple answer: you're not supposed to print traits yet.

Lee

On Sun, Oct 24, 2004 at 01:54:20AM -0300, Pupeno wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello Slates,
> I've come accross a little bug while evaluating [1] some objects.
> Basically, the problem is if you try to evaluate Tuple traits. Tuple works, 
> but Tuple traits doesn't:
> ./sdlvm sdl.image
> Slate: Growing heap to 4720584 bytes.
> Hi, there!
> Slate 1> Tuple.
> {"Tuple"}
> Slate 2> Tuple traits.
> {"Tuple"The following condition was signaled:
> The method #actualSize was not found for the following arguments:
> The following condition was signaled:
> The method #actualSize was not found for the following arguments:
> The following condition was signaled:
> and it goes on and on and on and on, forver.
> If you try to print Vector, which is derived from Tuple, so, it delegates 
> Tuple traits (is this right ?), the same happens, and for Point2D, it even 
> segfaulted.
> I believe this problem happens because #actualSize is a slot of Tuple, not 
> Tuple traits, and there are some methods that match Tuple traits for 
> dispatching and made use of #actualSize. I bet the printing founctions use 
> some of those methods.
> I couldn't issolate this problem, so, I'm far from being able to solve it, but 
> I hope this gives you good lead. And can you please tell me where I was right 
> and where I was wrong in my reasoning and how could I have go on to solve 
> it ?
> Thanks.
> - -- 
> Pupeno: pupeno at pupeno.com - http://www.pupeno.com
> [1] Is this the right word ?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
> 
> iD8DBQFBezV/fW48a9PWGkURAoT2AJ445gtFTwirabMQ2MXL2Ly6e8QUPACeJpmU
> f2HEiyoe6Pt2DXjkwRtDm8E=
> =vH7K
> -----END PGP SIGNATURE-----
> 




More information about the Slate mailing list