deprecated_msg in primops.txt.pp does not produce deprecation warnings
Summary
Some values defined in primops.txt.pp have a message that marks them as deprecated, in the deprecated_msg field. An example is void#. However, when compiling modules using any of these, like
{-# LANGUAGE MagicHash, UnboxedTuples #-}
import GHC.Exts
main = case void# of (# #) -> print "hm"
no deprecation warning appears.
Environment
- GHC version used: 9.3.20210802
Optional:
- Operating System: Arch Linux
- System Architecture: x86_64