Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/derivedClass.fir.txt
T
Dmitriy Novozhilov e6b5cb5216 [TD] Update diagnostics test data due to new test runners
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
2020-12-16 19:52:25 +03:00

20 lines
605 B
Plaintext
Vendored

FILE: derivedClass.kt
public open class Base<T1> : R|kotlin/Any| {
public constructor<T1>(x: R|T1|): R|Base<T1>| {
super<R|kotlin/Any|>()
}
public final val x: R|T1| = R|<local>/x|
public get(): R|T1|
}
public final class Derived<T2 : R|kotlin/Any|> : R|Base<T2>| {
public constructor<T2 : R|kotlin/Any|>(x: R|T2|): R|Derived<T2>| {
super<R|Base<T2>|>(R|<local>/x|)
}
}
public final fun <T3 : R|kotlin/Any|> create(x: R|T3|): R|Derived<T3>| {
^create R|/Derived.Derived|<R|T3|>(R|<local>/x|)
}