Files
openide/plugins/kotlin/idea/tests/testData/resolve/additionalLazyResolve/localClassInClosureInClassParameterInitializer.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
565 B
Kotlin

package test
open class A
class MyClass(
a: A = run {
class B: A() {
}
B()
}
)
//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 final class B : test.A defined in test.MyClass.`<init>`.`<anonymous>`
//public constructor B() defined in test.MyClass.`<init>`.`<anonymous>`.B