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:
Pavel Talanov
2011-11-15 21:05:54 +04:00
parent a120125e5a
commit 17e41e627d
9 changed files with 74 additions and 8 deletions
@@ -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;
}
}