``` fun doSomething() : Unit { val x: Nothing ...
# announcements
o
Copy code
fun doSomething() : Unit {
    val x: Nothing = return
}
You have to distinguish
return
argument which is what function returns, and value of
return
expression, which is
Nothing
👍 2