[Git][ghc/ghc][wip/weird-sign-extends] Work around untracked dependencies

Matthew Craven (@clyring) gitlab at gitlab.haskell.org
Sat Mar 2 02:21:40 UTC 2024



Matthew Craven pushed to branch wip/weird-sign-extends at Glasgow Haskell Compiler / GHC


Commits:
afec6c32 by Matthew Craven at 2024-03-01T21:21:17-05:00
Work around untracked dependencies

This is a temporary hack, until ghc properly reports the implicit
dependency of every module outside of ghc-bignum or ghc-prim on
GHC.Num.BigNat.  Otherwise we see CI failures.  See also #23942.

- - - - -


3 changed files:

- compiler/GHC/Utils/Containers/Internal/StrictPair.hs
- libraries/ghc-experimental/src/Data/Sum/Experimental.hs
- libraries/ghc-experimental/src/Data/Tuple/Experimental.hs


Changes:

=====================================
compiler/GHC/Utils/Containers/Internal/StrictPair.hs
=====================================
@@ -4,6 +4,10 @@
 
 module GHC.Utils.Containers.Internal.StrictPair (StrictPair(..), toPair) where
 
+-- stupid build-order workaround until #23942 is properly fixed
+import GHC.Base ()
+
+
 -- | The same as a regular Haskell pair, but
 --
 -- @


=====================================
libraries/ghc-experimental/src/Data/Sum/Experimental.hs
=====================================
@@ -81,3 +81,6 @@ module Data.Sum.Experimental (
 ) where
 
 import GHC.Types
+
+-- stupid build-order workaround until #23942 is properly fixed
+import GHC.Base ()


=====================================
libraries/ghc-experimental/src/Data/Tuple/Experimental.hs
=====================================
@@ -161,3 +161,6 @@ module Data.Tuple.Experimental (
 import GHC.Tuple
 import GHC.Types
 import GHC.Classes
+
+-- stupid build-order workaround until #23942 is properly fixed
+import GHC.Base ()



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/afec6c32dca543203068ff5029d453ae52db1ccf

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/afec6c32dca543203068ff5029d453ae52db1ccf
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240301/a7268974/attachment-0001.html>


More information about the ghc-commits mailing list