damian
01/04/2018, 11:33 AMclass
of my generic? my construct looks like this:
abstract class Base<T: Parent> {
val something: MyGenericClass<T>(T::class.java)
}
but it says i cant use T
as reified type parameter and should use a class instead.snrostov
01/04/2018, 12:18 PMT
will be erased at runtime, so T
will be not known inside Base
instancekarelpeeters
01/04/2018, 1:10 PMreified
type parameter that calls the constructor with the class instance.