9 lines
169 B
Kotlin
Vendored
9 lines
169 B
Kotlin
Vendored
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
|
abstract class Base<T>(val x: T) {
|
|
abstract fun foo(): T
|
|
}
|
|
|
|
class Derived<T>(x: T) : Base<T>(x) {
|
|
override fun foo(): T = x
|
|
}
|