[m-dev.] diff: fix Aditi error messages

Fergus Henderson fjh at cs.mu.OZ.AU
Fri May 5 13:41:45 AEST 2000


On 05-May-2000, Simon TAYLOR <stayl at cs.mu.OZ.AU> wrote:
> 
> compiler/post_typecheck.m:
> 	Report an error if an Aditi procedure does not
> 	have an input `aditi__state' argument.

That's OK (i.e. I'm quite happy for you to check that in as is).
But as a general design issue, I think that post_typecheck.m does not
seem like the right place to check mode-related errors.  Really they
ought to be checked only after mode inference has finished.

...
> Index: compiler//magic_util.m
> +	% Polymorphic types are not allowed.
> +	% Errors for type_infos and typeclass_infos are only reported
> +	% if there are no other polmorphic arguments.

s/polmorphic/polymorphic/

-- 
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.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list