Wolfgang Jeltsch pushed to branch wip/jeltsch/base-buildable-with-ghc-9-14 at Glasgow Haskell Compiler / GHC Commits: d70108fc by Wolfgang Jeltsch at 2026-05-19T13:38:33+03:00 Disable some imports into `GHC.Base` for GHC 9.14 - - - - - 1 changed file: - libraries/base/src/GHC/Base.hs Changes: ===================================== libraries/base/src/GHC/Base.hs ===================================== @@ -140,10 +140,12 @@ module GHC.Base ) where import GHC.Internal.Base hiding ( NonEmpty(..) ) +import GHC.Internal.Data.NonEmpty ( NonEmpty(..) ) +#if __GLASGOW_HASKELL__ >= 1000 import GHC.Internal.Classes import GHC.Internal.CString -import GHC.Internal.Data.NonEmpty ( NonEmpty(..) ) import GHC.Internal.Magic.Dict ( WithDict(..) ) +#endif import GHC.Prim hiding ( -- Hide dataToTag# ops because they are expected to break for @@ -398,7 +400,9 @@ import GHC.Prim.Ext import GHC.Prim.PtrEq import GHC.Internal.Err import GHC.Internal.IO (seq#) +#if __GLASGOW_HASKELL__ >= 1000 import GHC.Internal.Magic +#endif import GHC.Internal.Maybe import GHC.Types hiding ( Unit#, View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d70108fc002180a4341cae5be0cd895e... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d70108fc002180a4341cae5be0cd895e... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Wolfgang Jeltsch (@jeltsch)