KT-13043: fix translation of super call from secondary constructor when base constructor has default arguments

This commit is contained in:
Alexey Andreev
2016-07-08 20:06:08 +03:00
parent b00b0caa9b
commit c767b3d0ac
7 changed files with 70 additions and 7 deletions
@@ -71,4 +71,16 @@ public class DefaultArgumentsTest extends SingleFileTranslationTest {
public void testDefaultArgumentsInFunctionWithExpressionAsBody() throws Exception {
checkFooBoxIsOk();
}
public void testPrimarySuperConstructor() throws Exception {
checkFooBoxIsOk();
}
public void testSecondarySuperConstructor() throws Exception {
checkFooBoxIsOk();
}
public void testEnumSuperConstructor() throws Exception {
checkFooBoxIsOk();
}
}