You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: change grind.warning default to false (#8698)
This PR turns off the default warning when using `grind`, in preparation
for v4.22. I'll removing all the `set_option grind.warning false` in our
codebase in a second PR, after an update-stage0.
Copy file name to clipboardExpand all lines: src/Lean/Elab/Tactic/Grind.lean
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -182,7 +182,7 @@ def evalGrindCore
182
182
let only := only.isSome
183
183
let params := iflet some params := params then params.getElems else #[]
184
184
if Grind.grind.warning.get (← getOptions) then
185
-
logWarningAt ref "The `grind` tactic is experimental and still under development. Avoid using it in production projects."
185
+
logWarningAt ref "The `grind` tactic is new and its behaviour may change in the future. This project has used `set_option grind.warning true` to discourage its use."
186
186
withMainContext do
187
187
let result ← grind (← getMainGoal) config only params fallback
0 commit comments