K2: use derived class sources for callable copies if base callables have no sources

Related to KT-60155
This commit is contained in:
Mikhail Glukhikh
2023-09-28 15:32:22 +02:00
committed by Space Team
parent 8395018de8
commit a9894b1842
21 changed files with 214 additions and 224 deletions
@@ -182,11 +182,11 @@
@74:12..25 SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test13 type:kotlin.Int visibility:private' type=kotlin.Unit origin=EQ
@74:12..25 GET_VAR '<this>: test.Test declared in test.Test.<set-test13>' type=test.Test origin=null
@74:20..25 GET_VAR 'value: kotlin.Int declared in test.Test.<set-test13>' type=kotlin.Int origin=null
@-1:-1..-1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
@-1:-1..-1 VALUE_PARAMETER name:<this> type:kotlin.Any
@-1:-1..-1 VALUE_PARAMETER name:other index:0 type:kotlin.Any?
@-1:-1..-1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
@-1:-1..-1 VALUE_PARAMETER name:<this> type:kotlin.Any
@-1:-1..-1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
@-1:-1..-1 VALUE_PARAMETER name:<this> type:kotlin.Any
@2:0..77:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
@2:0..77:1 VALUE_PARAMETER name:<this> type:kotlin.Any
@2:0..77:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any?
@2:0..77:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
@2:0..77:1 VALUE_PARAMETER name:<this> type:kotlin.Any
@2:0..77:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
@2:0..77:1 VALUE_PARAMETER name:<this> type:kotlin.Any
@2:0..77:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:test.Test