Skip to content

Commit

Permalink
No need to call defaultKind in mkTcEqPred
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Peyton Jones committed May 28, 2014
1 parent 8668c54 commit 3c1f2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/typecheck/TcType.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3c1f2f7

Please sign in to comment.