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/main/DynamicLoading.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/main/DynamicLoading.hs')
-rw-r--r-- | compiler/main/DynamicLoading.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/DynamicLoading.hs b/compiler/main/DynamicLoading.hs index 82081bf1a3..37e272e70e 100644 --- a/compiler/main/DynamicLoading.hs +++ b/compiler/main/DynamicLoading.hs @@ -213,7 +213,7 @@ lookupRdrNameInModuleForPlugins hsc_env mod_name rdr_name = do -- Try and find the required name in the exports let decl_spec = ImpDeclSpec { is_mod = mod_name, is_as = mod_name , is_qual = False, is_dloc = noSrcSpan } - provenance = Imported [ImpSpec decl_spec ImpAll] + provenance mw = Imported [ImpSpec decl_spec ImpAll mw] env = mkGlobalRdrEnv (gresFromAvails provenance (mi_exports iface)) case lookupGRE_RdrName rdr_name env of [gre] -> return (Just (gre_name gre)) |