mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 08:31:29 +00:00
13 lines
246 B
Plaintext
Vendored
13 lines
246 B
Plaintext
Vendored
Resolve target: value-parameter x: kotlin.Any?
|
|
----------------------------------------------
|
|
fun foo(x: Any?) {
|
|
if (x == null) {
|
|
val error = f()
|
|
error("error")
|
|
}
|
|
|
|
<caret>x.hashCode()
|
|
}
|
|
|
|
fun f(): (String) -> Unit = {}
|