From c3beefba47d9b3affa35f736c29dfd64565728b4 Mon Sep 17 00:00:00 2001 From: hallgren Date: Tue, 18 Dec 2012 13:03:20 +0000 Subject: partial evaluator bug fix Int was missing from the list of predefined canonical constants. --- src/compiler/GF/Compile/Compute/Value.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/GF/Compile/Compute/Value.hs') diff --git a/src/compiler/GF/Compile/Compute/Value.hs b/src/compiler/GF/Compile/Compute/Value.hs index bbc751ee4..e05d29e42 100644 --- a/src/compiler/GF/Compile/Compute/Value.hs +++ b/src/compiler/GF/Compile/Compute/Value.hs @@ -51,5 +51,5 @@ data Predefined = Drop | Take | Tk | Dp | EqStr | Occur | Occurs | ToUpper {- | Show | Read | ToStr | MapStr | EqVal -} | Error -- Canonical values below: - | PBool | PFalse | PTrue | Ints + | PBool | PFalse | PTrue | Int | Ints deriving (Show,Eq,Ord,Ix,Bounded,Enum) -- cgit v1.2.3