[m-rev.] diff: update outdated error message
Fergus Henderson
fjh at cs.mu.OZ.AU
Tue May 1 03:45:29 AEST 2001
On 01-May-2001, Robert Jeschofnik <rejj at cs.mu.OZ.AU> wrote:
> On 30-Apr-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> > compiler/typecheck.m:
> > Update an outdated error message: suggest using "with_type"
> > for explicit type qualifications.
>
> Would it perhaps be better to use the functionality provided by the
> error_util module for this, instead of just using a io__write_strings?
Perhaps, but
- error_util doesn't provide any way to distinguish between
the ordinary error message and the extended stuff that
is output with --verbose-errors. This is a useful distinction
to make, and the current code does that by using "\t"
rather than "file:nnn: " as the prefix for the extended stuff.
- I was just making the minimal fix to correct the misleading
error message.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list