Add support for reporting errors from {s,g}et_property_closure.