From a86ff179462b7fc07c3903255856ed05ef149806 Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Tue, 27 Dec 2022 10:14:42 +0000 Subject: Debug: Print full NodeKey when pretty printing ModuleGraphNode This is helpful when debugging multiple component issues. --- compiler/GHC/Unit/Module/Graph.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1