https://github.com/coq/coq/pull/19040 changes the way error locations are reported in the XML protocol. Specifically, it replaces the loc_s and loc_e attributes of the fail result with an optional Loc.t field. If I understand correctly, the start and stop fields contain the same byte offsets as the old loc_s and loc_e, so it's enough to just extract and return those.
https://github.com/coq/coq/pull/19040 changes the way error locations are reported in the XML protocol. Specifically, it replaces the
loc_s
andloc_e
attributes of thefail
result with an optionalLoc.t
field. If I understand correctly, thestart
andstop
fields contain the same byte offsets as the oldloc_s
andloc_e
, so it's enough to just extract and return those.