From 884747508ecdaf307a941e1932a0939c232c6c8f Mon Sep 17 00:00:00 2001 From: krasimir Date: Sat, 19 Sep 2009 10:24:02 +0000 Subject: better error message for the ai command --- src/GF/Command/Commands.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/GF/Command/Commands.hs b/src/GF/Command/Commands.hs index d14067ed1..d915ac5bf 100644 --- a/src/GF/Command/Commands.hs +++ b/src/GF/Command/Commands.hs @@ -644,7 +644,7 @@ allCommands cod env@(pgf, mos) = Map.fromList [ else space $$ text "fun" <+> vcat [ppCId fid <+> colon <+> ppType 0 [] ty | (fid,ty) <- functionsToCat pgf id]) - Nothing -> do putStrLn "unknown identifier" + Nothing -> do putStrLn ("unknown category of function identifier "++show id) return void [e] -> case inferExpr pgf e of Left tcErr -> error $ render (ppTcError tcErr) -- cgit v1.2.3