Skip to content

Commit

Permalink
chore: adapt to lean4#3654
Browse files Browse the repository at this point in the history
  • Loading branch information
thorimur committed Mar 12, 2024
1 parent f3447c3 commit 4231e69
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Std/Tactic/SqueezeScope.lean
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ elab_rules : tactic
| some mvarId => replaceMainGoal [mvarId]
pure usedSimps
| ``Parser.Tactic.dsimp => do
let { ctx, .. } ← withMainContext <| mkSimpContext stx (eraseLocal := false) (kind := .dsimp)
dsimpLocation' ctx (expandOptLocation stx[5])
let { ctx, simprocs, .. } ←
withMainContext <| mkSimpContext stx (eraseLocal := false) (kind := .dsimp)
dsimpLocation' ctx simprocs (expandOptLocation stx[5])
| _ => Elab.throwUnsupportedSyntax
let a := a.getId; let x := x.getId
squeezeScopes.modify fun map => Id.run do
Expand Down

0 comments on commit 4231e69

Please sign in to comment.