[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
This commit is contained in:
+88
@@ -0,0 +1,88 @@
|
||||
FILE: innerClassHierarchy.kt
|
||||
public open class Base : R|kotlin/Any| {
|
||||
public constructor(): R|Base| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public open inner class Inner : R|kotlin/Any| {
|
||||
public constructor(): R|Base.Inner| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public final class Derived : R|Base| {
|
||||
public constructor(): R|Derived| {
|
||||
super<R|Base|>()
|
||||
}
|
||||
|
||||
public final inner class InnerDerived : R|Base.Inner| {
|
||||
public constructor(): R|Derived.InnerDerived| {
|
||||
this@R|/Derived|.super<R|Base.Inner|>()
|
||||
}
|
||||
|
||||
public final inner class VeryInner : R|Base.Inner| {
|
||||
public constructor(): R|Derived.InnerDerived.VeryInner| {
|
||||
this@R|/Derived|.super<R|Base.Inner|>()
|
||||
}
|
||||
|
||||
public final inner class VeryVeryInner : R|Base.Inner| {
|
||||
public constructor(): R|Derived.InnerDerived.VeryInner.VeryVeryInner| {
|
||||
this@R|/Derived|.super<R|Base.Inner|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public open class A : R|kotlin/Any| {
|
||||
public constructor(s: R|kotlin/String|): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final val s: R|kotlin/String| = R|<local>/s|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public open inner class B : R|A| {
|
||||
public constructor(s: R|kotlin/String|): R|A.B| {
|
||||
super<R|A|>(R|<local>/s|)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public open inner class C : R|A.B| {
|
||||
public constructor(s: R|kotlin/String|, additional: R|kotlin/Double|): R|A.C| {
|
||||
this@R|/A|.super<R|A.B|>(R|<local>/s|)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public open inner class D : R|A.C| {
|
||||
public constructor(other: R|kotlin/Int|, another: R|kotlin/Long|, s: R|kotlin/String|): R|A.D| {
|
||||
this@R|/A|.super<R|A.C|>(R|<local>/s|, R|<local>/another|.R|kotlin/Long.toDouble|())
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public open inner class E : R|A.D| {
|
||||
public constructor(): R|A.E| {
|
||||
this@R|/A|.super<R|A.D|>(Int(0), Long(42), String(OK))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public final inner class F : R|A.E| {
|
||||
public constructor(): R|A.F| {
|
||||
this@R|/A|.super<R|A.E|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public final fun box(): R|kotlin/String| {
|
||||
^box R|/A.A|(String(Fail)).R|/A.F.F|().R|/A.s|
|
||||
}
|
||||
Reference in New Issue
Block a user