Files
kotlin-fork/compiler/testData/diagnostics/tests/controlFlowAnalysis/useUninitializedInLambda.kt
T
2020-06-19 15:53:09 +03:00

8 lines
130 B
Kotlin
Vendored

// FIR_IDENTICAL
fun bar(f: () -> Unit) = f()
fun foo() {
var v: Any
bar { <!UNINITIALIZED_VARIABLE!>v<!>.hashCode() }
}