Hi!

This stuff, cleaning up unused Code fails in Pharo, but runs 
successfully in Squeak 3.10.

(Association allInstances select:
        [:x | ((x value isKindOf: Behavior) and: ['AnOb*' match: x value name]) 
or:
        ['AnOb*' match: x value class name]])
        collect: [:x | x key -> x value allInstances size]

Same stuff, changed a bit to "AnObj*", runs. Why?

(Association allInstances select:
        [:x | ((x value isKindOf: Behavior) and: ['AnObj*' match: x value 
name]) or:
        ['AnObj*' match: x value class name]])
        collect: [:x | x key -> x value allInstances size]

regards, Guido Stepken


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

Reply via email to