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:
4fef5c3
)
[project @ 2003-10-23 08:06:48 by simonpj]
author
simonpj
<unknown>
Thu, 23 Oct 2003 08:06:48 +0000
(08:06 +0000)
committer
simonpj
<unknown>
Thu, 23 Oct 2003 08:06:48 +0000
(08:06 +0000)
Wibble for HsForAllTy
ghc/compiler/deSugar/DsMeta.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/deSugar/DsMeta.hs
b/ghc/compiler/deSugar/DsMeta.hs
index
ffb6b13
..
71ba65c
100644
(file)
--- a/
ghc/compiler/deSugar/DsMeta.hs
+++ b/
ghc/compiler/deSugar/DsMeta.hs
@@
-377,8
+377,8
@@
repTys tys = mapM repTy tys
-- represent a type
--
repTy :: HsType Name -> DsM (Core M.TypeQ)
-repTy (HsForAllTy bndrs ctxt ty) =
- addTyVarBinds (fromMaybe [] bndrs) $ \bndrs' -> do
+repTy (HsForAllTy _ bndrs ctxt ty) =
+ addTyVarBinds bndrs $ \bndrs' -> do
ctxt' <- repContext ctxt
ty' <- repTy ty
repTForall (coreList' stringTy bndrs') ctxt' ty'