[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:
@@ -0,0 +1,25 @@
|
||||
FILE: invoke.kt
|
||||
public final class My : R|kotlin/Any| {
|
||||
public constructor(x: R|kotlin/Int|): R|My| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final var x: R|kotlin/Int| = R|<local>/x|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public final operator fun invoke(): R|kotlin/Int| {
|
||||
^invoke this@R|/My|.R|/My.x|
|
||||
}
|
||||
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
public final fun copy(): R|My| {
|
||||
^copy R|/My.My|(this@R|/My|.R|/My.x|)
|
||||
}
|
||||
|
||||
}
|
||||
public final fun testInvoke(): R|kotlin/Int| {
|
||||
^testInvoke R|/My.My|(Int(13)).R|/My.invoke|()
|
||||
}
|
||||
Reference in New Issue
Block a user