[m-rev.] for review: fix expand equivalence type for special preds bug
Fergus Henderson
fjh at cs.mu.OZ.AU
Sat Nov 9 03:30:31 AEDT 2002
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.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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