Compare commits

...

1 Commits

Author SHA1 Message Date
Kim Morrison
d24859f118 chore: change grind.warning default to false 2025-06-10 13:19:48 +10:00
2 changed files with 3 additions and 3 deletions

View File

@@ -182,7 +182,7 @@ def evalGrindCore
let only := only.isSome
let params := if let some params := params then params.getElems else #[]
if Grind.grind.warning.get ( getOptions) then
logWarningAt ref "The `grind` tactic is experimental and still under development. Avoid using it in production projects."
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."
withMainContext do
let result grind ( getMainGoal) config only params fallback
replaceMainGoal []

View File

@@ -48,9 +48,9 @@ register_builtin_option grind.debug.proofs : Bool := {
}
register_builtin_option grind.warning : Bool := {
defValue := true
defValue := false
group := "debug"
descr := "disable `grind` usage warning"
descr := "generate a warning whenever `grind` is used"
}
/--