[FIR] Transform when conditions with boolean expected type

#KT-42130 Fixed
This commit is contained in:
Dmitriy Novozhilov
2020-09-24 11:35:07 +03:00
parent 68a47d6efb
commit 0d29d6d361
10 changed files with 71 additions and 3 deletions
@@ -14574,6 +14574,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/inference/kt39824.kt");
}
@TestMetadata("kt42130.kt")
public void testKt42130() throws Exception {
runTest("compiler/testData/codegen/box/inference/kt42130.kt");
}
@TestMetadata("lambdasWithExtensionFunctionType.kt")
public void testLambdasWithExtensionFunctionType() throws Exception {
runTest("compiler/testData/codegen/box/inference/lambdasWithExtensionFunctionType.kt");