lean2/tests/lean/overload2.lean.expected.out

33 lines
632 B
Text
Raw Normal View History

Set: pp::colors
Set: pp::unicode
Error (line: 1, pos: 10) application type mismatch, none of the overloads can be used
Candidates:
Real::add :
Int::add :
Nat::add :
Arguments:
1 :
: Bool
Assumed: R
Assumed: T
Assumed: r2t
Coercion r2t
Assumed: t2r
Coercion t2r
Assumed: f
Assumed: a
Assumed: b
Set: lean::pp::coercion
Set: lean::pp::notation
f a b
f (r2t b) (t2r a)
Assumed: g
f a b
Error (line: 19, pos: 10) ambiguous overloads
Candidates:
g : R → T → R
f : T → R → T
Arguments:
b : R
a : T