summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/resolve/additionalLazyResolve/anonymousObjectInClassInitializer.kt
blob: 9527b5b990ef27bc5bebc6db4158e60fffb7b5bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package test

open class A

class MyClass() {
    init {
        val a = object: A() {

        }
    }
}

//package test
//public open class A defined in test
//public constructor A() defined in test.A
//public final class MyClass defined in test
//public constructor MyClass() defined in test.MyClass
//val a: test.MyClass.<init>.<no name provided> defined in test.MyClass.<init>
//local final class <no name provided> : test.A defined in test.MyClass.<init>
//public constructor <no name provided>() defined in test.MyClass.<init>.<no name provided>