TcPat: Typechecking patterns
\begin{code}
-{-# OPTIONS_GHC -w #-}
+{-# OPTIONS -w #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and fix
-- any warnings in the module. See
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
-- for details
module TcPat ( tcLetPat, tcLamPat, tcLamPats, tcOverloadedLit,
(unwrapFamInstScrutinee tycon ctxt_res_tys $
ConPatOut { pat_con = L con_span data_con,
pat_tvs = ex_tvs' ++ co_vars,
- pat_dicts = map instToId dicts,
+ pat_dicts = map instToVar dicts,
pat_binds = dict_binds,
pat_args = arg_pats', pat_ty = pat_ty },
ex_tvs' ++ inner_tvs, res)