[m-rev.] diff: updates for nested module bug fix

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Mar 6 03:54:30 AEDT 2002


Branches: main
Estimated hours taken: 0.25

tests/invalid/Mmakefile:
	Re-enable the `sub_b' and `sub_c' test cases, since the problem
	with Mmake dependencies for nested modules which was breaking
	those test cases is fixed now, after petdr's recent change to
	modules.m, I'm pretty sure.

doc/reference_manual.texi:
	Delete the documentation about the nested module Mmake dependency bug,
	since that bug is fixed, I'm pretty sure.

Workspace: /home/ceres/fjh/mercury
Index: doc/reference_manual.texi
===================================================================
RCS file: /home/mercury1/repository/mercury/doc/reference_manual.texi,v
retrieving revision 1.242
diff -u -d -r1.242 reference_manual.texi
--- doc/reference_manual.texi	21 Feb 2002 14:20:44 -0000	1.242
+++ doc/reference_manual.texi	5 Mar 2002 16:49:19 -0000
@@ -3818,14 +3818,6 @@
 define an equivalence type in a sub-module and export it
 as abstract type.
 @item
-When using nested modules,
-the Mercury build tool Mmake sometimes tries to build things in the
-wrong order and hence reports spurious errors about @samp{.int*} files
-not being found.  In these cases, simply typing @samp{mmake} again will
-usually solve the problem.  (If it doesn't, the work-around is
-to use separate sub-modules rather than nested sub-modules, i.e. put
-the sub-modules in a separate source file.)
- at item
 Using @samp{mmake} to do parallel makes (e.g. @samp{mmake --jobs 2})
 doesn't always work correctly if you're using nested sub-modules.
 (The work-around is to use separate sub-modules instead of nested
Index: tests/invalid/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/Mmakefile,v
retrieving revision 1.102
diff -u -d -r1.102 Mmakefile
--- tests/invalid/Mmakefile	11 Feb 2002 10:29:08 -0000	1.102
+++ tests/invalid/Mmakefile	5 Mar 2002 16:47:33 -0000
@@ -24,6 +24,8 @@
 	ho_default_func_2.sub.m \
 	imported_mode.m \
 	partial_implied_mode.m \
+	sub_b.m \
+	sub_c.m \
 	test_nested.m \
 	transitive_import.m \
 	transitive_import_class.m \
@@ -136,7 +138,6 @@
 #		when doing dynamic linking, or when the library
 #		was built with `--split-c-files')
 #	parent.undeclared_child.m (just not yet implemented)
-#	sub_b.m and sub_c.m (bug with dependencies & nested modules)
 #	freefree.m 	(need bromage's aliasing stuff)
 #	typeclass_test_8.m (minor formatting error in the output --
 #			the type class name should be in quotes)

-- 
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