projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 1996-07-25 20:43:49 by partain]
[ghc-hetmet.git]
/
ghc
/
compiler
/
typecheck
/
TcInstUtil.lhs
diff --git
a/ghc/compiler/typecheck/TcInstUtil.lhs
b/ghc/compiler/typecheck/TcInstUtil.lhs
index
38b8f2f
..
9af279f
100644
(file)
--- a/
ghc/compiler/typecheck/TcInstUtil.lhs
+++ b/
ghc/compiler/typecheck/TcInstUtil.lhs
@@
-41,7
+41,8
@@
import Type ( mkSigmaTy, mkForAllTys, mkDictTy, mkTyVarTys,
splitForAllTy, instantiateTy, matchTy, SYN_IE(ThetaType) )
import TyVar ( GenTyVar )
import Unique ( Unique )
splitForAllTy, instantiateTy, matchTy, SYN_IE(ThetaType) )
import TyVar ( GenTyVar )
import Unique ( Unique )
-import Util ( equivClasses, zipWithEqual, panic )
+import Util ( equivClasses, zipWithEqual, panic{-, pprTrace-} )
+--import PprStyle
import IdInfo ( noIdInfo )
--import TcPragmas ( tcDictFunPragmas, tcGenPragmas )
import IdInfo ( noIdInfo )
--import TcPragmas ( tcDictFunPragmas, tcGenPragmas )
@@
-119,6
+120,8
@@
mkInstanceRelatedIds from_here src_loc inst_mod inst_pragmas
returnTc (mkDictFunId dfun_uniq clas inst_ty dfun_ty from_here src_loc inst_mod dfun_id_info)
) `thenTc` \ dfun_id ->
returnTc (mkDictFunId dfun_uniq clas inst_ty dfun_ty from_here src_loc inst_mod dfun_id_info)
) `thenTc` \ dfun_id ->
+-- pprTrace "DFUN: " (ppr PprDebug dfun_id) $
+
-- MAKE THE CONSTANT-METHOD IDS
-- if there are no type variables involved
(if (null inst_decl_theta)
-- MAKE THE CONSTANT-METHOD IDS
-- if there are no type variables involved
(if (null inst_decl_theta)