Make the treatment of equalities more uniform
authorsimonpj@microsoft.com <unknown>
Mon, 7 Jan 2008 14:23:06 +0000 (14:23 +0000)
committersimonpj@microsoft.com <unknown>
Mon, 7 Jan 2008 14:23:06 +0000 (14:23 +0000)
commit3787d9878e4d62829a555f01b2a4c5866f24f303
treea1c602793a95b822095b16ede8f6b0d8231aa58a
parent5f99dc3d087e6f43c0ae1c8d92a1a9c4c3960ac9
Make the treatment of equalities more uniform

This patch (which is part of the fix for Trac #2018) makes coercion variables
be handled more uniformly.  Generally, they are treated like dictionaries
in the type checker, not like type variables, but in a couple of places we
were treating them like type variables.  Also when zonking we should use
zonkDictBndr not zonkIdBndr.
compiler/hsSyn/HsBinds.lhs
compiler/hsSyn/HsPat.lhs
compiler/typecheck/TcHsSyn.lhs
compiler/typecheck/TcMType.lhs
compiler/typecheck/TcSimplify.lhs
compiler/typecheck/TcTyFuns.lhs
compiler/typecheck/TcType.lhs
compiler/typecheck/TcUnify.lhs
compiler/types/FamInstEnv.lhs
compiler/types/TypeRep.lhs