ooc-dev team mailing list archive
-
ooc-dev team
-
Mailing list archive
-
Message #00264
Problem on code arfer update rock
I've just updated rock and I've found a problem:
This now generates incorrect code, because it calls the init methd before
creating the string literal.
*Test := _Test new()*
*
*
*_Test:class {*
* init:func {*
* println("text class initialized")*
* }*
*}*
*
*
This is the generated code:
test___Test___load__();
test__Test = test___Test_new();
__strLit1 = (void*) lang_String__makeStringLiteral("text class
initialized", 22);
Damian.