[m-dev.] clueless -- overloaded functor

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Aug 26 21:36:19 AEST 2002

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

Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- 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