Wolfgang Jeltsch pushed to branch wip/jeltsch/base-buildable-with-ghc-9-14 at Glasgow Haskell Compiler / GHC

Commits:

3 changed files:

Changes:

  • libraries/base/src/GHC/Unicode.hs
    1
    +{-# LANGUAGE CPP #-}
    
    1 2
     {-# LANGUAGE Safe #-}
    
    2 3
     {-# OPTIONS_HADDOCK not-home #-}
    
    3 4
     
    
    ... ... @@ -44,4 +45,6 @@ module GHC.Unicode
    44 45
          ) where
    
    45 46
     
    
    46 47
     import GHC.Internal.Unicode
    
    48
    +#if __GLASGOW_HASKELL__ >= 1000
    
    47 49
     import GHC.Internal.Unicode.Version
    
    50
    +#endif

  • libraries/base/src/GHC/Weak.hs
    ... ... @@ -25,9 +25,8 @@ module GHC.Weak
    25 25
          -- this handler will be ignored.
    
    26 26
          setFinalizerExceptionHandler,
    
    27 27
          getFinalizerExceptionHandler,
    
    28
    -     printToHandleFinalizerExceptionHandler
    
    28
    +     GHC.Weak.Finalize.printToHandleFinalizerExceptionHandler
    
    29 29
          ) where
    
    30 30
     
    
    31 31
     import GHC.Internal.Weak
    
    32
    -import GHC.Internal.Weak.Finalize
    
    33 32
     import GHC.Weak.Finalize

  • libraries/base/src/GHC/Weak/Finalize.hs
    ... ... @@ -7,7 +7,7 @@ module GHC.Weak.Finalize
    7 7
           -- this handler will be ignored.
    
    8 8
           setFinalizerExceptionHandler
    
    9 9
         , getFinalizerExceptionHandler
    
    10
    -    , printToHandleFinalizerExceptionHandler
    
    10
    +    , GHC.Weak.Finalize.printToHandleFinalizerExceptionHandler
    
    11 11
           -- * Internal
    
    12 12
         , GHC.Weak.Finalize.runFinalizerBatch
    
    13 13
         ) where