c3b871652f
`TYPE_MISMATCH` in `throwJLException.fir.kt` appeared, because in `throw Exn` the type of `Exn` is implicit Unit. This is red code anyway. ^KT-55181 Fixed Merge-request: KT-MR-8292 Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com>
6 lines
67 B
Kotlin
Vendored
6 lines
67 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
|
|
fun main() {
|
|
throw <!TYPE_MISMATCH!>"str"<!>
|
|
}
|