feat: upstream false_or_by_contra tests (#3947)
And fix broken `builtin_tactic` attribute.
This commit is contained in:
parent
d1a42aae2a
commit
d6474135ba
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ partial def falseOrByContra (g : MVarId) (useClassical : Option Bool := none) :
|
|||
let [g] ← g.applyConst ``False.elim | panic! "expected one sugoal"
|
||||
pure g
|
||||
|
||||
@[builtin_tactic falseOrByContra]
|
||||
@[builtin_tactic Lean.Parser.Tactic.falseOrByContra]
|
||||
def elabFalseOrByContra : Tactic
|
||||
| `(tactic| false_or_by_contra) => do liftMetaTactic1 (falseOrByContra ·)
|
||||
| _ => no_error_if_unused% throwUnsupportedSyntax
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue