[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:
+61
@@ -0,0 +1,61 @@
|
||||
FILE: abstractSuperCall.kt
|
||||
public open class C : R|kotlin/Any| {
|
||||
public constructor(): R|C| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public open val x: R|kotlin/Int| = Int(10)
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public final fun h(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
public abstract class A : R|C| {
|
||||
public constructor(): R|A| {
|
||||
super<R|C|>()
|
||||
}
|
||||
|
||||
public open override val x: R|kotlin/Int| = Int(20)
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public abstract val y: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public abstract fun f(): R|kotlin/Unit|
|
||||
|
||||
public final fun t(): R|kotlin/Unit| {
|
||||
this@R|/A|.super<R|C|>.R|/C.h|()
|
||||
this@R|/A|.super<R|C|>.R|/C.x|
|
||||
}
|
||||
|
||||
}
|
||||
public final class B : R|A| {
|
||||
public constructor(): R|B| {
|
||||
super<R|A|>()
|
||||
}
|
||||
|
||||
public final override fun f(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
public final fun g(): R|kotlin/Unit| {
|
||||
this@R|/B|.super<R|A|>.R|/A.f|()
|
||||
this@R|/B|.super<R|A|>.R|/A.t|()
|
||||
this@R|/B|.super<R|A|>.R|/A.x|
|
||||
this@R|/B|.super<R|A|>.R|/A.y|
|
||||
}
|
||||
|
||||
}
|
||||
public abstract class J : R|A| {
|
||||
public constructor(): R|J| {
|
||||
super<R|A|>()
|
||||
}
|
||||
|
||||
public final fun r(): R|kotlin/Unit| {
|
||||
this@R|/J|.super<R|A|>.R|/A.f|()
|
||||
this@R|/J|.super<R|A|>.R|/A.t|()
|
||||
this@R|/J|.super<R|A|>.R|/A.x|
|
||||
this@R|/J|.super<R|A|>.R|/A.y|
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user