[m-dev.] For review: improve undefined pred/symbol error message

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Sep 22 15:26:05 AEST 1998


On 22-Sep-1998, Thomas Charles CONWAY <conway at cs.mu.OZ.AU> wrote:
> Fergus Henderson, you write:
> > You don't need to take sub-modules into account,
> > but you do need to take parent modules into account.
> > So that diff is still not right.
> 
> There is no `import_status' value that indicates symbols
> inherited from a parent module. How do you determine them?
> Is the solution just to check to see if the given module
> qualifier is a parent of any of the current module?

Yes, that would work (s/parent/ancestor/).

modules.m has a predicate get_ancestors/2.

-- 
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