From 19b17dceb6a1882ee779e75b9703d7fd2b93cc95 Mon Sep 17 00:00:00 2001 From: krasimir Date: Tue, 16 Feb 2010 09:34:02 +0000 Subject: no need to keep the list of constructors per category in .gfo --- src/compiler/GF/Compile/Update.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler/GF/Compile/Update.hs') diff --git a/src/compiler/GF/Compile/Update.hs b/src/compiler/GF/Compile/Update.hs index 1e39a2e03..6ee0dc65b 100644 --- a/src/compiler/GF/Compile/Update.hs +++ b/src/compiler/GF/Compile/Update.hs @@ -169,8 +169,8 @@ extendMod gr isCompl (name,cond) base old new = foldM try new $ Map.toList old unifyAnyInfo :: Ident -> Info -> Info -> Err Info unifyAnyInfo m i j = case (i,j) of - (AbsCat mc1 mf1, AbsCat mc2 mf2) -> - liftM2 AbsCat (unifMaybe mc1 mc2) (unifConstrs mf1 mf2) -- adding constrs + (AbsCat mc1, AbsCat mc2) -> + liftM AbsCat (unifMaybe mc1 mc2) (AbsFun mt1 ma1 md1, AbsFun mt2 ma2 md2) -> liftM3 AbsFun (unifMaybe mt1 mt2) (unifAbsArrity ma1 ma2) (unifAbsDefs md1 md2) -- adding defs -- cgit v1.2.3