Why won't this compile? ``` open class Queue<E...
# getting-started
b
Why won't this compile?
Copy code
open class Queue<Element>(protected var backingList: MutableList<Element> = mutableListOf()) {
    fun listValue():List<Element> = List(*(backingList.toTypedArray().copyOf()))
}
Error:
Copy code
Error:(44, 56) Kotlin: Cannot use 'Element' as reified type parameter. Use a class instead.
2 replies @elizarov but
reified
is only applicable to local generic types for inline functions, and I don't see any way to make that happen