[m-rev.] diff: restore condition_bug
Peter Wang
novalazy at gmail.com
Mon Aug 23 16:52:18 AEST 2010
Branches: main
tests/debugger/declarative/condition_bug.m:
Make this test compile again after removal of write_xml_doc/3.
diff --git a/tests/debugger/declarative/condition_bug.m b/tests/debugger/declarative/condition_bug.m
index 7a80d45..5b8f81e 100644
--- a/tests/debugger/declarative/condition_bug.m
+++ b/tests/debugger/declarative/condition_bug.m
@@ -18,7 +18,7 @@ main(!IO) :-
svmap.set("critical", "kritiek", !Map),
FinalMap = !.Map
),
- write_xml_doc(translation(FinalMap), !IO),
+ write_xml_doc(io.stdout_stream, translation(FinalMap), !IO),
io.nl(!IO).
:- type translation ---> translation(map(string, string)).
--------------------------------------------------------------------------
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