Dalinar
01/20/2019, 7:03 AMwhen (foo?.bar) {..} - I can't see why it wouldn't be but just want to make sure about the nullyen
01/20/2019, 7:04 AMnull is one of the possible values of foo?.bar (and so must be handled in the when clause if not using else).Dalinar
01/20/2019, 7:05 AMDalinar
01/20/2019, 7:06 AM->? the IDE doesn't complainyen
01/20/2019, 7:10 AMwhen is that it can be used either as an expression or a statementyen
01/20/2019, 7:10 AM