e6b5cb5216
Update includes:
- Changing syntax of `OI/`NI` tags from `<!NI;TAG!>` to `<!TAG{NI}!>`
- Fix some incorrect directives
- Change order of diagnostics in some places
- Remove ignored diagnostics from FIR test data (previously `DIAGNOSTICS` didn't work)
- Update FIR dumps in some places and add `FIR_IDENTICAL` if needed
- Replace all JAVAC_SKIP with SKIP_JAVAC directive
39 lines
854 B
Plaintext
Vendored
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|()
|
|
}
|
|
|
|
}
|