[commit: ghc] master: Typos in note (95216e8)
git at git.haskell.org
git at git.haskell.org
Tue Nov 12 00:50:41 UTC 2013
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/95216e8fa0ecb98189dce29f0b89b3b0f8d439c6/ghc
>---------------------------------------------------------------
commit 95216e8fa0ecb98189dce29f0b89b3b0f8d439c6
Author: Gabor Greif <ggreif at gmail.com>
Date: Tue Nov 12 01:50:05 2013 +0100
Typos in note
>---------------------------------------------------------------
95216e8fa0ecb98189dce29f0b89b3b0f8d439c6
compiler/stranal/WwLib.lhs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/stranal/WwLib.lhs b/compiler/stranal/WwLib.lhs
index 10e5ed3..2e6bacd 100644
--- a/compiler/stranal/WwLib.lhs
+++ b/compiler/stranal/WwLib.lhs
@@ -477,7 +477,7 @@ nop_fn body = body
Note [mkWWstr and unsafeCoerce]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Byy using usafeCoerce, it is possible to make the number of demands fail to
+By using unsafeCoerce, it is possible to make the number of demands fail to
match the number of constructor arguments; this happened in Trac #8037.
If so, the worker/wrapper split doesn't work right and we get a Core Lint
bug. The fix here is simply to decline to do w/w if that happens.
More information about the ghc-commits
mailing list