`inline fun <reified T : SomeInterface> some...
# getting-started
d
inline fun <reified T : SomeInterface> someFun(clazz: KClass<T>): Pair<T, T>
I call it like
someFun(SomeImplementation::class)
Intellij complains about clazz not being used; though I cannot remove it without compiler errors that the type of T could not be inferred. What's the proper way?