[m-rev.] for review: insts in mode error messages

Zoltan Somogyi zoltan.somogyi at runbox.com
Mon Nov 30 02:24:47 AEDT 2015


On Sun, 29 Nov 2015 14:25:54 +1100 (AEDT), Julien Fischer <jfischer at opturion.com> wrote:
> > Would error_msg_inst.m be a suitable name for that module?
> 
> Yes.

Done.

Does anyone see any future use for mercury_output_expanded_inst
or mercury_expanded_inst_to_string? With my recent change to
mode_errors.m and the current one to add_mutable_aux_preds.m,
I have deleted both uses of these predicates, and I think that any
future code that wants to print error messages involving insts
should use the code in error_msg_inst.m, not these predicates.
I therefore think they should be deleted, along with the typeclass
that they made necessary. Does anyone object?

Zoltan.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.error_msg_inst
Type: application/octet-stream
Size: 476 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20151130/8974285b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.err_msg_inst
Type: application/octet-stream
Size: 75655 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20151130/8974285b/attachment-0001.obj>


More information about the reviews mailing list