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/InteractiveEval.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/InteractiveEval.hs')
-rw-r--r-- | compiler/main/InteractiveEval.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/InteractiveEval.hs b/compiler/main/InteractiveEval.hs index 70c61f2215..f921f26d8b 100644 --- a/compiler/main/InteractiveEval.hs +++ b/compiler/main/InteractiveEval.hs @@ -855,7 +855,7 @@ availsToGlobalRdrEnv mod_name avails where -- We're building a GlobalRdrEnv as if the user imported -- all the specified modules into the global interactive module - imp_prov = Imported [ImpSpec { is_decl = decl, is_item = ImpAll}] + imp_prov mw = Imported [ImpSpec { is_decl = decl, is_item = ImpAll, is_warning = mw }] decl = ImpDeclSpec { is_mod = mod_name, is_as = mod_name, is_qual = False, is_dloc = srcLocSpan interactiveSrcLoc } |