summaryrefslogtreecommitdiff
path: root/compiler/GHC/Unit/Module/ModGuts.hs
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2021-08-17 18:50:25 +0200
committerSebastian Graf <sebastian.graf@kit.edu>2021-08-20 13:29:28 +0200
commit08f5ec098ce284a00c74e0b7f22d32374fac3155 (patch)
tree0ae20d22418bf0154fb805adc40375529cfddb3d /compiler/GHC/Unit/Module/ModGuts.hs
parentacb188e0c02a114927d340dac78a68626c659cd3 (diff)
downloadhaskell-wip/improve-pmc.tar.gz
Pmc: Better SCC annotations and trace outputwip/improve-pmc
While investigating #20106, I made a few refactorings to the pattern-match checker that I don't want to lose. Here are the changes: * Some key functions of the checker now have SCC annotations * Better `-ddump-ec-trace` diagnostics for easier debugging. I added 'traceWhenFailPm' to see *why* a particular `MaybeT` computation fails and made use of it in `instCon`. I also increased the acceptance threshold of T11545, which seems to fail randomly lately due to ghc/max flukes.
Diffstat (limited to 'compiler/GHC/Unit/Module/ModGuts.hs')
0 files changed, 0 insertions, 0 deletions