Join Slack
Powered by
What I’d like to have is ability to declare `val` ...
# random
o
orangy
02/09/2016, 4:38 PM
What I’d like to have is ability to declare
val
in when:
Copy code
when (val buf = buffer) { null -> else -> // buf is smart-casted }
7
Views
Open in Slack
Previous
Next