[m-rev.] for review: fix existentially quantified constructor unification
Fergus Henderson
fjh at cs.mu.OZ.AU
Mon Jul 22 16:17:19 AEST 2002
On 21-Jul-2002, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
>
> Fix a bug which caused type-incorrect HLDS to be generated by mode
> analysis, which then caused a compiler abort in simplification.
> In the code below, mode analysis must treat the headvar unification
> as a construction followed by a var-var unification. If it is treated
> as a deconstruction, the argument unifications will be ill-typed.
>
> :- type t ---> some [T] f(T) => enum(T).
> :- pred p(t::in) is semidet.
> p('new f'(1)).
That change looks fine. Thanks.
--
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