[BUG] Bag traits.

Brian T. Rice water at tunes.org
Tue Aug 3 10:40:54 PDT 2004


That has nothing to do with the VM; it is a known problem of delegation.

Printing traits objects is a notorious problem that we've discussed before. 
The method on that traits object is designed to print objects which are 
actual Bags, not the traits object holding their shared methods. 
#keysAndValuesDo: expects an internal Dictionary. Bag traits has no such 
dictionary, as it has no contents, so it fails.

Got it?

Paul Dufresne <dufrp at hotmail.com> said:

> Here what I done and got:
> ===
> C:\slate-current>vm little.image
> Slate: Growing heap to 4701576 bytes.
> Hi, there!
> Slate 1> Bag traits.
> {"Bag"The following condition was signaled:
> The method #keysAndValuesDo: was not found for the following arguments:
> The following condition was signaled:
> The method #keysAndValuesDo: was not found for the following arguments:
> The following condition was signaled:
> The method #keysAndValuesDo: was not found for the following arguments:
> The following condition was signaled:
> The method #keysAndValuesDo: was not found for the following arguments:
> ...
> ===
> 
> vm.exe is my usual DEV-C++ generated withslate.current.tar.gz.
> 
> --Paul
> 
> _________________________________________________________________
> Balayez vos courriels entrants et sortants et les pièces jointes et 
> contribuez à éliminer les virus destructeurs susceptibles d’y être 
intégrés. 
> http://join.msn.com/?pgmarket=fr-ca&page=features/virus Commencez dès 
> maintenant à profiter de tous les avantages de MSN Premium et obtenez les 
> deux premiers mois GRATUITS*.
> 



-- 






More information about the Slate mailing list