lean2/tests/lean/ex3.lean.expected.out
Leonardo de Moura e031d7bc10 Improve error messages when overloads+coercions do not work
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-09-02 20:05:47 -07:00

23 lines
460 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.

Set: pp::colors
Assumed: myeq
myeq Bool
Assumed: T
Assumed: a
Error (line: 6, pos: 6) type mismatch at application
myeq Bool a
Function type:
Π (A : Type) (_ _ : A), Bool
Arguments types:
Type
Bool
T
Assumed: myeq2
Set: lean::pp::implicit
Error (line: 10, pos: 15) type mismatch at application
myeq2::explicit Bool a
Function type:
Π (A : Type) (a b : A), Bool
Arguments types:
Type
Bool
T