[m-dev.] clueless -- overloaded functor

Nancy Mazur Nancy.Mazur at cs.kuleuven.ac.be
Mon Aug 26 22:45:21 AEST 2002


* Fergus Henderson <fjh at cs.mu.OZ.AU> [2002-08-26 13:36]:
> On 26-Aug-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> > The problem is that the Mercury compiler can't distinguish whether you
> > mean int:/ and parse_tree:prog_data:sym_name:/.  I think what has
> > happened is that you have lost an import which imports the correct
> > module which defines '/' (ie not int or parse_tree:prog_data)
> 
> Right.  In particular, it's probably this change that you are missing:
> 
>  | date: 2002/07/10 06:49:35;  author: stayl;  state: Exp;  lines: +4 -1
>  | 
>  | Estimated hours taken: 0.1
>  | Branches: main
>  | 
>  | NEWS:
>  | library/dir.m:
>  |         Add `/' as a synonym for `dir__make_path_name'.
> 
> Either your version of "dir" doesn't include this change,
> or your version of "handle_options" isn't importing "dir".

That's strange, because then my main-branch workspace shouldn't have
compiled either? 
I'll try to have a closer look in that direction.. 
thanks!
Nancy

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