[FIR2IR] Don't generate excess IR block from FirSingleExpressionBlock
This is needed to unify K1 and K2 behavior. #KT-65064 #KT-63781 Fixed
This commit is contained in:
+15
@@ -1349,6 +1349,21 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
|
||||
runTest("compiler/testData/ir/irText/expressions/ifElseIf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ifWithArrayOperation.kt")
|
||||
public void testIfWithArrayOperation() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/ifWithArrayOperation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ifWithAssignment.kt")
|
||||
public void testIfWithAssignment() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/ifWithAssignment.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ifWithLoop.kt")
|
||||
public void testIfWithLoop() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/ifWithLoop.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("implicitCastInReturnFromConstructor.kt")
|
||||
public void testImplicitCastInReturnFromConstructor() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.kt");
|
||||
|
||||
Reference in New Issue
Block a user