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:
c244ae2
)
[project @ 2004-04-02 16:54:02 by simonpj]
author
simonpj
<unknown>
Fri, 2 Apr 2004 16:54:02 +0000
(16:54 +0000)
committer
simonpj
<unknown>
Fri, 2 Apr 2004 16:54:02 +0000
(16:54 +0000)
Another stage-2 wibble to last commit
ghc/compiler/hsSyn/Convert.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/hsSyn/Convert.lhs
b/ghc/compiler/hsSyn/Convert.lhs
index
c2d35d5
..
03abd3c
100644
(file)
--- a/
ghc/compiler/hsSyn/Convert.lhs
+++ b/
ghc/compiler/hsSyn/Convert.lhs
@@
-62,7
+62,7
@@
mk_con con = L loc0 $ case con of
= (noLoc (vName i), noLoc $ BangType HsNoBang (cvtType ty))
mk_derivs [] = Nothing
-mk_derivs cs = Just (noLoc [noLoc $ HsClassP (tconName c) [] | c <- cs])
+mk_derivs cs = Just [noLoc $ HsPredTy $ noLoc $ HsClassP (tconName c) [] | c <- cs]
cvt_ltop :: TH.Dec -> Either (LHsDecl RdrName) Message
cvt_ltop d = case cvt_top d of