summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Infra/Dependencies.hs
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2011-03-12 11:24:14 +0000
committeraarne <aarne@chalmers.se>2011-03-12 11:24:14 +0000
commit7361ddea45727e80a79ba42af34e45f9641fc993 (patch)
treee4f979850e31a630c42be93515dac7aa92a3c542 /src/compiler/GF/Infra/Dependencies.hs
parent3ddc29f2dcf57f46c1bd8ff5cc5ebbb910545afd (diff)
make it possible to override opers defined in an interface by syntax 'instance Foo of Bar - [f,g,h]'
Diffstat (limited to 'src/compiler/GF/Infra/Dependencies.hs')
-rw-r--r--src/compiler/GF/Infra/Dependencies.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Infra/Dependencies.hs b/src/compiler/GF/Infra/Dependencies.hs
index 82606a865..393d0e8c8 100644
--- a/src/compiler/GF/Infra/Dependencies.hs
+++ b/src/compiler/GF/Infra/Dependencies.hs
@@ -58,7 +58,7 @@ grammar2moddeps monly gr = [(i,depMod i m) | (i,m) <- modules gr, yes i]
modtype = mtype m,
ofs = case mtype m of
MTConcrete i -> [i | yes i]
- MTInstance i -> [i | yes i]
+ MTInstance (i,_) -> [i | yes i]
_ -> [],
extendeds = nub $ filter yes $ map fst (extend m),
openeds = nub $ filter yes $ map openedModule (opens m),