6af616d3c3
#KT-52236 Fixed
38 lines
1.0 KiB
Plaintext
Vendored
38 lines
1.0 KiB
Plaintext
Vendored
FILE: abstractSuperCallInPresenseOfNonAbstractMethodInParent.kt
|
|
public abstract interface IWithToString : R|kotlin/Any| {
|
|
public abstract override fun toString(): R|kotlin/String|
|
|
|
|
public abstract fun foo(): R|kotlin/String|
|
|
|
|
public abstract fun bar(): R|kotlin/String|
|
|
|
|
}
|
|
public open class B : R|kotlin/Any| {
|
|
public constructor(): R|B| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public open fun foo(): R|kotlin/String| {
|
|
^foo String()
|
|
}
|
|
|
|
}
|
|
public final class A : R|IWithToString|, R|B| {
|
|
public constructor(): R|A| {
|
|
super<R|B|>()
|
|
}
|
|
|
|
public open override fun toString(): R|kotlin/String| {
|
|
^toString this@R|/A|.super<R|B|>.R|kotlin/Any.toString|()
|
|
}
|
|
|
|
public open override fun foo(): R|kotlin/String| {
|
|
^foo this@R|/A|.super<R|B|>.R|/B.foo|()
|
|
}
|
|
|
|
public open override fun bar(): R|kotlin/String| {
|
|
^bar this@R|/A|.super<R|IWithToString|>.R|/IWithToString.bar|()
|
|
}
|
|
|
|
}
|