76df0f9ad1
^KT-48870 Fixed
14 lines
301 B
Kotlin
Vendored
14 lines
301 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
open class Base<T>(p: Any?) {
|
|
fun foo1(t: T) {}
|
|
}
|
|
|
|
class D: Base<Int>("") {
|
|
inner class B : Base<String> {
|
|
constructor() : super(<!INSTANCE_ACCESS_BEFORE_SUPER_CALL!>foo1<!>(""))
|
|
constructor(x: Int) : super(foo1(1))
|
|
}
|
|
}
|