e6b5cb5216
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
27 lines
745 B
Plaintext
Vendored
27 lines
745 B
Plaintext
Vendored
FILE: localInnerClass.kt
|
|
public abstract interface Foo : R|kotlin/Any| {
|
|
}
|
|
public final fun bar(): R|kotlin/Unit| {
|
|
object : R|Foo| {
|
|
private constructor(): R|<anonymous>| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final fun foo(): R|Foo| {
|
|
^foo this@R|/<anonymous>|.R|/<anonymous>.Derived.Derived|(Int(42))
|
|
}
|
|
|
|
local final inner class Derived : R|Foo| {
|
|
public constructor(x: R|kotlin/Int|): R|<anonymous>.Derived| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final val x: R|kotlin/Int| = R|<local>/x|
|
|
public get(): R|kotlin/Int|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|