[m-rev.] diff: fix unique mode error in bitmap.m

Simon Taylor stayl at cs.mu.OZ.AU
Tue Jun 4 16:08:42 AEST 2002


Estimated hours taken: 0.25
Branches: main, release

library/bitmap.m:
	Fix a mode error -- the input to `complement' should have
	mode `bitmap_di', not `bitmap_ui'.

Index: bitmap.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/bitmap.m,v
retrieving revision 1.5
diff -u -u -r1.5 bitmap.m
--- bitmap.m	24 Oct 2001 07:27:40 -0000	1.5
+++ bitmap.m	4 Jun 2002 02:49:02 -0000
@@ -115,7 +115,7 @@
     % Set operations; the second argument is altered in all cases.
     %
 :- func complement(bitmap) = bitmap.
-:- mode complement(bitmap_ui) = bitmap_uo is det.
+:- mode complement(bitmap_di) = bitmap_uo is det.
 
 :- func union(bitmap, bitmap) = bitmap.
 :- mode union(bitmap_ui, bitmap_di) = bitmap_uo is det.
--------------------------------------------------------------------------
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