This commit is contained in:
2025-10-04 18:11:24 -07:00
parent 8209d2d839
commit fc987a6f11
4 changed files with 5 additions and 11 deletions

View File

@@ -58,11 +58,6 @@ liftWhereTm name env (LetRec fc nm ty t u) = do
let (Just _) = lookupMap qn' top | _ => pure qn'
getName qn (ext ++ "'")
-- Hacky - CompileExp expects a pi type that matches arity
wrapPi : Nat Tm Tm
wrapPi Z tm = tm
wrapPi (S k) tm = Pi fc "_" Explicit Many (Erased fc) $ wrapPi k tm
wrapLam : Nat Tm Tm
wrapLam Z tm = tm
-- REVIEW We've already erased, hopefully we don't need quantity