March 21, 2011
11:49 a.m.
On 21 March 2011 11:29, Tudor Girba <tudor.girba@gmail.com> wrote:
Thanks, Toon!
I changed the code to explicitly set the format, and it seems to fix the problem:
    cls := Class new superclass: MooseElement;         setFormat: MooseElement format;         yourself.     cls compileSilently: 'mooseName  ^ 1/0'.     element := cls new.
Is this correct?
Yes, you should pay attention to have correct format. But of course VM could also be more cautios and verify if your class are well formed before creating an instance of it..
Cheers, Doru
-- Best regards, Igor Stasenko AKA sig.