[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:
+58
@@ -0,0 +1,58 @@
|
||||
FILE: propertiesAndInitBlocks.kt
|
||||
public final inline fun run(block: R|() -> kotlin/Unit|): R|kotlin/Unit| {
|
||||
R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()
|
||||
}
|
||||
public final val x1: R|kotlin/Int| = Int(1)
|
||||
public get(): R|kotlin/Int|
|
||||
public final var x2: R|kotlin/Int| = Int(1)
|
||||
public get(): R|kotlin/Int| {
|
||||
^ Int(1)
|
||||
}
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit| {
|
||||
F|/x2| = Int(1)
|
||||
}
|
||||
public final val x3: R|kotlin/Unit| = R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
local final fun foo(): R|kotlin/Unit| {
|
||||
lval c: R|kotlin/Int| = Int(1).R|kotlin/Int.plus|(Int(1))
|
||||
throw R|java/lang/Exception.Exception|()
|
||||
}
|
||||
|
||||
local final class InitializerLocalClass : R|kotlin/Any| {
|
||||
public constructor(): R|InitializerLocalClass| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
init {
|
||||
throw R|java/lang/Exception.Exception|()
|
||||
Int(1)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
throw R|java/lang/Exception.Exception|()
|
||||
}
|
||||
)
|
||||
public get(): R|kotlin/Unit| {
|
||||
local final class GetterLocalClass : R|kotlin/Any| {
|
||||
public constructor(): R|GetterLocalClass| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
init {
|
||||
throw R|java/lang/Exception.Exception|()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public final val x4: R|kotlin/Int| = try {
|
||||
Int(1)
|
||||
}
|
||||
catch (e: R|kotlin/Exception|) {
|
||||
Int(2)
|
||||
}
|
||||
finally {
|
||||
Int(0)
|
||||
}
|
||||
|
||||
public get(): R|kotlin/Int|
|
||||
Reference in New Issue
Block a user