[FE 1.0] Correctly set USED_AS_EXPRESSION for unreachable catch clauses

^KT-48806 Fixed
This commit is contained in:
Dmitriy Novozhilov
2021-09-17 13:40:14 +03:00
committed by teamcityserver
parent 9ca8d39240
commit bfeb9c219d
10 changed files with 197 additions and 1 deletions
@@ -1133,6 +1133,11 @@ public class KlibTextTestCaseGenerated extends AbstractKlibTextTestCase {
runTest("compiler/testData/ir/irText/expressions/kt48708.kt");
}
@TestMetadata("kt48806.kt")
public void testKt48806() throws Exception {
runTest("compiler/testData/ir/irText/expressions/kt48806.kt");
}
@TestMetadata("lambdaInCAO.kt")
public void testLambdaInCAO() throws Exception {
runTest("compiler/testData/ir/irText/expressions/lambdaInCAO.kt");