diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2019-07-04 06:49:15 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-07-04 21:24:26 -0400 |
commit | ed6629013b91f782953b4aa5db2854647e3eae97 (patch) | |
tree | 350064f9a9af092682d94288eb97db36f0262591 /testsuite/tests/polykinds/T16342.hs | |
parent | 53aa59f36dc6554c37ead9677c71e91cad3f9f21 (diff) | |
download | haskell-ed6629013b91f782953b4aa5db2854647e3eae97.tar.gz |
rts: Fix -hT option with profiling rts
In dumpCensus we switch/case on doHeapProfile twice. The second switch
tries to barf on unknown doHeapProfile modes but HEAP_BY_CLOSURE_TYPE is
checked by the first switch and not included in the second.
So when trying to pass -hT to the profiling rts it barfs.
This commit simply merges the two switches into one which fixes this
problem.
Diffstat (limited to 'testsuite/tests/polykinds/T16342.hs')
0 files changed, 0 insertions, 0 deletions