lean2/tests/lean/ex3.lean.expected.out
Leonardo de Moura 613d83cdf4 Improve application type mismatch errors. We also show the implicit arguments (not just their types)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-09-04 16:36:58 -07:00

24 lines
512 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
Set: pp::unicode
Assumed: myeq
myeq Bool
Assumed: T
Assumed: a
Error (line: 5, pos: 6) type mismatch at application
myeq Bool a
Function type:
Π (A : Type) (_ _ : A), Bool
Arguments types:
Bool : Type
: Bool
a : T
Assumed: myeq2
Set: lean::pp::implicit
Error (line: 9, pos: 15) type mismatch at application
myeq2::explicit Bool a
Function type:
Π (A : Type) (a b : A), Bool
Arguments types:
Bool : Type
: Bool
a : T