diff: fix missing interface import bugs
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Mar 5 06:59:07 AEDT 1998
profiler/call_graph.m:
profiler/read.m:
extras/trailed_update/var.m:
Fix some "missing interface import" bugs detected by the
latest version of the compiler.
cvs diff extras/trailed_update/var.m profiler/call_graph.m profiler/read.m
Index: extras/trailed_update/var.m
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/trailed_update/var.m,v
retrieving revision 1.11
diff -u -r1.11 var.m
--- var.m 1998/02/15 21:48:28 1.11
+++ var.m 1998/03/04 19:56:59
@@ -27,7 +27,7 @@
%-----------------------------------------------------------------------------%
:- module var.
:- interface.
-:- import_module io.
+:- import_module io, std_util.
% A `var(T)' is a Prolog-style variable that holds a value of type T.
:- type var(T).
@@ -133,7 +133,7 @@
%-----------------------------------------------------------------------------%
:- implementation.
%-----------------------------------------------------------------------------%
-:- import_module std_util, bool.
+:- import_module bool.
:- import_module unsafe, io.
:- import_module require.
Index: profiler/call_graph.m
===================================================================
RCS file: /home/mercury1/repository/mercury/profiler/call_graph.m,v
retrieving revision 1.7
diff -u -r1.7 call_graph.m
--- call_graph.m 1997/07/27 15:07:44 1.7
+++ call_graph.m 1998/03/04 19:52:56
@@ -22,7 +22,7 @@
:- interface.
-:- import_module relation, io.
+:- import_module relation, io, list, string.
:- pred call_graph__main(list(string), relation(string), relation(string),
io__state, io__state).
@@ -35,7 +35,7 @@
:- import_module read.
:- import_module options, globals.
-:- import_module list, require, bool, std_util.
+:- import_module require, bool, std_util.
call_graph__main(Args, StaticCallGraph0, StaticCallGraph) -->
Index: profiler/read.m
===================================================================
RCS file: /home/mercury1/repository/mercury/profiler/read.m,v
retrieving revision 1.8
diff -u -r1.8 read.m
--- read.m 1997/12/05 15:55:58 1.8
+++ read.m 1998/03/04 19:54:05
@@ -18,7 +18,7 @@
:- interface.
-:- import_module int, io.
+:- import_module int, io, std_util, string.
:- import_module globals.
:- pred maybe_read_label_addr(maybe(int), io__state, io__state).
@@ -50,8 +50,8 @@
:- implementation.
-:- import_module list, string, char.
-:- import_module std_util, require.
+:- import_module list, char.
+:- import_module require.
:- import_module demangle.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
More information about the developers
mailing list