mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 13:11:39 +07:00
Original commit: 83144d59be7fa5967a1cb509af0bbd5fd7f8ad32 GitOrigin-RevId: 4a8f8e4fb961b2dbd8c66dab41ac9ff879ba595f
8 lines
140 B
Kotlin
8 lines
140 B
Kotlin
fun myError(): Nothing = throw Exception()
|
|
|
|
fun foo(p: Any) {
|
|
if (p !is String) {
|
|
myError()
|
|
}
|
|
println(<caret>p.length)
|
|
} |