Files
openide/plugins/kotlin/idea/tests/testData/resolve/additionalLazyResolve/localObjectInClosureInClassParameterInitializer.kt
Yan Zhulanow be2f19fd8d [kotlin] Update test data in AdditionalResolveDescriptorRendererTestGenerated
Descriptor renderer now adds backticks for names that aren't valid identifiers (see KT-51248). This commit adapts tests in the IDE plugin, so they pass.

GitOrigin-RevId: a13b06ec22187558fb44d073e5904d9de555a9ac
2022-03-17 15:35:11 +09:00

22 lines
560 B
Kotlin

package test
open class A
class MyClass(
a: A = run {
object O: A() {
}
O
}
)
//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(a: test.A = ...) defined in test.MyClass
//value-parameter a: test.A = ... defined in test.MyClass.`<init>`
//local object O : test.A defined in test.MyClass.`<init>`.`<anonymous>`
//private constructor O() defined in test.MyClass.`<init>`.`<anonymous>`.O