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

Dalinar

09/16/2017, 3:02 AM
why and when were commas deprecated (in
when
)? is it ok to keep using them?
h

horse_badorties

09/16/2017, 6:20 AM
are you talking about commas in branch conditions?
d

Dalinar

09/16/2017, 6:37 AM
yes the IDE says they are deprecated
h

horse_badorties

09/16/2017, 6:39 AM
can you post an example?
r

Ruckus

09/18/2017, 1:58 PM
If you don't use an argument with
when
, all the branches are just
Boolean
checks and you should join them with
||
.
17 Views