[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:
+46
@@ -0,0 +1,46 @@
|
||||
FILE: K1.kt
|
||||
public open class KotlinOuter : R|kotlin/Any| {
|
||||
public constructor(): R|KotlinOuter| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public open inner class KotlinInner : R|kotlin/Any| {
|
||||
public constructor(): R|KotlinOuter.KotlinInner| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public final fun bar(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
FILE: K2.kt
|
||||
public final class K2 : R|J1| {
|
||||
public constructor(): R|K2| {
|
||||
super<R|J1|>()
|
||||
}
|
||||
|
||||
public final fun main(): R|kotlin/Unit| {
|
||||
this@R|/K2|.R|/KotlinOuter.bar|()
|
||||
this@R|/K2|.R|/J1.baz|()
|
||||
}
|
||||
|
||||
public final inner class K3 : R|J1.J2| {
|
||||
public constructor(): R|K2.K3| {
|
||||
this@R|/K2|.super<R|J1.J2|>()
|
||||
}
|
||||
|
||||
public final fun main(): R|kotlin/Unit| {
|
||||
this@R|/K2.K3|.R|/KotlinOuter.KotlinInner.foo|()
|
||||
this@R|/K2.K3|.R|/J1.J2.bazbaz|()
|
||||
this@R|/K2|.R|/KotlinOuter.bar|()
|
||||
this@R|/K2|.R|/J1.baz|()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user