mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Original commit: 83144d59be7fa5967a1cb509af0bbd5fd7f8ad32 GitOrigin-RevId: 4a8f8e4fb961b2dbd8c66dab41ac9ff879ba595f
6 lines
119 B
Kotlin
6 lines
119 B
Kotlin
fun foo(p: Any) {
|
|
if (p !is String) {
|
|
throw IllegalArgumentException()
|
|
}
|
|
println(<caret>p.length)
|
|
} |