https://kotlinlang.org logo
k

khentek25

01/13/2017, 11:49 PM
Is it not possible to use class delegation on properties not given in the constructor? like
Copy code
class Betterlist<E>: List<E> by backingList {
    val backingList = listOf<E>()
}