Tue Dec 30 08:44:32 PST 2008 [email protected]
* Avoid nasty name clash with associated data types (fixes Trac #2888)
The main bug was in TcHsType; see Note [Avoid name clashes for
associated data types]. However I did a bit of re-factoring while
I was abouut it.
I'm still a but unhappy with the use of TyCon.setTyConArgPoss; it'd
be better to construct the TyCon correctly in the first place. But
that means passing an extra parameter to tcTyDecl1... maybe we should
do this.
M ./compiler/iface/BuildTyCl.lhs -1 +8
M ./compiler/iface/TcIface.lhs -14 +1
M ./compiler/typecheck/TcHsType.lhs -2 +22
M ./compiler/typecheck/TcInstDcls.lhs -6 +13
M ./compiler/typecheck/TcTyClsDecls.lhs -21 +16
M ./compiler/types/TyCon.lhs -29 +35
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081230164432-1287e-5b3d44e57685c832e93b8b0e08c1ded669fa8402.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc