Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/overrides/three.txt
T
2020-03-19 09:51:01 +03:00

39 lines
854 B
Plaintext
Vendored

FILE: three.kt
public abstract class A : R|kotlin/Any| {
public constructor(): R|A| {
super<R|kotlin/Any|>()
}
public final fun foo(): R|kotlin/Unit| {
}
}
public abstract interface Y : R|kotlin/Any| {
public open fun baz(): R|kotlin/Unit| {
}
}
public open class B : R|A|, R|Y| {
public constructor(): R|B| {
super<R|A|>()
}
public final fun bar(): R|kotlin/Unit| {
this@R|/B|.R|/A.foo|()
this@R|/B|.R|/Y.baz|()
}
}
public final class C : R|B| {
public constructor(): R|C| {
super<R|B|>()
}
public final fun test(): R|kotlin/Unit| {
this@R|/C|.R|/A.foo|()
this@R|/C|.R|/B.bar|()
this@R|/C|.R|/Y.baz|()
}
}