pp.amorim
09/02/2019, 6:01 PMwasyl
09/02/2019, 6:17 PMlet
requires an expression to be returned. Without else, there's no expression.
You can write else { Unit }
to get rid of the warning, or use some other function that let
, which doesn't require an expression, I think also
would work for examplepp.amorim
09/02/2019, 7:18 PMstreetsofboston
09/02/2019, 7:45 PM