Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/offOrderMultiBoundGenericOverride.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

33 lines
1.0 KiB
Plaintext
Vendored

FILE: main.kt
public abstract interface KI1 : R|kotlin/Any| {
}
public abstract interface KI2 : R|kotlin/Any| {
}
public abstract interface KI12 : R|KI1|, R|KI2| {
}
public open class KBase : R|kotlin/Any| {
public constructor(): R|KBase| {
super<R|kotlin/Any|>()
}
public open fun <P : R|KI1|, R|KI2|> foo(): R|kotlin/Unit| {
}
}
public final class KDerived : R|KBase| {
public constructor(): R|KDerived| {
super<R|KBase|>()
}
public final override fun <P : R|KI2|, R|KI1|> foo(): R|kotlin/Unit| {
}
}
public final fun callJava(derived: R|Test.Derived|, derivedRaw: R|Test.DerivedRaw|, v: R|Test.I123|): R|kotlin/Unit| {
R|<local>/derived|.R|/Test.Derived.foo|<R|ft<Test.I123, Test.I123?>!|>(R|<local>/v|)
R|<local>/derivedRaw|.R|/Test.DerivedRaw.foo|(R|<local>/v|)
}
public final fun callKotlin(derived: R|KDerived|): R|kotlin/Unit| {
R|<local>/derived|.R|/KDerived.foo|<R|KI12|>()
}