lean4-htt/tests/lean/matchErrorLocation.lean.expected.out
Leonardo de Moura 2295c315aa feat: add elabTermEnsuringType
This commit also fixes a match-expression error location issue.
2020-08-15 13:49:10 -07:00

16 lines
363 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

matchErrorLocation.lean:5:10: error: type mismatch
h he
has type
False
but it is expected to have type
α
failed to synthesize instance
CoeT False _ α
with resulting expansion
match xs , Eq.refl _ , ( x : _ ) → xs = x → _ with
| [] , he=> h he
| x::_ , he=> x
while expanding
match he:xs with
| [] => h he
| x::_ => x