summaryrefslogtreecommitdiff
path: root/compiler/GHC/Plugins.hs
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2023-02-11 18:31:07 -0500
committerBen Gamari <ben@smart-cactus.org>2023-03-10 02:11:16 -0500
commitd81d0a0e8ed6cf35b9772404ce9d7f109481bcd6 (patch)
treecac8ecb113d4561b87a7eb4144e760422be1c444 /compiler/GHC/Plugins.hs
parent9706e3de45b05bc8d4ee11b693a5a66e47b93dc3 (diff)
downloadhaskell-d81d0a0e8ed6cf35b9772404ce9d7f109481bcd6.tar.gz
Treat type data declarations as empty when checking pattern-matching coverage
The data constructors for a `type data` declaration don't exist at the value level, so we don't want GHC to warn users to match on them. Fixes #22964. (cherry picked from commit 96dc58b9225d91a7912957c6be5d9c7a95e51718)
Diffstat (limited to 'compiler/GHC/Plugins.hs')
0 files changed, 0 insertions, 0 deletions