Add possibility to interpret and fold IrStringConcatenation expression
This commit is contained in:
@@ -824,12 +824,10 @@ FILE fqName:<root> fileName:/ArrayMap.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public open fun toString (): kotlin.String declared in <root>.ArrayMapImpl.Entry'
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
CONST String type=kotlin.String value="Entry("
|
||||
CONST String type=kotlin.String value="key="
|
||||
CONST String type=kotlin.String value="Entry(key="
|
||||
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:key type:kotlin.Int visibility:private [final]' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<this>: <root>.ArrayMapImpl.Entry<T of <root>.ArrayMapImpl.Entry> declared in <root>.ArrayMapImpl.Entry.toString' type=<root>.ArrayMapImpl.Entry<T of <root>.ArrayMapImpl.Entry> origin=null
|
||||
CONST String type=kotlin.String value=", "
|
||||
CONST String type=kotlin.String value="value="
|
||||
CONST String type=kotlin.String value=", value="
|
||||
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:value type:T of <root>.ArrayMapImpl.Entry visibility:private [final]' type=T of <root>.ArrayMapImpl.Entry origin=null
|
||||
receiver: GET_VAR '<this>: <root>.ArrayMapImpl.Entry<T of <root>.ArrayMapImpl.Entry> declared in <root>.ArrayMapImpl.Entry.toString' type=<root>.ArrayMapImpl.Entry<T of <root>.ArrayMapImpl.Entry> origin=null
|
||||
CONST String type=kotlin.String value=")"
|
||||
|
||||
@@ -320,7 +320,7 @@ internal class ArrayMapImpl<T : Any> : ArrayMap<T> {
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "Entry(" + "key=" + <this>.#key + ", " + "value=" + <this>.#value + ")"
|
||||
return "Entry(key=" + <this>.#key + ", value=" + <this>.#value + ")"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -94,8 +94,7 @@ FILE fqName:<root> fileName:/MultiList.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public open fun toString (): kotlin.String declared in <root>.Some'
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
CONST String type=kotlin.String value="Some("
|
||||
CONST String type=kotlin.String value="value="
|
||||
CONST String type=kotlin.String value="Some(value="
|
||||
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:value type:T of <root>.Some visibility:private [final]' type=T of <root>.Some origin=null
|
||||
receiver: GET_VAR '<this>: <root>.Some<T of <root>.Some> declared in <root>.Some.toString' type=<root>.Some<T of <root>.Some> origin=null
|
||||
CONST String type=kotlin.String value=")"
|
||||
|
||||
@@ -39,7 +39,7 @@ data class Some<T : Any?> {
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "Some(" + "value=" + <this>.#value + ")"
|
||||
return "Some(value=" + <this>.#value + ")"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -176,8 +176,7 @@ FILE fqName:<root> fileName:/SignatureClash.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public open fun toString (): kotlin.String declared in <root>.DataClass'
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
CONST String type=kotlin.String value="DataClass("
|
||||
CONST String type=kotlin.String value="delegate="
|
||||
CONST String type=kotlin.String value="DataClass(delegate="
|
||||
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:delegate type:<root>.Delegate visibility:private [final]' type=<root>.Delegate origin=null
|
||||
receiver: GET_VAR '<this>: <root>.DataClass declared in <root>.DataClass.toString' type=<root>.DataClass origin=null
|
||||
CONST String type=kotlin.String value=")"
|
||||
|
||||
@@ -71,7 +71,7 @@ data class DataClass : Derived, Delegate {
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "DataClass(" + "delegate=" + <this>.#delegate + ")"
|
||||
return "DataClass(delegate=" + <this>.#delegate + ")"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user