diff options
author | Sebastian Graf <sebastian.graf@kit.edu> | 2021-03-22 10:11:35 +0100 |
---|---|---|
committer | Sebastian Graf <sebastian.graf@kit.edu> | 2021-04-20 10:17:55 +0200 |
commit | 0e5411374ebbb934227ceb533f984886f611f1b6 (patch) | |
tree | 1f60c07460f3802bd85559d631b428f6b5d8888c /compiler/GHC/Tc | |
parent | ee5dadade02890ff458167455386cc50839a3db8 (diff) | |
download | haskell-0e5411374ebbb934227ceb533f984886f611f1b6.tar.gz |
Worker/wrapper: Consistent names
Diffstat (limited to 'compiler/GHC/Tc')
-rw-r--r-- | compiler/GHC/Tc/Gen/Sig.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Tc/Gen/Sig.hs b/compiler/GHC/Tc/Gen/Sig.hs index 5a6560864d..f327d8f9f7 100644 --- a/compiler/GHC/Tc/Gen/Sig.hs +++ b/compiler/GHC/Tc/Gen/Sig.hs @@ -850,7 +850,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. |