Marko Novakovic
1 min readMar 12, 2019

--

If I understand correctly you say
`val b = when { predicate2 -> “B” predicate3 -> “C” else -> null}`
type of b is Nothing?.
Shouldn’t it be `String?` ?

--

--

No responses yet