feat: expand sorry

This commit is contained in:
Leonardo de Moura 2020-09-10 14:38:26 -07:00
parent ba4fdce508
commit 22bdab67ff

View file

@ -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