From d8b049fdf840c9f8f383c7568882a5d2d11afecb Mon Sep 17 00:00:00 2001 From: krasimir Date: Thu, 17 Jun 2010 15:08:12 +0000 Subject: rename GF.Grammar.Predef.isPredefCat to isLiteralCat --- src/compiler/GF/Compile/Abstract/TC.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/GF/Compile/Abstract') diff --git a/src/compiler/GF/Compile/Abstract/TC.hs b/src/compiler/GF/Compile/Abstract/TC.hs index 4758bacdb..8236bcf44 100644 --- a/src/compiler/GF/Compile/Abstract/TC.hs +++ b/src/compiler/GF/Compile/Abstract/TC.hs @@ -161,7 +161,7 @@ checkInferExp th tenv@(k,_,_) e typ = do inferExp :: Theory -> TCEnv -> Exp -> Err (AExp, Val, [(Val,Val)]) inferExp th tenv@(k,rho,gamma) e = case e of Vr x -> mkAnnot (AVr x) $ noConstr $ lookupVar gamma x - Q (m,c) | m == cPredefAbs && isPredefCat c + Q (m,c) | m == cPredefAbs && isLiteralCat c -> return (ACn (m,c) vType, vType, []) | otherwise -> mkAnnot (ACn (m,c)) $ noConstr $ lookupConst th (m,c) QC c -> mkAnnot (ACn c) $ noConstr $ lookupConst th c ---- -- cgit v1.2.3