Join Slack
Powered by
``` fun doSomething() : Unit { val x: Nothing ...
# announcements
o
orangy
10/28/2016, 8:14 AM
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
2
Views
Open in Slack
Previous
Next