Stage 2 fix to "Keep track of family instance modules"
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>
Mon, 16 Oct 2006 19:40:48 +0000 (19:40 +0000)
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>
Mon, 16 Oct 2006 19:40:48 +0000 (19:40 +0000)
compiler/typecheck/TcRnDriver.lhs

index 6dfae44..94c55a7 100644 (file)
@@ -1095,7 +1095,7 @@ tcGetModuleExports mod = do
   loadOrphanModules (dep_orphs (mi_deps iface)) False 
                -- Load any orphan-module interfaces,
                -- so their instances are visible
   loadOrphanModules (dep_orphs (mi_deps iface)) False 
                -- Load any orphan-module interfaces,
                -- so their instances are visible
-  loadOrphanModules (dep_finsts (mi_finsts iface)) True
+  loadOrphanModules (dep_finsts (mi_deps iface)) True
                -- Load any family instance-module interfaces,
                -- so all family instances are visible
   ifaceExportNames (mi_exports iface)
                -- Load any family instance-module interfaces,
                -- so all family instances are visible
   ifaceExportNames (mi_exports iface)