[IR] Split implementation of DataClassMembersGenerator to IR based and descriptor based
This commit is contained in:
committed by
Space Team
parent
27f4b53570
commit
6bb7fc05df
@@ -742,7 +742,7 @@ FILE fqName:<root> fileName:/ArrayMap.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun copy (key: kotlin.Int, value: T of <root>.ArrayMapImpl.Entry): <root>.ArrayMapImpl.Entry<T of <root>.ArrayMapImpl.Entry> declared in <root>.ArrayMapImpl.Entry'
|
||||
CONSTRUCTOR_CALL 'public constructor <init> (key: kotlin.Int, value: T of <root>.ArrayMapImpl.Entry) declared in <root>.ArrayMapImpl.Entry' type=<root>.ArrayMapImpl.Entry<T of <root>.ArrayMapImpl.Entry> origin=null
|
||||
<class: T>: kotlin.Any
|
||||
<class: T>: T of <root>.ArrayMapImpl.Entry
|
||||
key: GET_VAR 'key: kotlin.Int declared in <root>.ArrayMapImpl.Entry.copy' type=kotlin.Int origin=null
|
||||
value: GET_VAR 'value: T of <root>.ArrayMapImpl.Entry declared in <root>.ArrayMapImpl.Entry.copy' type=T of <root>.ArrayMapImpl.Entry origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.ArrayMapImpl.Entry<T of <root>.ArrayMapImpl.Entry>, other:kotlin.Any?) returnType:kotlin.Boolean [operator]
|
||||
|
||||
@@ -292,7 +292,7 @@ internal class ArrayMapImpl<T : Any> : ArrayMap<T> {
|
||||
}
|
||||
|
||||
fun copy(key: Int = <this>.#key, value: T = <this>.#value): Entry<T> {
|
||||
return Entry<Any>(key = key, value = value)
|
||||
return Entry<T>(key = key, value = value)
|
||||
}
|
||||
|
||||
override operator fun equals(other: Any?): Boolean {
|
||||
|
||||
@@ -33,7 +33,7 @@ FILE fqName:<root> fileName:/MultiList.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun copy (value: T of <root>.Some): <root>.Some<T of <root>.Some> declared in <root>.Some'
|
||||
CONSTRUCTOR_CALL 'public constructor <init> (value: T of <root>.Some) declared in <root>.Some' type=<root>.Some<T of <root>.Some> origin=null
|
||||
<class: T>: kotlin.Any
|
||||
<class: T>: T of <root>.Some
|
||||
value: GET_VAR 'value: T of <root>.Some declared in <root>.Some.copy' type=T of <root>.Some origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.Some<T of <root>.Some>, other:kotlin.Any?) returnType:kotlin.Boolean [operator]
|
||||
overridden:
|
||||
|
||||
@@ -14,7 +14,7 @@ data class Some<T : Any?> {
|
||||
}
|
||||
|
||||
fun copy(value: T = <this>.#value): Some<T> {
|
||||
return Some<Any>(value = value)
|
||||
return Some<T>(value = value)
|
||||
}
|
||||
|
||||
override operator fun equals(other: Any?): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user