[Git][ghc/ghc][wip/jeltsch/stability-risk-1-and-2-module-deprecation] Remove square brackets around deprecation warnings
Wolfgang Jeltsch pushed to branch wip/jeltsch/stability-risk-1-and-2-module-deprecation at Glasgow Haskell Compiler / GHC Commits: d0aa167f by Wolfgang Jeltsch at 2026-01-28T16:31:47+02:00 Remove square brackets around deprecation warnings - - - - - 15 changed files: - libraries/base/src/GHC/Arr.hs - libraries/base/src/GHC/ArrayArray.hs - libraries/base/src/GHC/Conc/IO.hs - libraries/base/src/GHC/Encoding/UTF8.hs - libraries/base/src/GHC/Exception.hs - libraries/base/src/GHC/Exception/Type.hs - libraries/base/src/GHC/Fingerprint/Type.hs - libraries/base/src/GHC/IO/Buffer.hs - libraries/base/src/GHC/IO/Device.hs - libraries/base/src/GHC/IO/Encoding.hs - libraries/base/src/GHC/IO/Exception.hs - libraries/base/src/GHC/IO/Handle/Text.hs - libraries/base/src/GHC/InfoProv.hs - libraries/base/src/GHC/Stack/Types.hs - libraries/base/src/GHC/TopHandler.hs Changes: ===================================== libraries/base/src/GHC/Arr.hs ===================================== @@ -24,7 +24,7 @@ #endif module GHC.Arr - {-# DEPRECATED ["GHC.Arr is deprecated and will be removed in GHC 10.02. Please use the array package."] #-} + {-# DEPRECATED "GHC.Arr is deprecated and will be removed in GHC 10.02. Please use the array package." #-} (Ix(..), Array(..), STArray(..), ===================================== libraries/base/src/GHC/ArrayArray.hs ===================================== @@ -24,7 +24,7 @@ #endif module GHC.ArrayArray - {-# DEPRECATED ["GHC.ArrayArray is deprecated and will be removed in GHC 10.02. Please use GHC.Exts."] #-} + {-# DEPRECATED "GHC.ArrayArray is deprecated and will be removed in GHC 10.02. Please use GHC.Exts." #-} (ArrayArray#(..), MutableArrayArray#(..), newArrayArray#, ===================================== libraries/base/src/GHC/Conc/IO.hs ===================================== @@ -24,7 +24,7 @@ #endif module GHC.Conc.IO - {-# DEPRECATED ["GHC.Conc.IO is deprecated and will be removed in GHC 10.02. Please use GHC.Conc where possible and the ghc-internal package otherwise."] #-} + {-# DEPRECATED "GHC.Conc.IO is deprecated and will be removed in GHC 10.02. Please use GHC.Conc where possible and the ghc-internal package otherwise." #-} (ensureIOManagerIsRunning, ioManagerCapabilitiesChanged, interruptIOManager, ===================================== libraries/base/src/GHC/Encoding/UTF8.hs ===================================== @@ -30,7 +30,7 @@ #endif module GHC.Encoding.UTF8 - {-# DEPRECATED ["GHC.Encoding.UTF8 is deprecated and will be removed in GHC 10.02. Please use the text package."] #-} + {-# DEPRECATED "GHC.Encoding.UTF8 is deprecated and will be removed in GHC 10.02. Please use the text package." #-} (-- * Decoding single characters utf8DecodeCharAddr#, utf8DecodeCharPtr, ===================================== libraries/base/src/GHC/Exception.hs ===================================== @@ -25,7 +25,7 @@ #endif module GHC.Exception - {-# DEPRECATED ["GHC.Exception is deprecated and will be removed in GHC 10.02. Please use Control.Exception where possible and the ghc-internal package otherwise."] #-} + {-# DEPRECATED "GHC.Exception is deprecated and will be removed in GHC 10.02. Please use Control.Exception where possible and the ghc-internal package otherwise." #-} ( -- * 'Exception' class Exception(..) ===================================== libraries/base/src/GHC/Exception/Type.hs ===================================== @@ -19,7 +19,7 @@ #endif module GHC.Exception.Type - {-# DEPRECATED ["GHC.Exception.Type is deprecated and will be removed in GHC 10.02. Please use Control.Exception where possible and the ghc-internal package otherwise."] #-} + {-# DEPRECATED "GHC.Exception.Type is deprecated and will be removed in GHC 10.02. Please use Control.Exception where possible and the ghc-internal package otherwise." #-} ( Exception(..) -- Class , SomeException(..), ArithException(..) , divZeroException, overflowException, ratioZeroDenomException ===================================== libraries/base/src/GHC/Fingerprint/Type.hs ===================================== @@ -24,7 +24,7 @@ #endif module GHC.Fingerprint.Type - {-# DEPRECATED ["GHC.Fingerprint.Type is deprecated and will be removed in GHC 10.02. Please use GHC.Fingerprint."] #-} + {-# DEPRECATED "GHC.Fingerprint.Type is deprecated and will be removed in GHC 10.02. Please use GHC.Fingerprint." #-} (Fingerprint(..) ) where ===================================== libraries/base/src/GHC/IO/Buffer.hs ===================================== @@ -24,7 +24,7 @@ #endif module GHC.IO.Buffer - {-# DEPRECATED ["GHC.IO.Buffer is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package."] #-} + {-# DEPRECATED "GHC.IO.Buffer is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package." #-} (-- * Buffers of any element Buffer(..), BufferState(..), ===================================== libraries/base/src/GHC/IO/Device.hs ===================================== @@ -23,7 +23,7 @@ #endif module GHC.IO.Device ( - {-# DEPRECATED ["GHC.IO.Device is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package."] #-} + {-# DEPRECATED "GHC.IO.Device is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package." #-} RawIO(..), IODevice(..), IODeviceType(..), ===================================== libraries/base/src/GHC/IO/Encoding.hs ===================================== @@ -24,7 +24,7 @@ #endif module GHC.IO.Encoding - {-# DEPRECATED ["GHC.IO.Encoding is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package."] #-} + {-# DEPRECATED "GHC.IO.Encoding is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package." #-} (BufferCodec(..), TextEncoding(..), TextEncoder, ===================================== libraries/base/src/GHC/IO/Exception.hs ===================================== @@ -24,7 +24,7 @@ #endif module GHC.IO.Exception ( - {-# DEPRECATED ["GHC.IO.Exception is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package."] #-} + {-# DEPRECATED "GHC.IO.Exception is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package." #-} BlockedIndefinitelyOnMVar(..), blockedIndefinitelyOnMVar, BlockedIndefinitelyOnSTM(..), blockedIndefinitelyOnSTM, Deadlock(..), ===================================== libraries/base/src/GHC/IO/Handle/Text.hs ===================================== @@ -24,7 +24,7 @@ #endif module GHC.IO.Handle.Text ( - {-# DEPRECATED ["GHC.IO.Handle.Text is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package."] #-} + {-# DEPRECATED "GHC.IO.Handle.Text is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package." #-} hWaitForInput, hGetChar, hGetLine, hGetContents, hPutChar, hPutStr, commitBuffer', -- hack, see below hGetBuf, hGetBufSome, hGetBufNonBlocking, hPutBuf, hPutBufNonBlocking, ===================================== libraries/base/src/GHC/InfoProv.hs ===================================== @@ -25,7 +25,7 @@ #endif module GHC.InfoProv - {-# DEPRECATED ["GHC.InfoProv is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package."] #-} + {-# DEPRECATED "GHC.InfoProv is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package." #-} ( InfoProv(..) , ipLoc , ipeProv ===================================== libraries/base/src/GHC/Stack/Types.hs ===================================== @@ -27,7 +27,7 @@ #endif module GHC.Stack.Types - {-# DEPRECATED ["GHC.Stack.Types is deprecated and will be removed in GHC 10.02. Please use GHC.Stack."] #-} + {-# DEPRECATED "GHC.Stack.Types is deprecated and will be removed in GHC 10.02. Please use GHC.Stack." #-} (-- * Implicit call stacks CallStack(..), HasCallStack, ===================================== libraries/base/src/GHC/TopHandler.hs ===================================== @@ -26,7 +26,7 @@ #endif module GHC.TopHandler - {-# DEPRECATED ["GHC.TopHandler is deprecated and will be removed in GHC 10.02. Please use GHC.Conc where possible and the ghc-internal package otherwise."] #-} + {-# DEPRECATED "GHC.TopHandler is deprecated and will be removed in GHC 10.02. Please use GHC.Conc where possible and the ghc-internal package otherwise." #-} (runMainIO, runIO, runIOFastExit, View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d0aa167fdebd1c42d9196f7e096034be... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d0aa167fdebd1c42d9196f7e096034be... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Wolfgang Jeltsch (@jeltsch)