[project @ 2005-07-18 11:46:32 by simonpj]
authorsimonpj <unknown>
Mon, 18 Jul 2005 11:46:32 +0000 (11:46 +0000)
committersimonpj <unknown>
Mon, 18 Jul 2005 11:46:32 +0000 (11:46 +0000)
Comments

ghc/compiler/rename/RnNames.lhs

index 2d547be..7101c48 100644 (file)
@@ -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)