diff options
Diffstat (limited to 'compiler/GHC/Unit/Home/ModInfo.hs')
-rw-r--r-- | compiler/GHC/Unit/Home/ModInfo.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/GHC/Unit/Home/ModInfo.hs b/compiler/GHC/Unit/Home/ModInfo.hs index d41bc0c9f6..b5960a5223 100644 --- a/compiler/GHC/Unit/Home/ModInfo.hs +++ b/compiler/GHC/Unit/Home/ModInfo.hs @@ -41,10 +41,12 @@ data HomeModInfo = HomeModInfo -- ^ The basic loaded interface file: every loaded module has one of -- these, even if it is imported from another package - , hm_details :: !ModDetails + , hm_details :: ModDetails -- ^ Extra information that has been created from the 'ModIface' for -- the module, typically during typechecking + -- This field is LAZY because a ModDetails is constructed by knot tying. + , hm_linkable :: !(Maybe Linkable) -- ^ The actual artifact we would like to link to access things in -- this module. |