groostav
05/25/2017, 8:24 AMcatch (exception: AssertionError) {
<http://eventBus.post|eventBus.post>(ControlFlowInterruptedEvent())
return optimizationModel?.id ?: NullUUID
}
catch (exception: AssertionError) {
<http://eventBus.post|eventBus.post>(ControlFlowInterruptedEvent())
return optimizationModel!!.id
}
Can ask the compiler to make this illegal? Would it ever be useful to catch the same type like this?mg6maciej
05/25/2017, 8:41 AM