Little bug in tuples traits.

Pupeno pupeno at pupeno.com
Sat Oct 23 21:54:20 PDT 2004


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