lean4-htt/tests/lean/unsound.lean.expected.out
Leonardo de Moura 7920db9521 feat: check for invalid projections during elaboration
It produces a better error message than the one produced by the
kernel.
2022-02-25 07:43:37 -08:00

8 lines
276 B
Text

unsound.lean:1:32-1:35: error: invalid projection, the expression
h
is a proposition and has type
∃ x, True
but the projected value is not, it has type
Nat
unsound.lean:3:28-3:31: error: unknown identifier 'foo'
unsound.lean:3:47-3:50: error: unknown identifier 'foo'