Yes, I tried to debug it, but I can’t step into basicNew, of course, which already returns an instance of the wrong class.

Joachim Geidel


Am 23.05.10 15:46 schrieb Igor Stasenko:

On 23 May 2010 16:38, Joachim Geidel <joachim.geidel@onlinehome.de> wrote: > | newClass method | > newClass := Rectangle clone. > newClass > ��superclass: Rectangle; > ��organization: nil; > ��methodDict: MethodDictionary new; > ��setName: #MyRectangle. > newClass new class name. "--> #Rectangle" > newClass new class == newClass. "--> false" ^^^ That's really strange. Have you tried to debug it?