ghc-prim:GHC.Prim has deprecation warnings on some primops but they don't appear in base:GHC.Exts
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- adam added Tbug documentation needs triage labels
added Tbug documentation needs triage labels
- Ben Gamari added primops label and removed needs triage label
added primops label and removed needs triage label
- Ben Gamari added Pnormal label
added Pnormal label
- Maintainer
I suspect the
genprimops
logic which is responsible for deprecations adds them to theGHC.Prim
source module consumed by haddock, but fails to put these deprecations into the metadata used for the wired-in declarations. - Ben Gamari mentioned in commit 8885569d
mentioned in commit 8885569d
- Ben Gamari mentioned in merge request !5548 (closed)
mentioned in merge request !5548 (closed)
- Ben Gamari mentioned in commit 926e0a71
mentioned in commit 926e0a71
- Matthew Pickering mentioned in issue #20215 (closed)
mentioned in issue #20215 (closed)
- Krzysztof Gogolewski mentioned in issue #23161 (closed)
mentioned in issue #23161 (closed)
A tactical solution would be to create proxy functions in
GHC.Exts
and apply deprecations again:import GHC.Prim hiding (sizeofSmallMutableArray#) import qualified GHC.Prim sizeofSmallMutableArray# :: _ sizeofSmallMutableArray# = GHC.Prim.sizeofSmallMutableArray# {-# WARNING sizeofSmallMutableArray# "..." #-}
Edited by Bodigrim- Sylvain Henry mentioned in commit d984388e
mentioned in commit d984388e
- Developer
Even with the GHC fix in !5548 (closed), haddock needs to be fixed: https://github.com/haskell/haddock/issues/223
- Sylvain Henry mentioned in commit 5db20656
mentioned in commit 5db20656
- Sylvain Henry added haddock label
added haddock label
- Sylvain Henry mentioned in commit a3b629b5
mentioned in commit a3b629b5
- Sylvain Henry mentioned in commit 3682582c
mentioned in commit 3682582c
- Sylvain Henry mentioned in commit 7ef9c7ac
mentioned in commit 7ef9c7ac
- Sylvain Henry mentioned in commit 661e0911
mentioned in commit 661e0911
- Sylvain Henry mentioned in commit 43f83187
mentioned in commit 43f83187
- Sylvain Henry marked this issue as related to #24913
marked this issue as related to #24913
- Developer
Follow-up Haddock issue tracked in #24913
- Developer
Fixed by !5548 (closed). Follow-up haddock issue tracked in #24913
- Sylvain Henry closed
closed