summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2021-11-01 12:13:45 +0000
committerAndreas Klebinger <klebinger.andreas@gmx.at>2021-11-01 12:13:45 +0000
commit7445bd714c1bea39207f9a2fa497c325b95ba2c7 (patch)
treecdc404204b68b539088d04b47150821ee0d2a461
parent6544446db9582bb7abefd829be817b43ef8c991b (diff)
downloadhaskell-7445bd714c1bea39207f9a2fa497c325b95ba2c7.tar.gz
Update comment in Lint.hs
mkWwArgs has been renamed to mkWorkerArgs.
-rw-r--r--compiler/GHC/Core/Lint.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Core/Lint.hs b/compiler/GHC/Core/Lint.hs
index 9c89044c81..7e3b472a95 100644
--- a/compiler/GHC/Core/Lint.hs
+++ b/compiler/GHC/Core/Lint.hs
@@ -174,7 +174,7 @@ In the desugarer, it's very very convenient to be able to say (in effect)
let a = Type Bool in
let x::a = True in <body>
That is, use a type let. See Note [Core type and coercion invariant] in "GHC.Core".
-One place it is used is in mkWwArgs; see Note [Join points and beta-redexes]
+One place it is used is in mkWorkerArgs; see Note [Join points and beta-redexes]
in GHC.Core.Opt.WorkWrap.Utils. (Maybe there are other "clients" of this feature; I'm not sure).
* Hence when linting <body> we need to remember that a=Int, else we