[FIR] Fix NPE on empty throws

^KT-60325 fixed
This commit is contained in:
Egor Kulikov
2023-09-21 18:37:35 +02:00
committed by Space Team
parent 3894e719b3
commit c3010dd599
7 changed files with 35 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
// FIR_IDENTICAL
fun someFun(i:Int) {
val x = i ?: throw<!SYNTAX!><!>
}