Should this be working or is there some kind of te...
# announcements
u
Should this be working or is there some kind of technical limitation I'm not aware of?
Copy code
val foo: String

    run {
        foo = when {
            true -> "foo"
            else -> "bar"
        }
    }

    println(foo) // 'foo' must be initialized