From 2cfc4ab9710c873a55e9a44aac9dacb06ecce36f Mon Sep 17 00:00:00 2001
From: Sylvain Henry <sylvain@haskus.fr>
Date: Fri, 27 Mar 2020 17:57:56 +0100
Subject: [PATCH] Document backpack fields in DynFlags

---
 compiler/GHC/Driver/Session.hs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs
index fe35d19ee539..ec217590ff53 100644
--- a/compiler/GHC/Driver/Session.hs
+++ b/compiler/GHC/Driver/Session.hs
@@ -520,9 +520,9 @@ data DynFlags = DynFlags {
   solverIterations      :: IntWithInf,   -- ^ Number of iterations in the constraints solver
                                          --   Typically only 1 is needed
 
-  thisInstalledUnitId   :: InstalledUnitId,
-  thisComponentId_      :: Maybe ComponentId,
-  thisUnitIdInsts_      :: Maybe [(ModuleName, Module)],
+  thisInstalledUnitId   :: InstalledUnitId,              -- ^ Target unit-id
+  thisComponentId_      :: Maybe ComponentId,            -- ^ Unit-id to instantiate
+  thisUnitIdInsts_      :: Maybe [(ModuleName, Module)], -- ^ How to instantiate the unit-id above
 
   -- ways
   ways                  :: Set Way,     -- ^ Way flags from the command line
-- 
GitLab