From bb78cb69648237d86b4d5486f0cbfee155831223 Mon Sep 17 00:00:00 2001 From: simonpj Date: Mon, 18 Jul 2005 11:46:32 +0000 Subject: [PATCH] [project @ 2005-07-18 11:46:32 by simonpj] Comments --- ghc/compiler/rename/RnNames.lhs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghc/compiler/rename/RnNames.lhs b/ghc/compiler/rename/RnNames.lhs index 2d547be..7101c48 100644 --- a/ghc/compiler/rename/RnNames.lhs +++ b/ghc/compiler/rename/RnNames.lhs @@ -674,6 +674,8 @@ reportDeprecations :: TcGblEnv -> RnM () reportDeprecations tcg_env = ifOptM Opt_WarnDeprecations $ do { (eps,hpt) <- getEpsAndHpt + -- By this time, typechecking is complete, + -- so the PIT is fully populated ; mapM_ (check hpt (eps_PIT eps)) all_gres } where used_names = allUses (tcg_dus tcg_env) -- 1.7.10.4