Files
kotlin-fork/idea/testData/resolve/partialBodyResolve/IfNotIsErrorVariable.kt
T

7 lines
117 B
Kotlin
Vendored

val error = "error"
fun foo(p: Any) {
if (p !is String) {
print(error)
}
println(<caret>p.size)
}