From 5dc1edf50f5c6ae4d0a9ac1c7ff45d95da1a61e2 Mon Sep 17 00:00:00 2001 From: aarne Date: Tue, 30 May 2006 12:19:19 +0000 Subject: lincat typecheck and abstract-interface extension fixed --- src/GF/Compile/ModDeps.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/GF/Compile/ModDeps.hs') diff --git a/src/GF/Compile/ModDeps.hs b/src/GF/Compile/ModDeps.hs index 737c7e4c1..8331057d1 100644 --- a/src/GF/Compile/ModDeps.hs +++ b/src/GF/Compile/ModDeps.hs @@ -93,6 +93,9 @@ moduleDeps ms = mapM deps ms where -- check for superficial compatibility, not submodule relation etc: what can be extended compatMType mt0 mt = case (mt0,mt) of + (MTResource, MTConcrete _) -> True + (MTInstance _, MTConcrete _) -> True + (MTInterface, MTAbstract) -> True (MTConcrete _, MTConcrete _) -> True (MTInstance _, MTInstance _) -> True (MTReuse _, MTReuse _) -> True -- cgit v1.2.3