summaryrefslogtreecommitdiff
path: root/compiler/GHC/ByteCode/InfoTable.hs
diff options
context:
space:
mode:
authorSimon Jakobi <simon.jakobi@gmail.com>2022-07-22 18:41:40 +0200
committerSimon Jakobi <simon.jakobi@gmail.com>2022-07-22 18:41:40 +0200
commit14ca0d1d6934810408db243353e9b1189b3a7146 (patch)
tree3570bf63e654a43e8fae2fd0c0086dc2ce511225 /compiler/GHC/ByteCode/InfoTable.hs
parenta889bc05dfff611521769843993ccea7a0061537 (diff)
downloadhaskell-wip/sjakobi/suspicious-foldrs.tar.gz
Mark some suspicious uses of foldrwip/sjakobi/suspicious-foldrs
Diffstat (limited to 'compiler/GHC/ByteCode/InfoTable.hs')
-rw-r--r--compiler/GHC/ByteCode/InfoTable.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/ByteCode/InfoTable.hs b/compiler/GHC/ByteCode/InfoTable.hs
index 4a11ee4b56..84b97a85ba 100644
--- a/compiler/GHC/ByteCode/InfoTable.hs
+++ b/compiler/GHC/ByteCode/InfoTable.hs
@@ -37,7 +37,7 @@ import GHC.Utils.Panic
-- Make info tables for the data decls in this module
mkITbls :: Interp -> Profile -> [TyCon] -> IO ItblEnv
mkITbls interp profile tcs =
- foldr plusNameEnv emptyNameEnv <$>
+ foldr plusNameEnv emptyNameEnv <$> --
mapM mkITbl (filter isDataTyCon tcs)
where
mkITbl :: TyCon -> IO ItblEnv