Wolfgang Jeltsch pushed to branch wip/jeltsch/base-buildable-with-ghc-9-14 at Glasgow Haskell Compiler / GHC
Commits:
-
967b23cb
by Wolfgang Jeltsch at 2026-05-19T16:04:36+03:00
-
025d47d3
by Wolfgang Jeltsch at 2026-05-19T16:06:14+03:00
3 changed files:
- libraries/base/src/GHC/Unicode.hs
- libraries/base/src/GHC/Weak.hs
- libraries/base/src/GHC/Weak/Finalize.hs
Changes:
| 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 |
| ... | ... | @@ -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 |
| ... | ... | @@ -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
|