summaryrefslogtreecommitdiff
path: root/compiler/GHC/CoreToIface.hs
diff options
context:
space:
mode:
authorLuite Stegeman <stegeman@gmail.com>2021-01-24 14:16:16 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-20 07:49:15 -0400
commit0107f3568d060b4c979aa3740465c4f6ca4c2bba (patch)
treef17a570bedb397e1211b69cf03cd1cb05e3148cf /compiler/GHC/CoreToIface.hs
parent26328a688183e3af49b5ac315b27afc2691bbc46 (diff)
downloadhaskell-0107f3568d060b4c979aa3740465c4f6ca4c2bba.tar.gz
rename Tickish to CoreTickish
Diffstat (limited to 'compiler/GHC/CoreToIface.hs')
-rw-r--r--compiler/GHC/CoreToIface.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/CoreToIface.hs b/compiler/GHC/CoreToIface.hs
index ac3ddf0207..48729ea00c 100644
--- a/compiler/GHC/CoreToIface.hs
+++ b/compiler/GHC/CoreToIface.hs
@@ -561,7 +561,7 @@ toIfaceOneShot id | isId id
= IfaceNoOneShot
---------------------
-toIfaceTickish :: Tickish -> Maybe IfaceTickish
+toIfaceTickish :: CoreTickish -> Maybe IfaceTickish
toIfaceTickish (ProfNote cc tick push) = Just (IfaceSCC cc tick push)
toIfaceTickish (HpcTick modl ix) = Just (IfaceHpcTick modl ix)
toIfaceTickish (SourceNote src names) = Just (IfaceSource src names)