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
@@ -23,11 +23,11 @@
@11:4..12:32 BLOCK_BODY
@12:25..32 DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
@11:4..12:32 INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C modality:FINAL visibility:public superTypes:[kotlin.Any]'
@-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
@0:0..13:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
@0:0..13:1 VALUE_PARAMETER name:<this> type:kotlin.Any
@0:0..13:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any?
@0:0..13:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
@0:0..13:1 VALUE_PARAMETER name:<this> type:kotlin.Any
@0:0..13:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
@0:0..13:1 VALUE_PARAMETER name:<this> type:kotlin.Any
@0:0..13:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C