A relocated prelude refusal's note says only that the refusal is there, since the notes before it name which body

This commit is contained in:
Joseph Ferano 2026-09-25 16:23:19 +07:00
parent b51b7d0a53
commit 730730a1a7

View File

@ -12074,7 +12074,7 @@ and instantiate env loc gname vars subst cparams cret =
notes = notes =
d.Loc.notes d.Loc.notes
@ [ Loc.note d.Loc.dloc @ [ Loc.note d.Loc.dloc
(Printf.sprintf "in %s's body, in the prelude" gname) ]; "the refusal is here, in the prelude" ];
expansion = None }) expansion = None })
| Loc.Error d when d.Loc.dloc <> loc -> | Loc.Error d when d.Loc.dloc <> loc ->
Loc.Error Loc.Error