summaryrefslogtreecommitdiff
path: root/src/GF/Compile/TC.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/Compile/TC.hs')
-rw-r--r--src/GF/Compile/TC.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Compile/TC.hs b/src/GF/Compile/TC.hs
index c0c8a83ae..f6e15b175 100644
--- a/src/GF/Compile/TC.hs
+++ b/src/GF/Compile/TC.hs
@@ -164,7 +164,7 @@ inferExp th tenv@(k,rho,gamma) e = case e of
_ -> prtBad ("Prod expected for function" +++ prt f +++ "instead of") typ
_ -> prtBad "cannot infer type of expression" e
-checkEqs :: Theory -> TCEnv -> (Fun,Trm) -> Val -> Err [(Val,Val)]
+checkEqs :: Theory -> TCEnv -> (Fun,Term) -> Val -> Err [(Val,Val)]
checkEqs th tenv@(k,rho,gamma) (fun@(m,f),def) val = case def of
Eqs es -> liftM concat $ mapM checkBranch es
_ -> liftM snd $ checkExp th tenv def val