addressed CR feedback, exit early after reporting 'unreachable statement error'