fix: fixes #1230
This commit is contained in:
parent
b6f251bcd3
commit
986de33097
2 changed files with 5 additions and 2 deletions
|
|
@ -170,9 +170,9 @@ macro "rfl'" : tactic => `(set_option smartUnfolding false in with_unfolding_all
|
|||
syntax (name := ac_refl) "ac_refl " : tactic
|
||||
|
||||
/-- `admit` is a shorthand for `exact sorry`. -/
|
||||
macro "admit" : tactic => `(exact sorry)
|
||||
macro "admit" : tactic => `(exact @sorryAx _ false)
|
||||
/-- The `sorry` tactic is a shorthand for `exact sorry`. -/
|
||||
macro "sorry" : tactic => `(exact sorry)
|
||||
macro "sorry" : tactic => `(exact @sorryAx _ false)
|
||||
/-- `infer_instance` is an abbreviation for `exact inferInstance` -/
|
||||
macro "infer_instance" : tactic => `(exact inferInstance)
|
||||
|
||||
|
|
|
|||
3
tests/lean/run/1230.lean
Normal file
3
tests/lean/run/1230.lean
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
example: ∀ {t}, 0 ≤ t := by
|
||||
have : True := trivial
|
||||
sorry
|
||||
Loading…
Add table
Reference in a new issue