diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-11-04 18:39:46 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2021-11-05 14:26:32 -0400 |
commit | 8be05be5b3215b4666253baf3afd2a3b8a27a0cc (patch) | |
tree | e516cc49ea12f8a39b315327946faef80f40b95b /utils/hpc/HpcMarkup.hs | |
parent | 004e86c38b8ba9380bfc58341d04d11f73b53a1a (diff) | |
download | haskell-wip/coverage.tar.gz |
hpc: Use IntMap rather than Listwip/coverage
Diffstat (limited to 'utils/hpc/HpcMarkup.hs')
-rw-r--r-- | utils/hpc/HpcMarkup.hs | 4 |
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 |