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
I had to explicitly add MyTimer.time[List[Result]](myFunc(someString)) generic parameter instantiation, otherwise I was getting a PartialFunction[Int,Result] instead of List[Result] error, where the wrapped function has a signature def myFunc(x: String): List[Result]. Note the weird Int getting in from the cold. Apparently PartialFunction support needs more type inference checking/testing!
The text was updated successfully, but these errors were encountered:
I had to explicitly add
MyTimer.time[List[Result]](myFunc(someString))
generic parameter instantiation, otherwise I was getting aPartialFunction[Int,Result]
instead ofList[Result]
error, where the wrapped function has a signaturedef myFunc(x: String): List[Result]
. Note the weirdInt
getting in from the cold. ApparentlyPartialFunction
support needs more type inference checking/testing!The text was updated successfully, but these errors were encountered: