[m-rev.] trivial diff: fix failure of tests/debugger/interactive
Julien Fischer
juliensf at csse.unimelb.edu.au
Thu Jan 11 12:42:08 AEDT 2007
Estimated hours taken: 0
Branches: main
tests/debugger/interactive.exp:
Conform to Zoltan's recent change in the handling of error
messages involving lists.
Julien.
Index: interactive.exp
===================================================================
RCS file: /home/mercury/mercury1/repository/tests/debugger/interactive.exp,v
retrieving revision 1.16
diff -u -r1.16 interactive.exp
--- interactive.exp 5 Oct 2006 01:57:39 -0000 1.16
+++ interactive.exp 11 Jan 2007 01:39:13 -0000
@@ -58,9 +58,7 @@
?- qperm([1,2,"foo"], List).
<stdin>:001: In clause for predicate `query'/1:
<stdin>:001: in argument 1 of call to predicate `qperm'/2:
-<stdin>:001: in argument 2 of functor `[|]/2':
-<stdin>:001: in argument 2 of functor `[|]/2':
-<stdin>:001: in argument 1 of functor `[|]/2':
+<stdin>:001: in list element #2:
<stdin>:001: type error in unification of argument
<stdin>:001: and constant `"foo"'.
<stdin>:001: argument has type `int',
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list