From 3c1f2f74897198638f84f8f3af06a2c80b02b29a Mon Sep 17 00:00:00 2001 From: Simon Peyton Jones Date: Wed, 28 May 2014 09:16:53 +0100 Subject: No need to call defaultKind in mkTcEqPred --- compiler/typecheck/TcType.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/typecheck/TcType.lhs b/compiler/typecheck/TcType.lhs index 530397aeca..b093d80391 100644 --- a/compiler/typecheck/TcType.lhs +++ b/compiler/typecheck/TcType.lhs @@ -736,7 +736,7 @@ mkTcEqPred :: TcType -> TcType -> Type mkTcEqPred ty1 ty2 = mkTyConApp eqTyCon [k, ty1, ty2] where - k = defaultKind (typeKind ty1) + k = typeKind ty1 \end{code} @isTauTy@ tests for nested for-alls. It should not be called on a boxy type. -- cgit v1.2.1