summaryrefslogtreecommitdiff
path: root/compiler/typecheck/TcDerivUtils.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/typecheck/TcDerivUtils.hs')
-rw-r--r--compiler/typecheck/TcDerivUtils.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/typecheck/TcDerivUtils.hs b/compiler/typecheck/TcDerivUtils.hs
index 5bfbe51ad6..9ff82eee84 100644
--- a/compiler/typecheck/TcDerivUtils.hs
+++ b/compiler/typecheck/TcDerivUtils.hs
@@ -968,7 +968,7 @@ cond_functorOK allowFunctions allowExQuantifiedLastTyVar _ _ rep_tc
, ft_fun = \x y -> if allowFunctions then x `andValid` y
else NotValid (badCon con functions)
, ft_tup = \_ xs -> allValid xs
- , ft_ty_app = \_ x -> x
+ , ft_ty_app = \_ _ x -> x
, ft_bad_app = NotValid (badCon con wrong_arg)
, ft_forall = \_ x -> x }