summaryrefslogtreecommitdiff
path: root/src/GF/Compile/CheckGrammar.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2009-05-22 21:47:32 +0000
committerkrasimir <krasimir@chalmers.se>2009-05-22 21:47:32 +0000
commita7900bfbc8e95053b161c6c1d50ada9c7859029a (patch)
treec1f94858b819b8b9a90da8948fdc3775222983ae /src/GF/Compile/CheckGrammar.hs
parentc520039f1c0f8b12be8291cf2c81245bd13076ad (diff)
fix the handling of wildcards
Diffstat (limited to 'src/GF/Compile/CheckGrammar.hs')
-rw-r--r--src/GF/Compile/CheckGrammar.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Compile/CheckGrammar.hs b/src/GF/Compile/CheckGrammar.hs
index 59961e0cd..bad6bcbcf 100644
--- a/src/GF/Compile/CheckGrammar.hs
+++ b/src/GF/Compile/CheckGrammar.hs
@@ -897,7 +897,7 @@ checkLType env trm typ0 = do
pattContext :: LTEnv -> Type -> Patt -> Check Context
pattContext env typ p = case p of
- PV x | not (isWildIdent x) -> return [(x,typ)]
+ PV x -> return [(x,typ)]
PP q c ps | q /= cPredef -> do ---- why this /=? AR 6/1/2006
t <- checkErr $ lookupResType cnc q c
(cont,v) <- checkErr $ typeFormCnc t