projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e66a531
)
Comment only
author
simonpj@microsoft.com
<unknown>
Wed, 4 Nov 2009 21:41:58 +0000
(21:41 +0000)
committer
simonpj@microsoft.com
<unknown>
Wed, 4 Nov 2009 21:41:58 +0000
(21:41 +0000)
compiler/simplCore/Simplify.lhs
patch
|
blob
|
history
diff --git
a/compiler/simplCore/Simplify.lhs
b/compiler/simplCore/Simplify.lhs
index
1cb3e9f
..
d169518
100644
(file)
--- a/
compiler/simplCore/Simplify.lhs
+++ b/
compiler/simplCore/Simplify.lhs
@@
-1518,7
+1518,7
@@
much always zap the OccInfo of the binders. It doesn't matter much though.
Note [Case of cast]
~~~~~~~~~~~~~~~~~~~
-Consider case (v `cast` co) of x { I# ->
+Consider case (v `cast` co) of x { I# y ->
... (case (v `cast` co) of {...}) ...
We'd like to eliminate the inner case. We can get this neatly by
arranging that inside the outer case we add the unfolding