FIR2IR: never generate empty when #KT-55459 Fixed
In details, this commit changes the following: - it converts FIR when without branches to empty IR block without when - it doesn't drop empty else branches in when anymore
This commit is contained in:
committed by
Space Team
parent
b026678a34
commit
ae4b8be16b
@@ -1905,6 +1905,11 @@ public class KlibTextTestCaseGenerated extends AbstractKlibTextTestCase {
|
||||
runTest("compiler/testData/ir/irText/firProblems/deprecated.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("emptyWhen.kt")
|
||||
public void testEmptyWhen() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/firProblems/emptyWhen.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Fir2IrClassifierStorage.kt")
|
||||
public void testFir2IrClassifierStorage() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/firProblems/Fir2IrClassifierStorage.kt");
|
||||
|
||||
Reference in New Issue
Block a user