Render receivers as 'this@owner: type'
Add test for generic inner class with generic outer class.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FILE /Derived.kt
|
||||
CLASS CLASS Derived
|
||||
$new: VALUE_PARAMETER <receiver: Derived>
|
||||
$new: VALUE_PARAMETER this@Derived: Derived
|
||||
CONSTRUCTOR public constructor Derived()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
@@ -8,20 +8,20 @@ FILE /Derived.kt
|
||||
ANONYMOUS_INITIALIZER Derived
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'value: Int' type=kotlin.Unit origin=EQ
|
||||
receiver: GET_VAR '<receiver: Derived>' type=Derived origin=null
|
||||
receiver: GET_VAR 'this@Derived: Derived' type=Derived origin=null
|
||||
value: CONST Int type=kotlin.Int value='0'
|
||||
FUN public final fun getValue(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Derived>
|
||||
$this: VALUE_PARAMETER this@Derived: Derived
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='getValue(): Int'
|
||||
GET_FIELD 'value: Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
receiver: GET_VAR '<receiver: Derived>' type=Derived origin=null
|
||||
receiver: GET_VAR 'this@Derived: Derived' type=Derived origin=null
|
||||
FUN public final fun setValue(value: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Derived>
|
||||
$this: VALUE_PARAMETER this@Derived: Derived
|
||||
VALUE_PARAMETER value-parameter value: kotlin.Int
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'value: Int' type=kotlin.Unit origin=EQ
|
||||
receiver: GET_VAR '<receiver: Derived>' type=Derived origin=null
|
||||
receiver: GET_VAR 'this@Derived: Derived' type=Derived origin=null
|
||||
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
|
||||
PROPERTY FAKE_OVERRIDE public final override var value: kotlin.Int
|
||||
FIELD FAKE_OVERRIDE public final override var value: kotlin.Int
|
||||
|
||||
Reference in New Issue
Block a user