summaryrefslogtreecommitdiff
path: root/compiler/GHC/Tc
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2021-03-22 10:11:35 +0100
committerSebastian Graf <sebastian.graf@kit.edu>2021-03-22 10:11:35 +0100
commit2f6bb45b2587b566e94cce06b94ab794e03bc143 (patch)
treed1b6456dc541c058929b0bdc67a74778ec3ebcf4 /compiler/GHC/Tc
parent449bf91cff7a6c0335eceb11f1dba40696b3163f (diff)
downloadhaskell-2f6bb45b2587b566e94cce06b94ab794e03bc143.tar.gz
Worker/wrapper: Consistent names
Diffstat (limited to 'compiler/GHC/Tc')
-rw-r--r--compiler/GHC/Tc/Gen/Sig.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Tc/Gen/Sig.hs b/compiler/GHC/Tc/Gen/Sig.hs
index 1d81b3636b..47da1c43dd 100644
--- a/compiler/GHC/Tc/Gen/Sig.hs
+++ b/compiler/GHC/Tc/Gen/Sig.hs
@@ -831,7 +831,7 @@ An imported Id may or may not have an unfolding. If not, we obviously
can't specialise it here; indeed the desugar falls over (#18118).
We used to test whether it had a user-specified INLINABLE pragma but,
-because of Note [Worker-wrapper for INLINABLE functions] in
+because of Note [Worker/wrapper for INLINABLE functions] in
GHC.Core.Opt.WorkWrap, even an INLINABLE function may end up with
a wrapper that has no pragma, just an unfolding (#19246). So now
we just test whether the function has an unfolding.