12-23-2016, 10:08 AM
Hi, I found a crash "seg fault"
I report it here before creating one more issue as I don't want to be annoying
when you try to use and initialize an object as static, it will crash at compile
the only way I found to initialize omy (only 1 times) was to pass a fresh object to the constructor :
I report it here before creating one more issue as I don't want to be annoying
when you try to use and initialize an object as static, it will crash at compile
Code:
public void extern object::test(){
bug me();
}
class myClass{void myClass(){}}
class bug{
static myClass omy=new myClass();
void bug(){}
}
the only way I found to initialize omy (only 1 times) was to pass a fresh object to the constructor :
Code:
public void extern object::test(){
myClass again();
bug me(again);
}
class myClass{void myClass(){}}
class bug{
static myClass omy;
void bug(){}
void bug(myClass omy){
this.omy=omy
}
}
Love from la France