FIR2IR: add extension receiver parameters to functions
This commit is contained in:
@@ -210,9 +210,10 @@ FILE fqName:<root> fileName:/complexAugmentedAssignment.kt
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS OBJECT name:Host modality:FINAL visibility:public superTypes:[kotlin.Any]'
|
||||
FUN name:plusAssign visibility:public modality:FINAL <> ($this:<root>.Host, b:<root>.B) returnType:kotlin.Unit
|
||||
FUN name:plusAssign visibility:public modality:FINAL <> ($this:<root>.Host, $receiver:<root>.B, b:<root>.B) returnType:kotlin.Unit
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Host
|
||||
VALUE_PARAMETER name:b index:0 type:<root>.B
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.B
|
||||
VALUE_PARAMETER name:b index:0 type:<root>.B
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:s type:kotlin.Int visibility:public ' type=kotlin.Int origin=null
|
||||
value: CALL 'public final fun <get-s> (): kotlin.Int declared in <root>.B' type=kotlin.Int origin=null
|
||||
@@ -230,7 +231,8 @@ FILE fqName:<root> fileName:/complexAugmentedAssignment.kt
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:test3 visibility:public modality:FINAL <> (v:<root>.B) returnType:kotlin.Unit
|
||||
FUN name:test3 visibility:public modality:FINAL <> ($receiver:<root>.Host, v:<root>.B) returnType:kotlin.Unit
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.Host
|
||||
VALUE_PARAMETER name:v index:0 type:<root>.B
|
||||
BLOCK_BODY
|
||||
ERROR_CALL 'Unresolved reference: R|<local>/v|' type=IrErrorType
|
||||
|
||||
Reference in New Issue
Block a user