summaryrefslogtreecommitdiff
path: root/compiler/GHC/Stg/Lint.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Stg/Lint.hs')
-rw-r--r--compiler/GHC/Stg/Lint.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Stg/Lint.hs b/compiler/GHC/Stg/Lint.hs
index cd9f3dff03..63154a48bd 100644
--- a/compiler/GHC/Stg/Lint.hs
+++ b/compiler/GHC/Stg/Lint.hs
@@ -382,7 +382,7 @@ lintAppCbvMarks e@(StgApp fun args) = do
when (lf_unarised lf) $ do
-- A function which expects a unlifted argument as n'th argument
-- always needs to be applied to n arguments.
- -- See Note [Strict Worker Ids].
+ -- See Note [CBV Function Ids].
let marks = fromMaybe [] $ idCbvMarks_maybe fun
when (length (dropWhileEndLE (not . isMarkedCbv) marks) > length args) $ do
addErrL $ hang (text "Undersatured cbv marked ID in App" <+> ppr e ) 2 $