feat: Draft tactic REPL interface #158

Merged
aniva merged 2 commits from tactic/draft into dev 2025-01-16 10:32:48 -08:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 62363cb943 - Show all commits

View File

@ -68,7 +68,8 @@ private partial def translateExpr (srcExpr: Expr) : MetaTranslateM Expr := do
match e with
| .fvar fvarId =>
let .some fvarId' := state.fvarMap[fvarId]? | panic! s!"FVar id not registered: {fvarId.name}"
assert! (← getLCtx).contains fvarId'
-- Delegating this to `Meta.check` later
--assert! (← getLCtx).contains fvarId'
return .done $ .fvar fvarId'
| .mvar mvarId => do
-- Must not be assigned