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

36 lines
1022 B
Plaintext
Vendored

FILE: Test.kt
public open class AA : R|JavaClass| {
public constructor(): R|AA| {
super<R|JavaClass|>()
}
public final object C : R|kotlin/Any| {
private constructor(): R|AA.C| {
super<R|kotlin/Any|>()
}
}
}
public final class BB : R|AA| {
public constructor(): R|BB| {
super<R|AA|>()
}
public final object D : R|kotlin/Any| {
private constructor(): R|BB.D| {
super<R|kotlin/Any|>()
}
}
}
public final fun test(): R|kotlin/Unit| {
lval bbd: R|BB.D| = Q|BB.D|
lval aac: R|AA.C| = Q|AA.C|
Q|JavaClass|.R|/JavaClass.bar|()
lval errC: R|ERROR CLASS: Unresolved name: C| = Q|BB|.<Unresolved name: C>#
lval errBarViaBB: R|ERROR CLASS: Unresolved name: bar| = Q|BB|.<Unresolved name: bar>#()
lval errBarViaAA: R|ERROR CLASS: Unresolved name: bar| = Q|AA|.<Unresolved name: bar>#()
}