1
0
forked from GitHub/gf-core

documenting testgf3

This commit is contained in:
aarne
2008-02-21 08:04:43 +00:00
parent 7412c24267
commit c764a758e1
8 changed files with 390 additions and 9 deletions

View File

@@ -283,7 +283,7 @@ computeTermOpt rec gr = comp where
return $ T i cs'
T i cs -> do
pty0 <- getTableType i
pty0 <- errIn (prt t) $ getTableType i
ptyp <- comp g pty0
case allParamValues gr ptyp of
Ok vs -> do

View File

@@ -44,7 +44,7 @@ lookupOperType gr m c = do
case jform ju of
JParam -> return typePType
_ -> case jtype ju of
Meta _ -> fail "no type given"
Meta _ -> fail ("no type given to " ++ prIdent m ++ "." ++ prIdent c)
ty -> return ty
---- can't be just lookupJField jtype