Join Slack
Powered by
<@U2EDYJG00> I'm not sure if this is kotlin 1.1 or...
# announcements
g
groostav
01/03/2017, 10:13 PM
@dpk
I'm not sure if this is kotlin 1.1 or not, but non-local jumps allow you to write things like
val value = platformValue ?: run { profanity(); return }
--note the interesting thing here is that
return
is returning from the callers context,
not
from the
run
method context.
Open in Slack
Previous
Next