lean4-htt/tests/lean/exact_error_pos.lean
Leonardo de Moura add5266df7 fix(frontends/lean, library/tactic): error position in auto quoted terms
This commit also gets rid of the redundant "elaborator failed" error
message.
2017-02-09 18:03:04 -08:00

16 lines
166 B
Text

constant f : nat → nat → nat
def ex1 : nat :=
begin
exact 10 +
(f 1 (f 0 tt))
end
def ex₂ : nat :=
begin
apply 10 +
(f 1 (f 0 tt))
end