Open MikhailMalyutin opened 6 years ago
@FroMage apparently I don't have permission to label issues ;-)
To be clear, the problem here is with constructor delegation in nested classes. The workaround is to not use constructor delegation, like this:
class A(){
shared class B{
shared Integer i;
shared new(Integer i){
this.i = i;
}
shared new custom(Integer i, Integer j) {
this.i = i+j;
}
}
}
Next code:
produce next error: