Fix error recovery when a return type correction includes a new name specifier.