Commit 8843a39b authored by Simon Marlow's avatar Simon Marlow
Browse files

Include usg_file_hash in ghc --show-iface output

Otherwise we can get an iface hash difference, but no indication of what
caused it in the --show-iface output.

Test Plan: Harbourmaster

Reviewers: austin, bgamari, erikd

Subscribers: rwbarton, thomie

Differential Revision:
parent 671b1ed9
...@@ -1073,7 +1073,8 @@ pprUsage usage@UsageHomeModule{} ...@@ -1073,7 +1073,8 @@ pprUsage usage@UsageHomeModule{}
) )
pprUsage usage@UsageFile{} pprUsage usage@UsageFile{}
= hsep [text "addDependentFile", = hsep [text "addDependentFile",
doubleQuotes (text (usg_file_path usage))] doubleQuotes (text (usg_file_path usage)),
ppr (usg_file_hash usage)]
pprUsage usage@UsageMergedRequirement{} pprUsage usage@UsageMergedRequirement{}
= hsep [text "merged", ppr (usg_mod usage), ppr (usg_mod_hash usage)] = hsep [text "merged", ppr (usg_mod usage), ppr (usg_mod_hash usage)]
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