You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scala>implicitvalf1:Int=>String= _ =>"Int" ; implicitvalf2:Long=>String= _ =>"Long"
f1:Int=>String= <function1>
f2:Long=>String= <function1>
scala> (5:String)
<console>:15:error: typemismatch;
found : Int(5)
required: StringNote that implicit conversions are not applicable because they are ambiguous:
both value f1 of type=>Int=>String
and value f2 of type=>Long=>String
are possible conversion functions from Int(5) to String
(5:String)
^
Pull request coming in a minute.
The text was updated successfully, but these errors were encountered:
Works in 2.10, but in master:
Pull request coming in a minute.
The text was updated successfully, but these errors were encountered: