summaryrefslogtreecommitdiff
path: root/utils/hpc/HpcMarkup.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-11-04 18:39:46 -0400
committerBen Gamari <ben@smart-cactus.org>2021-11-05 14:26:32 -0400
commit8be05be5b3215b4666253baf3afd2a3b8a27a0cc (patch)
treee516cc49ea12f8a39b315327946faef80f40b95b /utils/hpc/HpcMarkup.hs
parent004e86c38b8ba9380bfc58341d04d11f73b53a1a (diff)
downloadhaskell-wip/coverage.tar.gz
hpc: Use IntMap rather than Listwip/coverage
Diffstat (limited to 'utils/hpc/HpcMarkup.hs')
-rw-r--r--utils/hpc/HpcMarkup.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/hpc/HpcMarkup.hs b/utils/hpc/HpcMarkup.hs
index a8c7f25e25..47da5d99c7 100644
--- a/utils/hpc/HpcMarkup.hs
+++ b/utils/hpc/HpcMarkup.hs
@@ -162,8 +162,8 @@ genHtmlFromMod dest_dir flags tix theFunTotals invertOutput = do
(Mix origFile _ _ tabStop mix') <- readMixWithFlags flags (Right tix)
let arr_tix :: Array Int Integer
- arr_tix = listArray (0,length (tixModuleTixs tix) - 1)
- $ tixModuleTixs tix
+ arr_tix = listArray (0,tickCountsSize (tixModuleTixs tix) - 1)
+ $ tickCountsToList $ tixModuleTixs tix
let tickedWith :: Int -> Integer
tickedWith n = arr_tix ! n