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:
8672676
)
Tiny optimisation/simplification to FunDeps.grow
author
simonpj@microsoft.com
<unknown>
Fri, 7 Sep 2007 10:11:33 +0000
(10:11 +0000)
committer
simonpj@microsoft.com
<unknown>
Fri, 7 Sep 2007 10:11:33 +0000
(10:11 +0000)
compiler/types/FunDeps.lhs
patch
|
blob
|
history
diff --git
a/compiler/types/FunDeps.lhs
b/compiler/types/FunDeps.lhs
index
3d90126
..
a7e9f19
100644
(file)
--- a/
compiler/types/FunDeps.lhs
+++ b/
compiler/types/FunDeps.lhs
@@
-153,7
+153,7
@@
See also Note [Ambiguity] in TcSimplify
\begin{code}
grow :: [PredType] -> TyVarSet -> TyVarSet
grow preds fixed_tvs
- | null preds = real_fixed_tvs
+ | null preds = fixed_tvs
| otherwise = loop real_fixed_tvs
where
-- Add the implicit parameters;