Render receivers as 'this@owner: type'
Add test for generic inner class with generic outer class.
This commit is contained in:
@@ -83,7 +83,7 @@ FILE /primitivesImplicitConversions.kt
|
||||
$this: CONST Int type=kotlin.Int value='1'
|
||||
BLOCK_BODY
|
||||
CLASS CLASS TestImplicitArguments
|
||||
$new: VALUE_PARAMETER <receiver: TestImplicitArguments>
|
||||
$new: VALUE_PARAMETER this@TestImplicitArguments: TestImplicitArguments
|
||||
CONSTRUCTOR public constructor TestImplicitArguments(x: kotlin.Long = ...)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Long = ...
|
||||
EXPRESSION_BODY
|
||||
@@ -98,11 +98,11 @@ FILE /primitivesImplicitConversions.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Long = ...' type=kotlin.Long origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Long
|
||||
$this: VALUE_PARAMETER <receiver: TestImplicitArguments>
|
||||
$this: VALUE_PARAMETER this@TestImplicitArguments: TestImplicitArguments
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Long'
|
||||
GET_FIELD 'x: Long' type=kotlin.Long origin=null
|
||||
receiver: GET_VAR '<receiver: TestImplicitArguments>' type=TestImplicitArguments origin=null
|
||||
receiver: GET_VAR 'this@TestImplicitArguments: TestImplicitArguments' type=TestImplicitArguments 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
|
||||
|
||||
Reference in New Issue
Block a user