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:
dbcd7b7
)
Comments only
author
simonpj@microsoft.com
<unknown>
Tue, 9 Mar 2010 17:28:14 +0000
(17:28 +0000)
committer
simonpj@microsoft.com
<unknown>
Tue, 9 Mar 2010 17:28:14 +0000
(17:28 +0000)
compiler/coreSyn/CoreSubst.lhs
patch
|
blob
|
history
diff --git
a/compiler/coreSyn/CoreSubst.lhs
b/compiler/coreSyn/CoreSubst.lhs
index
efd573d
..
c5d8b83
100644
(file)
--- a/
compiler/coreSyn/CoreSubst.lhs
+++ b/
compiler/coreSyn/CoreSubst.lhs
@@
-442,7
+442,7
@@
It also unconditionally zaps the OccInfo.
\begin{code}
-- | Very similar to 'substBndr', but it always allocates a new 'Unique' for
--- each variable in its output and removes all 'IdInfo'
+-- each variable in its output. It substitutes the IdInfo though.
cloneIdBndr :: Subst -> UniqSupply -> Id -> (Subst, Id)
cloneIdBndr subst us old_id
= clone_id subst subst (old_id, uniqFromSupply us)