28 lines
1.1 KiB
Text
28 lines
1.1 KiB
Text
boo.f 0 1 2 : ℕ
|
||
elab4.lean:13:6: error: none of the overloads are applicable
|
||
error for bla.f
|
||
failed to synthesize type class instance for
|
||
⊢ has_add bool
|
||
|
||
error for foo.f
|
||
function expected at
|
||
foo.f 0 1
|
||
|
||
error for boo.f
|
||
function expected at
|
||
boo.f 0 1 2
|
||
Additional information:
|
||
elab4.lean:13:6: context: switched to basic overload resolution where arguments are elaborated without any information about the expected type because expected type was not available
|
||
elab4.lean:15:6: error: ambiguous overload, possible interpretations
|
||
foo.f 0 1
|
||
boo.f 0 1
|
||
Additional information:
|
||
elab4.lean:15:6: context: switched to basic overload resolution where arguments are elaborated without any information about the expected type because expected type was not available
|
||
foo.f bool.tt 2 : bool
|
||
bla.f bool.tt bool.ff bool.tt : bool → bool
|
||
elab4.lean:21:6: error: ambiguous overload, possible interpretations
|
||
bla.f bool.tt bool.ff
|
||
foo.f bool.tt bool.ff
|
||
Additional information:
|
||
elab4.lean:21:6: context: switched to basic overload resolution where arguments are elaborated without any information about the expected type because expected type was not available
|
||
foo.f 0 1 : ℕ
|