[m-rev.] diff: back out "uncaught Mercury exception" change

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Jul 26 16:23:23 AEST 2002


Hmm, I see from the CVS logs that Pete has committed a change to update
the test cases.  So I guess I won't commit this after all.

Pete, don't forget to post diffs for all your changes to mercury-reviews!

On 26-Jul-2002, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> Pete, you're welcome to put this back if you want,
> but if so, you need to do it properly
> (e.g. test it, and include a proper log message).
> 
> Estimated hours taken: 0.5
> Branches: main
> 
> library/exception.m:
> 	Back out part of petdr's recent patch for il grades,
> 	in particular the part which changed the message
> 	for uncaught exceptions in non-il grades from
> 	"Uncaught exception: ..." to "Uncaught Mercury exception".
> 	Rationale:
> 		- this change was not mentioned in petdr's log message
> 		- it was unrelated to the other things that petdr's
> 		  change was fixing (stuff related to the il grade)
> 		- it broke lots of test cases in our test suite
> 
> Workspace: /mnt/ceres/home/ceres/fjh/ws-ceres4
> Index: library/exception.m
> ===================================================================
> RCS file: /home/mercury1/repository/mercury/library/exception.m,v
> retrieving revision 1.66
> diff -u -d -r1.66 exception.m
> --- library/exception.m	2002/07/23 08:26:23	1.66
> +++ library/exception.m	2002/07/26 06:07:20
> @@ -2063,7 +2063,7 @@
>  report_uncaught_exception_2(Exception, unit) -->
>  	io__flush_output,
>  	io__stderr_stream(StdErr),
> -	io__write_string(StdErr, "Uncaught Mercury exception:\n"),
> +	io__write_string(StdErr, "Uncaught exception:\n"),
>  	( { univ_to_type(Exception, software_error(Message)) } ->
>  		io__format(StdErr, "Software Error: %s\n", [s(Message)])
>  	;
> 
> -- 
> 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-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
> --------------------------------------------------------------------------

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