From de8bea8d692617d0028f9c2f5716f1e303490ff2 Mon Sep 17 00:00:00 2001 From: aarne Date: Mon, 8 Dec 2008 07:15:19 +0000 Subject: data structures for param values with number, preparing optimized pattern matching in grammar compilation --- src/GF/Compile/CheckGrammar.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/Compile/CheckGrammar.hs') diff --git a/src/GF/Compile/CheckGrammar.hs b/src/GF/Compile/CheckGrammar.hs index c93788cd2..5b9e6d923 100644 --- a/src/GF/Compile/CheckGrammar.hs +++ b/src/GF/Compile/CheckGrammar.hs @@ -455,7 +455,7 @@ inferLType gr trm = case trm of prtFail "cannot infer type of canonical constant" trm ] - Val ty i -> termWith trm $ return ty + Val _ ty i -> termWith trm $ return ty Vr ident -> termWith trm $ checkLookup ident -- cgit v1.2.3