285d5d06c7
Variable can now be "exactly initialized", "may be initialized" and "not initialized". A set of relevant tests. Some fixed tests.
6 lines
80 B
Kotlin
Vendored
6 lines
80 B
Kotlin
Vendored
fun foo(f: Boolean): Int {
|
|
val i: Int
|
|
if (f) {}
|
|
i = 3
|
|
return i
|
|
} |