[Pharo-project] about traits tests
Hi adrian could you explain the logic behind this code in the traits tests self c6: (self createClassNamed: #C6 superclass: ProtoObject uses: { }). ProtoObject removeSubclass: self c6. self c6 superclass: nil. Especially the ProtoObject tx Stef
Norbert added this to properly clean up. The reason is that adding a subclass to ProtoObject adds this class to its subclasses array. see http://code.google.com/p/pharo/issues/detail?id=13 Adrian On Oct 6, 2008, at 21:21 , Stéphane Ducasse wrote:
Hi adrian
could you explain the logic behind this code in the traits tests
self c6: (self createClassNamed: #C6 superclass: ProtoObject uses: { }). ProtoObject removeSubclass: self c6. self c6 superclass: nil.
Especially the ProtoObject
tx
Stef
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (2)
-
Adrian Lienhard -
Stéphane Ducasse