[m-dev.] diff: get rid of unnecessary tvars

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Jun 22 21:29:25 AEST 1998


On 22-Jun-1998, David Glen JEFFERY <dgj at cs.mu.OZ.AU> wrote:
> Get rid of unnecessary type variables when creating the auxiliary predicate
> for an instance method. This avoids problems when typecheck.m gets rid of
> unused tvars that it thinks were introduced by type inference.

What kind of problems?  Do you have a regression test?

> compiler/typecheck.m:
>         Undo a previous change which used all the info from
>         typecheck_get_final_info even if we were only checking the types.
>         Call varset__squash to evict unnecessary tvars.

I didn't see any lines in the diff which would correspond to the
first sentence above.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list