feat: expand sorry
This commit is contained in:
parent
ba4fdce508
commit
22bdab67ff
1 changed files with 3 additions and 0 deletions
|
|
@ -284,6 +284,9 @@ fun stx =>
|
|||
let arg := stx.getArg 1;
|
||||
`(pure $arg)
|
||||
|
||||
@[builtinMacro Lean.Parser.Term.«sorry»] def expandSorry : Macro :=
|
||||
fun _ => `(sorryAx _ false)
|
||||
|
||||
/-
|
||||
TODO
|
||||
@[builtinTermElab] def elabsubst : TermElab := expandInfixOp infixR " ▸ " 75
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue