kevinmost
05/25/2017, 6:02 PMwhen
whose result you don't care about is exhaustive? I could store it into a variable (and explicitly suppress the unused lint warning), or chain an empty, unused .run {}
on it, presumably. Anyone have any less weird ways?kirillrakhman
05/26/2017, 7:29 AMkirillrakhman
05/26/2017, 7:30 AMkirillrakhman
05/26/2017, 7:31 AMfun Any?.exhaustive() {}
that will force a when statement to be an expression