Skip to content

Commit 769d0e2

Browse files
committed
fix
1 parent 093be2a commit 769d0e2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Lean/Elab/Tactic/Grind/Main.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def elabGrindSimpTheorems (params : Grind.Params) : MetaM Grind.Params := do
234234
else
235235
.default false
236236
let thm ← Grind.mkEMatchTheoremForDecl declName kind symPrios
237-
params := { params with ematch := params.ematch.insert thm }
237+
params := { params with extra := params.extra.push thm }
238238
catch _ => pure () -- Silently skip theorems that fail
239239
| _ => pure () -- Skip non-declaration origins (fvars, etc.)
240240
return params

stage0/src/stdlib_flags.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "util/options.h"
2+
// Trigger update-stage0 for: add `simp` field to Init.Grind.Config
23

34
namespace lean {
45
options get_default_options() {

0 commit comments

Comments
 (0)