forked from GitHub/gf-core
Some bug fixes mostly in editor commands.
This commit is contained in:
@@ -119,6 +119,11 @@ funsOnTypeFs compat fs val = [((fun,i),typ) |
|
||||
(i,arg) <- zip [0..] (map snd args),
|
||||
compat val arg]
|
||||
|
||||
allDefs :: GFCGrammar -> [(Fun,Term)]
|
||||
allDefs gr = [((i,c),d) | (i, ModMod m) <- modules gr,
|
||||
isModAbs m,
|
||||
(c, C.AbsFun _ d) <- tree2list (jments m)]
|
||||
|
||||
-- this is needed at compile time
|
||||
|
||||
lookupFunTypeSrc :: Grammar -> Ident -> Ident -> Err Type
|
||||
|
||||
Reference in New Issue
Block a user