b454fcc1e0
This is needed to avoid clashes between different dumps from different handlers
95 lines
1.3 KiB
Plaintext
Vendored
95 lines
1.3 KiB
Plaintext
Vendored
interface IFoo {
|
|
abstract fun foo()
|
|
|
|
}
|
|
|
|
val test1: Any
|
|
field = { // BLOCK
|
|
local class <no name provided> {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
<no name provided>()
|
|
}
|
|
get
|
|
|
|
val test2: IFoo
|
|
field = { // BLOCK
|
|
local class <no name provided> : IFoo {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
override fun foo() {
|
|
println(message = "foo")
|
|
}
|
|
|
|
}
|
|
|
|
<no name provided>()
|
|
}
|
|
get
|
|
|
|
class Outer {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
abstract inner class Inner : IFoo {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fun test3(): Inner {
|
|
return { // BLOCK
|
|
local class <no name provided> : Inner {
|
|
constructor() /* primary */ {
|
|
<this>.super/*Inner*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
override fun foo() {
|
|
println(message = "foo")
|
|
}
|
|
|
|
}
|
|
|
|
<no name provided>()
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
fun Outer.test4(): Inner {
|
|
return { // BLOCK
|
|
local class <no name provided> : Inner {
|
|
constructor() /* primary */ {
|
|
<this>.super/*Inner*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
override fun foo() {
|
|
println(message = "foo")
|
|
}
|
|
|
|
}
|
|
|
|
<no name provided>()
|
|
}
|
|
}
|