From c9238903d12bbbe8bcc7c6439b96bc768dd35ca4 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 ceae3683ea..cf079ff9e9 100644 --- a/compiler/GHC/Unit/Module/Graph.hs +++ b/compiler/GHC/Unit/Module/Graph.hs @@ -99,7 +99,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