Files
kotlin-fork/idea/testData/resolve/partialBodyResolve/IfNotIsErrorVariable.dump
T
Valentin Kipyatkov 4cd7193047 KT-11018 Ctrl + Mouse Hover shows a var as val
#KT-11018 Fixed
2016-02-13 10:20:20 +03:00

8 lines
224 B
Plaintext
Vendored

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