Found and solved a problem which caused only one ancestor's constructor to be called. Added "super_init" method generation to InitializerVisitor. Worked on KotlinJsLib to solve this issue. This solution should evolve in the future.
This commit is contained in:
@@ -262,4 +262,10 @@ public class AstUtil {
|
||||
result.setQualifier(new JsThisRef());
|
||||
return result;
|
||||
}
|
||||
|
||||
public static JsBlock newBlock(List<JsStatement> statements) {
|
||||
JsBlock result = new JsBlock();
|
||||
result.setStatements(statements);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user