diff options
Diffstat (limited to 'libraries/ghc-heap/GHC/Exts/Heap/Closures.hs')
-rw-r--r-- | libraries/ghc-heap/GHC/Exts/Heap/Closures.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs b/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs index f355a62510..09a94a0f3f 100644 --- a/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs +++ b/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs @@ -23,6 +23,12 @@ import GHC.Exts.Heap.Constants import GHC.Exts.Heap.InfoTableProf #else import GHC.Exts.Heap.InfoTable + +-- `ghc -M` currently doesn't properly account for ways when generating +-- dependencies (#15197). This import ensures correct build-ordering between +-- this module and GHC.Exts.Heap.InfoTableProf. It should be removed when #15197 +-- is fixed. +import GHC.Exts.Heap.InfoTableProf () #endif import Data.Bits |