[m-rev.] diff: fix nested modules accessibility bug
Fergus Henderson
fjh at cs.mu.OZ.AU
Wed Mar 6 07:28:08 AEDT 2002
On 06-Mar-2002, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> tests/invalid/sub_c.m:
> tests/invalid/sub_c.err_exp:
> Move the tests/invalid/sub_c.m from the `invalid' directory to the
> `tests/hard_code/sub-modules' directory, ...
Sorry, I meant to say `sub_b', not `sub_c'.
Workspace: /mnt/ceres/home/ceres/fjh/mercury
Index: tests/invalid/sub_b.err_exp
===================================================================
RCS file: sub_b.err_exp
diff -N sub_b.err_exp
--- /tmp/cvsDBxdlv Wed Mar 6 07:26:29 2002
+++ /dev/null Mon Dec 17 21:20:53 2001
@@ -1,4 +0,0 @@
-sub_b.m:012: In module `sub_b':
-sub_b.m:012: error in `import_module' declaration:
-sub_b.m:012: module `sub_a:sub1' is inaccessible.
-For more information, try recompiling with `-E'.
Index: tests/invalid/sub_b.m
===================================================================
RCS file: sub_b.m
diff -N sub_b.m
--- /tmp/cvsiFjrLS Wed Mar 6 07:26:29 2002
+++ /dev/null Mon Dec 17 21:20:53 2001
@@ -1,19 +0,0 @@
-
-:- module sub_b.
-
-:- interface.
-
-:- import_module io.
-
-:- pred main(io__state::di, io__state::uo) is det.
-
-:- implementation.
-
-:- import_module sub_a:sub1.
-:- import_module sub_a.
-
-main -->
- io__write_string("Hello.\n").
-
-
-
--
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