enhancement: functions with declared return types have their return values type-checked in optimization regimes with high SAFETY and (DEBUG 3).