Render receivers as 'this@owner: type'
Add test for generic inner class with generic outer class.
This commit is contained in:
+7
-7
@@ -1,6 +1,6 @@
|
||||
FILE /differentReceivers.kt
|
||||
CLASS CLASS MyClass
|
||||
$new: VALUE_PARAMETER <receiver: MyClass>
|
||||
$new: VALUE_PARAMETER this@MyClass: MyClass
|
||||
CONSTRUCTOR public constructor MyClass(value: kotlin.String)
|
||||
VALUE_PARAMETER value-parameter value: kotlin.String
|
||||
BLOCK_BODY
|
||||
@@ -11,29 +11,29 @@ FILE /differentReceivers.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter value: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-value>(): kotlin.String
|
||||
$this: VALUE_PARAMETER <receiver: MyClass>
|
||||
$this: VALUE_PARAMETER this@MyClass: MyClass
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): String'
|
||||
GET_FIELD 'value: String' type=kotlin.String origin=null
|
||||
receiver: GET_VAR '<receiver: MyClass>' type=MyClass origin=null
|
||||
receiver: GET_VAR 'this@MyClass: MyClass' type=MyClass origin=null
|
||||
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
FUN public operator fun MyClass.provideDelegate(host: kotlin.Any?, p: kotlin.Any): kotlin.String
|
||||
$receiver: VALUE_PARAMETER <receiver: provideDelegate(Any?, Any) on MyClass: String>
|
||||
$receiver: VALUE_PARAMETER this@provideDelegate: MyClass
|
||||
VALUE_PARAMETER value-parameter host: kotlin.Any?
|
||||
VALUE_PARAMETER value-parameter p: kotlin.Any
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='provideDelegate(Any?, Any) on MyClass: String'
|
||||
CALL '<get-value>(): String' type=kotlin.String origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: provideDelegate(Any?, Any) on MyClass: String>' type=MyClass origin=null
|
||||
$this: GET_VAR 'this@provideDelegate: MyClass' type=MyClass origin=null
|
||||
FUN public operator fun kotlin.String.getValue(receiver: kotlin.Any?, p: kotlin.Any): kotlin.String
|
||||
$receiver: VALUE_PARAMETER <receiver: getValue(Any?, Any) on String: String>
|
||||
$receiver: VALUE_PARAMETER this@getValue: String
|
||||
VALUE_PARAMETER value-parameter receiver: kotlin.Any?
|
||||
VALUE_PARAMETER value-parameter p: kotlin.Any
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='getValue(Any?, Any) on String: String'
|
||||
GET_VAR '<receiver: getValue(Any?, Any) on String: String>' type=kotlin.String origin=null
|
||||
GET_VAR 'this@getValue: String' type=kotlin.String origin=null
|
||||
PROPERTY public val testO: kotlin.String
|
||||
FIELD DELEGATE val `testO$delegate`: kotlin.String
|
||||
EXPRESSION_BODY
|
||||
|
||||
Reference in New Issue
Block a user