nekoinemo
04/24/2017, 7:37 AMclass Parent
class Problem<P: Parent>(size: Int, provider: (Int) -> P){
val array: Array<P> = Array(size, provider)
}
Array() says "cannot use P as reified type parameter. use class instead".
Is there a way to still implement the type of init i require in this situation?