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
-1
@@ -1,6 +1,5 @@
|
||||
@0:0..26:1 FILE fqName:<root> fileName:/kt17108.kt
|
||||
@4:0..26:1 CLASS INTERFACE name:Boolean modality:ABSTRACT visibility:public superTypes:[kotlin.Any]
|
||||
@4:0..26:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Boolean
|
||||
@8:20..38 FUN name:not visibility:public modality:ABSTRACT <> ($this:<root>.Boolean) returnType:<root>.Boolean [operator]
|
||||
@8:4..38 VALUE_PARAMETER name:<this> type:<root>.Boolean
|
||||
@13:10..42 FUN name:and visibility:public modality:ABSTRACT <> ($this:<root>.Boolean, other:<root>.Boolean) returnType:<root>.Boolean [infix]
|
||||
@@ -22,3 +21,4 @@
|
||||
@4:0..26:1 VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
@4:7..26:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
@4:0..26:1 VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
@4:0..26:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Boolean
|
||||
|
||||
Reference in New Issue
Block a user