Files
Pavel Kirpichenkov ce65f3681b Fix tests
Original commit: 83144d59be7fa5967a1cb509af0bbd5fd7f8ad32

GitOrigin-RevId: 4a8f8e4fb961b2dbd8c66dab41ac9ff879ba595f
2020-07-08 21:00:31 +03:00

6 lines
119 B
Kotlin

fun foo(p: Any) {
if (p !is String) {
throw IllegalArgumentException()
}
println(<caret>p.length)
}