Bug fixes in my refactored RnNames code.
[ghc-hetmet.git] / ghc / compiler / typecheck / TcRnDriver.lhs
index a9c8f98..4ca79d9 100644 (file)
@@ -230,7 +230,8 @@ tcRnModule hsc_env hsc_src save_rn_syntax
 
                -- Process the export list
        rn_exports <- rnExports export_ies ;
-        exports <- mkExportNameSet (isJust maybe_mod) rn_exports ;
+        let { liftM2' fn a b = do a' <- a; b' <- b; return (fn a' b') } ;
+        exports <- mkExportNameSet (isJust maybe_mod) (liftM2' (,) rn_exports export_ies) ;
 
                -- Check whether the entire module is deprecated
                -- This happens only once per module