primops: Ensure that deprecations are properly tracked
We previously failed to insert DEPRECATION pragmas into GHC.Prim's ModIface, meaning that they would appear in the Haddock documentation but not issue warnings. Fix this. See #19629. Haddock also needs to be fixed: https://github.com/haskell/haddock/issues/223 Co-authored-by:Sylvain Henry <sylvain@haskus.fr>
Showing
- compiler/GHC/Builtin/PrimOps.hs 5 additions, 2 deletionscompiler/GHC/Builtin/PrimOps.hs
- compiler/GHC/Builtin/Utils.hs 54 additions, 0 deletionscompiler/GHC/Builtin/Utils.hs
- compiler/GHC/Builtin/primops.txt.pp 1 addition, 1 deletioncompiler/GHC/Builtin/primops.txt.pp
- compiler/GHC/Iface/Load.hs 10 additions, 12 deletionscompiler/GHC/Iface/Load.hs
- compiler/GHC/Iface/Make.hs 1 addition, 20 deletionscompiler/GHC/Iface/Make.hs
- compiler/GHC/Iface/Warnings.hs 34 additions, 0 deletionscompiler/GHC/Iface/Warnings.hs
- compiler/ghc.cabal.in 1 addition, 0 deletionscompiler/ghc.cabal.in
- docs/users_guide/9.12.1-notes.rst 3 additions, 0 deletionsdocs/users_guide/9.12.1-notes.rst
- hadrian/src/Rules/Generate.hs 1 addition, 0 deletionshadrian/src/Rules/Generate.hs
- hadrian/src/Rules/Lint.hs 1 addition, 0 deletionshadrian/src/Rules/Lint.hs
- hadrian/src/Settings/Builders/GenPrimopCode.hs 1 addition, 0 deletionshadrian/src/Settings/Builders/GenPrimopCode.hs
- utils/genprimopcode/Main.hs 27 additions, 17 deletionsutils/genprimopcode/Main.hs
Loading
Please register or sign in to comment