[Git][ghc/ghc][wip/backports-9.14] ghci: Fix CPP guarding Binary HalfWord instance
Ben Gamari pushed to branch wip/backports-9.14 at Glasgow Haskell Compiler / GHC Commits: f441b038 by Ben Gamari at 2025-10-04T11:45:32-04:00 ghci: Fix CPP guarding Binary HalfWord instance - - - - - 1 changed file: - libraries/ghci/GHCi/Message.hs Changes: ===================================== libraries/ghci/GHCi/Message.hs ===================================== @@ -522,7 +522,7 @@ instance Binary (FunPtr a) where put = put . castFunPtrToPtr get = castPtrToFunPtr <$> get -#if MIN_VERSION_ghc_internal(9,1500,0) +#if MIN_VERSION_ghc_internal(9,1400,0) instance Binary Heap.HalfWord where put x = put (fromIntegral x :: Word32) get = fromIntegral <$> (get :: Get Word32) View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/f441b0386c167a917df3a236288e57ac... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/f441b0386c167a917df3a236288e57ac... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Ben Gamari (@bgamari)