projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify the type signature for tcPolyBinds
[ghc-hetmet.git]
/
compiler
/
typecheck
/
TcClassDcl.lhs
diff --git
a/compiler/typecheck/TcClassDcl.lhs
b/compiler/typecheck/TcClassDcl.lhs
index
8fa2939
..
b36192c
100644
(file)
--- a/
compiler/typecheck/TcClassDcl.lhs
+++ b/
compiler/typecheck/TcClassDcl.lhs
@@
-271,7
+271,7
@@
tcMethodBind tyvars prags meth_id bind
(unitBag bind)
; ASSERT( ids == [meth_id] ) -- Binding for ONE method
- return (unionManyBags tc_binds) }
+ return tc_binds }
\end{code}
Note [Polymorphic methods]