diff options
Diffstat (limited to 'src/GF/Compile/CheckGrammar.hs')
| -rw-r--r-- | src/GF/Compile/CheckGrammar.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/GF/Compile/CheckGrammar.hs b/src/GF/Compile/CheckGrammar.hs index 8f152ff17..74256d66b 100644 --- a/src/GF/Compile/CheckGrammar.hs +++ b/src/GF/Compile/CheckGrammar.hs @@ -309,6 +309,11 @@ inferLType gr trm = case trm of Vr ident -> termWith trm $ checkLookup ident + Typed e t -> do + t' <- comp t + check e t' + return (e,t') + App f a -> do (f',fty) <- infer f fty' <- comp fty |
