This corrects the `span_with_body` in the case of closures, which was incorrectly shortened to the `def_span`.