Commit 9ff881c8 authored by wz1000's avatar wz1000

add dumpformat to dumpIfSet call

parent 6c77dddd
Pipeline #16974 failed with stages
in 79 minutes and 37 seconds
......@@ -426,7 +426,7 @@ extract_renamed_stuff mod_summary tc_result = do
hieFile <- mkHieFile mod_summary tc_result (fromJust rn_info)
let out_file = ml_hie_file $ ms_location mod_summary
liftIO $ writeHieFile out_file hieFile
liftIO $ dumpIfSet_dyn dflags Opt_D_dump_hie "HIE AST" (ppr $ hie_asts hieFile)
liftIO $ dumpIfSet_dyn dflags Opt_D_dump_hie "HIE AST" FormatHaskell (ppr $ hie_asts hieFile)
-- Validate HIE files
when (gopt Opt_ValidateHie dflags) $ do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment