69aeddcba8
We plan to disable computing full mangled names of declarations in all manglers except the IR mangler (see the subsequent commits). From now on, in irText tests we dump only the following mangled names: - Full mangled names computed using the IR mangler - Signature mangled names computed using the Descriptor mangler - Signature mangled names computed using the IR mangler - Signature mangled names computed using the FIR mangler Here by a full mangled name we mean the mangled name of a declaration computed using the `MangleMode.FULL` mode. Those mangled names include the mangled names of the declaration'a parents. By a signature mangled name we mean the mangled name of a declaration computed using the `MangleMode.SIGNATURE` mode. These mangled names are used to compute an `IdSignature` for the declaration, hence the name.
158 lines
8.5 KiB
Kotlin
Vendored
158 lines
8.5 KiB
Kotlin
Vendored
// CHECK:
|
|
// Mangled name: IdeWizard
|
|
// Public signature: /IdeWizard|null[0]
|
|
class IdeWizard {
|
|
// CHECK:
|
|
// Mangled name: IdeWizard{}projectTemplate
|
|
// Public signature: /IdeWizard.projectTemplate|1011078309052725595[0]
|
|
// Public signature debug description: {}projectTemplate
|
|
var projectTemplate: Int? /* by */
|
|
field
|
|
// CHECK JVM_IR:
|
|
// Mangled name: IdeWizard#<get-projectTemplate>(){}kotlin.Int?
|
|
// Public signature: /IdeWizard.projectTemplate.<get-projectTemplate>|-8817473698570649998[0]
|
|
// Public signature debug description: <get-projectTemplate>(){}kotlin.Int?
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: IdeWizard#<get-projectTemplate>(){}
|
|
// Public signature: /IdeWizard.projectTemplate.<get-projectTemplate>|-3125600217184137732[0]
|
|
// Public signature debug description: <get-projectTemplate>(){}
|
|
get(): Int?
|
|
// CHECK:
|
|
// Mangled name: IdeWizard#<set-projectTemplate>(kotlin.Int?){}
|
|
// Public signature: /IdeWizard.projectTemplate.<set-projectTemplate>|7033237300104161042[0]
|
|
// Public signature debug description: <set-projectTemplate>(kotlin.Int?){}
|
|
set(<set-?>: Int?): Unit
|
|
|
|
// CHECK:
|
|
// Mangled name: IdeWizard#<init>(){}
|
|
// Public signature: /IdeWizard.<init>|-5645683436151566731[0]
|
|
// Public signature debug description: <init>(){}
|
|
constructor() /* primary */
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: IdeWizard#setting(SettingReference<0:0,0:1>){0§<kotlin.Any>;1§<SettingType<0:0>>}IdeWizard#setting.<no name provided><0:0,0:1>
|
|
// Public signature: /IdeWizard.setting|-3504445808823548764[0]
|
|
// Public signature debug description: setting(SettingReference<0:0,0:1>){0§<kotlin.Any>;1§<SettingType<0:0>>}IdeWizard#setting.<no name provided><0:0,0:1>
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: IdeWizard#setting(SettingReference<0:0,0:1>){0§<kotlin.Any>;1§<SettingType<0:0>>}
|
|
// Public signature: /IdeWizard.setting|2630265268614068431[0]
|
|
// Public signature debug description: setting(SettingReference<0:0,0:1>){0§<kotlin.Any>;1§<SettingType<0:0>>}
|
|
private fun <V : Any, T : SettingType<V>> setting(reference: SettingReference<V, T>): <no name provided><V, T>
|
|
// CHECK JVM_IR:
|
|
// Mangled name: IdeWizard#setting(SettingReference<1:0,1:1>){0§<kotlin.Any>;1§<SettingType<1:0>>}IdeWizard#setting.<no name provided><1:0,1:1>.<no name provided>
|
|
// Mangled name for the signature: setting(SettingReference<1:0,1:1>){0§<kotlin.Any>;1§<SettingType<1:0>>}IdeWizard#setting.<no name provided><1:0,1:1>
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: IdeWizard#setting(SettingReference<1:0,1:1>){0§<kotlin.Any>;1§<SettingType<1:0>>}.<no name provided>
|
|
// Mangled name for the signature: setting(SettingReference<1:0,1:1>){0§<kotlin.Any>;1§<SettingType<1:0>>}
|
|
local class <no name provided> : ReadWriteProperty<Any?, V?> {
|
|
// CHECK JVM_IR:
|
|
// Mangled name: IdeWizard#setting(SettingReference<2:0,2:1>){0§<kotlin.Any>;1§<SettingType<2:0>>}IdeWizard#setting.<no name provided><2:0,2:1>.<no name provided>#<init>(){}
|
|
// Mangled name for the signature: setting(SettingReference<2:0,2:1>){0§<kotlin.Any>;1§<SettingType<2:0>>}IdeWizard#setting.<no name provided><2:0,2:1><init>(){}
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: IdeWizard#setting(SettingReference<2:0,2:1>){0§<kotlin.Any>;1§<SettingType<2:0>>}.<no name provided>#<init>(){}
|
|
// Mangled name for the signature: setting(SettingReference<2:0,2:1>){0§<kotlin.Any>;1§<SettingType<2:0>>}<init>(){}
|
|
constructor() /* primary */
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: IdeWizard#setting(SettingReference<2:0,2:1>){0§<kotlin.Any>;1§<SettingType<2:0>>}IdeWizard#setting.<no name provided><2:0,2:1>.<no name provided>#getValue(kotlin.Any?;kotlin.reflect.KProperty<*>){}2:0?
|
|
// Mangled name for the signature: setting(SettingReference<2:0,2:1>){0§<kotlin.Any>;1§<SettingType<2:0>>}IdeWizard#setting.<no name provided><2:0,2:1>getValue(kotlin.Any?;kotlin.reflect.KProperty<*>){}2:0?
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: IdeWizard#setting(SettingReference<2:0,2:1>){0§<kotlin.Any>;1§<SettingType<2:0>>}.<no name provided>#getValue(kotlin.Any?;kotlin.reflect.KProperty<*>){}
|
|
// Mangled name for the signature: setting(SettingReference<2:0,2:1>){0§<kotlin.Any>;1§<SettingType<2:0>>}getValue(kotlin.Any?;kotlin.reflect.KProperty<*>){}
|
|
override operator fun getValue(thisRef: Any?, property: KProperty<*>): V?
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: IdeWizard#setting(SettingReference<2:0,2:1>){0§<kotlin.Any>;1§<SettingType<2:0>>}IdeWizard#setting.<no name provided><2:0,2:1>.<no name provided>#setValue(kotlin.Any?;kotlin.reflect.KProperty<*>;2:0?){}
|
|
// Mangled name for the signature: setting(SettingReference<2:0,2:1>){0§<kotlin.Any>;1§<SettingType<2:0>>}IdeWizard#setting.<no name provided><2:0,2:1>setValue(kotlin.Any?;kotlin.reflect.KProperty<*>;2:0?){}
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: IdeWizard#setting(SettingReference<2:0,2:1>){0§<kotlin.Any>;1§<SettingType<2:0>>}.<no name provided>#setValue(kotlin.Any?;kotlin.reflect.KProperty<*>;2:0?){}
|
|
// Mangled name for the signature: setting(SettingReference<2:0,2:1>){0§<kotlin.Any>;1§<SettingType<2:0>>}setValue(kotlin.Any?;kotlin.reflect.KProperty<*>;2:0?){}
|
|
override operator fun setValue(thisRef: Any?, property: KProperty<*>, value: V?): Unit
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// CHECK:
|
|
// Mangled name: SettingReference
|
|
// Public signature: /SettingReference|null[0]
|
|
class SettingReference<V : Any, T : SettingType<V>> {
|
|
// CHECK:
|
|
// Mangled name: SettingReference{}t
|
|
// Public signature: /SettingReference.t|-8767999791664836944[0]
|
|
// Public signature debug description: {}t
|
|
var t: T
|
|
field
|
|
// CHECK JVM_IR:
|
|
// Mangled name: SettingReference#<get-t>(){}1:1
|
|
// Public signature: /SettingReference.t.<get-t>|3876475218778608787[0]
|
|
// Public signature debug description: <get-t>(){}1:1
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: SettingReference#<get-t>(){}
|
|
// Public signature: /SettingReference.t.<get-t>|7061140872129253552[0]
|
|
// Public signature debug description: <get-t>(){}
|
|
get
|
|
// CHECK:
|
|
// Mangled name: SettingReference#<set-t>(1:1){}
|
|
// Public signature: /SettingReference.t.<set-t>|-1029452311345649469[0]
|
|
// Public signature debug description: <set-t>(1:1){}
|
|
set
|
|
|
|
// CHECK:
|
|
// Mangled name: SettingReference{}v
|
|
// Public signature: /SettingReference.v|138869847852828796[0]
|
|
// Public signature debug description: {}v
|
|
var v: V
|
|
field
|
|
// CHECK JVM_IR:
|
|
// Mangled name: SettingReference#<get-v>(){}1:0
|
|
// Public signature: /SettingReference.v.<get-v>|-6358452650346304910[0]
|
|
// Public signature debug description: <get-v>(){}1:0
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: SettingReference#<get-v>(){}
|
|
// Public signature: /SettingReference.v.<get-v>|4964732996156868941[0]
|
|
// Public signature debug description: <get-v>(){}
|
|
get
|
|
// CHECK:
|
|
// Mangled name: SettingReference#<set-v>(1:0){}
|
|
// Public signature: /SettingReference.v.<set-v>|-106720973864593013[0]
|
|
// Public signature debug description: <set-v>(1:0){}
|
|
set
|
|
|
|
// CHECK:
|
|
// Mangled name: SettingReference#<init>(1:1;1:0){}
|
|
// Public signature: /SettingReference.<init>|6008610667973001214[0]
|
|
// Public signature debug description: <init>(1:1;1:0){}
|
|
constructor(t: T, v: V) /* primary */
|
|
|
|
}
|
|
|
|
// CHECK:
|
|
// Mangled name: SettingType
|
|
// Public signature: /SettingType|null[0]
|
|
class SettingType<out V : Any> {
|
|
// CHECK:
|
|
// Mangled name: SettingType{}type
|
|
// Public signature: /SettingType.type|-6051055617123801408[0]
|
|
// Public signature debug description: {}type
|
|
val type: KClass<out V>
|
|
field
|
|
// CHECK JVM_IR:
|
|
// Mangled name: SettingType#<get-type>(){}kotlin.reflect.KClass<out|1:0>
|
|
// Public signature: /SettingType.type.<get-type>|-782685829818054763[0]
|
|
// Public signature debug description: <get-type>(){}kotlin.reflect.KClass<out|1:0>
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: SettingType#<get-type>(){}
|
|
// Public signature: /SettingType.type.<get-type>|5958014174245684635[0]
|
|
// Public signature debug description: <get-type>(){}
|
|
get
|
|
|
|
// CHECK:
|
|
// Mangled name: SettingType#<init>(kotlin.reflect.KClass<out|1:0>){}
|
|
// Public signature: /SettingType.<init>|-6177444285779890382[0]
|
|
// Public signature debug description: <init>(kotlin.reflect.KClass<out|1:0>){}
|
|
constructor(type: KClass<out V>) /* primary */
|
|
|
|
}
|
|
|