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
objectForte {
// the generic type parameters are required to trigger the error, without it works just fine.deftest[T](i:Int, config: String=""):Int=1deftest[T](i:String):Int=2
}
Forte.test[Int](1)
Output
-- Error:
1 |Forte.test[Int](1)
|^^^^^^^^^^
|None of the overloaded alternatives of method test in object Forte with types
| [T](i: String): Int
| [T](i: Int, config: String): Int
|match type arguments [Int] and arguments ((1 : Int))