lean2/tests/lean/cls_err.lean
2014-10-09 07:13:06 -07:00

14 lines
206 B
Text

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