Quick question about reified types: how might I br...
# announcements
d
Quick question about reified types: how might I bridge between a Kotlin function
Copy code
inline fun <reified T> doSomethingThatEndsUpCallingToTypedArray(input: Foo<T>): Array<T> = input.getListOfT().toTypedArray()
and a function, intended to be callable from Java, in which I explicitly pass the type
Copy code
fun <T> useExplicitlyPassedClass(input: Foo<T>, fooType: Class<T>): Array<T> = ...?