summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/Stats.hs
diff options
context:
space:
mode:
authorLuite Stegeman <stegeman@gmail.com>2020-12-10 16:32:19 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-20 07:49:15 -0400
commit26328a688183e3af49b5ac315b27afc2691bbc46 (patch)
tree007b8105d2cabf52142cb8f5d7b790e888e42197 /compiler/GHC/Core/Stats.hs
parentdd11f2d5e87ba83ca16510e3e1ac6c41c1df1647 (diff)
downloadhaskell-26328a688183e3af49b5ac315b27afc2691bbc46.tar.gz
remove superfluous 'id' type parameter from GenTickish
The 'id' type is now determined by the pass, using the XTickishId type family.
Diffstat (limited to 'compiler/GHC/Core/Stats.hs')
-rw-r--r--compiler/GHC/Core/Stats.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Core/Stats.hs b/compiler/GHC/Core/Stats.hs
index 46d5af5106..a25fd7b108 100644
--- a/compiler/GHC/Core/Stats.hs
+++ b/compiler/GHC/Core/Stats.hs
@@ -116,7 +116,7 @@ exprSize (Tick n e) = tickSize n + exprSize e
exprSize (Type _) = 1
exprSize (Coercion _) = 1
-tickSize :: Tickish Id -> Int
+tickSize :: Tickish -> Int
tickSize (ProfNote _ _ _) = 1
tickSize _ = 1