Implicit `0` returned, I didn't know this was `C`! ```fun foo(): Int { a@when (1) { 1 -&...
k
Implicit
0
returned, I didn't know this was
C
!
Copy code
fun foo(): Int {
    a@when (1) {
        1 -> return@a
    }
    return 8
}

println(foo()) //prints 0
o
Looks like a bug, will you file an issue?
@stanislav.erokhin ^^
k
Ah damm, the link right below that was supposed to be to the issue, must have messed that up.
Edited.
👍 1