Rodrigo Silva
06/29/2022, 1:45 PMabstract class SomeClass {
abstract fun someFunction(someParameter: String) : List<String?>
}
suspend inline fun <reified T : SomeClass> otherFunction(): Return<T> {
val someAtt = T::someFunction("abc")
}
error:
left-hand side of callable referece cannot be a type parameter
ribesg
06/29/2022, 2:08 PMSomeClass
without an instance of SomeClass
.