Fix for KT-14201: UnsupportedOperationException: Don't know how to generate outer expression for anonymous object with invoke and non-trivial closure

#KT-14201 Fixed
This commit is contained in:
Michael Bogdanov
2016-10-25 11:05:24 +03:00
parent e41cddd870
commit 1e59161e8f
5 changed files with 76 additions and 6 deletions
@@ -10006,6 +10006,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("kt14201.kt")
public void testKt14201() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/operatorConventions/kt14201.kt");
doTest(fileName);
}
@TestMetadata("kt14201_2.kt")
public void testKt14201_2() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/operatorConventions/kt14201_2.kt");
doTest(fileName);
}
@TestMetadata("kt4152.kt")
public void testKt4152() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/operatorConventions/kt4152.kt");