massive changes to add a 'zipper' representation of C--
[ghc-hetmet.git] / compiler / typecheck / TcPat.lhs
index 9c6a0dc..0640675 100644 (file)
@@ -6,11 +6,11 @@
 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,
@@ -597,7 +597,7 @@ tcConPat pstate con_span data_con tycon pat_ty arg_pats thing_inside
            (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)