projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-10-27 14:35:20 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
typecheck
/
TcTyClsDecls.lhs
diff --git
a/ghc/compiler/typecheck/TcTyClsDecls.lhs
b/ghc/compiler/typecheck/TcTyClsDecls.lhs
index
a10a744
..
5df15c1
100644
(file)
--- a/
ghc/compiler/typecheck/TcTyClsDecls.lhs
+++ b/
ghc/compiler/typecheck/TcTyClsDecls.lhs
@@
-324,8
+324,8
@@
kcTyClDecl decl@(ClassDecl {tcdCtxt = ctxt, tcdSigs = sigs})
; sigs' <- mappM (wrapLocM kc_sig) sigs
; return (decl {tcdTyVars = tvs', tcdCtxt = ctxt', tcdSigs = sigs'}) }
where
; sigs' <- mappM (wrapLocM kc_sig) sigs
; return (decl {tcdTyVars = tvs', tcdCtxt = ctxt', tcdSigs = sigs'}) }
where
- kc_sig (Sig nm op_ty) = do { op_ty' <- kcHsLiftedSigType op_ty
- ; return (Sig nm op_ty') }
+ kc_sig (TypeSig nm op_ty) = do { op_ty' <- kcHsLiftedSigType op_ty
+ ; return (TypeSig nm op_ty') }
kc_sig other_sig = return other_sig
kcTyClDecl decl@(ForeignType {})
kc_sig other_sig = return other_sig
kcTyClDecl decl@(ForeignType {})