IR: change acceptChildren/transformChildren order in IrClass
Traverse properties of supertypes first, and then handle thisReceiver. This will simplify transition to auto-generated IR.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
@0:0..23:0 FILE fqName:test fileName:/augmentedAssignmentWithExpression.kt
|
||||
@2:0..8:1 CLASS CLASS name:Host modality:FINAL visibility:public superTypes:[kotlin.Any]
|
||||
@2:0..8:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:test.Host
|
||||
@2:0..8:1 CONSTRUCTOR visibility:public <> () returnType:test.Host [primary]
|
||||
@2:0..8:1 BLOCK_BODY
|
||||
@2:0..8:1 DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||
@@ -22,6 +21,7 @@
|
||||
@2:0..8:1 VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
@2:0..8:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
@2:0..8:1 VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
@2:0..8:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:test.Host
|
||||
@10:0..18 FUN name:foo visibility:public modality:FINAL <> () returnType:test.Host
|
||||
@10:12..18 BLOCK_BODY
|
||||
@10:18..18 RETURN type=kotlin.Nothing from='public final fun foo (): test.Host declared in test'
|
||||
|
||||
Reference in New Issue
Block a user