i'm afraid, it's still related to coroutines. foll...
# announcements
v
i'm afraid, it's still related to coroutines. following compiles:
Copy code
fun qwe_compiles() {
    val a: A.A2? = run {
        val b: A = A.A2()
        when (b) {
            is A.A2 -> return@run b
            else -> return@run null
        }
    }
}