lean2/tests/lean/lua15b.lean.expected.out
Leonardo de Moura ccb9faf065 refactor(*): error messages
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-13 16:54:21 -08:00

27 lines
718 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
Imported 'Int'
Assumed: i
Assumed: j
Assumed: p
hello
i + j
lua15b.lean:8: error: executing script
Failed to solve
⊢ (?M::0 ≈ Nat::add) ⊕ (?M::0 ≈ Int::add)
[string]:3:12: Overloading at
(Int::add | Nat::add) i p
Failed to solve
[string]:3:12: Type of argument 1 must be convertible to the expected type in the application of
Nat::add
with arguments:
i
p
Failed to solve
⊢ Bool ≺
[string]:3:12: Type of argument 2 must be convertible to the expected type in the application of
Int::add
with arguments:
i
p