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
28 lines
661 B
Plaintext
Vendored
28 lines
661 B
Plaintext
Vendored
FILE: simpleFakeOverride.kt
|
|
public open class A<T> : R|kotlin/Any| {
|
|
public constructor<T>(): R|A<T>| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final fun foo(t: R|T|): R|T| {
|
|
^foo R|<local>/t|
|
|
}
|
|
|
|
}
|
|
public final class Some : R|kotlin/Any| {
|
|
public constructor(): R|Some| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
public final class B : R|A<Some>| {
|
|
public constructor(): R|B| {
|
|
super<R|A<Some>|>()
|
|
}
|
|
|
|
public final fun test(): R|kotlin/Unit| {
|
|
this@R|/B|.R|SubstitutionOverride</B.foo: R|Some|>|(R|/Some.Some|())
|
|
}
|
|
|
|
}
|