Skip to content

Commit

Permalink
fix: missing withTacticInfoContext (#3822)
Browse files Browse the repository at this point in the history
closes #3720
  • Loading branch information
leodemoura authored Apr 2, 2024
1 parent f35fc18 commit 2dab693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lean/Elab/Tactic/Induction.lean
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def evalAlt (mvarId : MVarId) (alt : Syntax) (addInfo : TermElabM Unit) (remaini
withCaseRef (getAltDArrow alt) rhs do
if isHoleRHS rhs then
addInfo
let gs' ← mvarId.withContext <| withRef rhs do
let gs' ← mvarId.withContext <| withTacticInfoContext rhs do
let mvarDecl ← mvarId.getDecl
let val ← elabTermEnsuringType rhs mvarDecl.type
mvarId.assign val
Expand Down

0 comments on commit 2dab693

Please sign in to comment.