2b3043bf9f
If type of 'when' expression is 'Nothing', it should be kept that way even if the expression itself is implicitly coerced to Unit.