[FIR] Transform when conditions with boolean expected type
#KT-42130 Fixed
This commit is contained in:
Generated
+5
@@ -11319,6 +11319,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
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");
|
||||
|
||||
Generated
+5
@@ -11319,6 +11319,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
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");
|
||||
|
||||
+5
@@ -11384,6 +11384,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
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");
|
||||
|
||||
Reference in New Issue
Block a user