[m-rev.] trivial diff: fix boostrapping with --intermodule-optimization

Julien Fischer juliensf at csse.unimelb.edu.au
Fri Apr 20 13:45:39 AEST 2007


Estimated hours taken: 0.
Branches: main

compiler/xml_documentation.m:
 	Avoid ambiguity warnings with --intermodule-optimization.

Julien.

Index: xml_documentation.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/compiler/xml_documentation.m,v
retrieving revision 1.13
diff -u -r1.13 xml_documentation.m
--- xml_documentation.m	19 Apr 2007 02:12:49 -0000	1.13
+++ xml_documentation.m	20 Apr 2007 03:43:43 -0000
@@ -324,7 +324,7 @@

  import_documentation(InterfaceImportedModules, ImportedModule, !Xmls) :-
      XmlName = name(ImportedModule),
-    ( ImportedModule `member` InterfaceImportedModules ->
+    ( ImportedModule `set.member` InterfaceImportedModules ->
          XmlVisibility = visibility(status_exported)
      ;
          XmlVisibility = visibility(status_local)
--------------------------------------------------------------------------
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