lean4-htt/old_tests/tests/lean/nested_errors.lean
2018-04-10 12:56:55 -07:00

8 lines
266 B
Text

example (a b c : nat) : a = b → c = b → a = c ∧ b = c :=
begin
intros,
split,
try {intro}, -- Should not report the error here
repeat {intro}, -- Should not report the error here
abstract { intro, } -- Should report the error in intro tactic
end