defer skolem issue from unsolved meta application

This commit is contained in:
2024-11-09 14:39:07 -08:00
parent e814ebfb02
commit 69693a4995
7 changed files with 95 additions and 30 deletions

View File

@@ -197,7 +197,7 @@ processDecl (Def fc nm clauses) = do
mc <- readIORef top.metas
let mstart = length mc.metas
let Just entry = lookup nm top
| Nothing => throwError $ E fc "skip def \{nm} without Decl"
| Nothing => throwError $ E fc "No declaration for \{nm}"
let (MkEntry name ty Axiom) := entry
| _ => throwError $ E fc "\{nm} already defined"