Join Slack
Powered by
I'm curious, what happens here then? ```fun doSome...
# announcements
d
debug
10/28/2016, 8:08 AM
I'm curious, what happens here then?
Copy code
fun doSomething() : Unit { return }
Unit
is not
Nothing
right? Does the
Nothing
get simply discarded and the control flow moves to the bottom, that would be an equivalent of an empty function?
5
Views
Open in Slack
Previous
Next