[m-rev.] Trivial diff: minor change to mode of func_error/1

Ralph Becket rafe at cs.mu.OZ.AU
Tue Jan 15 14:02:56 AEDT 2002


Estimated hours taken: 0.1
Branches: main

library/require.m:
	Changed mode of result of func_error/1 from `unused' to `out' to
	avoid mode problems with functions that call func_error/1 in a
	result.

Index: require.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/require.m,v
retrieving revision 1.29
diff -u -r1.29 require.m
--- require.m	14 Dec 2001 01:06:02 -0000	1.29
+++ require.m	15 Jan 2002 02:58:56 -0000
@@ -25,7 +25,7 @@
 %		message.
 
 :- func func_error(string) = _.
-:- mode func_error(in) = unused is erroneous.
+:- mode func_error(in) = out is erroneous.
 
 %	func_error(Message)
 %		An expression that results in a `software_error(Message)'
--------------------------------------------------------------------------
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