KT-4173: Can't pass a non-trivial closure to a super-call for object expression

#KT-4173 Fixed
This commit is contained in:
Mikhael Bogdanov
2013-11-08 13:58:58 +04:00
parent 2c75bdacc5
commit df03eb5330
5 changed files with 151 additions and 22 deletions
@@ -4200,6 +4200,21 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/super/kt3538.kt");
}
@TestMetadata("kt4173.kt")
public void testKt4173() throws Exception {
doTest("compiler/testData/codegen/box/super/kt4173.kt");
}
@TestMetadata("kt4173_2.kt")
public void testKt4173_2() throws Exception {
doTest("compiler/testData/codegen/box/super/kt4173_2.kt");
}
@TestMetadata("kt4173_3.kt")
public void testKt4173_3() throws Exception {
doTest("compiler/testData/codegen/box/super/kt4173_3.kt");
}
@TestMetadata("multipleSuperTraits.kt")
public void testMultipleSuperTraits() throws Exception {
doTest("compiler/testData/codegen/box/super/multipleSuperTraits.kt");