From e620ffbd9432fc9ab4f3174ecf9c117db27af772 Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 23 Oct 2003 15:09:07 +0000 Subject: Working with interfaces and incomplete modules. --- src/GF/Compile/ModDeps.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/GF/Compile/ModDeps.hs') diff --git a/src/GF/Compile/ModDeps.hs b/src/GF/Compile/ModDeps.hs index 2aa042a95..c940fdd7c 100644 --- a/src/GF/Compile/ModDeps.hs +++ b/src/GF/Compile/ModDeps.hs @@ -39,7 +39,7 @@ checkUniqueErr ms = do checkUniqueImportNames :: [Ident] -> SourceModInfo -> Err () checkUniqueImportNames ns mo = case mo of - ModMod m -> test [n | OQualif n v <- opens m, n /= v] + ModMod m -> test [n | OQualif _ n v <- opens m, n /= v] where @@ -80,7 +80,7 @@ moduleDeps ms = mapM deps ms where -- check for superficial compatibility, not submodule relation etc compatMType mt0 mt = case (mt0,mt) of (MTConcrete _, MTConcrete _) -> True - (MTResourceImpl _, MTResourceImpl _) -> True + (MTInstance _, MTInstance _) -> True (MTReuse _, MTReuse _) -> True ---- some more _ -> mt0 == mt -- cgit v1.2.3