summaryrefslogtreecommitdiff
path: root/compiler/GHC/HsToCore.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/HsToCore.hs')
-rw-r--r--compiler/GHC/HsToCore.hs6
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/GHC/HsToCore.hs b/compiler/GHC/HsToCore.hs
index 78d43b164f..b95a5aebbe 100644
--- a/compiler/GHC/HsToCore.hs
+++ b/compiler/GHC/HsToCore.hs
@@ -225,7 +225,7 @@ deSugar hsc_env
; foreign_files <- readIORef th_foreign_files_var
- ; (doc_hdr, decl_docs, arg_docs) <- extractDocs tcg_env
+ ; docs <- extractDocs dflags tcg_env
; let mod_guts = ModGuts {
mg_module = mod,
@@ -255,9 +255,7 @@ deSugar hsc_env
mg_safe_haskell = safe_mode,
mg_trust_pkg = imp_trust_own_pkg imports,
mg_complete_matches = complete_matches,
- mg_doc_hdr = doc_hdr,
- mg_decl_docs = decl_docs,
- mg_arg_docs = arg_docs
+ mg_docs = docs
}
; return (msgs, Just mod_guts)
}}}}