Minor
authordimitris@microsoft.com <unknown>
Tue, 12 Oct 2010 08:09:51 +0000 (08:09 +0000)
committerdimitris@microsoft.com <unknown>
Tue, 12 Oct 2010 08:09:51 +0000 (08:09 +0000)
compiler/typecheck/TcCanonical.lhs

index b870b86..d72fae4 100644 (file)
@@ -528,11 +528,10 @@ reOrient (FunCls {})   (VarCls tv2)   = isMetaTyVar tv2
   -- meta type variable is the RHS of a function equality
 reOrient (FunCls {}) _                = False   -- Fun/Other on rhs
 
-
-reOrient (VarCls tv1) (FunCls {}) = not (isMetaTyVar tv1)
+reOrient (VarCls tv1) (FunCls {})   = not (isMetaTyVar tv1)
 reOrient (VarCls {})  (OtherCls {}) = False
+reOrient (VarCls {})  (VarCls {})   = False 
 
-reOrient (VarCls tv1) (VarCls tv2) = False 
 {- 
 -- Variables-variables are oriented according to their kind 
 -- so that the following property has the best chance of