trivial diff: fix test case results

Fergus Henderson fjh at cs.mu.OZ.AU
Sun Nov 15 17:56:38 AEDT 1998


tests/invalid/some.err_exp:
tests/invalid/predmode.err_exp:
tests/invalid/func_errors.err_exp:
	Update the test results to reflect the extra parentheses
	now printed out by term_io__write_term.

Index: tests/invalid/func_errors.err_exp
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/func_errors.err_exp,v
retrieving revision 1.1
diff -u -r1.1 func_errors.err_exp
--- func_errors.err_exp	1997/08/15 15:46:33	1.1
+++ func_errors.err_exp	1998/11/15 06:53:39
@@ -1,6 +1,6 @@
 func_errors.m:009: Error: function declaration specifies a determinism but does not specify the mode: foo(int, int).
-func_errors.m:010: Error: some but not all arguments have modes: bar(int :: in, int).
-func_errors.m:011: Error: function arguments have modes, but function result doesn't: baz(int :: in, int :: in).
+func_errors.m:010: Error: some but not all arguments have modes: bar((int :: in), int).
+func_errors.m:011: Error: function arguments have modes, but function result doesn't: baz((int :: in), (int :: in)).
 func_errors.m:012: Error: function result has mode, but function arguments don't: quux(int, int).
-func_errors.m:018: Error: some but not all arguments have modes: q(int :: in, int).
+func_errors.m:018: Error: some but not all arguments have modes: q((int :: in), int).
 For more information, try recompiling with `-E'.
Index: tests/invalid/predmode.err_exp
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/predmode.err_exp,v
retrieving revision 1.3
diff -u -r1.3 predmode.err_exp
--- predmode.err_exp	1998/10/30 04:38:45	1.3
+++ predmode.err_exp	1998/11/15 06:53:47
@@ -1,3 +1,3 @@
-predmode.m:005: Error: some but not all arguments have modes: p(int :: in, int).
+predmode.m:005: Error: some but not all arguments have modes: p((int :: in), int).
 predmode.m:  1: Warning: interface for module `predmode' does not export anything.
 For more information, try recompiling with `-E'.
Index: tests/invalid/some.err_exp
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/some.err_exp,v
retrieving revision 1.1
diff -u -r1.1 some.err_exp
--- some.err_exp	1998/10/29 14:59:12	1.1
+++ some.err_exp	1998/11/15 06:53:57
@@ -1,4 +1,4 @@
-some.m:006: Error: unrecognized declaration: some junk pred p2(int :: in) is semidet.
+some.m:006: Error: unrecognized declaration: some junk pred p2((int :: in)) is semidet.
 some.m:012: In clause for predicate `some:p1/1':
 some.m:012:   in argument 1 of call to predicate `some/2':
 some.m:012:   error: undefined symbol `junk/0'.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "Binaries may die
WWW: <http://www.cs.mu.oz.au/~fjh>  |   but source code lives forever"
PGP: finger fjh at 128.250.37.3        |     -- leaked Microsoft memo.



More information about the developers mailing list