summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-12-27 10:14:42 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2023-01-23 11:43:40 +0000
commita86ff179462b7fc07c3903255856ed05ef149806 (patch)
tree00d980f23779988aedf7a3c133c3d350d90af854
parente46e68fee52b46beaf9172f8397a35bad63a417a (diff)
downloadhaskell-wip/recomp-mhu-fixes.tar.gz
Debug: Print full NodeKey when pretty printing ModuleGraphNodewip/recomp-mhu-fixes
This is helpful when debugging multiple component issues.
-rw-r--r--compiler/GHC/Unit/Module/Graph.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Unit/Module/Graph.hs b/compiler/GHC/Unit/Module/Graph.hs
index 4ae489d631..3de0bd2aee 100644
--- a/compiler/GHC/Unit/Module/Graph.hs
+++ b/compiler/GHC/Unit/Module/Graph.hs
@@ -100,7 +100,7 @@ moduleGraphNodeUnitId mgn =
instance Outputable ModuleGraphNode where
ppr = \case
InstantiationNode _ iuid -> ppr iuid
- ModuleNode nks ms -> ppr (ms_mnwib ms) <+> ppr nks
+ ModuleNode nks ms -> ppr (msKey ms) <+> ppr nks
LinkNode uid _ -> text "LN:" <+> ppr uid
instance Eq ModuleGraphNode where