[FIR] Use Throwable as expected type for throw expressions

#KT-58533 Fixed
This commit is contained in:
Kirill Rakhman
2023-05-22 10:59:56 +02:00
committed by Space Team
parent 55632f5df2
commit 7a9c516f68
10 changed files with 49 additions and 5 deletions
@@ -0,0 +1,4 @@
// FIR_IDENTICAL
fun <T> a(): T = TODO()
val b: Unit = throw a()