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:
70918cf
)
revert previous fix until I can find out why it was wrong
author
Simon Marlow
<simonmar@microsoft.com>
Mon, 23 Apr 2007 13:05:45 +0000
(13:05 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Mon, 23 Apr 2007 13:05:45 +0000
(13:05 +0000)
should fix recent GHCi problems in the HEAD
compiler/deSugar/DsGRHSs.lhs
patch
|
blob
|
history
diff --git
a/compiler/deSugar/DsGRHSs.lhs
b/compiler/deSugar/DsGRHSs.lhs
index
55b4f57
..
07907bd
100644
(file)
--- a/
compiler/deSugar/DsGRHSs.lhs
+++ b/
compiler/deSugar/DsGRHSs.lhs
@@
-63,7
+63,7
@@
dsGRHSs hs_ctx pats grhssa@(GRHSs grhss binds) rhs_ty =
let
match_result1 = foldr1 combineMatchResults match_results
match_result2 = adjustMatchResultDs
- (\e -> bindLocalsDs binders $
+ (\e -> bindLocalsDs patsBinders $
dsLocalBinds binds e)
match_result1
-- NB: nested dsLet inside matchResult