ilya.gorbunov
03/17/2017, 2:38 PMinline fun <reified T : Any> myFunc() = myFuncImpl(T::class)
internal fun <T : Any> myFuncImpl(clazz: KClass<T>) {}
#language-proposals How about making this compile?
Thread in Slack Conversation
If you want to call internal api from public inline function, you need to annotate it with @PublishedApi
annotation. This will make it effectively public.