lean2/tests/lean/ex2.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

25 lines
721 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
Set: lean::pp::notation
and
Set: pp::unicode
and true false
Assumed: a
Error (line: 9, pos: 0) invalid object declaration, environment already has an object named 'a'
Assumed: b
and a b
Assumed: A
Error (line: 13, pos: 11) type mismatch at application
and a A
Function type:
Bool -> Bool -> Bool
Arguments types:
a : Bool
A : Type
Variable A : Type
(lean::pp::notation := false, pp::unicode := false, pp::colors := false)
Error (line: 16, pos: 4) unknown option 'lean::p::notation', type 'Help Options.' for list of available options
Error (line: 17, pos: 23) invalid option value, given option is not an integer
Set: lean::pp::notation
a /\ b