[m-rev.] diff: fix compilation failure

Julien Fischer jfischer at opturion.com
Mon Jan 3 16:06:30 AEDT 2022


Zoltan, this was caused by commit #2530d0d; possibly only part of a 
change was committed / pushed?

------------------------------

Fix compilation failure.

compiler/make_hlds_passes.m:
     Undo commit #2530d0d, which fails to compile.

Julien.

diff --git a/compiler/make_hlds_passes.m b/compiler/make_hlds_passes.m
index 189dcaa..5614192 100644
--- a/compiler/make_hlds_passes.m
+++ b/compiler/make_hlds_passes.m
@@ -192,7 +192,7 @@ do_parse_tree_to_hlds(AugCompUnit, Globals, DumpBaseFileName, MQInfo0,
      separate_items_in_aug_comp_unit(AugCompUnit, ItemAvails, ItemFIMs,
          ItemTypeDefnsAbstract, ItemTypeDefnsMercury, ItemTypeDefnsForeign,
          ItemInstDefns, ItemModeDefns,
-        ItemPredDecls, ItemOptPredDecls, ItemModeDecls, ItemOptModeDecls,
+        ItemPredDecls, ItemModeDecls,
          ItemPromises, ItemTypeclasses, ItemInstances,
          ItemInitialises, ItemFinalises, ItemMutables,
          TypeRepnMap,


More information about the reviews mailing list