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

Commits:

1 changed file:

Changes:

  • libraries/base/src/GHC/Stack.hs
    1 1
     {-# LANGUAGE Safe #-}
    
    2 2
     
    
    3
    +{-# LANGUAGE CPP #-}
    
    3 4
     {-# LANGUAGE RankNTypes #-}
    
    4 5
     {-# LANGUAGE ImplicitParams #-}
    
    5 6
     
    
    ... ... @@ -55,6 +56,12 @@ module GHC.Stack
    55 56
     
    
    56 57
     import GHC.Internal.Stack
    
    57 58
     
    
    59
    +#if __GLASGOW_HASKELL__ > 1000
    
    60
    +
    
    61
    +import GHC.Essentials as Rebindable
    
    62
    +
    
    63
    +#endif
    
    64
    +
    
    58 65
     -- | Explicitly bring the empty call stack into scope.
    
    59 66
     --
    
    60 67
     -- Mostly useful for silencing warnings generated by @-Wdefaulted-callstack@ in