[m-rev.] for review: fix expand equivalence type for special preds bug

Peter Ross pro at missioncriticalit.com
Sat Nov 9 21:01:06 AEDT 2002


fjh wrote:
> On 08-Nov-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> > + % The arg_types where all the equivalence types have been expanded
> > + % out.
> > +:- pred pred_info_expanded_arg_types(module_info, pred_info,
list(type)).
> > +:- mode pred_info_expanded_arg_types(in, in, out) is det.
>
> The comment says that this expands all equivalence types,
> but the code only expands the top-level equivalence type.
> Actually, I think that is sufficient, since at this point
> the only place equivalence types should occur is in the arguments
> for unification/compare procedures for such types, and in those
> they always occur at the type level; but there should be a comment
> explaining this.
>
Done.

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list