projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2003-12-17 11:29:40 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
deSugar
/
Desugar.lhs
diff --git
a/ghc/compiler/deSugar/Desugar.lhs
b/ghc/compiler/deSugar/Desugar.lhs
index
d95ca8c
..
879058e
100644
(file)
--- a/
ghc/compiler/deSugar/Desugar.lhs
+++ b/
ghc/compiler/deSugar/Desugar.lhs
@@
-261,7
+261,7
@@
dsRule in_scope (L loc (HsRule name act vars lhs rhs))
returnDs (fn, Rule name act tpl_vars args core_rhs)
where
tpl_vars = [var | RuleBndr (L _ var) <- vars]
returnDs (fn, Rule name act tpl_vars args core_rhs)
where
tpl_vars = [var | RuleBndr (L _ var) <- vars]
- all_vars = mkInScopeSet (in_scope `unionVarSet` mkVarSet tpl_vars)
+ all_vars = mkInScopeSet (extendVarSetList in_scope tpl_vars)
ds_lhs all_vars lhs
= let
ds_lhs all_vars lhs
= let