summaryrefslogtreecommitdiff
path: root/compiler/GHC/CoreToIface.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/CoreToIface.hs')
-rw-r--r--compiler/GHC/CoreToIface.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/CoreToIface.hs b/compiler/GHC/CoreToIface.hs
index 248e517f61..8f476fb41d 100644
--- a/compiler/GHC/CoreToIface.hs
+++ b/compiler/GHC/CoreToIface.hs
@@ -441,7 +441,7 @@ toIfaceLetBndr id = IfLetBndr (occNameFS (getOccName id))
toIfaceIdDetails :: IdDetails -> IfaceIdDetails
toIfaceIdDetails VanillaId = IfVanillaId
-toIfaceIdDetails (StrictWorkerId dmds) = IfStrictWorkerId dmds
+toIfaceIdDetails (WorkerLikeId dmds) = IfWorkerLikeId dmds
toIfaceIdDetails (DFunId {}) = IfDFunId
toIfaceIdDetails (RecSelId { sel_naughty = n
, sel_tycon = tc }) =
@@ -524,7 +524,7 @@ toIfUnfolding lb (DFunUnfolding { df_bndrs = bndrs, df_args = args })
toIfUnfolding _ (OtherCon {}) = Nothing
-- The binding site of an Id doesn't have OtherCon, except perhaps
- -- where we have called zapUnfolding; and that evald'ness info is
+ -- where we have called trimUnfolding; and that evald'ness info is
-- not needed by importing modules
toIfUnfolding _ BootUnfolding = Nothing