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:
1602951
)
[project @ 2003-05-07 16:20:21 by simonpj]
author
simonpj
<unknown>
Wed, 7 May 2003 16:20:21 +0000
(16:20 +0000)
committer
simonpj
<unknown>
Wed, 7 May 2003 16:20:21 +0000
(16:20 +0000)
Comment only
ghc/compiler/rename/RnIfaces.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/rename/RnIfaces.lhs
b/ghc/compiler/rename/RnIfaces.lhs
index
c0d97db
..
e3aa3a4
100644
(file)
--- a/
ghc/compiler/rename/RnIfaces.lhs
+++ b/
ghc/compiler/rename/RnIfaces.lhs
@@
-480,6
+480,7
@@
getWiredInGates (AClass cl)
getWiredInGates (AnId the_id) = tyClsNamesOfType (idType the_id)
getWiredInGates (ADataCon dc) = tyClsNamesOfType (idType (dataConWrapId dc))
+ -- Should include classes in the 'stupid context' of the data con?
getWiredInGates (ATyCon tc)
| isSynTyCon tc = tyClsNamesOfType ty
| otherwise = unitFV (getName tc)