Files
kotlin/idea/testData/resolve/partialBodyResolve/IfNotIsErrorVariable.dump
2014-11-24 20:11:27 +03:00

8 lines
225 B
Plaintext

Resolve target: value-parameter val p: kotlin.Any
----------------------------------------------
val error = "error"
fun foo(p: Any) {
// STATEMENT DELETED: if (p !is String) { print(error) }
println(<caret>p.size)
}