projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename local variable (no semantic effect)
[ghc-hetmet.git]
/
compiler
/
specialise
/
Rules.lhs
diff --git
a/compiler/specialise/Rules.lhs
b/compiler/specialise/Rules.lhs
index
2798ca1
..
10eb3f8
100644
(file)
--- a/
compiler/specialise/Rules.lhs
+++ b/
compiler/specialise/Rules.lhs
@@
-597,7
+597,7
@@
match_var menv subst@(tv_subst, id_subst, binds) v1 e2
| otherwise -- No renaming to do on e2
-> Just (tv_subst, extendVarEnv id_subst v1' e2, binds)
- Just e2' | tcEqExprX (nukeRnEnvL rn_env) e2' e2
+ Just e1' | tcEqExprX (nukeRnEnvL rn_env) e1' e2
-> Just subst
| otherwise