lean2/tests/lean/ex2.lean.expected.out
Leonardo de Moura b26035fcf6 feat(kernel/type_checker): improve application type mismatch error messages
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-27 09:45:17 -08:00

25 lines
724 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
ex2.lean:8:0: error: invalid object declaration, environment already has an object named 'a'
Assumed: b
and a b
Assumed: A
ex2.lean:12:8: error: type mismatch in argument #2 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)
ex2.lean:15:11: error: unknown option 'lean::p::notation', type 'Help Options.' for list of available options
ex2.lean:16:30: error: invalid option value, given option is not an integer
Set: lean::pp::notation
a /\ b