[m-rev.] trivial diff: fix state_var*.err_exp
Fergus Henderson
fjh at cs.mu.OZ.AU
Sun Jul 28 08:08:41 AEST 2002
Branches: main
Estimated hours taken: 0.25
tests/invalid/state_vars_test*.err_exp:
Delete some spurious blank lines, to match the actual output.
Workspace: /home/ceres/fjh/ws-ceres2/mercury
Index: tests/invalid/state_vars_test1.err_exp
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/state_vars_test1.err_exp,v
retrieving revision 1.2
diff -u -d -r1.2 state_vars_test1.err_exp
--- tests/invalid/state_vars_test1.err_exp 22 Jul 2002 02:18:02 -0000 1.2
+++ tests/invalid/state_vars_test1.err_exp 27 Jul 2002 22:06:31 -0000
@@ -1,5 +1,4 @@
state_vars_test1.m:023: Error: cannot use !:X in this context;
-
state_vars_test1.m:023: however !.X may be used here.
state_vars_test1.m:023: In clause for predicate `state_vars_test1:p/2':
state_vars_test1.m:023: warning: variable `X' occurs only once in this scope.
Index: tests/invalid/state_vars_test2.err_exp
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/state_vars_test2.err_exp,v
retrieving revision 1.2
diff -u -d -r1.2 state_vars_test2.err_exp
--- tests/invalid/state_vars_test2.err_exp 22 Jul 2002 02:18:02 -0000 1.2
+++ tests/invalid/state_vars_test2.err_exp 27 Jul 2002 22:06:32 -0000
@@ -1,5 +1,4 @@
state_vars_test2.m:023: Error: state variable !:Y is not visible in this context.
-
state_vars_test2.m:023: In clause for predicate `state_vars_test2:p/2':
state_vars_test2.m:023: warning: variable `Y' occurs only once in this scope.
state_vars_test2.m:022: Warning: the condition of this if-then-else cannot fail.
Index: tests/invalid/state_vars_test3.err_exp
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/state_vars_test3.err_exp,v
retrieving revision 1.2
diff -u -d -r1.2 state_vars_test3.err_exp
--- tests/invalid/state_vars_test3.err_exp 22 Jul 2002 02:18:02 -0000 1.2
+++ tests/invalid/state_vars_test3.err_exp 27 Jul 2002 22:06:33 -0000
@@ -1 +1 @@
-state_vars_test3.m:022: Warning: reference to unitialized state variable !.X.
+state_vars_test3.m:022: Warning: reference to unitialized state variable !.X.
\ No newline at end of file
Index: tests/invalid/state_vars_test4.err_exp
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/state_vars_test4.err_exp,v
retrieving revision 1.2
diff -u -d -r1.2 state_vars_test4.err_exp
--- tests/invalid/state_vars_test4.err_exp 22 Jul 2002 02:18:02 -0000 1.2
+++ tests/invalid/state_vars_test4.err_exp 27 Jul 2002 22:06:15 -0000
@@ -1,7 +1,6 @@
state_vars_test4.m:021: Error: clause for function `state_vars_test4:f/2'
state_vars_test4.m:021: without preceding `func' declaration.
state_vars_test4.m:021: Error: !Y cannot be a function result.
-
state_vars_test4.m:021: You probably meant !.Y or !:Y.
state_vars_test4.m:015: Error: no clauses for function `state_vars_test4:f/1'.
state_vars_test4.m:021: Error: no clauses for function `state_vars_test4:f/2'.
Index: tests/invalid/state_vars_test5.err_exp
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/state_vars_test5.err_exp,v
retrieving revision 1.2
diff -u -d -r1.2 state_vars_test5.err_exp
--- tests/invalid/state_vars_test5.err_exp 22 Jul 2002 02:18:02 -0000 1.2
+++ tests/invalid/state_vars_test5.err_exp 27 Jul 2002 22:06:34 -0000
@@ -1,5 +1,4 @@
state_vars_test5.m:021: Error: !X cannot be a lambda argument.
-
state_vars_test5.m:021: Perhaps you meant !.X or !:X.
state_vars_test5.m:021: In clause for `f(in) = out':
state_vars_test5.m:021: in argument 1 of call to function `list:foldl/3':
--
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