lean4-htt/tests/lean/elab11.lean.expected.out
2017-02-06 15:15:47 +01:00

45 lines
1.1 KiB
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.

elab11.lean:6:6: error: ambiguous overload, possible interpretations
bla.f 1
boo.f 1
Additional information:
elab11.lean:6:6: context: switched to basic overload resolution where arguments are elaborated without any information about the expected type because expected type was not available
sorry : ?M_1
bla.f 1 :
boo.f 1 : bool
elab11.lean:16:7: error: none of the overloads are applicable
error for bla.f
invalid overload, expression
f 1
has type
but is expected to have type
string
error for boo.f
invalid overload, expression
f 1
has type
bool
but is expected to have type
string
Additional information:
elab11.lean:16:7: context: switched to basic overload resolution where arguments are elaborated without any information about the expected type, because failed to elaborate all candidates using the expected type
string
this can happen because, for example, coercions were not considered in the process
none of the overloads are applicable
error for bla.f
type mismatch
f ?m_1
has type
but is expected to have type
string
error for boo.f
type mismatch
f ?m_1
has type
bool
but is expected to have type
string
sorry : string