Use separate constraint position during call substitution as part of inferring postponed type variables

^KT-47052 Fixed
^KT-47082 Fixed
This commit is contained in:
Victor Petukhov
2021-06-02 12:16:22 +03:00
parent 7a2ecc58d4
commit 124a14c8df
17 changed files with 314 additions and 81 deletions
@@ -17665,6 +17665,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/inference/builderInference/kt41164.kt");
}
@Test
@TestMetadata("kt47052.kt")
public void testKt47052() throws Exception {
runTest("compiler/testData/codegen/box/inference/builderInference/kt47052.kt");
}
@Test
@TestMetadata("labaledCall.kt")
public void testLabaledCall() throws Exception {
@@ -1400,6 +1400,12 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
runTest("compiler/testData/ir/irText/expressions/kt45022.kt");
}
@Test
@TestMetadata("kt47082.kt")
public void testKt47082() throws Exception {
runTest("compiler/testData/ir/irText/expressions/kt47082.kt");
}
@Test
@TestMetadata("lambdaInCAO.kt")
public void testLambdaInCAO() throws Exception {