33e6a85a2d
We exclude testData pattern from copyright scope
52 lines
1.1 KiB
Kotlin
Vendored
52 lines
1.1 KiB
Kotlin
Vendored
open class A(init: A.() -> Unit)/* DeclarationStructureElement */ {/* ClassDeclarationStructureElement */
|
|
val prop: String = ""/* DeclarationStructureElement */
|
|
}
|
|
|
|
object B : A({})/* ClassDeclarationStructureElement */
|
|
|
|
object C : A(
|
|
{
|
|
fun foo() = B.prop.toString()
|
|
}
|
|
)/* ClassDeclarationStructureElement */
|
|
|
|
class D : A(
|
|
{
|
|
fun foo() = B.prop.toString()
|
|
}
|
|
)/* ClassDeclarationStructureElement */
|
|
|
|
class E()/* DeclarationStructureElement */ : A(
|
|
{
|
|
fun foo() = B.prop.toString()
|
|
}
|
|
)/* ClassDeclarationStructureElement */
|
|
|
|
class F : A(
|
|
{
|
|
fun foo() = B.prop.toString()
|
|
}
|
|
) {/* ClassDeclarationStructureElement */
|
|
constructor()/* DeclarationStructureElement */
|
|
}
|
|
|
|
class G : A(
|
|
{
|
|
fun foo() = B.prop.toString()
|
|
}
|
|
) {/* ClassDeclarationStructureElement */
|
|
constructor() : super(
|
|
{
|
|
fun foo() = B.prop.toString()
|
|
}
|
|
)/* DeclarationStructureElement */
|
|
}
|
|
|
|
class H : A {/* ClassDeclarationStructureElement */
|
|
constructor() : super(
|
|
{
|
|
fun foo() = B.prop.toString()
|
|
}
|
|
)/* DeclarationStructureElement */
|
|
}
|