From 5e87b6ef983a11257eafec7fa1d8216bbe9a300e Mon Sep 17 00:00:00 2001 From: aarne Date: Mon, 5 Nov 2007 21:55:17 +0000 Subject: fixed variants bug in GFCC.Linearize: l. 64,46 'r' must be 'p' --- src/GF/GFCC/Linearize.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/GFCC/Linearize.hs') diff --git a/src/GF/GFCC/Linearize.hs b/src/GF/GFCC/Linearize.hs index b7b419f7d..7147afdcf 100644 --- a/src/GF/GFCC/Linearize.hs +++ b/src/GF/GFCC/Linearize.hs @@ -61,7 +61,7 @@ compute mcfg lang args = comp where proj r p = case (r,p) of (_, FV ts) -> FV $ lmap (proj r) ts - (FV ts, _ ) -> FV $ lmap (\t -> proj t r) ts + (FV ts, _ ) -> FV $ lmap (\t -> proj t p) ts (W s t, _) -> kks (s ++ getString (proj t p)) _ -> comp $ getField r (getIndex p) -- cgit v1.2.3