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

14 lines
217 B
Text

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