This is how we are setting has_errors_ in other stages; this should only make parse consistent. Fixes #4259