From f1842cac3b167b4597b4708aaf4a8392834aa06d Mon Sep 17 00:00:00 2001 From: Manuel M T Chakravarty Date: Mon, 16 Oct 2006 19:40:48 +0000 Subject: [PATCH] Stage 2 fix to "Keep track of family instance modules" --- compiler/typecheck/TcRnDriver.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/typecheck/TcRnDriver.lhs b/compiler/typecheck/TcRnDriver.lhs index 6dfae44..94c55a7 100644 --- a/compiler/typecheck/TcRnDriver.lhs +++ b/compiler/typecheck/TcRnDriver.lhs @@ -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_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) -- 1.7.10.4