summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-03-27 17:57:56 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-04-30 01:56:56 -0400
commit2cfc4ab9710c873a55e9a44aac9dacb06ecce36f (patch)
tree9bc53bdced58885d600efd9deb7033294bb4cb8c
parent518a63d4d7e31e49a81ad66d5e5ccb1f790f6de9 (diff)
downloadhaskell-2cfc4ab9710c873a55e9a44aac9dacb06ecce36f.tar.gz
Document backpack fields in DynFlags
-rw-r--r--compiler/GHC/Driver/Session.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs
index fe35d19ee5..ec217590ff 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