Fix a bug in eqPatType
authorIan Lynagh <igloo@earth.li>
Fri, 6 Jun 2008 18:46:31 +0000 (18:46 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 6 Jun 2008 18:46:31 +0000 (18:46 +0000)
commitc8923e2df066608a14b05b87eb0440b24c79192f
treec6fdb7adabfc25812af428dfa7a0a382d0944755
parentaca3dd74dac482e77e34058c4003df5387487aaa
Fix a bug in eqPatType
One of the conditions we were checking was
    t2 `eqPatLType` t2
rather than
    t1 `eqPatLType` t2
compiler/typecheck/TcClassDcl.lhs