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
40 lines
996 B
Plaintext
Vendored
40 lines
996 B
Plaintext
Vendored
FILE: genericReceiverPropertyOverride.kt
|
|
public abstract class A : R|kotlin/Any| {
|
|
public constructor(): R|A| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public open val <D> R|Inv<D>|.phasedFir: R|D|
|
|
public get(): R|D| {
|
|
^ R|kotlin/TODO|()
|
|
}
|
|
|
|
}
|
|
public abstract class B : R|A| {
|
|
public constructor(): R|B| {
|
|
super<R|A|>()
|
|
}
|
|
|
|
public final override val <D> R|Inv<D>|.phasedFir: R|D|
|
|
public get(): R|D| {
|
|
^ R|kotlin/TODO|()
|
|
}
|
|
|
|
}
|
|
public abstract class Inv<E> : R|kotlin/Any| {
|
|
public constructor<E>(): R|Inv<E>| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
public final class C : R|B| {
|
|
public constructor(): R|C| {
|
|
super<R|B|>()
|
|
}
|
|
|
|
public final fun foo(x: R|Inv<kotlin/String>|): R|kotlin/Unit| {
|
|
(this@R|/C|, R|<local>/x|).R|/B.phasedFir|<R|kotlin/String|>
|
|
}
|
|
|
|
}
|