chore: minor

This commit is contained in:
Leonardo de Moura 2021-01-29 12:39:13 -08:00
parent e102cd4f42
commit 32f219772c

View file

@ -895,7 +895,7 @@ mutual
let newLocalInsts := mvarDecl.localInstances.filter fun inst => toRevert.all fun x => inst.fvar != x
-- Remark: we must reset the before processing `mkAuxMVarType` because `toRevert` may not be equal to `xs`
let newMVarType ← withFreshCache do mkAuxMVarType mvarLCtx toRevert newMVarKind mvarDecl.type
let newMVarId ← get >>= fun s => pure s.ngen.curr
let newMVarId := (← get).ngen.curr
let newMVar := mkMVar newMVarId
let result := mkMVarApp mvarLCtx newMVar toRevert newMVarKind
let numScopeArgs := mvarDecl.numScopeArgs + result.getAppNumArgs