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
@@ -60,11 +60,11 @@
@10:34..12:5 GET_VAR '<this>: <root>.MyClass declared in <root>.MyClass.<set-observableProp>' type=<root>.MyClass origin=null
@10:34..12:5 PROPERTY_REFERENCE 'public final observableProp: kotlin.String [delegated,var]' field=null getter='public final fun <get-observableProp> (): kotlin.String declared in <root>.MyClass' setter='public final fun <set-observableProp> (<set-?>: kotlin.String): kotlin.Unit declared in <root>.MyClass' type=kotlin.reflect.KMutableProperty1<<root>.MyClass, kotlin.String> origin=PROPERTY_REFERENCE_FOR_DELEGATE
@10:34..12:5 GET_VAR '<set-?>: kotlin.String declared in <root>.MyClass.<set-observableProp>' type=kotlin.String 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
@5:0..13:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
@5:0..13:1 VALUE_PARAMETER name:<this> type:kotlin.Any
@5:0..13:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any?
@5:0..13:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
@5:0..13:1 VALUE_PARAMETER name:<this> type:kotlin.Any
@5:0..13:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
@5:0..13:1 VALUE_PARAMETER name:<this> type:kotlin.Any
@5:0..13:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.MyClass