X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fmain%2FHscMain.lhs;h=a334c70027d28ceb86bc935450bc626569f70ed9;hp=26247b143ad2279b27df7be5ca5d2da7675011fa;hb=63489d40bdee972656ff115ab2309b809c0e39fc;hpb=8a25c54e2df36b3fb40436e5b887dddc3c64ab54 diff --git a/compiler/main/HscMain.lhs b/compiler/main/HscMain.lhs index 26247b1..a334c70 100644 --- a/compiler/main/HscMain.lhs +++ b/compiler/main/HscMain.lhs @@ -216,7 +216,7 @@ hscTypecheck mod_summary rdr_module = do -- exception/signal an error. type RenamedStuff = (Maybe (HsGroup Name, [LImportDecl Name], Maybe [LIE Name], - Maybe (HsDoc Name), HaddockModInfo Name)) + Maybe LHsDocString)) -- | Rename and typecheck a module, additionally returning the renamed syntax hscTypecheckRename :: @@ -233,9 +233,8 @@ hscTypecheckRename mod_summary rdr_module = do rn_info = do { decl <- tcg_rn_decls tc_result ; let imports = tcg_rn_imports tc_result exports = tcg_rn_exports tc_result - doc = tcg_doc tc_result - hmi = tcg_hmi tc_result - ; return (decl,imports,exports,doc,hmi) } + doc_hdr = tcg_doc_hdr tc_result + ; return (decl,imports,exports,doc_hdr) } return (tc_result, rn_info)