projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f47da5c
)
[project @ 1999-06-24 12:49:26 by simonmar]
author
simonmar
<unknown>
Thu, 24 Jun 1999 12:49:26 +0000
(12:49 +0000)
committer
simonmar
<unknown>
Thu, 24 Jun 1999 12:49:26 +0000
(12:49 +0000)
Fix non-compiling code
ghc/compiler/simplCore/Simplify.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/simplCore/Simplify.lhs
b/ghc/compiler/simplCore/Simplify.lhs
index
fe1dec4
..
6c365b7
100644
(file)
--- a/
ghc/compiler/simplCore/Simplify.lhs
+++ b/
ghc/compiler/simplCore/Simplify.lhs
@@
-995,10
+995,10
@@
rebuild scrut (Select _ bndr alts se cont)
-- case (\x.e) of f -> ...
-- so better to always do it
-= -- Get rid of the case altogether
+ -- Get rid of the case altogether
-- See the extensive notes on case-elimination below
-- Remember to bind the binder though!
- tick (CaseElim bndr) `thenSmpl_` (
+ = tick (CaseElim bndr) `thenSmpl_` (
setSubstEnv se $
simplBinder bndr $ \ bndr' ->
completeBinding bndr bndr' scrut $