Files
kotlin-fork/compiler/testData/codegen/bytecodeListing/collectionStubs/stubsFromSuperclass.kt
T
Ivan Kylchik c7435ba760 Replace all occurrences of WITH_RUNTIME with WITH_STDLIB
We are going to deprecate `WITH_RUNTIME` directive. The main reason
behind this change is that `WITH_STDLIB` directive better describes
its meaning, specifically it will add kotlin stdlib to test's classpath.
2021-11-17 15:26:38 +03:00

50 lines
1.1 KiB
Kotlin
Vendored

// WITH_STDLIB
open class A<T> : Collection<T> {
override val size: Int
get() = TODO("Not yet implemented")
override fun contains(element: T): Boolean {
TODO("Not yet implemented")
}
override fun containsAll(elements: Collection<T>): Boolean {
TODO("Not yet implemented")
}
override fun isEmpty(): Boolean {
TODO("Not yet implemented")
}
override fun iterator(): Iterator<T> {
TODO("Not yet implemented")
}
}
open class B<E> : A<E>()
class C<F> : B<F>(), List<F> {
override fun get(index: Int): F {
TODO("Not yet implemented")
}
override fun indexOf(element: F): Int {
TODO("Not yet implemented")
}
override fun lastIndexOf(element: F): Int {
TODO("Not yet implemented")
}
override fun listIterator(): ListIterator<F> {
TODO("Not yet implemented")
}
override fun listIterator(index: Int): ListIterator<F> {
TODO("Not yet implemented")
}
override fun subList(fromIndex: Int, toIndex: Int): List<F> {
TODO("Not yet implemented")
}
}