lean4-htt/tests/lean/cls_err.lean
Daniel Selsam a9b01991c2 feat(frontends/lean/inductive_cmd): new frontend for the inductive cmd
Conflicts:
	src/frontends/lean/CMakeLists.txt
	src/frontends/lean/structure_cmd.h
2016-08-17 07:34:03 -07:00

14 lines
193 B
Text

--
inductive [class] H (A : Type)
| mk : A → H
definition foo {A : Type} [h : H A] : A :=
H.rec (λa, a) h
section
variable A : Type
variable h : H A
definition tst : A :=
foo
end