dave08
07/25/2018, 11:21 AMclass Foo() {
fun <R : Any> do(class: Class<R>): R {
return thisIsAReifiedFun<AnotherClass<class>>().result
}
}
inline fun <reified R : Any> do() = <http://foo.do|foo.do>(R::class.java)
This won't work (because of class
), but how could I do something like this?