[Git][ghc/ghc][master] Use Haddock formatting in deprecation message of `initNameCache`
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 5f0dbeb6 by Simon Hengel at 2026-02-03T16:00:12-05:00 Use Haddock formatting in deprecation message of `initNameCache` - - - - - 1 changed file: - compiler/GHC/Types/Name/Cache.hs Changes: ===================================== compiler/GHC/Types/Name/Cache.hs ===================================== @@ -162,9 +162,7 @@ newNameCacheWith ut nc = NameCache (uniqueTag ut) <$> newMVar nc -- | This takes a tag for uniques to be generated and the list of knownKeyNames -- These must be initialized properly to ensure that names generated from this -- NameCache do not conflict with known key names. --- --- Use `newNameCache` or `newNameCacheWith` instead -{-# DEPRECATED initNameCache "Use newNameCache or newNameCacheWith instead" #-} +{-# DEPRECATED initNameCache "Use `newNameCache` or `newNameCacheWith` instead" #-} initNameCache :: UniqueTag -> [Name] -> IO NameCache initNameCache c names = newNameCacheWith c (initOrigNames names) View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5f0dbeb631c9582b40f3e0b053332199... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5f0dbeb631c9582b40f3e0b053332199... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)