lean2/tests/lean/cls_err.lean
Leonardo de Moura 60d8369688 fix(library/unifier): missing justification when updating choice constraints
The bug was not producing incorrect results, but really bad error
messages.
See: empty.lean.expected.out
2014-10-04 10:40:53 -07:00

14 lines
208 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
section
parameter A : Type
parameter h : H A
definition tst : A :=
foo
end