gabrielfv
08/14/2017, 4:59 PMwhen
clause?
val CASE_0 = 0
. . .
val a = json.get("value") // It's 0
when (a) {
CASE_0 -> // When I debug at this point, 'a' doesn't have a value assigned
CASE_1 -> // It reaches this clause and now debugger shows it has value '0' assigned
. . .
}