diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2015-01-29 13:32:58 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2015-01-29 13:32:58 +0100 |
commit | 348df976743964ab838714e01f4bcac752c5dfc4 (patch) | |
tree | 193d03f8d97094da8f20e50950d86ac8aa3175ea /compiler/deSugar/DsMonad.hs | |
parent | 07ee96faac4996cde0ab82789eec0b70d1a35af0 (diff) | |
download | haskell-wip/T4879.tar.gz |
Support re-export deprecations (re #4879)wip/T4879
This is basically the patch originally implemented by Ian Lynagh
forward-ported to GHC 7.10/11
Diffstat (limited to 'compiler/deSugar/DsMonad.hs')
-rw-r--r-- | compiler/deSugar/DsMonad.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/deSugar/DsMonad.hs b/compiler/deSugar/DsMonad.hs index f01a9d8174..a5f97dea35 100644 --- a/compiler/deSugar/DsMonad.hs +++ b/compiler/deSugar/DsMonad.hs @@ -258,7 +258,7 @@ loadModule doc mod Succeeded iface -> return $ mkGlobalRdrEnv . gresFromAvails prov . mi_exports $ iface } } where - prov = Imported [ImpSpec { is_decl = imp_spec, is_item = ImpAll }] + prov mw = Imported [ImpSpec { is_decl = imp_spec, is_item = ImpAll, is_warning = mw }] imp_spec = ImpDeclSpec { is_mod = name, is_qual = True, is_dloc = wiredInSrcSpan, is_as = name } name = moduleName mod |