https://kotlinlang.org logo
#announcements
Title
# announcements
n

nkiesel

06/07/2017, 9:11 PM
The problem is not the
else
, the problem is that there is no access to the value of
func()
in the body. There were earlier discussions around that proposing new syntax like
when (x = func())
(we can't use
it
or
this
w/o breaking existing code)