[Test] Update some IR dumps after previous changes
Now IR dump handlers receiver actualized IR with removed expected declarations, so corresponding tests should be updated accordingly
This commit is contained in:
committed by
Space Team
parent
48c3313e67
commit
ffe5b4c40d
-38
@@ -1,4 +1,3 @@
|
||||
Module: <common>
|
||||
FILE fqName:<root> fileName:/common.kt
|
||||
CLASS INTERFACE name:I1 modality:ABSTRACT visibility:public superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.I1
|
||||
@@ -42,43 +41,6 @@ FILE fqName:<root> fileName:/common.kt
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:C modality:FINAL visibility:public [expect] superTypes:[<root>.I1; <root>.I2]
|
||||
annotations:
|
||||
Suppress(names = ['ABSTRACT_MEMBER_NOT_IMPLEMENTED'])
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.C [primary,expect]
|
||||
FUN FAKE_OVERRIDE name:f visibility:public modality:ABSTRACT <> ($this:<root>.I1) returnType:kotlin.String [expect,fake_override]
|
||||
overridden:
|
||||
public abstract fun f (): kotlin.String declared in <root>.I1
|
||||
public abstract fun f (): kotlin.String declared in <root>.I2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.I1
|
||||
PROPERTY FAKE_OVERRIDE name:p visibility:public modality:ABSTRACT [expect,fake_override,val]
|
||||
overridden:
|
||||
public abstract p: kotlin.Int
|
||||
public abstract p: kotlin.Int
|
||||
FUN FAKE_OVERRIDE name:<get-p> visibility:public modality:ABSTRACT <> ($this:<root>.I1) returnType:kotlin.Int [fake_override]
|
||||
correspondingProperty: PROPERTY FAKE_OVERRIDE name:p visibility:public modality:ABSTRACT [expect,fake_override,val]
|
||||
overridden:
|
||||
public abstract fun <get-p> (): kotlin.Int declared in <root>.I1
|
||||
public abstract fun <get-p> (): kotlin.Int declared in <root>.I2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.I1
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [expect,fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.I1
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.I2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [expect,fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.I1
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.I2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [expect,fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.I1
|
||||
public open fun toString (): kotlin.String declared in <root>.I2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
Module: platform
|
||||
FILE fqName:<root> fileName:/platform.kt
|
||||
CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.I1; <root>.I2]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C
|
||||
|
||||
-9
@@ -1,4 +1,3 @@
|
||||
// MODULE: <common>
|
||||
// FILE: common.kt
|
||||
|
||||
interface I1 {
|
||||
@@ -17,13 +16,6 @@ interface I2 {
|
||||
|
||||
}
|
||||
|
||||
@Suppress(names = ["ABSTRACT_MEMBER_NOT_IMPLEMENTED"])
|
||||
expect class C : I1, I2 {
|
||||
expect constructor() /* primary */
|
||||
|
||||
}
|
||||
|
||||
// MODULE: platform
|
||||
// FILE: platform.kt
|
||||
|
||||
class C : I1, I2 {
|
||||
@@ -42,4 +34,3 @@ class C : I1, I2 {
|
||||
override get
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-39
@@ -1,43 +1,5 @@
|
||||
// MODULE: <common>
|
||||
// FILE: common.kt
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C
|
||||
// Public signature: /C|null[1]
|
||||
expect class C : I1, I2 {
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(){}
|
||||
// Public signature: /C.<init>|-5645683436151566731[1]
|
||||
// Public signature debug description: <init>(){}
|
||||
expect constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C#f(){}kotlin.String
|
||||
// Public signature: /C.f|9098388873611041001[1]
|
||||
// Public signature debug description: f(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: C#f(){}
|
||||
// Public signature: /C.f|5316533450599009716[1]
|
||||
// Public signature debug description: f(){}
|
||||
expect abstract /* fake */ override fun f(): String
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C{}p
|
||||
// Public signature: /C.p|6715504260787941082[1]
|
||||
// Public signature debug description: {}p
|
||||
expect abstract /* fake */ override val p: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C#<get-p>(){}kotlin.Int
|
||||
// Public signature: /C.p.<get-p>|5329635969197638839[1]
|
||||
// Public signature debug description: <get-p>(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: C#<get-p>(){}
|
||||
// Public signature: /C.p.<get-p>|-1162552463316289847[1]
|
||||
// Public signature debug description: <get-p>(){}
|
||||
abstract /* fake */ override get(): Int
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: I1
|
||||
// Public signature: /I1|null[0]
|
||||
@@ -102,7 +64,6 @@ interface I2 {
|
||||
|
||||
}
|
||||
|
||||
// MODULE: platform
|
||||
// FILE: platform.kt
|
||||
|
||||
// CHECK:
|
||||
@@ -141,3 +102,4 @@ class C : I1, I2 {
|
||||
override fun f(): String
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
+3
-27
@@ -1,42 +1,19 @@
|
||||
Module: <common>
|
||||
FILE fqName:<root> fileName:/common.kt
|
||||
CLASS CLASS name:C1 modality:OPEN visibility:public [expect] superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C1
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.C1 [primary,expect]
|
||||
FUN name:f visibility:public modality:FINAL <> ($this:<root>.C1) returnType:kotlin.String [expect]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C1
|
||||
PROPERTY name:p visibility:public modality:FINAL [expect,val]
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-p> visibility:public modality:FINAL <> ($this:<root>.C1) returnType:kotlin.Int
|
||||
correspondingProperty: PROPERTY name:p visibility:public modality:FINAL [expect,val]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C1
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [expect,fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [expect,fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [expect,fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:C2 modality:FINAL visibility:public superTypes:[<root>.C1]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C2
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.C2 [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.C1'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C2 modality:FINAL visibility:public superTypes:[<root>.C1]'
|
||||
FUN FAKE_OVERRIDE name:f visibility:public modality:FINAL <> ($this:<root>.C1) returnType:kotlin.String [expect,fake_override]
|
||||
FUN FAKE_OVERRIDE name:f visibility:public modality:FINAL <> ($this:<root>.C1) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public final fun f (): kotlin.String declared in <root>.C1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C1
|
||||
PROPERTY FAKE_OVERRIDE name:p visibility:public modality:FINAL [expect,fake_override,val]
|
||||
PROPERTY FAKE_OVERRIDE name:p visibility:public modality:FINAL [fake_override,val]
|
||||
overridden:
|
||||
public final p: kotlin.Int
|
||||
FUN FAKE_OVERRIDE name:<get-p> visibility:public modality:FINAL <> ($this:<root>.C1) returnType:kotlin.Int [fake_override]
|
||||
correspondingProperty: PROPERTY FAKE_OVERRIDE name:p visibility:public modality:FINAL [expect,fake_override,val]
|
||||
correspondingProperty: PROPERTY FAKE_OVERRIDE name:p visibility:public modality:FINAL [fake_override,val]
|
||||
overridden:
|
||||
public final fun <get-p> (): kotlin.Int declared in <root>.C1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C1
|
||||
@@ -53,7 +30,6 @@ FILE fqName:<root> fileName:/common.kt
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.C1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
Module: platform
|
||||
FILE fqName:<root> fileName:/platform.kt
|
||||
CLASS CLASS name:C1 modality:OPEN visibility:public superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C1
|
||||
|
||||
Vendored
-11
@@ -1,15 +1,5 @@
|
||||
// MODULE: <common>
|
||||
// FILE: common.kt
|
||||
|
||||
expect open class C1 {
|
||||
expect constructor() /* primary */
|
||||
expect fun f(): String
|
||||
|
||||
expect val p: Int
|
||||
get
|
||||
|
||||
}
|
||||
|
||||
class C2 : C1 {
|
||||
constructor() /* primary */ {
|
||||
super/*C1*/()
|
||||
@@ -19,7 +9,6 @@ class C2 : C1 {
|
||||
|
||||
}
|
||||
|
||||
// MODULE: platform
|
||||
// FILE: platform.kt
|
||||
|
||||
open class C1 {
|
||||
|
||||
Vendored
+8
-51
@@ -1,43 +1,5 @@
|
||||
// MODULE: <common>
|
||||
// FILE: common.kt
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C1
|
||||
// Public signature: /C1|null[1]
|
||||
expect open class C1 {
|
||||
// CHECK:
|
||||
// Mangled name: C1#<init>(){}
|
||||
// Public signature: /C1.<init>|-5645683436151566731[1]
|
||||
// Public signature debug description: <init>(){}
|
||||
expect constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C1#f(){}kotlin.String
|
||||
// Public signature: /C1.f|9098388873611041001[1]
|
||||
// Public signature debug description: f(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: C1#f(){}
|
||||
// Public signature: /C1.f|5316533450599009716[1]
|
||||
// Public signature debug description: f(){}
|
||||
expect fun f(): String
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C1{}p
|
||||
// Public signature: /C1.p|6715504260787941082[1]
|
||||
// Public signature debug description: {}p
|
||||
expect val p: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C1#<get-p>(){}kotlin.Int
|
||||
// Public signature: /C1.p.<get-p>|5329635969197638839[1]
|
||||
// Public signature debug description: <get-p>(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: C1#<get-p>(){}
|
||||
// Public signature: /C1.p.<get-p>|-1162552463316289847[1]
|
||||
// Public signature debug description: <get-p>(){}
|
||||
get
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C2
|
||||
// Public signature: /C2|null[0]
|
||||
@@ -50,32 +12,26 @@ class C2 : C1 {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C2#f(){}kotlin.String
|
||||
// Public signature: /C2.f|9098388873611041001[1]
|
||||
// Public signature debug description: f(){}kotlin.String
|
||||
// Mangled name for the signature: f(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: C2#f(){}
|
||||
// Public signature: /C2.f|5316533450599009716[1]
|
||||
// Public signature debug description: f(){}
|
||||
expect /* fake */ override fun f(): String
|
||||
// Mangled name for the signature: f(){}
|
||||
/* fake */ override fun f(): String
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C2{}p
|
||||
// Public signature: /C2.p|6715504260787941082[1]
|
||||
// Public signature debug description: {}p
|
||||
expect /* fake */ override val p: Int
|
||||
// Mangled name for the signature: {}p
|
||||
/* fake */ override val p: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C2#<get-p>(){}kotlin.Int
|
||||
// Public signature: /C2.p.<get-p>|5329635969197638839[1]
|
||||
// Public signature debug description: <get-p>(){}kotlin.Int
|
||||
// Mangled name for the signature: <get-p>(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: C2#<get-p>(){}
|
||||
// Public signature: /C2.p.<get-p>|-1162552463316289847[1]
|
||||
// Public signature debug description: <get-p>(){}
|
||||
// Mangled name for the signature: <get-p>(){}
|
||||
/* fake */ override get(): Int
|
||||
|
||||
}
|
||||
|
||||
// MODULE: platform
|
||||
// FILE: platform.kt
|
||||
|
||||
// CHECK:
|
||||
@@ -114,3 +70,4 @@ open class C1 {
|
||||
fun f(): String
|
||||
|
||||
}
|
||||
|
||||
|
||||
-66
@@ -1,70 +1,4 @@
|
||||
Module: <lib>
|
||||
FILE fqName:<root> fileName:/lib.kt
|
||||
CLASS ENUM_CLASS name:MyEnum modality:FINAL visibility:public [expect] superTypes:[kotlin.Enum<<root>.MyEnum>]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.MyEnum
|
||||
CONSTRUCTOR visibility:private <> () returnType:<root>.MyEnum [primary,expect]
|
||||
ENUM_ENTRY name:FOO
|
||||
init: EXPRESSION_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'private constructor <init> () declared in <root>.MyEnum'
|
||||
ENUM_ENTRY name:BAR
|
||||
init: EXPRESSION_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'private constructor <init> () declared in <root>.MyEnum'
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER name:values visibility:public modality:FINAL <> () returnType:kotlin.Array<<root>.MyEnum> [expect]
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER name:valueOf visibility:public modality:FINAL <> (value:kotlin.String) returnType:<root>.MyEnum [expect]
|
||||
VALUE_PARAMETER name:value index:0 type:kotlin.String
|
||||
PROPERTY ENUM_CLASS_SPECIAL_MEMBER name:entries visibility:public modality:FINAL [expect,val]
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER name:<get-entries> visibility:public modality:FINAL <> () returnType:kotlin.enums.EnumEntries<<root>.MyEnum>
|
||||
correspondingProperty: PROPERTY ENUM_CLASS_SPECIAL_MEMBER name:entries visibility:public modality:FINAL [expect,val]
|
||||
SYNTHETIC_BODY kind=ENUM_ENTRIES
|
||||
FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum<<root>.MyEnum>) returnType:kotlin.Any [expect,fake_override]
|
||||
overridden:
|
||||
protected final fun clone (): kotlin.Any declared in kotlin.Enum
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<<root>.MyEnum>
|
||||
FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum<<root>.MyEnum>, other:<root>.MyEnum) returnType:kotlin.Int [expect,fake_override,operator]
|
||||
overridden:
|
||||
public final fun compareTo (other: E of kotlin.Enum): kotlin.Int declared in kotlin.Enum
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<<root>.MyEnum>
|
||||
VALUE_PARAMETER name:other index:0 type:<root>.MyEnum
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum<<root>.MyEnum>, other:kotlin.Any?) returnType:kotlin.Boolean [expect,fake_override,operator]
|
||||
overridden:
|
||||
public final fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Enum
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<<root>.MyEnum>
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum<<root>.MyEnum>) returnType:kotlin.Int [expect,fake_override]
|
||||
overridden:
|
||||
public final fun hashCode (): kotlin.Int declared in kotlin.Enum
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<<root>.MyEnum>
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum<<root>.MyEnum>) returnType:kotlin.String [expect,fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in kotlin.Enum
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<<root>.MyEnum>
|
||||
PROPERTY FAKE_OVERRIDE name:name visibility:public modality:FINAL [expect,fake_override,val]
|
||||
annotations:
|
||||
IntrinsicConstEvaluation
|
||||
overridden:
|
||||
public final name: kotlin.String
|
||||
FUN FAKE_OVERRIDE name:<get-name> visibility:public modality:FINAL <> ($this:kotlin.Enum<<root>.MyEnum>) returnType:kotlin.String [fake_override]
|
||||
correspondingProperty: PROPERTY FAKE_OVERRIDE name:name visibility:public modality:FINAL [expect,fake_override,val]
|
||||
overridden:
|
||||
public final fun <get-name> (): kotlin.String declared in kotlin.Enum
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<<root>.MyEnum>
|
||||
PROPERTY FAKE_OVERRIDE name:ordinal visibility:public modality:FINAL [expect,fake_override,val]
|
||||
overridden:
|
||||
public final ordinal: kotlin.Int
|
||||
FUN FAKE_OVERRIDE name:<get-ordinal> visibility:public modality:FINAL <> ($this:kotlin.Enum<<root>.MyEnum>) returnType:kotlin.Int [fake_override]
|
||||
correspondingProperty: PROPERTY FAKE_OVERRIDE name:ordinal visibility:public modality:FINAL [expect,fake_override,val]
|
||||
overridden:
|
||||
public final fun <get-ordinal> (): kotlin.Int declared in kotlin.Enum
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<<root>.MyEnum>
|
||||
FUN FAKE_OVERRIDE name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum<<root>.MyEnum>) returnType:@[FlexibleNullability] java.lang.Class<@[FlexibleNullability] <root>.MyEnum?>? [expect,fake_override]
|
||||
overridden:
|
||||
public final fun getDeclaringClass (): @[FlexibleNullability] java.lang.Class<@[FlexibleNullability] E of kotlin.Enum?>? declared in kotlin.Enum
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<<root>.MyEnum>
|
||||
FUN FAKE_OVERRIDE name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum<<root>.MyEnum>) returnType:kotlin.Unit [expect,fake_override]
|
||||
overridden:
|
||||
protected/*protected and package*/ final fun finalize (): kotlin.Unit declared in kotlin.Enum
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<<root>.MyEnum>
|
||||
Module: main
|
||||
FILE fqName:<root> fileName:/main.kt
|
||||
CLASS ENUM_CLASS name:MyEnum modality:FINAL visibility:public superTypes:[kotlin.Enum<<root>.MyEnum>]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.MyEnum
|
||||
|
||||
-18
@@ -1,22 +1,5 @@
|
||||
// MODULE: <lib>
|
||||
// FILE: lib.kt
|
||||
|
||||
expect enum class MyEnum : Enum<MyEnum> {
|
||||
private expect constructor() /* primary */
|
||||
FOO = MyEnum()
|
||||
|
||||
BAR = MyEnum()
|
||||
|
||||
expect fun values(): Array<MyEnum>
|
||||
|
||||
expect fun valueOf(value: String): MyEnum
|
||||
|
||||
expect val entries: EnumEntries<MyEnum>
|
||||
get(): EnumEntries<MyEnum> /* Synthetic body for ENUM_ENTRIES */
|
||||
|
||||
}
|
||||
|
||||
// MODULE: main
|
||||
// FILE: main.kt
|
||||
|
||||
enum class MyEnum : Enum<MyEnum> {
|
||||
@@ -40,4 +23,3 @@ enum class MyEnum : Enum<MyEnum> {
|
||||
get(): EnumEntries<MyEnum> /* Synthetic body for ENUM_ENTRIES */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-99
@@ -1,106 +1,8 @@
|
||||
// MODULE: <lib>
|
||||
// FILE: lib.kt
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: MyEnum
|
||||
// Public signature: /MyEnum|null[1]
|
||||
expect enum class MyEnum : Enum<MyEnum> {
|
||||
// CHECK:
|
||||
// Mangled name: MyEnum#<init>(){}
|
||||
// Public signature: /MyEnum.<init>|-5645683436151566731[1]
|
||||
// Public signature debug description: <init>(){}
|
||||
private expect constructor() /* primary */
|
||||
// CHECK:
|
||||
// Mangled name: MyEnum.BAR
|
||||
// Public signature: /MyEnum.BAR|null[1]
|
||||
BAR
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: MyEnum.FOO
|
||||
// Public signature: /MyEnum.FOO|null[1]
|
||||
FOO
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: MyEnum#valueOf#static(kotlin.String){}MyEnum
|
||||
// Public signature: /MyEnum.valueOf|4316550590519800984[1]
|
||||
// Public signature debug description: valueOf#static(kotlin.String){}MyEnum
|
||||
expect fun valueOf(value: String): MyEnum
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyEnum#values#static(){}kotlin.Array<MyEnum>
|
||||
// Public signature: /MyEnum.values|3097625172661156808[1]
|
||||
// Public signature debug description: values#static(){}kotlin.Array<MyEnum>
|
||||
expect fun values(): Array<MyEnum>
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyEnum#clone(){}kotlin.Any
|
||||
// Public signature: /MyEnum.clone|-6903128697527593263[1]
|
||||
// Public signature debug description: clone(){}kotlin.Any
|
||||
protected expect /* fake */ override fun clone(): Any
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyEnum#compareTo(MyEnum){}kotlin.Int
|
||||
// Public signature: /MyEnum.compareTo|2015858924903177055[1]
|
||||
// Public signature debug description: compareTo(MyEnum){}kotlin.Int
|
||||
expect /* fake */ override operator fun compareTo(other: MyEnum): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyEnum#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /MyEnum.equals|722809408929142791[1]
|
||||
// Public signature debug description: equals(kotlin.Any?){}kotlin.Boolean
|
||||
expect /* fake */ override operator fun equals(other: Any?): Boolean
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyEnum#hashCode(){}kotlin.Int
|
||||
// Public signature: /MyEnum.hashCode|-8048879360829830756[1]
|
||||
// Public signature debug description: hashCode(){}kotlin.Int
|
||||
expect /* fake */ override fun hashCode(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyEnum#toString(){}kotlin.String
|
||||
// Public signature: /MyEnum.toString|6958853723545266802[1]
|
||||
// Public signature debug description: toString(){}kotlin.String
|
||||
expect /* fake */ override fun toString(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyEnum#static{}entries
|
||||
// Public signature: /MyEnum.entries|-5134227801081826149[1]
|
||||
// Public signature debug description: #static{}entries
|
||||
expect val entries: EnumEntries<MyEnum>
|
||||
// CHECK:
|
||||
// Mangled name: MyEnum#<get-entries>#static(){}kotlin.enums.EnumEntries<MyEnum>
|
||||
// Public signature: /MyEnum.entries.<get-entries>|-3922959509726908718[1]
|
||||
// Public signature debug description: <get-entries>#static(){}kotlin.enums.EnumEntries<MyEnum>
|
||||
get(): EnumEntries<MyEnum>
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyEnum{}name
|
||||
// Public signature: /MyEnum.name|4231860309499509769[1]
|
||||
// Public signature debug description: {}name
|
||||
expect /* fake */ override val name: String
|
||||
// CHECK:
|
||||
// Mangled name: MyEnum#<get-name>(){}kotlin.String
|
||||
// Public signature: /MyEnum.name.<get-name>|-8006111524522882650[1]
|
||||
// Public signature debug description: <get-name>(){}kotlin.String
|
||||
/* fake */ override get(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyEnum{}ordinal
|
||||
// Public signature: /MyEnum.ordinal|1912745122988592376[1]
|
||||
// Public signature debug description: {}ordinal
|
||||
expect /* fake */ override val ordinal: Int
|
||||
// CHECK:
|
||||
// Mangled name: MyEnum#<get-ordinal>(){}kotlin.Int
|
||||
// Public signature: /MyEnum.ordinal.<get-ordinal>|-6902664390061762634[1]
|
||||
// Public signature debug description: <get-ordinal>(){}kotlin.Int
|
||||
/* fake */ override get(): Int
|
||||
|
||||
}
|
||||
|
||||
// MODULE: main
|
||||
// FILE: main.kt
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// CHECK:
|
||||
// Mangled name: MyEnum
|
||||
// Public signature: /MyEnum|null[0]
|
||||
enum class MyEnum : Enum<MyEnum> {
|
||||
|
||||
plugins/fir-plugin-prototype/testData/firLoadK2Compiled/annotationsGeneratedInBackend_MPP.fir.kt.txt
Vendored
-37
@@ -1,40 +1,3 @@
|
||||
// MODULE: <common>
|
||||
// FILE: module_common_annotationsGeneratedInBackend_MPP.kt
|
||||
package test
|
||||
|
||||
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK")
|
||||
class VerySpecificNameInCommon {
|
||||
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK")
|
||||
constructor(@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK") x: Int) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK")
|
||||
val x: Int
|
||||
field = x
|
||||
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK")
|
||||
get
|
||||
|
||||
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK")
|
||||
fun foo() {
|
||||
}
|
||||
|
||||
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK")
|
||||
class Derived {
|
||||
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK")
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// MODULE: main
|
||||
// FILE: module_common_annotationsGeneratedInBackend_MPP.kt
|
||||
package test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user