From: partain Date: Sun, 21 Apr 1996 14:46:00 +0000 (+0000) Subject: [project @ 1996-04-21 14:45:56 by partain] X-Git-Tag: Approximately_1000_patches_recorded~923 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=1ffb620ae1457b2e3eb5e415a999a4f6f15fec45;p=ghc-hetmet.git [project @ 1996-04-21 14:45:56 by partain] Sansom 1.3 changes to 960422 --- diff --git a/ghc/compiler/rename/Rename.lhs b/ghc/compiler/rename/Rename.lhs index 9d707af..8fcc75e 100644 --- a/ghc/compiler/rename/Rename.lhs +++ b/ghc/compiler/rename/Rename.lhs @@ -176,7 +176,6 @@ renameModule b_names b_keys us rnIfaces iface_cache us3 orig_def_env orig_occ_env rn_module (imports_used ++ must_haves) >>= \ (rn_module_with_imports, (implicit_val_fm, implicit_tc_fm), iface_errs, iface_warns) -> - let all_imports_used = bagToList (unionManyBags [listToBag imports_used, listToBag (eltsFM implicit_tc_fm), diff --git a/ghc/compiler/rename/RnNames.lhs b/ghc/compiler/rename/RnNames.lhs index 912e675..2d1329b 100644 --- a/ghc/compiler/rename/RnNames.lhs +++ b/ghc/compiler/rename/RnNames.lhs @@ -242,6 +242,8 @@ doName locn rdr newGlobalName :: SrcLoc -> Maybe ExportFlag -> RdrName -> RnM_Info s Name +-- ToDo: b_names and b_keys being defined in this module !!! + newGlobalName locn maybe_exp rdr = getExtraRn `thenRn` \ (_,b_keys,exp_fn,occ_fn) -> getModuleRn `thenRn` \ mod -> diff --git a/ghc/compiler/rename/RnSource.lhs b/ghc/compiler/rename/RnSource.lhs index 8cf8221..739c839 100644 --- a/ghc/compiler/rename/RnSource.lhs +++ b/ghc/compiler/rename/RnSource.lhs @@ -34,7 +34,6 @@ import Unique ( Unique ) import UniqFM ( emptyUFM, addListToUFM, addListToUFM_C, listToUFM, lookupUFM, eltsUFM ) import UniqSet ( UniqSet(..) ) import Util ( isIn, isn'tIn, sortLt, removeDups, cmpPString, panic, assertPanic, pprTrace{-ToDo:rm-} ) - \end{code} rnSource `renames' the source module and export list.