Fix KT-24804 PSI2IR Crashes on loop with two labels

This commit is contained in:
Dmitry Petrov
2018-12-06 17:03:01 +03:00
parent 6f97db81c8
commit 0561cb6c0d
5 changed files with 90 additions and 20 deletions
@@ -947,6 +947,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
runTest("compiler/testData/ir/irText/expressions/kt23030.kt");
}
@TestMetadata("kt24804.kt")
public void testKt24804() throws Exception {
runTest("compiler/testData/ir/irText/expressions/kt24804.kt");
}
@TestMetadata("kt27933.kt")
public void testKt27933() throws Exception {
runTest("compiler/testData/ir/irText/expressions/kt27933.kt");