[m-rev.] trivial diff: fix tests/invalid/purity/purity.err_exp

Fergus Henderson fjh at cs.mu.OZ.AU
Sun Apr 8 17:55:02 AEST 2001


Estimated hours taken: 0.25
Branches: main

tests/invalid/purity/purity.err_exp:
	Update to reflect the new output after stayl's recent change
	which added `promise_semipure'.

Workspace: /home/hg/fjh/ws-hg3/mercury
Index: tests/invalid/purity/purity.err_exp
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/purity/purity.err_exp,v
retrieving revision 1.1
diff -u -d -r1.1 purity.err_exp
--- tests/invalid/purity/purity.err_exp	2000/04/22 07:12:51	1.1
+++ tests/invalid/purity/purity.err_exp	2001/04/08 07:49:35
@@ -18,12 +18,16 @@
 purity.m:064:   It must be declared `semipure' or promised pure.
 purity.m:068: In predicate `purity:e3/0':
 purity.m:068:   purity error: predicate is impure.
-purity.m:068:   It must be declared `impure' or promised pure.
+purity.m:068:   It must be declared `impure' or promised semipure.
 purity.m:074: In call to impure predicate `purity:imp/0':
 purity.m:074:   purity error: call must be preceded by `impure' indicator.
 purity.m:078: In call to semipure predicate `purity:semi/0':
 purity.m:078:   purity error: call must be preceded by `semipure' indicator.
+purity.m:112: In call to impure predicate `purity:imp1/1':
+purity.m:112:   purity error: call must be preceded by `impure' indicator.
 purity.m:112: Purity error in closure: closure is impure.
+purity.m:118: In call to semipure predicate `purity:semi/0':
+purity.m:118:   purity error: call must be preceded by `semipure' indicator.
 purity.m:118: Purity error in closure: closure is semipure.
 purity.m:093: In unification predicate for type (purity:e8):
 purity.m:093:   purity error: predicate is impure.

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