Use precalculated intersection type in JVM backend

also test all backends for the problem in the issue
#KT-37715 fixed
This commit is contained in:
Ilya Chernikov
2020-04-27 18:40:19 +02:00
parent 45ac81c585
commit 4a0d1b0b9d
8 changed files with 45 additions and 2 deletions
@@ -30384,6 +30384,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/vararg/kt1978.kt");
}
@TestMetadata("kt37715.kt")
public void testKt37715() throws Exception {
runTest("compiler/testData/codegen/box/vararg/kt37715.kt");
}
@TestMetadata("kt37779.kt")
public void testKt37779() throws Exception {
runTest("compiler/testData/codegen/box/vararg/kt37779.kt");