From a7900bfbc8e95053b161c6c1d50ada9c7859029a Mon Sep 17 00:00:00 2001 From: krasimir Date: Fri, 22 May 2009 21:47:32 +0000 Subject: fix the handling of wildcards --- src/GF/Compile/AbsCompute.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/Compile/AbsCompute.hs') diff --git a/src/GF/Compile/AbsCompute.hs b/src/GF/Compile/AbsCompute.hs index ce3528b68..a4a8d803e 100644 --- a/src/GF/Compile/AbsCompute.hs +++ b/src/GF/Compile/AbsCompute.hs @@ -109,7 +109,7 @@ tryMatch (p,t) = do trym p t' = err (\s -> tracd s (Bad s)) (\t -> tracd (prtm p t) (return t)) $ ---- case (p,t') of - (PV IW, _) | notMeta t -> return [] -- optimization with wildcard + (PW, _) | notMeta t -> return [] -- optimization with wildcard (PV x, _) | notMeta t -> return [(x,t)] (PString s, ([],K i,[])) | s==i -> return [] (PInt s, ([],EInt i,[])) | s==i -> return [] -- cgit v1.2.3