mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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
22 lines
565 B
Kotlin
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 |