psi2ir: Handle missing "then" branches as empty blocks

#KT-27933
This commit is contained in:
Dmitry Petrov
2018-11-07 11:17:40 +03:00
parent bd1491ac8a
commit 51002ee620
4 changed files with 47 additions and 1 deletions
@@ -947,6 +947,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
runTest("compiler/testData/ir/irText/expressions/kt23030.kt");
}
@TestMetadata("kt27933.kt")
public void testKt27933() throws Exception {
runTest("compiler/testData/ir/irText/expressions/kt27933.kt");
}
@TestMetadata("kt28006.kt")
public void testKt28006() throws Exception {
runTest("compiler/testData/ir/irText/expressions/kt28006.kt");