[m-dev.] diff: module_qual.m import warnings

Simon TAYLOR stayl at students.cs.mu.oz.au
Tue May 27 11:35:37 AEST 1997


Hi Fergus,

I wrote:
> 
> Fergus wrote:
> > compiler/module_qual.m:
> > 	Don't warn about unnecessary interface imports of `string', `int',
> > 	or `float', because such warnings are spurious in the common case
> > 	where the interface uses the type string, int, or float.
> > 	Also, make a few minor improvements to the error messages.
> > 
>
> Other than that, those changes look fine.

Actually, it might be better if you changed module_qual:qualify_type to 
call mq_info_set_module_used for each module corresponding to a builtin
type seen in the interface, rather than just ignoring the warnings for
string, int and float.

Simon.



More information about the developers mailing list