X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcPat.lhs;h=e1a1f242040a43f0bf5e6852ee0df643d27278e4;hp=6cb177ed54044994ed4f878637eb83d368a7a582;hb=32722dc3f6466f01698f7a42298a8acedd4059c2;hpb=9efc26e4470305260ce45288a8d06aeab2037733 diff --git a/compiler/typecheck/TcPat.lhs b/compiler/typecheck/TcPat.lhs index 6cb177e..e1a1f24 100644 --- a/compiler/typecheck/TcPat.lhs +++ b/compiler/typecheck/TcPat.lhs @@ -800,7 +800,8 @@ newLitInst orig lit res_ty -- Make a LitInst ; res_tau <- zapToMonotype res_ty ; new_uniq <- newUnique ; let lit_nm = mkSystemVarName new_uniq FSLIT("lit") - lit_inst = LitInst lit_nm lit res_tau loc + lit_inst = LitInst {tci_name = lit_nm, tci_lit = lit, + tci_ty = res_tau, tci_loc = loc} ; extendLIE lit_inst ; return (HsVar (instToId lit_inst)) } \end{code}