Remove unused argument that was blowing up serialization.

This commit is contained in:
2025-01-18 15:21:15 -08:00
parent f9279bb255
commit f991ca0d52
8 changed files with 39 additions and 51 deletions

View File

@@ -15,7 +15,7 @@ EEnv = List (String × Quant × Maybe Tm)
-- check App at type
getType : Tm -> M (Maybe Tm)
getType (Ref fc nm x) = do
getType (Ref fc nm) = do
top <- get
case lookup nm top of
Nothing => error fc "\{show nm} not in scope"
@@ -63,7 +63,7 @@ doAlt env (CaseLit lit t) = CaseLit lit <$> erase env t Nil
-- This is a little fuzzy because we don't have all of the types.
erase env t sp = case t of
(App fc u v) => erase env u ((fc,v) :: sp)
(Ref fc nm x) => do
(Ref fc nm) => do
top <- get
case lookup nm top of
Nothing => error fc "\{show nm} not in scope"