summaryrefslogtreecommitdiff
path: root/compiler/GHC/Cmm/Ppr/Expr.hs
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2020-03-17 11:22:28 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-19 00:40:06 -0400
commitb03fd3bcd4ff14aed2942275c3b0db5392dc913c (patch)
tree9efd8e42bd9705ebf62a68cd5b3c283a21d0861c /compiler/GHC/Cmm/Ppr/Expr.hs
parent5cbf9934c59f7726781cc4cccf4748a5c09c4997 (diff)
downloadhaskell-b03fd3bcd4ff14aed2942275c3b0db5392dc913c.tar.gz
PmCheck: Use ConLikeSet to model negative info
In #17911, Simon recognised many warnings stemming from over-long list unions while coverage checking Cabal's `LicenseId` module. This patch introduces a new `PmAltConSet` type which uses a `UniqDSet` instead of an association list for `ConLike`s. For `PmLit`s, it will still use an assocation list, though, because a similar map data structure would entail a lot of busy work. Fixes #17911.
Diffstat (limited to 'compiler/GHC/Cmm/Ppr/Expr.hs')
0 files changed, 0 insertions, 0 deletions