salomonbrys
12/22/2015, 11:59 AMfun <T : Any> Test(klass: KClass<T>, value: T) = Test(klass, value)
class Test internal constructor(val klass: KClass<*>, val value: Any) {
}
That's because both the function and the constructor have the same signature.