7 lines
117 B
Kotlin
Vendored
7 lines
117 B
Kotlin
Vendored
val error = "error"
|
|
fun foo(p: Any) {
|
|
if (p !is String) {
|
|
print(error)
|
|
}
|
|
println(<caret>p.size)
|
|
} |